read_plc_values
Read live PLC channel values using object.channel paths. Connects, retrieves requested data, and disconnects automatically.
Instructions
Read live channel values from a running PLC. Opens a connection, reads all requested channels, then closes the connection. Each channel is specified as 'ObjectName.ChannelName'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channels | Yes | List of channel paths to read, each in 'ObjectName.ChannelName' format. | |
| 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. |