ts-7000
[Top] [All Lists]

Re: [ts-7000] packaged systems (was new GNU openhardware ep9302 based SB

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:
--- In "Don W. Carr" <> wrote:
>
> I am not a hardware guy, but will be releasing my software (GPL) to
turn a
> bare board into an RTU like device.  It will have pre-defined AI,
DI, DO,
> AO, PCI, PID, CALC, etc, a simple scripting language, modbus tcp/ip and
> modbus serial (both client and server), user defined point types
that can be
> loaded at run-time (similar to apache modules), data logging, and other
> things.

Do you know when you're going to release?  I'd liek to get a look at
your modbus code....  I need to finish my modbus development in the
near future...

>
> Right now it is configured with text files, but I would like to make
it all
> configurable through Apache from a browser.

I've been playing with OpenWrt, which has a very nicely integrated
build environment and a web interface...

You may want to look at their webif stuff.

--Yan






SPONSORED LINKS
Linux os Hardware Arms
Computer internet Computer security Computer hardware security


YAHOO! GROUPS LINKS

  •  Visit your group "ts-7000" on the web.
     
  •  To unsubscribe from this group, send an email to:
     =Unsubscribe
     
  •  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.





--
Dr. Don W. Carr
J. G. Montenegro 2258
Guadalajara, Mexico
+52-333-630-0704
+52-333-836-4500 ext 2930

SPONSORED LINKS
Linux os Hardware Arms
Computer internet Computer security Computer hardware security


YAHOO! GROUPS LINKS

  •  Visit your group "ts-7000" on the web.
     
  •  To unsubscribe from this group, send an email to:
     =Unsubscribe
     
  •  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



<Prev in Thread] Current Thread [Next in Thread>
Admin

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