![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268761.webp)
722
Table Data Processing Instructions
Section 3-17
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.
Examples
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.
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 PC memory
address m to D.
PC 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.
IR
to
Table number 10
Record number: 0
Record number 3
PC memory
address
Record containing
address 10000.
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...