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 #138 background imageLoading...
Page #138 background image
117
Table Data Processing Instructions Section 3-15
DIMENSION
RECORD TABLE
DIM
@DIM
631
Output
Required
SET RECORD
LOCATION
SETR
@SETR
635
Output
Required
GET RECORD
NUMBER
GETR
@GETR
636
Output
Required
DATA SEARCH
SRCH
@SRCH
181
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
N: Table number
LR: Length of
each record
NR: Number of
records
TB: 1st table
word
DIM(631)
N
LR
NR
TB
Number of records
Table number (N)
LR x NR words
Record NR−1
Record 0
Defines a record table by declaring the length of each record and the number of
records. Up to 16 record tables can be defined.
Record 1
Record
Record
Record
N: Table number
R: Record
number
D: Destination
Index Re
g
ister
SETR(635)
N
R
D
Record
number (R)
Table number (N)
PLC memory
address
SETR(635) writes the PLC memory ad-
dress (m) of the first word of record R
to Index Register D.
R
Writes the location of the specified record (the PLC memory address of the
beginning of the record) in the specified Index Register.
N: Table number
IR: Index Register
D: Destination
word
GETR(636)
N
IR
D
Record number
(R)
Table number (N)
PLC memory
address
IR
n
Returns the record number of the record at the PLC memory address contained
in the specified Index Register.
GETR(636) writes
the record number of
the record that in-
cludes I/O memory
address (m) to D.
C: 1st control
word
R1: 1st word in
range
Cd: Comparison
data
SRCH(181)
C
R1
Cd
R1+(C–1)
PLC memory
address
Search
Match
C
R1
Cd
Searches for a word of data within a range of words.

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