9/6/2022 7:50 AM | |
Joined: 5/25/2022 Last visit: 10/30/2024 Posts: 3 Rating: (0) |
Hi, What are the differences between DeviceStates and DPNRM_DG for DP network? |
9/6/2022 9:10 AM | |
Joined: 1/21/2013 Last visit: 11/11/2024 Posts: 3256 Rating: (507) |
Hi SariB, the main difference is the following: With "DPNRM_DG" you can read the diagnostic data of one DP slave, while "DeviceStates" is used to get status information for an entire IO system (PROFINET IO- or DP master system). Kind regards |
9/6/2022 9:17 AM | |
Posts: 71 Rating: (28) |
Hello SariB, The DeviceStates function outputs the state of all devices of an IO system. On the other hand, DPNRM_DG is used to determine slave-specific diagnostics data. I attach you the following FAQ in case it helps you in any way regarding the use of the DPNRM_DG function: With the S7-1200, how do you read out the diagnostics data of a PROFIBUS DP slave with the "DPNRM_DG" instruction and how do you evaluate the data in the user program? https://support.industry.siemens.com/cs/ww/en/view/17858394 Best regards, s7-mencey. |
Follow us on