EditDT (FB)

FUNCTION_BLOCK EditDT

Short Description

Enter of a date and time in DATE_AND_TIME format (dd#2017-11-21-14:36:00)

Typical application: Determination of a switching time point

Portrayal

../_images/EditDT_FB.png

Interfaces

Outputs

Name

Datatype

Range

Init-Value

Function

dtOut DATE_AND_TIME    

Output value in DATE_AND_TIME format

Setpoints / Parameters

Name

Datatype

Range

Init-Value

Function

dtSetPoint DATE_AND_TIME    

Input value in DATE_AND_TIME format

Functional description

General

This function block is used to transfer an input value in the format DATE_AND_TIME dtSetPoint and the direct transfer to
the output value in the format DATE_AND_TIME dtOut.

Behaviour in the event of a power failure

The input value in the DATE_AND_TIME dtSetPoint format is saved in a non-volatile memory and automatically restored.

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 Comment
Input dtSetPoint DT

Input value in DATE_AND_TIME format

Output dtOut DT

Output value in DATE_AND_TIME format