名称:DT转数组

符号:DTtoArray

说明:

        将DT数据转变为数组

图片:

参数:

参数 | 声明 | 类型 | 描述
--- | --- | --- | ---
IN | IN | DT |
    输入值
OUT | YEAR,MONTH,DAY,HOUR,MINUTE,SECOND,WEEKDAY | UINT |
    输出值

示例:

LD:

ST:

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

解释:

参数 | 操作数 | 值
--- | --- | ---
IN | IN | 输入值：DT
OUT | YEAR,MONTH,DAY,HOUR,MINUTE,SECOND,WEEKDAY | 输出值：UINT

        IN输入DT类型数据，OUT输出7个UINT类型数据。