EasyManuals Logo

Omron SYSMAC CP Series User Manual

Omron SYSMAC CP Series
578 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 #492 background imageLoading...
Page #492 background image
Appendices
A-32
CP2E CPU Unit Software User’s Manual(W614)
A-1-14 Table Data Processing Instructions
Instruction Mnemonic Variations Symbol/Operand Function
SWAP BYTES SWAP @ Switches the leftmost and rightmost bytes in all of the words in the
range.
FIND MAXI-
MUM
MAX @ Finds the maximum value in the range.
FIND MINI-
MUM
MIN @ Finds the minimum value in the range.
FRAME
CHECKSUM
FCS @ Calculates the FCS value for the specified range and outputs the
result in ASCII.
C: First control word
N
R1
SWAP(637)
N: Number of words
R1: 1st word in range
N
R1
Byte position is swapped.
MAX(182)
C
R1
D
C: First control word
R1: First word in range
D: Destination word
R1+(W–1)
C
W
Max.
W words
PC memory
address
value
MIN(183)
C
R1
D
C: First control word
R1: First word in range
D: Destination word
R1+(W–1)
R1
C
W
W words
Min. value
PC memory
address
C: First control word
R1: First word in range
D: First destination word
FCS(180)
C
R1
D
R1
Calculation
W (Table length)
ASCII conversion
FCS value
D
15 0
C
15 014
0
C+1
13 12 11
0000 0000 0000
00
0
Calculation units
W: Number of words/bytes in range
&1 to &65535 (decimal) or
#0001 to #FFFF (hex)
Starting byte (Valid only when bit 13 is 1.)
0: Leftmost byte
1: Rightmost byte
0: Words
1: Bytes

Table of Contents

Other manuals for Omron SYSMAC CP Series

Questions and Answers:

Question and Answer IconNeed help?

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

Omron SYSMAC CP Series Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CP Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals