Mb address in device – ProSoft Technology 5201-MNET-ASCII User Manual
Page 30
Modbus TCP/IP Protocol Configuration
MNET ♦ ProLinx Gateway
Driver Manual
Modbus TCP/IP Interface Module
Page 30 of 78
ProSoft Technology, Inc.
September 1, 2010
2.5.12 MB Address in Device
This parameter specifies the starting Modbus register or bit address in the slave
to be used by the command. Refer to the documentation of each Modbus slave
device for the register and bit address assignments valid for that device.
The Modbus Function Code determines whether the address will be a register- or
bit- level OFFSET address into a given data type range. The offset will be the
target data address in the slave minus the base address for that data type. Base
addresses for the different data types are:
00001 or 000001 (0x0001) for bit-level Coil data (Function Codes 1, 5, and
15).
10001 or 100001 (1x0001) for bit-level Input Status data (Function Code 2)
30001 or 300001 (3x0001) for Input Register data (Function Code 4)
40001 or 400001 (4x0001) for Holding Register data (Function Codes 3, 6,
and 16).
Address calculation examples:
For bit-level Coil commands (FC 1, 5, or 15) to read or write a Coil 0X
address 00001, specify a value of 0 (00001 - 00001 = 0).
For Coil address 00115, specify 114
(00115 - 00001 = 114)
For register read or write commands (FC 3, 6, or 16) 4X range, for 40001,
specify a value of 0
(40001 - 40001 = 0).
For 01101, 11101, 31101 or 41101, specify a value of 1100.
(01101 - 00001 = 1100)
(11101 -10001 = 1100)
(31101 - 30001 = 1100)
(41101 - 40001 = 1100)
Note: If the documentation for a particular Modbus slave device lists data addresses in
hexadecimal (base16) notation, you will need to convert the hexadecimal value to a decimal value
to enter in this parameter. In such cases, it is not usually necessary to subtract 1 from the
converted decimal number, as this addressing scheme typically uses the exact offset address
expressed as a hexadecimal number.
- 5201-MNET-DFCM 5208-MNET-HART 5303-MBP-MNET 5204SE-MNET-PDPMV1 5202-MNET-ADM4 5201-MNET-BACNET 5210-MNET-RIO 5228-MNET-HART 5207-MNET-HART 5205-MNET-PDPS 5204-MNET-PDPMV1 5201-MNET-DH485 5201-MNET-104S 5201-MNET-EGD 5201-MNET-DFNT 5201-MNET-DNPSNET 5201-MNET-103M 5201-MNET-101S 5201-MNET-DNPS 5201-MNET-DNPM 5202-MNET-DFCM4 5202-MNET-ASCII4