DT_TO_PackMLTime

DT_TO_PackMLTime 1:

This function converts a time in DT format into the PackML-compliant array.

FUNCTION DT_TO_PackMLTime : ARRAY [0..6] OF DINT;

DT_TO_PackMLTime 2: Inputs

VAR_INPUT
    Input         : DT;
END_VAR

Name

Type

Description

Input

DT

The time to be converted

Requirements

Development environment

Target system type

PLC libraries to include

TwinCAT v3.1 Build 4018 and higher

PC (i386)

Tc3_PackML_V2