Professional Documents
Culture Documents
modbus tools
For test, simulation and programming.
b. In the Excel Options dialog box, choose the Customize Ribbon button
http://www.modbustools.com/mbaxp_quickstart.html 1/4
1/13/2018 MBAXP Quick Start
c. In the list of main tabs, select the Developer check box
2. Now the developer tab is visible and it may be necessary to enable macros
http://www.modbustools.com/mbaxp_quickstart.html 2/4
1/13/2018 MBAXP Quick Start
5. Select MBAXP from the list and press ok
8. Right click on the button you just inserted and select properties
http://www.modbustools.com/mbaxp_quickstart.html 3/4
1/13/2018 MBAXP Quick Start
11. Add code to the button sub function
Private Sub CommandButton1_Click()
Mbaxp1.Connection = Port1
Mbaxp1.BaudRate = B9600
Mbaxp1.DataBits = Eight
Mbaxp1.Parity = NONE
Mbaxp1.StopBits = Two
End Sub
15. Press the "Open port" button. The communication should run now
http://www.modbustools.com/mbaxp_quickstart.html 4/4