![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_7422681318.webp)
1279
Model Conversion Instructions (Unit Ver. 3.0 or Later)
Section 3-35
Description
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.
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.
Flags
Indirect DM/EM
addresses in binary
@ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
(n = 0 to C)
Indirect DM/EM
addresses in BCD
*D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
(n = 0 to C)
Constants
---
Data Registers
DR0 to DR15
Index Registers
---
Indirect addressing
using Index Registers
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Area
S
D1
D2
Data area
Data
size
Data area code
(Output to D1.)
Address
(Output to D2.)
CIO Area
CIO
Word
00B0 hex
0000 to 17FF hex
(0000 to 6143)
Work Area
W
00B1 hex
0000 to 01FF hex
(000 to 511)
Holding Bit Area
H
00B2 hex
0000 to 01FF hex
(000 to 511)
Auxiliary Bit Area
00B3 hex
0000 to 03BF hex
(000 to 959)
DM Area
0082 hex
0000 to 7FFF hex
(00000 to 32767)
EM Area
(Specific bank)
En_
(n = 0 to C)
00A0 to 00AC hex
0000 to 7FFF hex
(00000 to 32767)
EM Area
(Current bank)
E
0098 hex
0000 to 7FFF hex
(00000 to 32767)
Name
Label
Operation
Error Flag
ER
ON if S is not within the allowed range.
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...