Master

If you want to use the diagnostics information of the master in the IEC Editor, you have to create a variable of the type "SEW_ETC.ST_MasterDiagnostics" 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 master:

  1. Define the variables for master diagnostics as well as the state machine.
  2. Call the "GetDiagnostics()" method of the master and link this method with the variable you have created.
  • You can read the state of the master from this structure.