Instruction Reference
For the scan model and DSL vocabulary, start with Core Concepts. This section is the reference for writing rungs.
Read it like a ladder diagram: conditions go on Rung(...), instructions go in the body. Use the pages below by instruction family.
Start here
- Rungs — comments, branching, source order, and how power flows through a rung
- Conditions — contacts, comparisons, AND/OR logic, and edge detection
- Coils —
out,latch,reset, and immediate I/O
Data movement
- Data Movement —
copy,blockcopy,fill, converters,pack_*, andunpack_* - Math —
calc(), overflow behavior, division rules, and range sums
Time and control
- Timers & Counters —
on_delay,off_delay,count_up, andcount_down - Drum, Shift & Search — step sequencers, shift registers, and range search
- Program Control —
Program, subroutines,call, andforloop
Communication
- Communication —
send,receive, Modbus targets, and status tags
Exact signatures
If you want signatures and parameters instead of examples, use the Instruction Set API. For the rest of the generated API surface, start at the API Reference.