simulate_rung
Test boolean logic of a ladder rung by setting input bit states to evaluate output, enabling reasoning and validation without full PLC-cycle simulation.
Instructions
Evaluate the supported boolean mnemonic subset for reasoning/testing only, not PLC-cycle simulation.
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": {
"project_id": "<project_id>",
"program_name": "<program_name>",
"section_name": "<section_name>",
"rung_index": "<rung_index>",
"bits": "<bits>"
},
"name": "simulate_rung"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bits | Yes | ||
| state | No | ||
| project_id | Yes | ||
| rung_index | Yes | ||
| program_name | Yes | ||
| section_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||