Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 611

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

3. Instructions
Function
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.
IR
Note The record table must be defined in advance with DIM(631).
Sample program
When CIO 0.00 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 D1000.
0.00
574
PC memory
Table number (N)
address
Record number
(R)
IR
Table number 10
D1000
Record number: 0
Record number 3
GETR(636) writes the record number
of the record that includes PC memory
address m to D.
n
PC memory
address
to
Record containing
address 10000.
D1000
CS/CJ/NSJ Series Instructions Reference Manual (W474)

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 and is the answer not in the manual?

Questions and answers

Table of Contents