EasyManuals Logo
Home>Omron>Controller>CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #615 background imageLoading...
Page #615 background image
577
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Table Data Processing Instructions
3
DIM
DIM
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 hexadecimal (1 to 65,535
words).
z Operand Specifications
Flags
Instruction Mnemonic Variations
Function
code
Function
DIMENSION RECORD TABLE DIM @DIM 631
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.
Symbol
DIM
Area
Function block
definitions
Block program areas Step program areas Subroutines Interrupt tasks
SFC action or
transition programs
Usage OK OK OK OK OK OK
Operand Description Data type Size
N Table number --- 1
LR Length of each record UINT 1
NR Number of records UINT 1
TB First table word UINT Variable
Area
Word addresses
Indirect DM/EM
addresses
Con-
stants
Registers Flags
Pulse
bits
TR
bits
CIO WR HR AR T C DM EM
@DM
@EM
*DM
*EM
DR IR
Indirect
using IR
TK CF
N --- --- --- --- --- --- --- --- --- ---
OK
---
---
---
--- --- --- ---LR, NR
OK OK OK OK OK OK OK OK OK OK
OK
OK
D --- ---
Name Label Operation
Error Flag ER • ON if LR or NR is 0.
• OFF in all other cases.
N: Table number
LR: Length of each record
NR: Number of records
TB: First table word
DIM(631)
N
LR
NR
TB

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals