EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 613

Omron CP - PROGRAMMING MANUAL 05-2007
1175 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
580
Table Data Processing Instructions Section 3-16
Flags
Precautions Records in a registered table are identified by their record numbers, which
range from 0 to NR–1.
Depending on the settings for the record length (LR) and number of records
(NR), it is possible that a single table (from TB and TB+LR
×NR–1) will overlap
two data areas. Verify that no problems will arise before specifying a table that
overlaps a data area boundary.
Examples When CIO 0.00 is ON in the following example, DIM(631) defines record table
number 2 with three 10-word records. The table begins at D300.
3-16-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
Name Label Operation
Error Flag ER ON if LR or NR is 0000.
OFF in all other cases.
LR: D100
NR: D200
N
LR
NR
TB
0.00
D100
D200
D300
D300
D301
D309
D310
D319
D320
D329
Record 0
Record 1
Record 2
Record length: 10 word
s
Number of records: 3
10 words
10 words
10 words
Table number 2
SETR(635)
N
R
D
N: Table number
R: Record number
D: Destination Index Registe
r
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

Table of Contents

Related product manuals