How to:
Read out status information and the Ethernet statistics in the PN controller via scripting engine?
Forge example on login and monitoring a variable
See our Forge example using 'read_value()': Login and monitor variable
Read Status
You can access the statistics with this snippet:
Declaration |
---|
|
Implementation |
---|
|
PNIO Status
The SlaveStatus for the PNIO can be read out with:
- SlaveName.xRunning
- or SlaveName.PNIOStatus
See our Onlinehelp: PROFINET Diagnosis - PNIO Status (Error Code)