Reference | I/O Devices Now one can select one of the "Request 'xxx' state" menu items to set the device into a different state. 11.2.7.2 Additional Diagnostic information | Additional Diagnostic information FrmXState : Variable of type WORD (or UINT), that shows the state of the frame X. For each EtherCAT command in the frame, a bit is reserved in Frm X State: FrmXWcState: Variable of type WORD(or UINT), that shows the working counter states of the individual EtherCAT commands of the cyclic frame X. For each EtherCAT command in the frame, a bit is reserved in Frm X WcState: An EtherCAT frame can consist of one or more EtherCAT commands.
Each of these commands has an expected working counter value. In other words, the master knows, how many slave devices are addressed by an individual command and can calculate the expected working counter. If the master receives a wrong working counter this indicates that one or more slaves have a problem. In this case the corresponding bit in FrmXWcState is set. In the Example above only one frame (Frame0) is sent cyclically during process data communication. In the "EtherCAT" tab of the EtherCAT device one can see the individual cyclic frames and the EtherCAT commands contained in them: TwinCAT 2 202 Version: 1.7 Bit Description 0 (0x0001) 1.
EtherCAT command not sent (NOP requested) 1 (0x0002) 2. EtherCAT command not sent (NOP requested) 2 (0x0004) 3. EtherCAT command not sent (NOP requested) ... 14 (0x4000) 15. EtherCAT command not sent (NOP requested) 15 (0x8000) complete frame not sent Bit Description 0 (0x0001) wrong working counter of 1. EtherCAT command received 1 (0x0002) wrong working counter of 2. EtherCAT command received 2 (0x0004) wrong working counter of 3. EtherCAT command received ... 14 (0x4000) wrong working counter of 15. EtherCAT command received 15 (0x8000) complete frame missing