e.bloxx Communication
COMMUNICATION
HB_EBLOXX_COM_E_V12.doc
7
Gantner Instruments Test & Measurement GmbH
2.4. Output Format
The user can preset the format in which data shall be output via the bus with the
Configuration Software ICP100.
The
modules adjust the data format accordingly and makes sure that data are available in the selected unit.
For the transmission in the ASCII and PROFIBUS format the format settings listed in table 2.2 and 2.3 can be chosen.
At the transmission in the MODBUS format the output format (integer or real) will automatically be confirmed (table 2.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 ----->
Format Settings
Range of Values
Unit
dependent on sensor
Field Length
1 . . . . . . . . . . . . . . . . . . 8
Decimals
0 . . . field length-1 (max 6)
Table 2.2 Format settings for transmission in the ASCII-format
Format Settings
Length
Range of Values
Bool
1 byte
(dec 0: FALSE) and (dec 255: TRUE)
Integer
2 byte
(dec - 32768)
≤
i
≤
(dec +32767)
Real
4 byte
(dec - 2
129
)
≤
x
≤
(dec + 2
129
)
SET 8
1 byte
(dec 0)
≤
i
≤
(dec 255
)
Table 2.3 Format settings for transmission in the PROFIBUS-format
Format Settings
Length
Range of Values
Integer
2 byte
(dec - 32768)
≤
i
≤
(dec +32767)
Real
4 byte
(dec - 2
129
)
≤
x
≤
(dec + 2
129
)
Table 2.4 Format settings for transmission in the MODBUS-format
Example:
The value 50.3094 cm shall be displayed.