8/20/2021 11:08 PM | |
Joined: 9/27/2006 Last visit: 7/13/2024 Posts: 12268 Rating: (2675) |
Hello alvconsan; There are quite a few documents on the forum site (search fr them with the search box at theright of this age) discussing issues such as yours. For example: - You can use the Onine and Diagnostic view of Step 7 (TIA Portal) to diagnose your networks outside of the PLC program: How do you use the "Online & diagnostics" view in the TIA Portal to diagnose the distributed IO and lower-level modules? https://support.industry.siemens.com/cs/ww/en/view/88628706 - If you wuld do it from the user program look at this document, valid for S7-1200 and S7-1500 CPUs: In STEP 7 (TIA Portal), how can you read out diagnostics data of a hardware object with the GET_DIAG instruction? https://support.industry.siemens.com/cs/ww/en/view/75167627 - for a more complex (and complete soution, including visualization of the diagnostic data: Diagnostics in User Program with S7-1200 https://support.industry.siemens.com/cs/ww/en/view/109483251 Hope this helps, Daniel Chartier |
This contribution was helpful to1 thankful Users |
8/23/2021 4:23 PM | |
Joined: 9/27/2006 Last visit: 7/13/2024 Posts: 12268 Rating: (2675) |
Hello alvconsan; There are entries in Product support for diagnostic functions fr a S7-1200 program: This first note for example shows the application of instruction DPNRM_GD, which is dedcated to Profibus network diagnostics in the user program: https://support.industry.siemens.com/cs/ww/en/view/66439168 Hope ths helps, Daniel Chartier |
Follow us on