7/23/2024 2:47 PM | |
Joined: 3/30/2020 Last visit: 11/17/2024 Posts: 4962 Rating: (1012)
|
.. I can see how the knowing the online state of a PC can be abused on all sorts of naughty ways. "Sir, we cannot reproduce the error while we have the PC connected to the machine."
What you hoping for is available as status records of the Profinet port. Those data are read by Step7 and represented as all sorts of diagnostics in the software. knowing which records to reference is a bit tricky. I have not found a comprehensive document about that yet. You may try your luck by contacting Siemens via the "Support Request" link. BUT there might be something that is already available and helpful. Have a look at [LINK: Library for PROFINET data records]. Reference pages 12, 13 and 14. -- Do make a consideration that you should not add so much more bulk to processing that it is uneconomical to have the functionality. It may easily happen that it takes less processing to have the added debug code run all the time instead of detecting when to activate it. A semi-automatic way would be to have a user set a bit. The bit can be reset after some time limit. To force the situation you can have a physical key switch. This switch could also activate a software password. See the ENDIS_PW instruction for some insight on how an internal password can block online access. |
Last edited by: qwazee at: 07/23/2024 14:50:13Activities of this user is voluntary. There is no obligation or liability placed on this user. Though optional, your 'please' and 'thank you' is highly valued. |
|
Follow us on