Data Link Status
Program Example
Checking Data Link
Participation Status
Checking for Data Link
Errors in any Node
Outputting Local Node
Errors
58
To check participation of any one node in the data links, take an AND of a NO
condition of the Local Node Data Link Active Flag and the Communications
Error Flag for each node as shown below.
Local Node Data
Node A Communications
Link Active Flag
Error Flag
Node B Communications
Error Flag
Node n Communications
Error Flag
To check for an error in any node in the data links, take an OR of a NC condi-
tion of the Local Node Data Link Active Flag and the Communications Error
Flags for all nodes.
Local Node Data
Link Active Flag
Node A Commu-
nications Error Flag
Node B Commu-
nications Error Flag
Node n Commu-
nications Error Flag
The following example program section shows one way to output and error
signal when data links stop for the local node.
Local Node Data
Link Active Flag
Communications
Error Flag
Bit indicating data link
error in local node
Node A
Data Link Active Flag
Node A: Participating in data links
Node B
Data Link Active Flag
Node B: Participating in data links
Node n
Data Link Active Flag
Node n: Participating in data links
Data link error in one
or more nodes
Bit indicating data link
error in local node
Section 4-9