EditTOD (FB)

FUNCTION_BLOCK EditTOD

Short Descritpion

Entering of a time point in the course of a day in the format TIME_OF_DAY (tod#15:24:00)

Typical application: Determination of the switching point during the course of a day

Portrayal

../_images/EditTOD_FB.png

Interfaces

Outputs

Name

Datatype

Range

Init-Value

Function

todOut TIME_OF_DAY    

Output value in the format TIME_OF_DAY

Setpoints / Parameters

Name

Datatype

Range

Init-Value

Function

todSetPoint TIME_OF_DAY   TOD#00:00:00

Input value in the format TIME_OF_DAY

Functional description

General

This function block is used to transfer an input value in the format TIME_OF_DAY todSetPoint and the direct transfer to
he output value in the format TIME_OF_DAY todOut.

Behaviour in the event of a power failure

The input value in the format TIME_OF_DAY todSetPoint is saved and restored automatically.

Visualization




Information

Element

Authors

Date

Version

Note

Function

Adam Bartod 09.2017 1.0

Initial version

Programming

Adam Bartod 09.2017 1.0

Initial version

Test Jochen Reu 11.2017 1.0

Initial version

Documentation

Jochen Reu 11.2017 1.0

Initial version

Codesys

InOut:
Scope Name Type Initial Comment
Input todSetPoint TOD TIME_OF_DAY#0:0

Input value in the format TIME_OF_DAY

Output todOut TOD  

Output value in the format TIME_OF_DAY