FB_READ_011_SNVT_date_day
This function-block receives the following LON-input-variables (nvi):
SNVT name: SNVT_date_day.
SNVT number: 011.
SNVT description: Day of week (day names).
VAR_INPUT
wNVIndex : WORD;
bDisabled : BOOL := FALSE;
wNVIndex: Unique Index. This is required for the binding of the LON nodes. Per LON terminal a maximum of 62 SNVTs are allowed. Values from 0 to 61 are permissible.
bDisabled: TRUE = disables the function block.
VAR_OUTPUT
eValue : E_LON_days_of_week_t;
bNewData : BOOL;
bError : BOOL;
eError : E_LON_ERROR;
eValue: Enum to be received, (see E_LON_days_of_week_t).
bNewData: Becomes TRUE for 1 cycle when the function block has received data.
bError: The output becomes TRUE as soon as an error occurs. This error is described via the eError variable.
eError: The output outputs an error code in the event of an error (see E_LON_ERROR). bError goes TRUE at the same time.
VAR_IN_OUT
stLON_Com : ST_LON_Communication;
stLON_Com: This structure connects FB_LON_KL6401() with the send/receive function blocks (see ST_LON_Communication).