EditTOD

EditTOD (FB)

FUNCTION_BLOCK EditTOD

Short description

Input of a time of day in the TIME_OF_DAY format ( tod#15:24:00 ) Typical application: Setting the switching time during a day

Representation

Interfaces

Outputs

Name
Data type
Value range
Initial value
Function

todOut

TIME_OF_DAY

Output value in TIME_OF_DAY format

Setpoints / parameters

Name
Data type
Value range
Initial value
Function

todSetPoint

TIME_OF_DAY

TOD#00:00:00

Input value in TIME_OF_DAY format

Function description

General

This function block is used to pass an input value in TIME_OF_DAY format todSetPoint and directly transfer it to the output value in TIME_OF_DAY format todOut.\

Behavior in case of power failure

The input value in TIME_OF_DAY format todSetPoint is stored fail-safe and automatically restored.

CODESYS

InOut:

Scope
Name
Type
Initial

Input Const

todSetPoint

TOD

TIME_OF_DAY#0:0

Output

todOut

TOD

Last updated