| ModbusTools |
> Products Modbus Poll Modbus Slave Modbus TCP/IP .NET Modbus RTU/ASCII .NET Modbus ActiveX > Download > Order > Contact Info. > Links
> Modbus
|
MBAXP Quick start guide This guide show how
to use MBAXP with Microsoft Excel. If you use Windows 7 or Vista read here.
Add the ActiveX to the toolbox 1.
Click the developer tab. If
the developer tab is not visible then enable it: a. Click the office
button and push Excel options. b.
Check the check box "Show Developer tab in the Ribbon" 2.
Now the developer tab is visible and it may be necessary to enable macros. 3.
Click Insert and select "More Controls" 4.
Select MBAXP from the list and press ok and click on cell 2A. 5.
Now MBAXP is inserted 6.
Click Insert and select button (ActiveX Control). Then click on cell 6A 7.
Right click on the button you just inserted and name it Open port. 8.
Double click on the button to open the VBA editor. 9.
Add some code to the button sub function. Private Sub CommandButton1_Click() 10. Double click the MBAXP
to add an event sub function. 11.
Add code to the ResultOk event. ' This event is called when a transaction is done 12. Turn off design mode. 13.
Press the "Open port" button. The communication should run now. |
|
Copyright © 2012 ModbusTools - All rights reserved. Modbus is trademark of Modicon. |