beckhoff — 11.2.7.4 Sync Unit Assignment

Reference | I/O Devices the 'Frm0WcState' input variable: If Term 2 returns an incorrect working counter bit 1 of the variable 'Frm0WcState' would be set to 1, indicating that a wrong working counter has been received for the first EtherCAT command. Therefore, the received data will be discarded and will not be copied to the input variable. If the second EtherCAT command has a correct working counter the received data for Term 3 and Term 4 will be processed normally. If the second EtherCAT command returns an incorrect working counter, bit 2 of 'Frm0WcState' is set. This indicates that either Term 2 or Term 3 or even both Term 2 and Term 3 have not incremented the working counter correctly.

Therefore, it is not possible to verify with 'Frm0WcState', which Term is responsible for the incorrect working counter. To retrieve more detailed information about the states of the individual slave devices one must read out the variable InfoData.State. TwinCAT 2 220 Version: 1.7