generate_sequence_ldr
Generates ordered ladder-logic sequences in .ldr files using native T timers, with pause/resume state handling and optional acceptance checks. Use it to turn a sequence spec into symbols and ladder code.
Instructions
Generate ordered steps using native T timers, with no automatic X/Y additions. Native pause/resume uses FUN87 with register state and no relay copy chains. External pulse counting is only for requirements explicitly specifying a clock input. Return symbols and actual .ldr; not GUI or PLC verified.
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": {
"output_name": "<output_name>",
"spec": "<spec>",
"io_contract": "<io_contract>"
},
"name": "generate_sequence_ldr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | ||
| acceptance | No | ||
| io_contract | Yes | ||
| output_name | Yes | ||
| strict_writers | No | ||
| target_profile | No | ||
| require_acceptance | No |