Omron SYSMAC CS Series Programming Manual page 127

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

Table Data Processing Instructions
Instruction
Symbol/Operand
Mnemonic
Code
GET RECORD
NUMBER
GETR(636)
GETR
@GETR
636
N: Table number
IR: Index Register
D: Destination
word
DATA SEARCH
SRCH(181)
SRCH
@SRCH
181
C: 1st control
word
R1: 1st word in
range
Cd: Comparison
data
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
Returns the record number of the record at the PC memory address contained
in the specified Index Register.
N
IR
D
IR
Searches for a word of data within a range of words.
C
R1
R1
Cd
R1+(C–1)
Switches the leftmost and rightmost bytes in all of the words in the range.
N
Byte position is swapped.
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)
Function
Table number (N) PC memory
address
GETR(636) writes
the record number of
Record number
the record that in-
(R)
cludes I/O memory
address (m) to D.
PC memory
address
Search
Cd
C
Match
PC memory
address
C words
Max.
value
PC memory
address
C words
Min. value
Section 3-14
n
N
Location
Execution
condition
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
107

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1g/h-cpu-ev1 seriesCj1g-cpu seriesSysmac cj series

Table of Contents