Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 1318

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Model Conversion Instructions (Unit Ver. 3.0 or Later)
Description
Flags
Area
Indirect DM/EM
addresses in binary
Indirect DM/EM
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
EM Area
En_
(Specific bank)
(n = 0 to C)
EM Area
E
(Current bank)
Variables in function blocks are automatically allocated addresses by CX-Pro-
grammer Ver. 5.0 and later systems, unless the AT specification is used. For
example, if it is necessary to indirectly specify the extended parameter set-
tings of a Special Unit such as a Motion Control Unit and a variable is used at
the beginning of the extended parameter settings area, that variable's address
must be set. In this case, GETID(286) can be used to retrieve the variable's
data area address.
Name
Label
Error Flag
ER
S
@ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
(n = 0 to C)
*D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
(n = 0 to C)
---
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
00A0 to 00AC hex
0098 hex
Operation
ON if S is not within the allowed range.
Section 3-35
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)
0000 to 7FFF hex
(00000 to 32767)
0000 to 7FFF hex
(00000 to 32767)
1279

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents