MASTER YOUR CASTLE with your new build or reno project
Enter competition

Can the Magelis XBTGT5330 access the timer preset value (Time data type) in the Modicon PLC directly?

FA194423

5/05/2018

No, you can not access the Time Data type directly from the Magelis. In Unity Pro, you need to use a conversion block to convert between the
Time and Integer or DINT data type. The blocks you will use are:
DINT_TO_TIME
INT_TO_TIME
TIME_TO_DINT
TIME_TO_INT

Keep in mind that the value of the integer or DINT is in milliseconds where the Time value could be in any format.