3/24/2013 5:30 PM | |
Joined: 9/23/2005 Last visit: 8/27/2024 Posts: 4347 Rating:
|
Hi, The manual “SIMATIC SIMATIC S7-1500, ET 200MP, ET 200SP System diagnostics” (http://support.automation.siemens.com/WW/view/en/59192926) gives good overview of how to get a diagnose of the S7-1500. Additionally there is also an Application&Tools "System Diagnostics with S7-1500 and TIA Portal" (http://support.automation.siemens.com/BR/view/en/68011497) about the thema
Generally, there is ways to get diagnose: 1 - Using the LEDs on the hardware (Page 24) 2 - Local error analysis using the display of the CPU S7-1500 (Page 25) 3 - Using STEP 7 V12 (Page 27) 4 - Remote diagnostics by means of the web server (Page 44) 5- Stationary system diagnostics using the HMI diagnostics view (Pg 51) 6 - By user program (Page 63)
All these ways are useful. If possible, I suggest the use as first choice the ways that are ready for use (LED, Display) or that could be easily configured (Web server and HMI diagnostic view). The use of STEP 7 needs additional resources (PC and the software - obvious) and a minimal know how of the use of them. In special, the Web/HMI object has the best relation costs/benefices: all diagnose information is available, the operation is intuitive, and the information is displayed in an easy understandable language (text direct, without code errors, etc.) and could be got with few mouse clicks. I suggest to use diagnose by user program just in the cases that the other ways are not possible: when the user program needs the diagnose information to take some operation decision or when the customer should display diagnose spicily on HMI objects (for example motor icon) or on non SIMATIC HMI. Diagnose by user program There many, many ways to get diagnose from user program: - Activation of diagnostic bit on device configuration(/tf/WW/en/Posts/88225#top)
Using blocks: - RDREC - includes error information on faulty modules - RALRM - includes detailed information of diagnostics-capable modules(stay on manual but it is note yet avaliable in the product) - DPNRM_DG - reads the current diagnostics data of a DP slave (DP standard diagnostics)(stay on manual but it is note yet avaliable in the product)
- GET_DIAG - to provide diagnostic information, the module or submodule is selected (FAQ at http://support.automation.siemens.com/WW/view/en/75167627?Datakey=47071380) (TIP at https://www.automation.siemens.com/BR/tf/WW/en/Posts/93559#top)
- LED - reads the status of the module LED - RST_EVOV - resets the event counter - Get_IM_Data - reads the Information&Maintenance data of the CPU (stay on manual but it is note yet avaliable in the product) - Transfer_IM_Data - transmits the Information&Maintenance data of the CPU(stay on manual but it is note yet avaliable in the product) - DeviceStates - outputs the device status The open cited manual gives just an overview of these blocks and refers to the online help With so many ways to get diagnose, which block should be used? My suggestion: keep the best relation “benefits/cost”, i.e. use the simplest way to get the only really necessary information. In this way, the diagnostic bit set by in Device View is the best choose for the cases that you need to know if a HW is ok or not. Other blocks that could give this simplified information: LED Device modules, DeviceStates, Module States. For communication, you can use the error bit of the communications blocks or the TDIAG block. If you need more detailed information about the type of the fault, the GET_DIAG is a good choice. If you need device specific diagnose data (i.e. data that vary from one device to other), then use RDREC, RALRM, DPNRM_DG, Get_IM_Data. |
Last edited by: Pegaia at: 6/25/2013 4:07 PM(stay on manual but it is note yet avaliable in the product) texts Last edited by: Pegaia at: 6/25/2013 12:50 PMLast edited by: Pegaia at: 6/21/2013 12:17 PMLast edited by: Pegaia at: 6/20/2013 7:10 PMrestriction for get/set IM data Last edited by: Pegaia at: 6/20/2013 12:46 PMLast edited by: Pegaia at: 6/19/2013 10:43 PMLast edited by: Pegaia at: 5/17/2013 1:54 PMadding information to RDREC use Last edited by: Pegaia at: 3/25/2013 7:10 PMLast edited by: Pegaia at: 3/25/2013 5:58 PMLast edited by: Pegaia at: 3/25/2013 12:59 PMsample program link for Bit memory diagnose. Last edited by: Pegaia at: 3/24/2013 5:37 PMLast edited by: Pegaia at: 3/24/2013 5:36 PMLast edited by: Denilson Pegaia at: 5/21/2015 1:08:57 PMaddin RALRM example link Denilson Pegaia |
|
This contribution was helpful to
1 thankful Users |
5/17/2013 12:21 PM | |
Joined: 9/23/2005 Last visit: 8/27/2024 Posts: 4347 Rating:
|
TIP: SFC51 |
Denilson Pegaia |
|
Follow us on