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

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Model Conversion Instructions
Applicable Program Areas
Operands
Operand Specifications
Description
Block program areas
OK
OK
S: Source data
Specifies the variable or address for which the variable type and word address
will be retrieved.
D1: Variable code
Contains the FINS variable type code (data area code) of the source data.
D2: Word address
Contains the word address of the source data in 4-digit hexadecimal.
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
Indirect DM addresses
in binary
Indirect DM addresses
in BCD
Constants
Data Registers
Index Registers
Indirect addressing
using Index Registers
GETID(286) retrieves the data area address of the specified source variable
or address, outputs the data area code to D1 in 4-digit hexadecimal, and out-
puts the word address number to D2 in 4-digit hexadecimal.
The following table shows the variable type (data area) codes and corre-
sponding address ranges for the PLC's data areas.
Data area
CIO Area
CIO
Work Area
W
Holding Bit Area
H
Auxiliary Bit Area
DM Area
Step program areas
Subroutines
OK
S
CIO 0 to CIO 6143
W0 to W511
H0 to H511
A0 to A959
T0000 to T4095
C0000 to C4095
D0 to D32767
@ D0 to @ D32767
*D0 to *D32767
---
DR0 to DR15
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Data
Data area code
size
(Output to D1.)
Word
00B0 hex
00B1 hex
00B2 hex
00B3 hex
0082 hex
Section 3-33
Interrupt tasks
OK
D1
D2
Address
(Output to D2.)
0000 to 17FF hex
(0000 to 6143)
0000 to 01FF hex
(000 to 511)
0000 to 01FF hex
(000 to 511)
0000 to 03BF hex
(000 to 959)
0000 to 7FFF hex
(00000 to 32767)
1063

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents