Omron 3G3MX2 Series User Manual page 108

Drive programming
Hide thumbs Also See for 3G3MX2 Series:
Table of Contents

Advertisement

Command
Argument 1
Remainder for
<variable 1>
division
Absolute value
<variable 1>
Logical operation
<variable 1>
<variable 1>
<variable 1>
<variable 1>
Increment and Decrement Commands
Command
Argument 1
Increment
inc
Decrement
Dec
I/O control commands
Command
Argument 1
Input terminal
<variable>
variable
assignment
<variable>
Drive Programming User's Manual (I580-E2)
Argument 2
Argument 3
: 
<variable 2/
constant>
:  abs
<variable 2/
constant>
: 
<variable 2/
constant>
: 
<variable 2/
constant>
: 
<variable 2/
constant>
:  not
<variable 2/
constant>
Argument 2
Argument 3
<variable>
<variable>
Argument 2
Argument 3
: 
X(i)
: 
Xw
6 Drive Programming Commands
Argument 4
Argument 5
mod
<variable 3/
constant>
and
<variable 3/
constant>
or
<variable 3/
constant>
xor
<variable 3/
constant>
Argument 4
Argument 5
Argument 4
Argument 5
Description
Divides <variable
2/constant> by <vari-
able 3/constant> and
assigns the remainder
to <variable 1>.
Assigns the absolute
value of <variable 2/con-
stant> to <variable 1>.
Performs a logical
AND operation on
<variable 2/constant>
and <variable 3/con-
stant> and assigns the
result to <variable 1>.
Performs a logical OR
operation on <variable
2/constant> and <vari-
able 3/constant> and
assigns the result to
<variable 1>.
Performs a logical
exclusive OR opera-
tion on <variable
2/constant> and <vari-
able 3/constant> and
assigns the result to
<variable 1>.
Reverses the bit of
<variable 2/constant>
and assigns the result
to <variable 1>.
Description
Adds 1 to <variable>.
Subtracts 1 from
<variable>.
Description
Set current state of the
input terminal X(i) to
<variable>.
0  off, 1  on
Set the current state of
the Xw to <variable> in
units of words.
6 - 7
6

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

3g3rx series3g3lx series

Table of Contents