EasyManua.ls Logo

Bosch Buderus Logamatic 5000 Series - Additional information about converting values to ASCII characters

Bosch Buderus Logamatic 5000 Series
33 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
User Documentation
29|33
© All rights with Robert Bosch GmbH, also for the case of protected rights applications
EN_User_documentation_Instructions_for_controlling_the_Logamatic_5000_controller_series_via_Modbus_TCP_I
P_20210203.docx | 10.02.2021
7. Additional information about converting values
to ASCII characters
If, for example, you want to convert the fault code (= display code, input register 60)
into ASCII characters, please proceed as follows:
1. Read the integer value from register 60.
2. Convert the integer into the binary format as described in chapter "Supple-
mentary information for setting or reading single bits in a Modbus controller".
3. Now split the binary format into the single bytes (= 8 bit). Each byte corre-
sponds to one letter. 4.
4. Now convert each byte back into an integer.
5. Look in an ASCII-Table
2
which letter is represented by the respective integer
Example:
You read the integer 12880 from the input register register 60 (fault code / display
code).
1. Convert the integer to binary format:
0011001001010000
b
2. Now divide the binary number into bytes:
00110010
b
, 01010000
b
3. Now convert the single bytes to decimal:
00110010
b
= 50
d
01010000
b
= 80
d
4. According to the ASCII table, the numbers can now be converted into char-
acters:
50
d
= „2“
80
d
= „P“
If you read a 12880 from input register 60, this corresponds to the error code "2P". If
you also read a 564 from input register 59 (additional code), for example, this corre-
sponds to the error message "Temperature rise boiler sensor too fast (>70K/min)".
Note: In addition to faults, operation codes are also displayed in the "Fault codes"
register (input register 60).
2
https://de.wikipedia.org/wiki/American_Standard_Code_for_Information_Inter-
change#ASCII-Tabelle

Table of Contents

Related product manuals