ads_watch
Records PLC symbol changes or periodic samples for a set duration using ADS notifications, falling back to polling when notifications are unavailable.
Instructions
Trace symbols for duration_ms. Uses ADS notifications (PLC-timestamped, every change the runtime sees at its task cycle — not 50 ms polling from this PC): change_only=true records changes, false one sample per interval_ms. Falls back to polling when notifications are unavailable (method field says which). Caps: 60 s, 5000 rows. The wait happens off the ADS workers, so writes issued concurrently land during the watch — a client that sends calls one after another still sees them after it; for stimulus→response use test_response, or rec_start + the write + rec_stop.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| names | Yes | ||
| change_only | No | ||
| duration_ms | No | ||
| interval_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||