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

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

Advertisement

Table Data Processing Instructions
Description
Flags
Precautions
Examples
Area
Index Registers
Indirect addressing
using Index Registers
GETR(636) finds which record includes the PLC memory address contained
in the specified Index Register and writes that record number in D. The PLC
memory address contained in the Index Register does not have to be the first
word in the record; it can be any word in the record.
The following diagram shows the basic operation of GETR(636).
Table number (N)
Record number
IR
(R)
Name
Label
Error Flag
ER
The record table must be defined in advance with DIM(631) and the PLC
memory address in the specified Index Register must be within the specified
table.
When CIO 000000 is ON in the following example, GETR(636) finds the
record number of the record that contains the PLC memory address in Index
Register IR11 and writes this record number to D01000.
IR
N
IR
---
IR0 to IR15
---
PC memory
address
GETR(636) writes the record number
of the record that includes PC memory
address m to D.
n
Operation
ON if the PLC memory address in the specified Index
Register is not within the specified table (N).
ON if the specified table number (N) has not been defined
with DIM(631).
OFF in all other cases.
Table number 10
Record number: 0
to
Record number 3
Section 3-17
D
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to
–2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
PC memory
address
Record containing
address 10000.
721

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SYSMAC CJ - REFERENCE MANUAL 08-2008 and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents

Save PDF