![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030116.webp)
76
Instruction Functions
Section 2-2
DIMENSION
RECORD TABLE
DIM
@DIM
631
Output
Required
715
SET RECORD
LOCATION
SETR
@SETR
635
Output
Required
718
GET RECORD
NUMBER
GETR
@GETR
636
Output
Required
720
DATA SEARCH
SRCH
@SRCH
181
Output
Required
722
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Page
DIM(631)
N
LR
NR
TB
N
: Table number
LR
: Length of
each record
NR
: Number of
records
TB
: 1st table
word
Number of records
Record NR
Record 1
Defines a record table by declaring the length of each record and the
number of records. Up to 16 record tables can be defined.
Table number (N)
LR
×
NR words
SETR(635)
N
R
D
N
: Table number
R
: Record
number
D
: Destination
Index Register
R
Writes the location of the specified record (the internal I/O memory
address of the beginning of the record) in the specified Index
Register.
Internal I/O
memory address
SETR(635) writes the internal I/O
memory address (m) of the first word of
record R to Index Register D.
Table number (N)
Record
number (R)
GETR(636)
N
IR
D
N
: Table number
IR
: Index
Register
D
: Destination
word
IR
n
Returns the record number of the record at the internal I/O memory
address contained in the specified Index Register.
Internal I/O
memory address
GETR(636) writes the
record number of
the
record that includes
I/O memory address
(m) to D.
Record number
(R)
Table number (N)
SRCH(181)
C
R1
Cd
C: 1st control
word
R1: 1st word in
range
Cd: Comparison
data
R1+(C
−
1)
R1
C
Search
Match
Cd
Internal I/O
memory address
Searches for a word of data within a range of words.
Summary of Contents for SYSMAC CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...