718
Table Data Processing Instructions Section 3-17
3-17-6 SET RECORD LOCATION: SETR(635)
Purpose Writes the location of the specified record (the PLC memory address of the
beginning of the record) in the specified Index Register.
Ladder Symbol
Variations
Applicable Program Areas
Operands N: Table number
Indicates the table number. N must be between 0 and 15.
R: Record number
Indicates the record number of the desired record. R must be 0000 to FFFE
hexadecimal (0 to 65,534). Record numbers begin with 0, so the valid record
numbers are 0 to NR–1 for a table with NR records.
D: Destination Index Register
Indicates the desired Index Register. D must be IR0 to IR15.
Operand Specifications
SETR(635)
N
R
D
N: Table number
R: Record number
D: Destination Index Register
Variations Executed Each Cycle for ON Condition SETR(635)
Executed Once for Upward Differentiation @SETR(635)
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification Not supported.
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK OK
Area N R D
CIO Area --- CIO 0000 to CIO 6143 ---
Work Area --- W000 to W511 ---
Holding Bit Area --- H000 to H511 ---
Auxiliary Bit Area --- A000 to A959 ---
Timer Area --- T0000 to T4095 ---
Counter Area --- C0000 to C4095 ---
DM Area --- D00000 to D32767 ---
EM Area without bank --- E00000 to E32767 ---
EM Area with bank --- En_00000 to En_32767
(n = 0 to C)
---
Indirect DM/EM
addresses in binary
--- @ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
---
Indirect DM/EM
addresses in BCD
--- *D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
---
Constants 0 to 15 #0000 to #FFFE (binary) or
&0 to 65534
---
Data Registers --- DR0 to DR15 ---