FB_READ_097_SNVT_override
This function block receives the following LON input variable (nvi):
SNVT Name: SNVT_override.
SNVT number: 097.
Description: Override mode (enumeration: 0= keep current value, 1= set specific value set, 2= set default value).
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. |
Inputs/outputs
VAR_IN_OUT
stLON_Com : ST_LON_Communication;
END_VAR
Name | Type | Description |
---|---|---|
stLON_Com | This structure is used to link FB_LON_KL6401() with the transmit/receive blocks. |
Outputs
VAR_OUTPUT
eValue : E_LON_override_t;
bNewData : BOOL;
bError : BOOL;
eError : E_LON_ERROR;
END_VAR
Name | Type | Description |
---|---|---|
eValue | Enum to be 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 |
In the event of an error, the output issues an error code and bError becomes TRUE at the same time. |
Requirements
Development Environment | TwinCAT 3 PLC library to be integrated |
---|---|
TwinCAT from v3.1.4020.14 | Tc2_LON from 3.3.4.0 |