Drive Programming
Command
Executes <instruction set> until a
<condition> is met.
Until <condition>
<instruction set>
Loop
Example
Flowchart
This code will increment while the digital input is closed. If it is open, then it will stay in the until-loop
portion. The check of the input is every second because of this structure. Digital input has to be
configured in the multifunction input.
Until / Loop
Description
Format
Arguments
• Condition: A comparison between two
variables or constants with the format
<Left hand value><Comparison><Right
Hand Value>
-Left hand value: any variable or constant
(range -128 to 127)
-Comparison: =,<,>,<=,>=,<>
-Right hand value: any variable or
constant (range -128 to 127)
• Instruction set: One or more
instructions, until Loop instruction. It can
contain nested instructions (up to 8 levels)
Text
45