Manual Modbus 140918 EN
Manual Modbus 140918 EN
MasterBus - Modbus
Interface
Interface from Modbus to MasterBus
2 OPERATION
2.1 MasterBus functions
The Modbus communicates via MasterBus. For information about MasterBus, see www.mastervolt.com. The
table below shows the interface functions.
4
1. Modbus B line
2. Modbus A line
3. Modbus Ground
4. MasterBus
communication LED B A GND
1 2 3
MasterBus
connector
Modbus network
4 SPECIFICATIONS
Model: MasterBus - Modbus interface
Article number: 77030800
Delivery also includes: Screw terminal, MasterBus cable, MasterBus Terminating device, User’s manual
Function of instrument: Modbus to MasterBus interface
Languages available: English,Nederlands,Deutsch,Français,Castellano,Italiano,Norsk,Svenska,Suomi,Dansk
Power consumption: 350 mW
MasterBus Powering: No
Din rail mounting: Yes, Din rail 30 mm [1.2 inch]
Protection degree: IP 21
Dimensions: 66 x 78 x 32 mm [2.6 x 3.1 x 1.3 inch]; see drawing below
Weight: Approx. 80 gr [0.18 lb]
78 [3.1]
4.0 [0.16]
Dimensions in mm [inch]
4,5 [0.18] 6.0 [0.24]
H.A. Poppelier
Product Manager marine & mobile
6.1 What you need The Tab number is related to the category
To configure the Modbus interface, you will need concerned. There are 4 different categories as
besides the Modbus itself: mentioned below.
a Modbus cable from your Modbus network to the Monitoring: tab number 0
Modbus interface; Alarm: tab number 1
a pc with Windows 2000, XP or higher; History: tab number 2
Masteradjust software, free downloadable from Configuration: tab number 3
www.mastervolt.com; Enter this number into TabNr to communicate with
USB-MasterBus interface. correct categories.
6.2 MasterBus device address and variable The Variable number is the index connected to
every variable in a category.
The master of the Modbus network is able to
Enter this number into Index.
communicate with any individual MasterBus device
variable for read or write action.
You now defined the position of the MasterBus
For this communication the MasterBus device
device variable you want the Modbus to
address and the position of the variable are needed.
communicate with.
See the example how to find these variables IDAL,
6.2.1 MasterBus Device Address
IDB, TabNr and Index using MasterAdjust.
The MasterBus Device Address consists of 2
variables:
IDB (18 bit value) and
IDAL (5 bit value).
These two variables are read out by MasterAdjust.
6.4 Finding TabNr and Index The values needed are now:
In this example the Override variable is selected to Variable Value
communicate with. The picture below shows the IDB 0x217C1 (hexadecimal figure)
Monitoring tab (TabNr = 0). The mouse hint (right IDAL 0x0E (hexadecimal figure)
mouse button) of this variable shows Index: 1. TabNr 0
Index 1
Request
Variable Size Value
Response
Variable Size Value
Request example
Variable Value Range
Bus address 0x01 [1..247]
Function code 0x17 Fixed
Read Starting Address Hi 0x00 Fixed
Read Starting Address Lo 0x00 Fixed
Quantity to Read Hi 0x00 Fixed
Quantity to Read Lo 0x06 Fixed
Write Starting Address Hi 0 Fixed
Write Starting Address Lo 1 0 = read / 1 = write
Quantity to Write Hi 0x00 Fixed
Quantity to Write Lo 0x06 Fixed
Write Byte Count (Fixed) 0x0C Fixed
IDAL 0x0E [0..31]
IDB Hi 0x02 [0..3]
IDB Mi 0x17 [0..255]
IDB Lo 0xC1 [0..255]
TabNr Hi 0x00 Fixed
TabNr Lo 0x00 [0..3]
Index Hi 0x00 [0..255]
Index Lo 0x01 [0..255]
Value Lo (Float IEEE 754) 0x00 [0..255]
Value Mi 0x00 [0..255]
Value Hi 0x80 [0..255]
Value Exponent 0x3F [0..255]
CRC Lo 0x85 [0..255]
CRC Hi 0xFA [0..255]
Response example
Variable Value Range
Bus address 0x01 [1..247]
Function code 0x17 Fixed
Byte Count(Fixed) 0x0C Fixed
IDAL 0x0E [0..31]
IDB Hi 0x02 [0..3]
IDB Mi 0x17 [0..255]
IDB Lo 0xC1 [0..255]
TabNr Hi 0x00 Fixed
TabNr Lo 0x00 [0..3]
Index Hi 0x00 [0..255]
Index Lo 0x01 [0..255]
Value Lo (Float IEEE 754) 0x00 [0..255]
Value Mi 0x00 [0..255]
Value Hi 0x80 [0..255]
Value Exponent 0x3F [0..255]
CRC Lo 0x94 [0..255]
CRC Hi 0xC1 [0..255]
Exception message
Variable Size Value
Bus address 1 Byte Variable
Function code 1 Byte 0x97 (Fixed)
Exception code 1 Byte Variable
CRC 2 Byte Calculated