Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 610

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

GETR
Instruction
GET RECORD NUMBER
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
N
Table number
IR
Index Register
D
Destination word
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.
Operand Specifications
Word addresses
Area
CIO
WR
HR
N
---
---
---
IR
D
OK
OK
OK
Flags
Name
Error Flag
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Mnemonic
Variations
GETR
@GETR
Block program areas
Step program areas
OK
OK
Description
AR
T
C
DM
EM
---
---
---
---
---
OK
OK
OK
OK
OK
Label
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.
Function
code
Returns the record number of the record at the
636
PLC memory address contained in the specified
Index Register.
GETR
GETR(636)
N: Table number
N
IR: Index Register
IR
D
D: Destination word
Subroutines
OK
Data type
---
UINT
WORD
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
OK
---
---
---
---
OK
OK
OK
Operation
3. Instructions
Function
SFC action or
Interrupt tasks
transition programs
OK
OK
Size
1
2
1
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
---
OK
---
---
---
OK
3
TR
bits
---
---
573

Advertisement

Table of Contents
loading

Table of Contents