rec_read
Read a time window from a finished TwinCAT recording file to inspect PLC signal samples for selected symbols and times. Optionally fill missing cells with the last known value and mark them.
Instructions
Read a time window of a recording from its file. wide=true: one row per PLC timestamp with one column per selected symbol; a cell is null when that symbol has no sample at that time — nothing is invented (R4). fill=true repeats the last known value into those cells and lists them per row under "_filled" (handy for 'what else was true when X happened', but a filled cell is not a sample). Works on finished recordings from earlier sessions too.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "rec_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| fill | No | ||
| wide | No | ||
| symbols | No | ||
| t_to_ms | No | ||
| max_rows | No | ||
| t_from_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||