Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

EditDate

EditDate (FB)

FUNCTION_BLOCK EditDate

Short description

Input of a date in DATE format (d#2017-11-21) Typical application: defining 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

Functional description

General

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

Visualization

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

Representation

Interfaces visualization element

Name
Data type
Type
Initial value
Function

datDate

DATE

VAR_IN_OUT

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

DisableInput

BOOL

VAR_INPUT

FALSE

The input can be disabled here. The element will then be greyed out.

Note: VAR_IN_OUT interfaces must be assigned; VAR_INPUT is optional.

CODESYS

InOut:

Scope
Name
Type

Input Const

dSetPoint

DATE

Output

dOut

DATE

Last updated