FB_READ_172_SNVT_hvac_satsts

FB_READ_172_SNVT_hvac_satsts 1:

This function block receives the following LON input variable (nvi):

SNVT Name: SNVT_hvac_satsts.

SNVT number: 172.

Description: HVAC saturation status.

0 in a field means that plant (device) linked to the field is not saturated or does not reach the limit stop before the required set value is reached.

1 in a field means that plant (device) linked to the field is saturated or reaches the limit stop before the required set value is not reached.

FB_READ_172_SNVT_hvac_satsts 2: Inputs

VAR_INPUT
  wNVIndex  : WORD;
  bDisabled : BOOL := FALSE;
END_VAR

Name

Type

Description

wNVIndex

WORD

Unique index. This is required for binding the LON nodes. A maximum of 62 SNVTs are permitted per LON terminal. Values between 0 and 61 are possible.

bDisabled

BOOL

TRUE = deselection of the function block.

FB_READ_172_SNVT_hvac_satsts 3: Inputs/outputs

VAR_IN_OUT
  stLON_Com : ST_LON_Communication;
END_VAR

Name

Type

Description

stLON_Com

ST_LON_Communication

This structure is used to link FB_LON_KL6401() with the transmit/receive blocks.

FB_READ_172_SNVT_hvac_satsts 4: Outputs

VAR_OUTPUT
  stValue  : ST_LON_SNVT_hvac_satsts;
  bNewData : BOOL;
  bError   : BOOL;
  eError   : E_LON_ERROR;
END_VAR

Name

Type

Description

stValue

ST_LON_SNVT_hvac_satsts

Structure of the data that was received.

bNewData

BOOL

Becomes TRUE for 1 cycle when the function block has received data.

bError

BOOL

This output goes TRUE as soon as an error occurs. This error is described via the eError variable.

eError

E_LON_ERROR

In the event of an error, the output issues an error code and bError becomes TRUE at the same time.

Requirements

Development Environment

PLC library to include

TwinCAT from v3.1.4020.14

Tc2_LON from 3.3.4.0