EasyManuals Logo
Home>Omron>Controller>SYSMAC CS/CJ Series

Omron SYSMAC CS/CJ Series User Manual

Omron SYSMAC CS/CJ Series
383 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
Page #139 background imageLoading...
Page #139 background image
118
Table Data Processing Instructions Section 3-15
SWAP BYTES
SWAP
@SWAP
637
Output
Required
FIND MAXIMUM
MAX
@MAX
182
Output
Required
FIND MINIMUM
MIN
@MIN
183
Output
Required
SUM
SUM
@SUM
184
Output
Required
FRAME
CHECKSUM
FCS
@FCS
180
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
N: Number of
words
R1: 1st word in
ran
g
e
SWAP(637)
N
R1
Byte position is swapped.
N
R1
Switches the leftmost and rightmost bytes in all of the words in the range.
C: 1st control
word
R1: 1st word in
range
D: Destination
word
MAX(182)
C
R1
D
R1+(W–1)
R1
PLC memory
address
Max.
value
C words
Finds the maximum value in the range.
C: 1st control
word
R1: 1st word in
range
D: Destination
word
MIN(183)
C
R1
D
R1+(W–1)
R1
PLC memory
address
Min. value
C words
Finds the minimum value in the range.
C: 1st control
word
R1: 1st word in
range
D: 1st destination
word
SUM(184)
C
R1
D
)
R1+(W–1)
R1
Adds the bytes or words in the range and outputs the result to two words.
C: 1st control
word
R1: 1st word in
range
D: 1st destination
word
FCS(180)
C
R1
D
C units
Calculation
FCS value
ASCII conversion
R1
Calculates the ASCII FCS value for the specified range.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC CS/CJ Series and is the answer not in the manual?

Omron SYSMAC CS/CJ Series Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CS/CJ Series
CategoryController
LanguageEnglish

Related product manuals