
Siemens TCP/IP Ethernet Driver Help
MB0-MB65535
MW0-MW65534
MD0-MD65532
Byte, Char, String**
Word, Short, BCD
DWord, Long, LBCD,
Float
Read/Write
Read/Write
Read/Write
Special Memory
(Bytes 0-29 are Read Only)
SM0.b-SM65535.b
.b is Bit Number 0-7
SMB0-SMB65535
SMW0-SMW65534
SMD0-SMD65532
Boolean
Byte, Char, String**
Word, Short, BCD
DWord, Long, LBCD,
Float
Read/Write
Read/Write
Read/Write
Read/Write
Sequence Control Relay (SCR) S0.b-S65535.b
.b is Bit Number 0-7
SB0-SB65535
SW0-SW65534
SD0-SD65532
Boolean
Byte, Char, String**
Word, Short, BCD
DWord, Long, LBCD,
Float
Read/Write
Read/Write
Read/Write
Read/Write
Variable Memory V0.b-V65535.b
.b is Bit Number 0-7
VB0-VB65535
VW0-VW65535
VD0-VD65535
Boolean
Byte, Char, String**
Word, Short, BCD
DWord, Long, LBCD,
Float
Read/Write
Read/Write
Read/Write
Read/Write
Timer Current Values T0-T65535* DWord, Long Read/Write
Timer Status Bit T0-T65535* Boolean Read Only
Counter Current Values (IEC) C0-C65535* Word, Short Read/Write
Counter Status Bit (IEC) C0-C65535* Boolean Read Only
Counter Current Values (SIMATIC) Z0-Z65535* Word, Short Read/Write
Counter Status Bit (SIMATIC) Z0-Z65535* Boolean Read Only
Note: C and Z access the same memory area.
High-Speed Counter HC0-HC65535* DWord, Long Read Only
*These memory types/subtypes do not support arrays.
**Byte memory types (MB) support strings. The syntax for strings is <address>.<length> where 0 < length <=
212.
***For Analog Inputs and Outputs, the address must be even (AI0, AI2, AI4, and so forth).
Notes:
1. All offsets for memory types I, Q, M, S, and SM represent a byte starting location within the specified
memory type.
2. Use caution when modifying Word, Short, DWord, and Long types. For I, Q, and F, each address starts at
a byte offset within the device. Therefore, Words MW0 and MW1 overlap at byte 1. Writing to MW0 will
also modify the value held in MW1. Similarly, DWord, and Long types can also overlap. It is recommended
that these memory types be used so that overlapping does not occur. For example, DWord MD0, MD4,
MD8, and so on can be used to prevent overlapping bytes.
Arrays
All memory types/subtypes with the exception of those marked with an asterisk support arrays. The valid syntax
for declaring an array is as follows:
<address>[rows][cols]
<address>.rows.cols
<address>,rows,cols
<address>_rows_cols
Note:
If no rows are specified, a row count of 1 is assumed.
For Word, Short, and BCD arrays, the base address + (rows * cols * 2) cannot exceed 65536. Keep in mind that
the elements of the array are words, located on a word boundary. For example, IW0[4] would return IW0, IW2,
IW4, and IW6.
www. kepware.com
40
Comentarios a estos manuales