Communication
2.2 PROFINET communication
SIMOCODE pro - Communication
Function Manual, 11/2018, A5E40508495002A/RS-AC/003
67
Diagnostics in the STEP 7 user program
With PROFINET IO, you can perform diagnostics in the user program via system function
modules.
Possibilities of diagnostics evaluation in the S7 user program:
PROFINET IO uses a non-manufacturer-specific structure for data records with diagnostics
information. Diagnostics information are only formed for defective components. Two ways in
which you can evaluate the diagnostics of SIMOCODE pro V PN via PROFINET are shown
below.
You will find more information and detailed examples in the programming manual
"PROFINET IO - from PROFIBUS DP to PROFINET IO"
https://support.automation.siemens.com/WW/view/en/19289930
), Chapter 8 "Diagnostics in
the STEP 7 User Program."
Evaluating diagnostics alarms with SFB 54 "RALRM" in OB 82
SIMOCODE pro V PN (GP) as a diagnostics-capable IO device detects both internal faults
(e.g. of hardware components) and events relating to the motor feeder and generates a
diagnostics alarm to which you can respond using an alarm OB.
Initial information on the cause and class of the error is already available, based on the OB
number and start information for the fault event.
You can then obtain detailed information on the error event in this error OB with the SFB 54
"RALRM" (read supplementary alarm information).
Note
STEP 7 online help
You will find a detailed explanation of SFB 54 "RALRM" in the STEP 7 Online Help.