IDL 101
COMMUNICATION
60
HB_IDL101_E_V222.doc
Gantner Instruments Test & Measurement GmbH
10.1.4. Output Format
The user can preset the format in which the data shall be output via the bus with the
Configuration Software ICP100
.
The data logger adjusts the data formats accordingly and makes sure that the data are available in the selected unit.
For the transmission in the ASCII- and PROFIBUS-format, the format settings listed in table 10.2 and 10.3 can be
chosen. At the transmission in the MODBUS-format the output format (integer or real) will automatically be confirmed
(Table 10.4). The coding of a real value in the MODBUS- and PROFIBUS-format is as follows:
Coding of the real value: x = s ee...ee mmm.....mmm
Value: (-1)
s
·2
e-127
·1,m # : <1> <- 8 -> <----- 23 ----->
Value (0 < e < 255): (-1)
S
*
2
e-127
*
1,m
Value (e=0): (-1)
S
*
2
e-126
*
0,m
format settings range of values
unit dependent on sensor
field length 1 . . . . . . . . . . . . . . . . . . 8
decimals 0 . . . field length-1 (max 6)
Table 10.2 Format settings for transmission in the ASCII-format
format settings length range of values
b o o l 1 byte (dec 0: FALSE) and (dez 255: TRUE)
Integer 2 byte
(dec - 32768)
≤
i
≤
(dec +32767)
r e a l 4 byte
(dec - 2
129
)
≤
x
≤
(dec + 2
129
)
Table 10.3 Format settings for transmission in the PROFIBUS-format
format settings length range of values
Integer 2 byte
(dec - 32768)
≤
i
≤
(dec +32767)
r e a l 4 byte
(dec - 2
129
)
≤
x
≤
(dec + 2
129
)
Table 10.4 Format settings for transmission in the MODBUS-format
Example
: The value 50.3094 cm shall be displayed.
Transmission in the ASCII-format:
decimals field length 6 field length 7 field length 8
0 _ _ _ _ 5 0 _ _ _ _ _ 5 0 _ _ _ _ _ _ 5 0
1 _ _ 5 0 . 3 _ _ _ 5 0 . 3 _ _ _ _ 5 0 . 3
2 _ 5 0 . 3 1 _ _ 5 0 . 3 1 _ _ _ 5 0 . 3 1
3 5 0 . 3 0 9 _ 5 0 . 3 0 9 _ _ 5 0 . 3 0 9
4 E . 3 0 9 4 5 0 . 3 0 9 4 _ 5 0 . 3 0 9 4
5 - E . 3 0 9 4 0 5 0 . 3 0 9 4 0
6 - - E . 3 0 9 4 0 0
Table 10.5 Output formats for transmission in the ASCII-format ("_":blank).