test_response
Measure how fast a PLC function block reacts: write a stimulus and time the PLC-timestamped interval until a specified response condition holds, then restore original values.
Instructions
Write a stimulus ({symbol: value}) and measure the PLC-timestamped latency until
response ('MAIN.fbValve.bOpen == TRUE') holds — how fast does the FB react? Writes are
gated per symbol; originals are restored afterwards unless restore=false.
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": {
"stimulus": "<stimulus>",
"response": "<response>"
},
"name": "test_response"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| restore | No | ||
| response | Yes | ||
| stimulus | Yes | ||
| timeout_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||