insert_rung
Add a mnemonic rung at a zero-based index within a specified program and section of an OMRON CX-Programmer project. Enables placing ladder logic instructions at a precise position.
Instructions
Insert a mnemonic rung at a zero-based rung index.
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>",
"instructions": "<instructions>"
},
"name": "insert_rung"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | ||
| project_id | Yes | ||
| rung_index | Yes | ||
| instructions | Yes | ||
| program_name | Yes | ||
| section_name | Yes | ||
| expected_revision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||