EasyManua.ls Logo

Omron CJ - INSTRUCTIONS

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
Loading...
581
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Table Data Processing Instructions
3
GETR
GETR
Applicable Program Areas
Operands
N: Table number
Indicates the table number. N must be between 0 and 15.
IR: Index Register
Indicates the desired Index Register. IR must be IR0 to IR15.
z Operand Specifications
Flags
Instruction Mnemonic Variations
Function
code
Function
GET RECORD NUMBER GETR @GETR 636
Returns the record number of the record at the
PLC memory address contained in the specified
Index Register.
Symbol
GETR
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
IR Index Register UINT 2
D Destination word WORD 1
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
---
---
---
--- --- --- ---IR
---
OK
D OKOKOKOKOKOKOKOK OK OK OK --- OK
Name Label Operation
Error Flag ER ON if the PLC memory address in the specified Index Register is not within the specified table (N).
ON if the specified table number (N) has not been defined with DIM(631).
OFF in all other cases.
N: Table number
IR: Index Register
D: Destination word
GETR(636)
N
IR
D

Table of Contents

Related product manuals