Thread: [Gambas-user] gambase and modbus
Brought to you by:
gambas
From: Jean-Yves F. B. <12...@gm...> - 2009-10-01 20:41:46
|
Hi folks, Does anybody have experience (and code) of ModBus driven by Gambas? JY -- < Overfiend> well, excellent. I get to tear someone a new asshole. -- in #debian-devel |
From: Mike <mik...@we...> - 2009-10-02 10:27:24
|
Jean-Yves F. Barbier wrote: > Hi folks, > > Does anybody have experience (and code) of ModBus driven by Gambas? > > JY > ASCII or RTU Mike |
From: Petit E. <sur...@gm...> - 2009-10-02 11:19:07
|
I did it in C# and VB.Net, Modbus protocol is pretty simple, you can easy find protocol definition on the web, after what the transport, serial or Ethernet is "standard", so basically, if gambas support serial port writing, you just need to write it in the serial port component 2009/10/2 Mike <mik...@we...>: > Jean-Yves F. Barbier wrote: >> Hi folks, >> >> Does anybody have experience (and code) of ModBus driven by Gambas? >> >> JY >> > ASCII or RTU > > Mike > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Gambas-user mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Cordially. Small Eric Quotations of the days: --------------------------------------------------------------------------- I have no special talents. I am only passionately curious |
From: Petit E. <sur...@gm...> - 2009-10-02 11:21:36
|
find some of my first tool here : http://www.plcs.net/downloads/index.php?direction=0&order=&directory=Misc http://www.plcs.net/downloads/index.php?&direction=0&order=&directory=Modicon 2009/10/2 Petit Eric <sur...@gm...>: > I did it in C# and VB.Net, Modbus protocol is pretty simple, you can > easy find protocol definition on the web, after what the transport, > serial or Ethernet is "standard", so basically, if gambas support > serial port writing, you just need to write it in the serial port > component > > 2009/10/2 Mike <mik...@we...>: >> Jean-Yves F. Barbier wrote: >>> Hi folks, >>> >>> Does anybody have experience (and code) of ModBus driven by Gambas? >>> >>> JY >>> >> ASCII or RTU >> >> Mike >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry® Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9-12, 2009. Register now! >> http://p.sf.net/sfu/devconf >> _______________________________________________ >> Gambas-user mailing list >> Gam...@li... >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > > -- > Cordially. > > Small Eric Quotations of the days: > --------------------------------------------------------------------------- > I have no special talents. I am only passionately curious > -- Cordially. Small Eric Quotations of the days: --------------------------------------------------------------------------- I have no special talents. I am only passionately curious Sent from Bordeaux, France |
From: Jean-Yves F. B. <12...@gm...> - 2009-10-02 14:40:09
|
Petit Eric a écrit : > find some of my first tool here : > http://www.plcs.net/downloads/index.php?direction=0&order=&directory=Misc > http://www.plcs.net/downloads/index.php?&direction=0&order=&directory=Modicon Ok thanks, but there not much. Anyway, I think I found what I need with OpenScada. -- Acid absorbs 47 times its own weight in excess Reality. |
From: Werner <wd...@ne...> - 2009-10-02 19:08:46
|
Jean-Yves F. Barbier wrote: > Petit Eric a écrit : > >> find some of my first tool here : >> http://www.plcs.net/downloads/index.php?direction=0&order=&directory=Misc >> http://www.plcs.net/downloads/index.php?&direction=0&order=&directory=Modicon >> > > Ok thanks, but there not much. Anyway, I think I found what I need with > OpenScada. > > Depends on what you use it for, it's not free for commercial purposes. You have propably seen http://copyleft.free.fr/wordpress/index.php/libmodbus/ Werner |
From: Jean-Yves F. B. <12...@gm...> - 2009-10-02 22:48:25
|
Werner a écrit : ... > Depends on what you use it for, it's not free for commercial purposes. > > You have propably seen > http://copyleft.free.fr/wordpress/index.php/libmodbus/ Thanks Werner, this look interesting. But AFAIK, GPLv3 & LGPLv3 don't forbid commercial use as far as you provide a meaning to get all sources to the client (for short, it's better to supply compiled AND source:) and retain the copyleft and credits to original creators. JY -- This fortune intentionally left blank. |
From: Doriano B. <dor...@fa...> - 2009-10-03 07:31:10
|
Jean-Yves F. Barbier ha scritto: > Werner a écrit : > ... > >> Depends on what you use it for, it's not free for commercial purposes. >> >> You have propably seen >> http://copyleft.free.fr/wordpress/index.php/libmodbus/ >> > > Thanks Werner, this look interesting. > > But AFAIK, GPLv3 & LGPLv3 don't forbid commercial use as far as you provide > a meaning to get all sources to the client (for short, it's better to supply > compiled AND source:) and retain the copyleft and credits to original creators. > > JY > I wrote in C, some time ago, an embedded application using modbus on RS-422. It is not a difficult matter, at least the part I was interested in - my device acted as a server, and a MMI (a touch screen LCD panel) was attached to it. If you are interested in, I can send some C source code and perhaps the official documentation I used to write it (available for free in the Internet). I don't remember if my implementation was "full" or had only the relevant part, but it was simple and short enough to be translated easily to gambas; there was only the CRC-32 (or whatever checksum) which was a little CPU intensive, but I suppose an i386 computer has far more power than a poor embedded microcontroller... Unfortunately this material is in the computers at work, I have not it here at home, but the next monday I can fetch them. Regards, -- Doriano Blengino "Listen twice before you speak. This is why we have two ears, but only one mouth." |
From: Petit E. <sur...@gm...> - 2009-10-03 08:16:02
|
http://en.wikipedia.org/wiki/Modbus http://fr.wikipedia.org/wiki/Modbus http://www.modbus.org/ http://www.modbus.org/tech.php http://www.modbus.org/docs/Modbus_over_serial_line_V1_02.pdf http://www.modbus.org/docs/Modbus_Application_Protocol_V1_1b.pdf http://www.modbus.org/docs/PI_MBUS_300.pdf http://www.modbus.org/docs/Modbus_Messaging_Implementation_Guide_V1_0b.pdf http://www.modbus.org/docs/Object_Messaging_Protocol_ExtensionsVers1.1.doc That's all pdf you need :-) 2009/10/3 Doriano Blengino <dor...@fa...>: > Jean-Yves F. Barbier ha scritto: >> Werner a écrit : >> ... >> >>> Depends on what you use it for, it's not free for commercial purposes. >>> >>> You have propably seen >>> http://copyleft.free.fr/wordpress/index.php/libmodbus/ >>> >> >> Thanks Werner, this look interesting. >> >> But AFAIK, GPLv3 & LGPLv3 don't forbid commercial use as far as you provide >> a meaning to get all sources to the client (for short, it's better to supply >> compiled AND source:) and retain the copyleft and credits to original creators. >> >> JY >> > I wrote in C, some time ago, an embedded application using modbus on RS-422. > It is not a difficult matter, at least the part I was interested in - my > device acted as a server, and a MMI (a touch screen LCD panel) was > attached to it. > If you are interested in, I can send some C source code and perhaps the > official documentation I used to write it (available for free in the > Internet). I don't remember if my implementation was "full" or had only > the relevant part, but it was simple and short enough to be translated > easily to gambas; there was only the CRC-32 (or whatever checksum) which > was a little CPU intensive, but I suppose an i386 computer has far more > power than a poor embedded microcontroller... > Unfortunately this material is in the computers at work, I have not it > here at home, but the next monday I can fetch them. > > Regards, > > -- > Doriano Blengino > > "Listen twice before you speak. > This is why we have two ears, but only one mouth." > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Gambas-user mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Cordially. Small Eric Quotations of the days: --------------------------------------------------------------------------- I have no special talents. I am only passionately curious |
From: Jean-Yves F. B. <12...@gm...> - 2009-10-03 09:13:36
|
Doriano Blengino a écrit : ... > I wrote in C, some time ago, an embedded application using modbus on RS-422. > It is not a difficult matter, at least the part I was interested in - my > device acted as a server, and a MMI (a touch screen LCD panel) was > attached to it. Oops, my fault, I forgot to tell precisions: * It is in fact ModBus TCP, * I'll use it for a HA cluster that'll retrieve info from some concentrators (900 sensors dispatched on 4 concentrators) > If you are interested in, I can send some C source code and perhaps the > official documentation I used to write it (available for free in the > Internet). I don't remember if my implementation was "full" or had only > the relevant part, but it was simple and short enough to be translated > easily to gambas; there was only the CRC-32 (or whatever checksum) which > was a little CPU intensive, but I suppose an i386 computer has far more > power than a poor embedded microcontroller... Thanks Doriano, but I think I've found what I need: I already retrieve docs from modbus.org, and find OpenSCADA (written in C++) that seems to be ok to do the trick. I only need to make some tests, and asked the hardware installer to try to get a simulator from his supplier. JY -- You will think of something funnier than this to add to the fortunes. |
From: Jean-Yves F. B. <12...@gm...> - 2009-10-02 14:37:59
|
Mike a écrit : > Jean-Yves F. Barbier wrote: >> Hi folks, >> >> Does anybody have experience (and code) of ModBus driven by Gambas? >> >> JY >> > ASCII or RTU either -- Eat shit -- billions of flies can't be wrong. |
From: Mike <mik...@we...> - 2009-10-03 00:54:31
|
Jean-Yves F. Barbier wrote: > Mike a écrit : > >> Jean-Yves F. Barbier wrote: >> >>> Hi folks, >>> >>> Does anybody have experience (and code) of ModBus driven by Gambas? >>> >>> JY >>> >>> >> ASCII or RTU >> > > either > > I will have a look at some code for RTU, TCP, RS232 I used in .net and see if it can be adapted to Gambas. It will take me a while to do this. Mike |