To: | |
---|---|
Subject: | Re: [ts-7000] packaged systems (was new GNU openhardware ep9302 based SBC) |
From: | "Don W. Carr" <> |
Date: | Sun, 7 May 2006 11:34:38 -0500 |
My code for modbus is C++ based right now, but I am thinking of moving
the basic protocol code to C so I can offer both C and C++ interfaces.
I do not support all of the opcodes, only the most common, but of
course the others could be added one at a time. I have both client and
server code, but have only used the server code for testing the client.
The client code was running 24 hours a day polling remote counters over
TCP/IP once per second, before I put an RTU to save network traffic,
and only send an event when a train crossing was detected. Are you
wanting Modbus serial or Modbus TCP/IP? Finally, I only have Modbus
RTU, but would be fairly simple to add Modbus ascii. Well, if you want to be an early tester, I could send the modbus code to you. I would need to as a minimum separate it all out with it's own makefile, but I am sure your input would help me. I have it creating a shared object file so it can be installed as a library on the target computer. You just need to install the .so file and run ldconfig. To give you an idea of configuring my control engine, here is the text config file for Analog Inputs: AI0|Temp|Deg C|1|1|0|0.0|10.0|0.0|10.0|1|-10000.0|0|0|0|0|0|0|0|0|0| AI1|Input Speed|RPM|1|1|1|0.0|4000.0|0.0|10.0|1|-10000.0|0|0|0|0|0|0|0|0|0| #FLM1|Fluormetro 0-1V|%|1|1|0|0.0|100.0|0.0|1.0|1|-10000.0|0|0|0|0|0|0|0|0|0| #FLM2|Fluormetro 0-10V|%|1|1|1|0.0|100.0|0.0|10.0|1|-10000.0|0|0|0|0|0|0|0|0|0| # Tag # Description # Engineering Units Label # Driver Number # Card # Channel # Engineering Units Low # Engineering Units High # Raw Value Low # Raw Value High # Decimal Places # Zero Cutoff # Alarm Low # Caution Low # Caution High # Alarm High # Alarm Deadband # Alarm Low Enable # Caution Low Enable Don. On 5/7/06, Yan Seiner <> wrote:
-- Dr. Don W. Carr J. G. Montenegro 2258 Guadalajara, Mexico +52-333-630-0704 +52-333-836-4500 ext 2930
SPONSORED LINKS
YAHOO! GROUPS LINKS
|
Previous by Date: | Re: [ts-7000] help required, francis joss |
---|---|
Next by Date: | Re: [ts-7000] help required, Don W. Carr |
Previous by Thread: | [ts-7000] packaged systems (was new GNU openhardware ep9302 based SBC), Yan Seiner |
Next by Thread: | [ts-7000] Re: packaged systems (was new GNU openhardware ep9302 based SBC), Yan Seiner |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU