Need VB source code for Modbus with RS 232 / RS 485...

P

Thread Starter

psnj

Is there any source code example for programming and implementing modbus protocol with RS 232/ RS 485 standards/ PC Comm port using Visual Basic?
 
A

automation corner

The best solution is to use an ActiveX or a DLL Modbus. You can find it in automationcorner.com
 
G

Grant Bowman

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
 
R

Richard Martin

Hi,

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.

[email protected]

Cheers,
Richard
 
I

Istvan Fekete

Grant,

I must use Modbus in VB, but I don't know it's functions (names, parameters, ...).

Could you send me a description from these?

Thx. Istvan
 
S

Sid Purkayastha

> 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]
 
B

Bhavesh Anandpara

Hi Grant,
I am also stuck with programming a modbus protocol application with VB. I am new to serial programming and VB so any help much appreciated.

Grant, if you wouldn't mind I'd be really grateful for some of your code.
Regards,
Bhavesh Anandpara
[email protected]
 
K

Kamon Tongkhaw

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

[email protected]
 
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)
 
Hello Grant,

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.

Thanks
Wendell
[email protected]
 
Top