Name :DT to array

Symbol :DTtoArray

Illustrate:

        Convert DT data into arrays

Image:

Parameter:

Parameter | Statement | Type | Description
--- | --- | --- | ---
IN | IN | DT |
    Enter a value
OUT | YEAR,MONTH,DAY,HOUR,MINUTE,SECOND,WEEKDAY | UINT |
    Output value

Example:

LD:

ST:

DTtoArray(IN := , YEAR => , MONTH => , DAY => , HOUR => , MINUTE => , SECOND => , WEEKDAY => );

Interpretation:

parameter | operand | value
--- | --- | ---
IN | IN | Enter a value：DT
OUT | YEAR,MONTH,DAY,HOUR,MINUTE,SECOND,WEEKDAY | Output value：UINT

        In input DT data, OUT outputs 7 UINT data.