EditDT
EditDT (FB)
EditDT (FB)FUNCTION_BLOCK EditDT
Short description
Input of a date and time in the DATE_AND_TIME format ( dt#2017-11-21-14:36:00 ) Typical application: setting a switching time
Representation

Interfaces
Outputs
Name
Data type
Value range
Initial value
Function
dtOut
DATE_AND_TIME
Output value in DATE_AND_TIME format
Setpoints / parameters
Name
Data type
Value range
Initial value
Function
dtSetPoint
DATE_AND_TIME
Input value in DATE_AND_TIME format
Function description
General
This function block is used to pass an input value in DATE_AND_TIME format dtSetPoint and the direct transfer to the output value in DATE_AND_TIME format dtOut.\
Behavior in case of power failure
The input value in DATE_AND_TIME format dtSetPoint is stored fail-safe and automatically restored.
CODESYS
InOut:
Scope
Name
Type
Input Const
dtSetPoint
DT
Output
dtOut
DT
Last updated

