EditString

EditString (FB)

FUNCTION_BLOCK EditString

Short description

Input of a character string Typical application: Specification of the name of a heating circuit

Representation

Interfaces

Outputs

Name
Data type
Value range
Initial value
Function

sOut

STRING

Output value of type STRING

Setpoints / parameters

Name
Data type
Value range
Initial value
Function

sSetPoint

STRING

‘’

Input value of type STRING

Function description

General

This function block is used to pass an input value of type STRING sSetPoint and directly transfer it to the output value of type STRING sOut.\

Behavior in case of power failure

The input value of type STRING sSetPoint is stored fail-safe and automatically restored.

Visualization

Matching visualization element from the HVACV Visu Library: EditString

Representation

Interfaces visual element

Name
Data type
Type
Initial value
Function

rString

STRING

VAR_IN_OUT

String input value e.g. HVAC.EditString.sSetPoint

sDialogTitle

STRING

VAR_INPUT

Enter the title in string format e.g.: 'Input room temperature' - appears on the numpad during entry.

iFieldSizeL

INT

VAR_INPUT

0

Field enlarges by the number of entered pixels to the left. Required to display long numbers or units.

iFieldSizeR

INT

VAR_INPUT

0

Field enlarges by the number of entered pixels to the right. Required to display long numbers or units.

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

CODESYS

InOut:

Scope
Name
Type
Initial

Input Const

sSetPoint

STRING

‘’

Output

sOut

STRING

Last updated