578
Table Data Processing Instructions Section 3-16
After the data is written to D300, the stack pointer is decremented by one. The
content of D6 is left unchanged.
3-16-5 DIMENSION RECORD TABLE: DIM(631)
Purpose 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.
Ladder Symbol
Variations
Applicable Program Areas
Operands 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.
D: D300
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
Stack pointer
PLC memory address
of last word in stack
Read by LIFO(634).
Last word
in stack
Stack
pointer
DIM(631)
N
LR
NR
TB
N: Table number
LR: Length of each record
NR: Number of records
TB: First table word
Variations Executed Each Cycle for ON Condition DIM(631)
Executed Once for Upward Differentiation @DIM(631)
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