L_ETC_GetMasterDiagnostic: xNotAllSlavesOperational output outputs inverse signal (corrected from V3.16)
Corrected from: PLC Designer V3.16
Response of the new version:
The xNotAllSlavesOperational output of the L_ETC_GetMasterDiagnostic function block is set to TRUE if not all of the connected EtherCAT devices are operational. The output is reset by setting the xReset input at the function block or by restarting the EtherCAT master with the xRestart bit.
What happens?
The xNotAllSlavesOperational output of the oDiagnostic output structure of the L_ETC_GetMasterDiagnostic function block outputs an inverse signal.
When does this behaviour occur?
The above-described behaviour may occur if a 9400 HighLine servo inverter is connected to the EtherCAT bus.
Which products are affected?
PLC Designer from V3.9
Short-term measures:
Use the L_ETC_GetMasterState and the L_ETC_GetSlaveState function block or the wState output of the corresponding device to determine the state of master and slave.
Evaluation/recommendations:
Due to the above function restriction, you separately have to query the state of all EtherCAT nodes to determine the state of the EtherCAT bus for diagnostics purposes.