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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| restore | No | ||
| response | Yes | ||
| stimulus | Yes | ||
| timeout_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||