EasyManua.ls Logo

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 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...
77
Instruction Functions Section 2-2
SWAP BYTES
SWAP
@SWAP
637
Output
Required
725
FIND MAXIMUM
MAX
@MAX
182
Output
Required
727
FIND MINIMUM
MIN
@MIN
183
Output
Required
731
SUM
SUM
@SUM
184
Output
Required
735
FRAME CHECK-
SUM
FCS
@FCS
180
Output
Required
738
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
Page
SWAP(637)
N
R1
N: Number of
words
R1: 1st word in
range
N
R1
S
w
i
tc
h
es t
h
e
l
e
f
tmost an
d
r
i
g
h
tmost
b
ytes
i
n a
ll
o
f
t
h
e wor
d
s
i
n t
h
e
range.
Byte position is swapped.
MAX(182)
C
R1
D
C: 1st control
word
R1: 1st word in
range
D: Destination
word
R1+(W1)
R1
Finds the maximum value in the range.
Internal I/O
memory address
C words
Max.
value
MIN(183)
C
R1
D
C: 1st control
word
R1: 1st word in
range
D: Destination
word
R1+(W1)
R1
Finds the minimum value in the range.
Internal I/O
memory address
C words
Min. value
SUM(184)
C
R1
D
C: 1st control
word
R1: 1st word in
range
D: 1st destination
word
R1+(W1)
R1
)
Adds the bytes or words in the range and outputs the result to two
words.
FCS(180)
C
R1
D
C: 1st control
word
R1: 1st word in
range
D: 1st destination
word
C units
Calculation
R1
Calculates the ASCII FCS value for the specified range.
ASCII conversion
FCS value

Table of Contents

Related product manuals