Specifications

Chapter 2 - AsconBasicIOLib
85
2-3-21 bERRORSTATEDIG
FB Prototype
bERRORSTATEDIG
Input parameters
oUTput parameters
Description
This Function Block is used to configure the behaviour for the digital output mod-
ules of the sigmadue
I/O
series of Ascon SpA in case of failure of the CAN com-
munication. Using this function block the user is able to activate the capability of
the CAN node to manage the error condition. Ascon SpA strictly recommends to
use as a diagnostic system the
NodeGuarding
protocol in order to process cor-
rectly the error condition (for more details about the diagnostic protocols available
on
sigmaPAC
, please refer to the
CU-02
User Manual).
When a communication error occurs, each module for each output can set
automatically the output to a predefined value. The
MODE
parameter defines the
behaviour for each channel: if the n-th bit is 0 in case of error the n-th output
remains at the actual value; if the n-th bit is 1 the n-th output assume the value at
the n-th position of EVAL input. See the “
Mode Parameter
” section.
The following figure represents the way of use of this Function Block.
Note: The
bERRORSTATEAN
works with
aDM08TS,
bDM08TS, bDM16TS, bDM32TS,
bDO04RL, bDO08RL
,
bDO04TX, bDO16TS, bDO16TP
and
bDO32TS
function
block of the
AsconBasicIOLib
.
Label Type Description
Network DWORD CAN Network Connection
NodeID USINT CANopen Device Identifier
Mode DWORD Error Mode Setting (default value = 0xFF)
Eval DWORD Error Value (default value = 0x00)
Label Type Description
Network_Out DWORD CAN Network Connection Output
NodeID_Out USINT CANopen Device Identifier Output
NETWORK
NODEID
MODE
EVAL
DWORD
USINT
DWORD
DWORD
¡
¡
¡
¡
DWORD
USINT
NETWORK_OU
T
NODEID_OUT
¡
¡
CONFIRM
INPUT
bDM16TS
NETWORK
NODEID
OUTPUT
NETWORK_OUT
NODEID_OUT
bERRORSTATEDIG
NETWORK
NODEID
MODE
EVAL
2
NETWORK
connection
from S2_CU02