Specifications

Chapter 2 - AsconBasicIOLib
83
2-3-20 bERRORSTATEAN
FB Prototype
bERRORSTATEAN
Input parameters
Output parameters
Description
This Function Block is used to configure the behaviour for the analog 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 channel 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 output remains at
the actual value; if the
n-th
bit is
1
the output assume the value passed with the
input
EVALn
in case of error (where n is the channel). See the
Mode Parameter
section.
Label Type Description
Network DWORD CAN Network Connection
NodeID USINT CANopen Device Identifier
Mode DWORD Error Mode Settingv (default value = 0xFF)
Eval1 REAL Error Value Channel 1 in [0... 100%] (default value = 0.0)
Eval2 REAL Error Value Channel 2 in [0... 100%] (default value = 0.0)
Eval3 REAL Error Value Channel 3 in [0... 100%] (default value = 0.0)
Eval4 REAL Error Value Channel 4 in [0... 100%] (default value = 0.0)
Eval5 REAL Error Value Channel 5 in [0... 100%] (default value = 0.0)
Eval6 REAL Error Value Channel 6 in [0... 100%] (default value = 0.0)
Eval7 REAL Error Value Channel 7 in [0... 100%] (default value = 0.0)
Eval8 REAL Error Value Channel 8 in [0... 100%] (default value = 0.0)
Label Type Description
Network_Out DWORD CAN Network Connection Output
NodeID_Out USINT CANopen Device Identifier Output
DWORD
DWORD
NETWORK_OUT
NODEID_OUT
DWORD
USINT
DWORD
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
NETWORK
NODEID
MODE
EVAL1
EVAL2
EVAL3
EVAL4
EVAL5
EVAL6
EVAL7
EVAL8
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡