rec_latency
Measure edge-to-edge latency in a PLC signal recording between two conditions, from when the first becomes true to when the second becomes true.
Instructions
Edge-to-edge latency in a recording: from each time from_symbol from_op from_value
becomes true to the next time to_symbol to_op to_value becomes true (PLC timestamps).
E.g. bOpenCmd == TRUE → rFlow > 0.5.
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>",
"from_symbol": "<from_symbol>",
"from_op": "<from_op>",
"from_value": "<from_value>",
"to_symbol": "<to_symbol>",
"to_op": "<to_op>",
"to_value": "<to_value>"
},
"name": "rec_latency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| to_op | Yes | ||
| from_op | Yes | ||
| to_value | Yes | ||
| max_pairs | No | ||
| to_symbol | Yes | ||
| from_value | Yes | ||
| from_symbol | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||