Convert Number System; Read Out Binary Code - Reflex Anybus CompactCom Original Operating Manual

Table of Contents

Advertisement

Available languages
  • EN

Available languages

  • ENGLISH, page 17
Connecting the bus module
5.5.1

Convert number system

To convert from one number system to another number system (for example
from decimal to hexadecimal), you first require a pocket calculator for
programmers.
If you are using a Windows PC, you can start the calculator under "Start".
1.
In the menu, change the calculator to "Programmer".
2.
The selected number system is indicated by a blue bar.
Hexadecimal (HEX)
Decimal (DEC)
Octal (OCT)
Binary (BIN)
3.
Enter a value.
4.
The value is converted into the other number systems.
For example 13 h (hexadecimal) = 19 d (decimal).
24 — English
Anybus® - CompactCom / Modbus-RTU® — 08.11.2022 - Rev. B
5.5.2

Read out binary code

Using the index, you can identify which bit of the binary code must be
considered.
The index is contained in table 2,  5.5 "Read bit addresses",  22.
Low water switch bit address: 132h
13 = word address (hexadecimal number)
2 = index
Index 2 means that the bit at numbering position 2 indicates the status of the
parameter.
There are two different statuses:
1 = ON
0 = OFF
1.
Number the binary code from right to left.
2.
Begin the numbering at 0:
0 - 1 - 2 - 3.
Decimal 7 = binary
0
Parameter index:
3
Read direction
<----------------------------------- (bit numbering from
right to left)
Bit value 1 is located at numbering 2 position.
Result: The low water switch is ON!
0111 = switch on
0011 = switch off
1
1
1
2
1
0

Advertisement

Table of Contents
loading

Table of Contents