get_plc_state
Check a PLC's runtime state (Running, Stopped, Offline) using a project file or saved connection.
Instructions
Query the runtime state of a PLC (e.g. Running, Stopped, Offline). Uses the project's saved connection if none is specified.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lcp_path | No | Absolute path to the .lcp file. Omit to use the selected project. | |
| connection | No | Connection string or address-book name. Omit to use the project's saved connection. |