Entry type:
FAQ
Entry ID:
109480387,
Entry date:
01/31/2017
Rate
How do you implement module and channel diagnostics in the user program of the SIMATIC S7-1200/S7-1500?
-
Entry
-
Associated product(s)
This entry provides a function block for diagnosing channel errors in the central configuration or in an IO module connected via PROFINET IO. This block uses the "RALRM" instruction.
You implement module and channel diagnostics of IO modules that support diagnostics (like the function classes ST and HF of the ET 200SP) by calling the "RALRM" instruction in the diagnostic interrupt OB 82.
Module and channel diagnostics via the SIMATIC S7-1200/S7-1500 is illustrated taking the example of the central IO and via PROFINET IO:

Fig. 1
Using the FB "1x00Diag82" and depending on the controller family used (S7-1200 or S7-1500) you can decode and process per module or channel the diagnostics data of the "RALRM" instruction for the central or distributed configuration via PN IO.

Fig. 2
Download





Further Information
Application example "Diagnostics in the User Program with S7-1500"
Application example "Diagnostics in the User Program with S7-1200"
Application example "Diagnostics in the User Program with S7-1200"
Security information
In order to protect technical infrastructures, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art IT security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about cyber security, please visit
https://www.siemens.com/cybersecurity#Ouraspiration.
Also available in the following languages:
- German
- Spanish
- Chinese
- Italian
Entry belongs to product tree folder(s):
- Automation Technology Automation Systems Industrial Automation Systems SIMATIC PLC Basic Controller S7-1200 Central processing units Standard CPUs
- Automation Technology Automation Systems Industrial Automation Systems SIMATIC PLC Basic Controller S7-1200 Central processing units Fail-safe CPUs
- Automation Technology Automation Systems Industrial Automation Systems SIMATIC PLC Advanced Controller S7-1500 CPUs Standard-CPUs
- Automation Technology Automation Systems Industrial Automation Systems SIMATIC PLC Advanced Controller S7-1500 CPUs Failsafe CPUs
- Automation Technology Industry software Automation software TIA Portal PLC programming STEP 7 Professional (TIA Portal)
- Automation Technology Industry software Automation software TIA Portal PLC programming STEP 7 Basic (TIA Portal)
- Automation Technology Products for specific requirements Automatision technology for extreme conditions SIPLUS extreme Industrial Automation Systems Controllers SIPLUS Basic Controller SIPLUS S7-1200 SIPLUS Central Processing Units SIPLUS Standard CPUs
- Automation Technology Products for specific requirements Automatision technology for extreme conditions SIPLUS extreme Industrial Automation Systems Controllers SIPLUS Advanced Controller SIPLUS S7-1500 SIPLUS Central Processing Units SIPLUS Standard CPUs
- Automation Technology Automation Systems Industrial Automation Systems SIMATIC PLC Advanced Controller S7-1500 CPUs Compact CPUs
Rate entry
Requests and feedback
What do you want to do?
- You have a technical question / problem: Ask the Technical Support
- You want to discuss in our forum and exchange experiences with other users
- You want to create CAx data for one or more products
- You would like to send us feedback on this Entry
Support to the statistics
With this function the IDs found are listed according to number (format .txt).
Copy URL
mySupport Cockpit
Product information
Topic pages for this entry