Slave
If you want to use the diagnostics information of the slave in the IEC Editor, you have to create a variable of the type "SEW_ETC.ST_SlaveDiagnostics" in the PLC program.

The following structure is available after having created the variable:

Refer to the Library Manager for an overview of all items of this structure.

Example of reading the state machine of the slave:
- Define the variables for slave diagnostics as well as the state machine.
- Call the "GetDiagnostics()" method of the master and link this method with the variable you have created.

- You can read the state of the slave from this structure.


