ads_read
Read one TwinCAT PLC symbol with type-aware decoding; large structures return summaries, with readable time and enum values.
Instructions
Read one symbol with type-aware decoding. Structs/FB instances/arrays of structs decode into a nested tree (datatype table); TIME/DATE/DT/TOD get readable text; enums get names. Trees larger than max_chars are summarised (member names + sizes) — use ads_leaves or ads_dump for the full content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| max_chars | No | ||
| max_members | No | ||
| expand_struct | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||