9/6/2022 7:50 AM | |
Joined: 5/25/2022 Last visit: 8/2/2024 Posts: 3 Rating:
|
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: 9/5/2024 Posts: 3084 Rating:
|
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:
|
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