Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 116

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Instruction Functions
Instruction
Symbol/Operand
Mnemonic
Code
SWAP BYTES
SWAP(637)
SWAP
@SWAP
637
N: Number of
words
R1: 1st word in
range
FIND MAXIMUM
MAX(182)
MAX
@MAX
182
C: 1st control
word
R1: 1st word in
range
D: Destination
word
FIND MINIMUM
MIN(183)
MIN
@MIN
183
C: 1st control
word
R1: 1st word in
range
D: Destination
word
SUM
SUM(184)
SUM
@SUM
184
C: 1st control
word
R1: 1st word in
range
D: 1st destination
word
FRAME CHECK-
FCS(180)
SUM
FCS
@FCS
180
C: 1st control
word
R1: 1st word in
range
D: 1st destination
word
Switches the leftmost and rightmost bytes in all of the words in the
range.
Byte position is swapped.
N
R1
R1
Finds the maximum value in the range.
C
R1
R1
D
R1+(W −1)
Finds the minimum value in the range.
C
R1
R1
D
R1+(W −1)
Adds the bytes or words in the range and outputs the result to two
words.
C
R1
D
R1+(W−1)
)
Calculates the ASCII FCS value for the specified range.
R1
C
R1
D
Calculation
Function
Internal I/O
memory address
C words
Max.
value
Internal I/O
memory address
C words
Min. value
R1
C units
ASCII conversion
FCS value
Section 2-2
Location
Execution
condition
Output
Required
N
Output
Required
Output
Required
Output
Required
Output
Required
Page
726
728
732
736
739
77

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents