(0)| 11/17/2023 2:37 PM | |
|
Joined: 7/6/2007 Last visit: 10/30/2025 Posts: 102 Rating:
|
Hello, I'm looking for clarification on how to decode Output values from the Function block ImplicitRead. The FB performs implict read requests for Profinet records, see Siemens entry ID: 109810980 The 1st Output of interest is called 'Status'. It's shown as 'No1' in the attachment In my case it's returning a value of 0x7000 The FB documentation doesn't mention how to decode values at this Output. The 2nd Output of interest is called 'Diagnostics -> subFunctionStatus' It's shown as 'No2' in the attachment In my case 'Diagnostics' is returning a value of 'Diagnostics -> Status': 0x8702 'Diagnostics -> subFunctionStatus': 0x00B0 80DE The FB documentation makes no mention on how to decode this value when 'Status' = 0x8702 Anyone got an idea on how I could find out what these values mean?
|
Last edited by: Jen_Moderator at: 11/20/2023 09:01:48Link optimized. |
|
| 11/17/2023 3:07 PM | |
|
Joined: 7/7/2010 Last visit: 12/23/2025 Posts: 16325 Rating:
|
0x7000 for Siemens blocks usually means the block is "ready" and not busy. Check page 34 for the details for status 0x8702. My guess - without seeing the data record request details - is the data is not available, or the values provided are not valid or correct for the data being requested. Do any of the PN record requests work, or just this one? Try reading simple stuff, like PN name or PN IP. There is also the assumption you are using an S7-1500 PLC - at least per the provided documentation for that Entry ID. Did you follow the project example code to make sure you can do verify similar requests to the example project? Does ConnectionEstablished output turn on after enabling the block?
|
Last edited by: 0_Einstein at: 11/17/2023 15:09:36added question science guy |
|
| 11/17/2023 8:03 PM | |
|
Joined: 7/7/2010 Last visit: 12/23/2025 Posts: 16325 Rating:
|
Searching this specific Siemens document: S7 System Standard Functions S7-300/400 It sounds like the record attempting to be read is only available for writing - if I am interpreting the PDF correctly. In other words, that particular INDEX IS WRITE-ONLY.
AttachmentSTEP_7_-_System_and_Standard_Functions_for_S7-300_and_S7-400.pdf (310 Downloads) |
Last edited by: Jen_Moderator at: 11/20/2023 09:03:44PDF added from link. science guy |
|
This contribution was helpful to
|
|
Follow us on