Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 116

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Instruction Functions
Instruction
Symbol/Operand
Mnemonic
Code
DIMENSION
RECORD TABLE
DIM(631)
DIM
@DIM
631
N: Table number
LR: Length of
each record
NR: Number of
records
TB: 1st table
word
SET RECORD
SETR(635)
LOCATION
SETR
@SETR
635
N: Table number
R: Record
number
D: Destination
Index Register
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
76
Defines a record table by declaring the length of each record and the
number of records. Up to 16 record tables can be defined.
N
LR
NR
TB
Number of records
Writes the location of the specified record (the internal I/O memory
address of the beginning of the record) in the specified Index
Register.
N
Table number (N)
R
D
Record
number (R)
Returns the record number of the record at the internal I/O 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)
Function
Table number (N)
Record 1
Record NR
Internal I/O
memory address
SETR(635) writes the internal I/O
memory address (m) of the first word of
R
record R to Index Register D.
Table number (N)
Internal I/O
memory address
GETR(636) writes the
record number of the
Record number
record that includes
(R)
I/O memory address
(m) to D.
Internal I/O
memory address
Search
Cd
C
Match
Section 2-2
Location
Execution
condition
Output
Required
LR × NR words
Output
Required
Output
Required
n
Output
Required
Page
715
718
720
722

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents