SIMOTION: Diagnostic functions for PROFINET and PROFIBUS
What system functions can be used to diagnose PROFINET and PROFIBUS?
Guidelines for the diagnostic system functions to be used regarding the particular application in which they are used
List of the possible communication relationships between higher-level and subordinate devices:
Description of the various use cases in which the diagnostic system functions can be used:
Use case A:
A higher-level controller attempts to determine the state of a lower-level device. The diagnostic system functions are called in the user program of the controller.
Functions to determine the state that are appropriate for this particular application (refer to the diagram):
Case 1 (Master/controller > IO-Device/DP-Slave):
- _getStateOf AllDPSlaves (only for DP slaves)
A lower-level device attempts to obtain information about the state of a higher-level controller. The diagnostic system functions are called in the user program of the lower-level device. In this particular case, the lower-level device is an I-Device or a shared I-Device
Case 4 (I-Device/Shared I-Device > Master/controller)
- _getStateOfIO (in this particular case, only provides information about the data transfer state, on a slot-granular basis)
The diagnostic system functions are called in the user program of a controller. The controller is at the same time an I-Device. Here, a distinction has to be made as to which address area is to be interrogated. If the area assigned to the controller is interrogated, then use case A applies. If the area assigned to the I-Device is interrogated, then use case B applies.