EasyManua.ls Logo

Omron 3G3RX Series - Page 121

Omron 3G3RX Series
196 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6 Drive Programming Commands
6 - 20
Drive Programming User’s Manual (I580-E2)
Example
Until/Loop
Command Description Argument
Executes <command set> until <condition> is
met.
Condition
: a comparison between two variables
or constants with the format <left hand value>
<comparison operator> <right hand value>.
Left hand value: any variable or constant
(range 128 to 127)
Comparison operator: , <, >, <, >, or <>
Right hand value: any variable or constant
(range 128 to 127)
Command set: one or more commands until
the “loop” command. It can contain nested com-
mands (up to eight levels).
Format
Flowchart method Text language method
until <condition>
<command set>
loop
Flowchart Text
Block number
Operation
1 to 3 If X(00) is not 1, it waits for 1.00 second with the “wait” command and jumps to the “until” com-
mand. If X(00) is 1, it executes the “loop” command and goes to the next command.
4 to 5 Adds 1 to U(00) and jumps to the block 1: again unconditionally.

Table of Contents

Related product manuals