CLOCK_DT (FB)

FUNCTION_BLOCK CLOCK_DT

This function block allows to set and display the current time and date in DT format. For compatibility reason the block will look and behave like the V2 function block.

InOut:

Scope

Name

Type

Initial

Comment

Input

EN

BOOL

FALSE

Enable block processing

SET

BOOL

FALSE

FALSE/TRUE edge sets the time and date

DT_SET

DT

DATE_AND_TIME#1970-1-1-0:0

Set input for date and time in DT format

Output

ERR

BOOL

FALSE

Error identifier

DT_ACT

DT

DATE_AND_TIME#1970-1-1-0:0

Actual date and time in DT format