Have you considered using an ActiveX control? Take a look at SMRX at www.sapia-inc.com for a control that will have your VB app talking Modbus/RTU protocol in minutes.
Sorry this is a bit cheeky, but I am also stuck with programming a modbus protocol application with VB6. I am new to serial programming and VB6 so any help much appreciated.
Grant, if you wouldn't mind I'd be really grateful for some of your code.
> I have been working on one for a couple of weeks. I'm using it as an extersize to learn VB.
>
> If you want I can email what I have done so far.
>
> Grant
Grant,
I would appreciate if you could send the code snippets. The problem is : trying to develop a generic modbus serial driver with ducati energy meters and siemens plc.
thanks,
Sid [email protected]
Hi Grant,
I am new for programming modbus protocol application with VB in serial programming.
I got a new project. It's about reading gas data from modbus protocol such as" Strm 1 Cum Sat S Vol Total(SCF)" , " Strm 1 Cum Energy Total(MMbtu)" .
Grant, if you wouldn't mind I'd be really grateful for some of your code for me to apply.
Thanks
Regards, ED [email protected]
> I have been working on one for a couple of weeks. I'm using it as an extersize to learn VB.
>
> If you want I can email what I have done so far.
>
> Grant
I would be glad for some source-code for "talking" modbus in VB
OK, guys.
Try to understand the "serial commnication" first, and then you can use MSCOMM32.ocx to make the "serial commnication" works in your VB project.
The MODBUS just a PROTOCOL, understanding the PROTOCOL is different from understanding "serial commnication".
Good luck!
Please send me any code that u have i'm also trying the same thing in VB but unable to read PV. So i'll be very thankful to u if u can send me some details.
Himanshu (himanshusingla25(AT)indiatimes.com)
Hi
Can You please send me the source code for MODBUS serial communication....with rs232/485
You can mail me at [email protected]
Thanx a Million
Regards
Ani
I am have a fair amount of VB experience, but I am new to Modbus. Would like to develop a Modbus RTU master application using the serial control. Could you send me the work you have already done so far. Could use this as jumping off step.