EditDate (FB)

FUNCTION_BLOCK EditDate

Short Description

Enter of a date in DATE format (dd#2017-11-21)

Typical application: Determination of a date for a switching operation

Portrayal

../_images/EditDate_FB.png

Interfaces

Outputs

Name

Datatype

Range

Init-Value

Function

dtOut DATE    

Output value in DATE format

Setpoints / Parameters

Name

Datatype

Range

Init-Value

Function

dtSetPoint DATE    

Output value in DATE format

Functional description

General

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

Behaviour in the event of a power failure

The input value in the Date 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 dSetPoint DATE

Output value in DATE format

Output dOut DATE

Output value in DATE format