Validity: Rule, Task
By the use of this keyword, it is possible to modify the output of alarms 82 and 83, related to EtherCAT diagnostics, in order to avoid power loss. Obviously, the user will have to handle the situations from application software.
In addition, it is possible to select, by acting on BIT 3, a specific diagnostic for each EtherCAT line.
Syntax |
I32 FB_flag |
---|---|
Notes |
Default 0 |
The meaning of the bits is as follows:
Bit |
Hexadecimal value |
Description |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BIT 0 |
0x1 |
If true, alarm 9207 is used instead of 82. If 1, no major alarm is generated, but the corresponding warning is generated (for alarms 101 102 103 104 105) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
BIT 1 |
0x2 |
If true, alarm 9208 is used instead of 83 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
BIT 2 |
0x4 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
BIT 3 |
0x8 |
If true enables the use of dedicated alarms for diagnostic of communication error or node loss with dedicated alarms on each fieldbus line.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
BIT 4 |
0x10 |
Disables generation of alarms 82 and 18 related to devices not in operation if status imposed by CO_PAR_UPLOAD or CO_PAR_DOWNLOAD command. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
BIT 5 |
0x20 |
Enables generation of alarm 9280 instead of alarm 80. If 1, a different alarm is generated for each EtherCAT networks, otherwise a single alarm is generated for all networks (for alarms 101 102 103 104 105 9225 9226 9227 9228 9229) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
BIT 6 |
0x40 |
Enables the management of the status of an EtherCAT node (ESM) according to the EtherCAT ESM encoding. The parameter affects all present networks. However, it has no influence on the CO_PAR_UPLOAD or CO_PAR_DOWNLOAD functions. The new node status values are:
XX : bits retain old meaning s : source of the status information
The new NMT commands for node state change are:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
BIT 7 |
0x80 |
Enables the management of node status reading, on the EtherCAT network, in case of error on node failure or on request. The parameter affects all networks present |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
BIT 8 |
0x100 |
Enables the generation of alarms (101 102 103 104 105 9225 9226 9227 9228 9229) related to the presence of more nodes than expected on an EtherCAT network |
Example
; Alarm 9207 selection instead of 82 fb_flag = 1 ; Alarm 9208 selection instead of 83 fb_flag = 2 ; Selection of both fb_flag = 3 |