compile_structured_rung
Convert a boolean AST expression and outputs into CX mnemonic code without editing a project. Use to generate LD/AND LD/OR LD plus OUT/SET/RSET instructions for structured rung compilation.
Instructions
Compile a boolean AST into CX mnemonic using LD/AND LD/OR LD plus OUT/SET/RSET outputs.
This is a preview and does not edit a project.
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": {
"expression": "<expression>",
"outputs": "<outputs>"
},
"name": "compile_structured_rung"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outputs | Yes | ||
| expression | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||