Modbus

Everything else that doesn't fall into one of the other PB categories.
harkon
Enthusiast
Enthusiast
Posts: 217
Joined: Wed Nov 23, 2005 5:48 pm

Modbus

Post by harkon »

Does anyone know of any PB modbus RTU or ModbusTCP code for PureBasic. I know there are 3rd party libs for this but was hoping to get something I might be able to adapt and make Linux compatible as well. In the end I want to use this in an embedded board without a lot of fluff. Windows is just too much for that.
Missed it by that much!!
HK
harkon
Enthusiast
Enthusiast
Posts: 217
Joined: Wed Nov 23, 2005 5:48 pm

Post by harkon »

Thanks for that, there might be some good infomation to be in the libmbus library at
http://sourceforge.net/projects/mbus
Unfortunately this is a gateway and not really what I need, but I'm sure I can learn a lot from it.

I had been using an ActiveX server foound at
http://members.tripod.com/~mbserver/
This was stupid easy to use with VB, but not really where I need to be for an embedded RTU or TCP slave.

I have found some VB code that kinda does what I need, might be I just port that and roll my own.

Thanks fot the links Rook, I really appreciate it.
Missed it by that much!!
HK
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Post by Rook Zimbabwe »

My thought was you create a DLL VB6 that communicates with the OCX and then you have the LIB to use wit PB... chain stepping!
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
harkon
Enthusiast
Enthusiast
Posts: 217
Joined: Wed Nov 23, 2005 5:48 pm

Post by harkon »

Works for Windows, not for Linux.

Thanks though
Missed it by that much!!
HK
Molchyn
User
User
Posts: 42
Joined: Thu Jan 29, 2004 12:54 am

Post by Molchyn »

harkon
Enthusiast
Enthusiast
Posts: 217
Joined: Wed Nov 23, 2005 5:48 pm

Post by harkon »

Thanks ever so much. Pretty simple. Very helpful
Missed it by that much!!
HK
Post Reply