wf_fb_profile
Profiles a function block instance to record leaf changes, sample task timing, and report active symbols, pulse rates, state dwell, silent symbols, and task cost. Read-only.
Instructions
Profile an FB instance for duration_s: records every leaf (change mode), samples task timing in parallel, then reports most-active symbols, boolean pulse rates, state dwell timelines, silent symbols and the FB's cost on the task. Read-only on the PLC.
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": {
"instance": "<instance>"
},
"name": "wf_fb_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cycle_ms | No | ||
| instance | Yes | ||
| duration_s | No | ||
| task_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||