Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 611

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Table Data Processing Instructions
Stack
pointer
Last word
in stack
3-16-5 DIMENSION RECORD TABLE: DIM(631)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operands
578
D0
PLC memory address
of last word in stack
D1
D2
Stack pointer
D3
D4
D5
D6
D7
D8
D9
After the data is written to D300, the stack pointer is decremented by one. The
content of D6 is left unchanged.
Defines the specified I/O memory area as a record table by declaring the
length of each record and the number of records. Up to 16 record tables can
be defined.
DIM(631)
N
LR
NR
TB
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Block program areas
OK
OK
N: Table number
Indicates the table number. N must be between 0 and15.
LR: Length of each record
Indicates the number of words in each record. LR must be 0001 to FFFF
hexadecimal (1 to 65,535 words).
NR: Number of records
Indicates the number of records in the table. NR must be 0001 to FFFF hexa-
decimal (1 to 65,535 words).
TB: First table word
Indicates the first word of the table. All of the words in the table must be in the
same data area. In other words TB and TB+LR NR–1 must be in the same
data area.
Read by LIFO(634).
D: D300
N: Table number
LR: Length of each record
NR: Number of records
TB: First table word
Step program areas
Subroutines
OK
Section 3-16
DIM(631)
@DIM(631)
Not supported.
Interrupt tasks
OK

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents