Page 1 of 1

Modbus

Posted: Wed Mar 12, 2008 11:26 pm
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.

Posted: Thu Mar 13, 2008 12:19 am
by Rook Zimbabwe

Posted: Thu Mar 13, 2008 3:57 pm
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.

Posted: Sun Mar 16, 2008 5:39 am
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!

Posted: Mon Mar 17, 2008 3:24 pm
by harkon
Works for Windows, not for Linux.

Thanks though

Posted: Thu Feb 05, 2009 4:40 pm
by Molchyn

Posted: Fri Feb 06, 2009 5:53 pm
by harkon
Thanks ever so much. Pretty simple. Very helpful