EditDate

EditDate (FB)

FUNCTION_BLOCK EditDate

Short description

Input of a date in DATE format (d#2017-11-21) Typical application: setting a date for a switching operation

Representation

Interfaces

Outputs

Name
Data type
Value range
Initial value
Function

dOut

DATE

Output value in DATE format

Setpoints / parameters

Name
Data type
Value range
Initial value
Function

dSetPoint

DATE

Input value in DATE format

Function description

General

This function block is used to transfer an input value in DATE format dSetPoint and directly forward it to the output value in DATE format dOut.

circle-exclamation

Visualization

Matching visualization element from the HVACV Visu Library: EditDate1 and EditDate2

Representation

Interfaces Visu-Element

Name
Data type
Type
Initial value
Function

datDate

DATE

VAR_IN_OUT

Enter DATE variable here e.g. from block HVAC.EditDate.dSetPoint

DisableInput

BOOL

VAR_INPUT

FALSE

Here the input can be disabled. The element will then be grayed out.

circle-info

Note: VAR_IN_OUT interfaces must be assigned, VAR_INPUT are optional.

CODESYS

InOut:

Scope
Name
Type

Input Const

dSetPoint

DATE

Output

dOut

DATE

Last updated