Appendix
D300529 0115 - BL67 I/O modules15-20
0 mV to 50 mV;
0 mV to 100 mV;
0 mV to 500 mV;
0 mV to 1000 mV;
is displayed as follows:
000
hex
to 7FF
hex
(decimal: 0 to 2047)
Voltage values from 0 to 10 V DC
The hexadecimal/binary value can easily be converted into a decimal value, because all numbers
belong to the positive range of the two’s complement
(→ page 15-9).
The voltage value can now be calculated by means of the following equation:
voltage value = 0,002442 x decimal value
The value range:
0 V to 10 V
is displayed as follows:
000
hex
to FFF
hex
(decimal: 0 to 4095)
Voltage values from -10 to 10 V DC
The hexadecimal/binary values for the negative value range cannot easily be converted into decimal
values, because the values are coded as two’s complement (→
page 15-9).
All numerical values from 000
hex
to 7FF
hex
represent positive values when coded as two’s comple-
ment. Values in this range can easily be converted into decimal values. This is also relevant for binary
numbers in which the most significant bit (bit 12) is "0".
All numerical values from 800
hex
to FFF
hex
represent negative values when coded as two’s comple-
ment. This is also relevant for binary numbers in which the most significant bit (bit 12) is "1". Please see
→
Example of the conversion of negative numerical value, page 15-10.
The voltage value can now be calculated by means of the following equation:
For positive voltage values 0 VDC to 10 VDC use:
voltage value = 0,004885 x decimal value