Setting The Rotary Address Switches; Converting Hex Addresses To Decimal - Automation Direct T1K-MODBUS-M User Manual

Terminator i/o modbus base controller
Table of Contents

Advertisement

Setting the Rotary Address Switches

The T1K–MODBUS unit address is set by the two rotary switches on the front of the
unit. Addresses are in hexadecimal format with valid address from 00 to F7, which is
equivalent to 0 to 247 decimal. The addresses do not have to be sequential, but each
station address must be unique.
The top rotary switch is used to set the most significant digit of the HEX address. The
lower switch is used to set the least significant digit in the HEX address.
Eventhough the T1K–MODBUS unit address is set in HEX, it's not difficult to
Converting HEX
calculate the equivalent decimal address used by the MODBUS protocol.
Addresses to
Decimal
To calculate the equivalent HEX address:
1) Divide the decimal address desired by 16. This provides the X10 HEX digit.
2) The remainder will be a number less than 16, resulting in a HEX number between
0 1 2 3 4 5 6 7 8 9 A
0 1 2 3 4 5 6 7 8 9
60 ÷ 16 = 3
24 ÷ 16 = 1
0–F. The remainder provides the X1 HEX digit. Two examples are given below.
60 decimal
with remainder of 12 = C
24 decimal
with remainder of 8 = 8
T1K–MODBUS Specifications
.
.
B
C D E
F
10 11 12 13 14 15
So 60 decimal = 3C HEX
So 24 decimal = 18 HEX
2–7
X10
UNIT
ADRS
(HEX)
X1
HEX Format
Decimal format

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the T1K-MODBUS-M and is the answer not in the manual?

Questions and answers

Table of Contents