ts-7000
[Top] [All Lists]

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

To:
Subject: Re: [ts-7000] Re: packaged systems (was new GNU openhardware ep9302 based SBC)
From: "Don W. Carr" <>
Date: Tue, 9 May 2006 08:33:53 -0500
Ok, really, the basic protocol code is really C code thought compiled with g++, so I will be working on on making it strictly C, then adding a C++ wrapper on top that is optional. Maybe by the time your are freed up from the other project, I will have the C version ready. I really would appreciate a user that forced me to clean up the code a little and give me some feed back. Do you want both client and server, or do you just need the client? Will you use TCP/IP, or serial?

Don.

On 5/9/06, Yan Seiner <> wrote:
--- In "Don W. Carr" <> wrote:
>
> 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.
>

Don:

I would be interested, but my schedule has been reOk, really, the basic protocol code is really C code, so I will be working on on making it strictly C, then adding a C++ wrapper on top that is optional. Maybe by the time your are freed up from the other project, I will have the C version ready. I really would appreciate a user that forced me to clean up the code a little and give me some feed back.

Don.arranged by some
problems with our prototype machine....  So I can't say I'll have a
chance to look at it until we resolve our other issues...

In any case, I am trying to avoid C++ since I am really not very good
at it...  So I would prefer the C version.

Thanks,


--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