Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual page 614

Table of Contents

Advertisement

3. Instructions
Function
SETR(635) stores the PLC memory address of the first word of the specified record in the specified
Index Register.
Note
• The record table must be defined in advance with DIM(631).
• Valid record numbers range from 0 to NR-1, where NR is the number of records specified when the table
was defined with DIM(631).
Example Programming
When CIO 0.00 is ON in the following example, SETR(635) finds the PLC memory address of the first
word of record 3 of table number 10 and stores this address in Index Register IR11.
578
Table number (N)
PC memory
address
SETR(635) writes the PC memory address (m)
R
of the first word of record R to Index Register D.
Record
number (R)
IR@
0.00
R
PC memory
Table number 10
address
Record number 3
CS/CJ/NSJ Series Instructions Reference Manual (W474)

Advertisement

Table of Contents
loading

Table of Contents