ads_status
Check TwinCAT connection, PLC runtime state, system mode (RUN/CONFIG), and device name/version; pass a port to read only that port’s state.
Instructions
Composite status: connection, PLC runtime state, TwinCAT system mode (RUN/CONFIG), device name/version. With port=N returns only the ADS state of that port (852 PLC2, 500 NC, 10000 system service, 65535 EtherCAT master 1).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||