ManNum

ManNum (FB)

FUNCTION_BLOCK ManNum EXTENDS MANASBase IMPLEMENTS IMan

Short description

Manual override for a numeric signal

Representation

Interfaces

Inputs

Name
Data type
Value range
Initial value
Function

rIn

REAL

Numeric input

Outputs

Name
Data type
Value range
Initial value
Function

rOut

REAL

Numeric output

Setpoints / Parameters

Name
Data type
Value range
Initial value
Function

rManValue

REAL

0.0

Manual value

eManModeN

eManNum

eManNum.Auto, eManNum.Man

eManNum.Auto

Operating mode for the numeric output signal rOut

Function description

General

This function block is used for manual override of a numeric input signal rIn.\

Numeric output rOut

rIn

eManModeN

rOut

Notes

Value

eManNum.Auto

Value

Automatic mode with rIn

X

eManNum.Man

rManValue

Manual mode with manual value

Legend: X = any

Visualization

Matching visualization element from the HVACV Visu Library: ManNum

Representation

Interface Visu element

Name
Data type
Type
Initial value
Function

eManModeN

HVAC.eMANNUM

VAR_IN_OUT

Enter eManModeN from FB ManNum here e.g. PRG.ManNum.eManModeN

rManValue

REAL

VAR_IN_OUT

Enter manual value rManValue from FB ManNum here e.g. PRG.ManNum.rManValue

bDecimals

BYTE

VAR_INPUT

1

Enter the number of decimal places here e.g. 0= XX ; 1 = XX.X ; 2= XX.XX The display is not rounded but truncated.

sUnit

STRING

VAR_INPUT

Enter unit as a string e.g. '°C' or '%'

rMinInputVisu

REAL

VAR_INPUT

0

Min input that appears in the numpad and lights up red if the value is undercut. Input is then not possible.

rMaxInputVisu

REAL

VAR_INPUT

100

Max input that appears in the numpad and lights up red if the value is exceeded. Input is then not possible.

sDialogTitle

STRING

VAR_INPUT

Enter title as a string e.g.: 'Room temperature input' - appears in the numpad during entry.

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

CODESYS

InOut:

Scope
Name
Type
Initial

Input

rIn

REAL

Input Const

rManValue

REAL

0

Input Const

eManModeN

eManNum

eManNum.Auto

Output

rOut

REAL

Last updated