Omron RX2 Series User Manual page 101

Driveprogramming, cx-drive
Hide thumbs Also See for RX2 Series:
Table of Contents

Advertisement

Command
Argument 1
select
<condition
variable>
case
<condition
value 1>
case else
end select
for
<variable>
next
while
wend
until
loop
wait
<wait time>
wait
Additional Information
For the format of <condition>, refer to Conditions on page 6-6.
DriveProgramming User's Manual (I622-E1)
Argument 2
Argument 3
<command set 1>
["case" condition value n]
[<command set n>]
<command set>
<start value>
<end value>
<command set>
<condition>
<command set>
<condition>
<command set>
<condition>
6 DriveProgramming Commands
Argument 4
Argument 5
<incremental
value>
Description
Executes the com-
mands after the "case"
command when <con-
dition variable> is equal
to <condition value>.
Starts the commands
assigned to the condi-
tion value.
The command set
assigned to <condi-
tion value 1>
You can set one or
more conditions with
"case".
Starts the commands
assigned to the values
other than the condi-
tion value.
The command set
assigned to the values
other than <condition
value>
Ends the "case" syn-
tax.
Starts a loop from
<start value> until
<end value> with
<incremental value>.
The command set that
is executed repeatedly
Goes to "for" (loop).
Executes <command
set> while the <condi-
tion> is met.
The command set that
is executed while
<condition> is met.
Goes to "while" (loop).
Executes <command
set> until <condition>
is met.
The command set that
is executed while
<condition> is not met.
Goes to "until" (loop).
<wait time>
Waits for (wait time ×
0.01) seconds.
Waits until <condi-
tion> is met.
6 - 5
6

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

3g3rx2 series

Table of Contents