Plc Memory Areas - Omron CJ1W-ETN21 - 04-2009 Operation Manual

Ethernet units construction of networks
Table of Contents

Advertisement

Socket Applications
Parameters
7-2-2

PLC Memory Areas

Memory
Data type
area
Bit Areas
Current
value of
word
DM Area
EM Area
Note
Word and Bit Addresses
160
Specifies the parameters for the command code. Parameters depend on the
command being executed; for details, refer to the following pages.
The memory areas of the PLC that can be specified for results storage when
executing commands from the PC are listed in the table below. The Variable
type is set in the first byte of the results storage area. The remaining three
bytes contain the address for communications.
Addresses in the Addresses for communications column are not the same as
the actual memory addresses.
Word addresses
CIO
CIO 0000 to CIO 6143
HR
H000 to H511
AR
A448 to A959
DM
D00000 to D32767
Bank 0
E0_E00000 to E0_E32767
Bank 1
E1_E00000 to E1_E32767
Bank 2
E2_E00000 to E2_E32767
Bank 3
E3_E00000 to E3_E32767
Bank 4
E4_E00000 to E4_E32767
Bank 5
E5_E00000 to E5_E32767
Bank 6
E6_E00000 to E6_E32767
Bank 7
E7_E00000 to E7_E32767
Bank 8
E8_E00000 to E8_E32767
Bank 9
E9_E00000 to E9_E32767
Bank A
EA_E00000 to EA_E32767
Bank B
EB_E00000 to EB_E32767
Bank C
EC_E00000 to EC_E32767 000000 to 7FFF00
Current bank
E00000 to E32767
The variable types (area designations) given in parentheses can also be
used, allowing CV-series or CVM1 programs to be more easily corrected for
use with CS/CJ-series PLCs.
Three bytes of data are used to express data memory addresses of PLCs.
The most significant two bytes give the word address and the least significant
byte gives the bit number between 00 and 15.
The word address combined with the bit number expresses the bit address.
The bit number is always 00 because Ethernet Units can handle only word
data, i.e., individual bits cannot be addressed.
Variable type
Word addresses for specific memory area words can be calculated by con-
verting the normal decimal word address to hexadecimal and adding it to the
first word in the Addresses for communications column in the above table. For
example, the address for communications for D00200 would be 0000 (from
above table) plus C8 (decimal 200 converted to hexadecimal), or 00C8.
Addresses for
communications
000000 to 17FF00
000000 to 01FF00
01C000 to 03BF00
000000 to 7FFF00
000000 to 7FFF00
000000 to 7FFF00
000000 to 7FFF00
000000 to 7FFF00
000000 to 7FFF00
000000 to 7FFF00
000000 to 7FFF00
000000 to 7FFF00
000000 to 7FFF00
000000 to 7FFF00
000000 to 7FFF00
000000 to 7FFF00
000000 to 7FFF00
Specifies the bit position between 00 and 0F (0 to 15) for bit data.
Specifies the address of the corresponding word.
Section 7-2
Variable
Bytes
type
B0 (80)*
2
B2
B3
82
2
A0 (90)*
2
A1 (91)*
A2 (92)*
A3 (93)*
A4 (94)*
A5 (95)*
A6 (96)*
A7 (97)*
A8
2
A9
2
AA
2
AB
2
AC
2
98
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents