583
Table Data Processing Instructions Section 3-16
Description 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).
Flags
Precautions 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.
Timer Area --- T0000 to T4095
Counter Area --- C0000 to C4095
DM Area --- D0 to D32767
Indirect DM addresses
in binary
--- @ D0 to @ D32767
Indirect DM addresses
in BCD
--- *D0 to *D32767
Constants 0 to 15 --- ---
Data Registers --- DR0 to DR15
Index Registers --- IR0 to IR15 ---
Indirect addressing
using Index Registers
--- ,IR0 to ,IR15
–2048 to +2047 ,IR0 to
–2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Area N IR D
IR
n
GETR(636) writes the record number
of the record that includes PLC
memory address m to D.
PLC memory
address
Table number (N)
Record number
(R)
Name Label Operation
Error Flag ER 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.