EasyManua.ls Logo

Omron 3G3RX2 Series - Page 111

Omron 3G3RX2 Series
176 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 - 15
6 DriveProgramming Commands
DriveProgramming User’s Manual (I622-E1)
6-4 Program Control Commands
6
Example
If
Command Description Argument
Jumps to <label> when <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)
Label: a name that is used to identify a particu-
lar function block in the task.
Format
Flowchart method Text language method
if <condition> goto <label>
Note To set the label name in flowchart, right-click the command and select [Set Label] from the
menu. You can specify any name.
Flowchart Text
Block number
Operation
1 If U(00) is 1, it jumps to the block 3: condit. If U(00) is not 1, it goes to the next block 2.
2 Jumps to the block 1: loop_ unconditionally.
3 to 4 Adds 1 to U(01) and jumps to the block 1: loop_ unconditionally.

Table of Contents

Other manuals for Omron 3G3RX2 Series

Related product manuals