3.7
Data types
Data values are classified in data types for transmission.
w
FP
Floating point number (Real)
Range:as integer (in individual access) -9999 ... 0 ... 9999
as fix point-3000,0 ... 0,0 ... 3200,0
Exception:switch-off value ‘-32000’
w
INT
positive integer number
Range: 0 ... 32767
Range with configuration words: 0000 ... 9999 (
Ä
Page 27)
Exception: Switch-off value ‘-32000’
w
ST1
Status, bit-oriented, 1 byte Length
Range: 00H ... 3FH, transmitted: 40H...7FH
Only 6 bits can be used for information transmission, i.e. bit 0...5 (LSB = bit 0). Bit 6 must always be
set to ‘1’, in order to avoid confusion with the control characters. Bit 7 contains the parity bit.
w
ICMP (Integer Compact)
Bit information as integer transmission, max. 15 bits
Range: 0...32767; integer transmission is in ASCII format.
fixed to ‘0’
Bit signification
Bit
15
14
13
12
11
10
9 8 7 6 5 4 3 2 1 0
Value
-
16384 8192 4096 2048 1024 512 256 128 64 32 16 8 4 2 1
Example:
Bit 13 = 1 and bit 1 = 1, all remaining bits are ‘0’
internal hex value: 0x2002, as integer value: 8194, transmitted ASCII value: ‘8194’
Process data
990914
21
9499 040 50511