Download Siemens SIMATIC NET Specifications

Transcript
Valid Entries
Data Type
Description
Uses...
Range of
Values
Use with...
INT
Signed 16-bit integer
2 bytes
-32768 to
32767
Analog datablocks
WORD
Unsigned 16-bit integer
2 bytes
0 to 65535
Analog datablocks
REAL
32-bit floating-point
value (IEEE)
4 bytes
-231 -1to 231
Analog datablocks
TIMER
Timer
2 bytes
0 to 9990
Analog datablocks
and TBCD signal
conditioning
DWORD
Unsigned 32-bit integer
4 bytes
0 to
4294967296
Analog datablocks
DINT
Signed 32-bit integer
4 bytes
-16777216 to
16777215
Analog datablocks
COUNTER
Counter
2 bytes
0 to 999
Analog datablocks
and 3BCD signal
conditioning
ASCII
Text
1 byte
N/A
Text datablocks
BYTE
8-bit unsigned value
1 byte
0 to 255
Analog or digital
datablocks
STRING
Multiple ASCII
characters in a complex
structure.
1 byte for each
character in the string
plus two bytes for
internal use.
up to 80
characters.
Text datablocks
CHAR
Signed 8-bit value
1 byte
-128 to 127
Analog datablocks
When using the ASCII or STRING data type to read and write text, specific rules
apply. Refer to Reading and Writing Text Strings for more information.
Chapter 9. Configuring the I/O Driver with the Power Tool
143