Re: Linux and ModBus

2009-07-12 Thread Craig Falconer
Hadley Rich wrote, On 11/07/09 11:54: On Sat, 2009-07-11 at 11:07 +1200, yuri wrote: Anything more complex than echo Relay 1 On > /dev/ttyS3 is more than I'm prepared to put time and effort into. Perhaps Arduino is not what you want then, it does involve some sort of script/code writing. Th

Re: Linux and ModBus

2009-07-11 Thread yuri
2009/7/12 Wayne Rooney wrote: > On Saturday 11 July 2009 10:17, yuri wrote: > >> Yep. I just want to turn relays on and off from a Linux server. The >> less assembly required the better - my solder joints look terrible. > > > Considered using one of these? > > http://www.jaycar.co.nz/productView.as

Re: Linux and ModBus

2009-07-11 Thread Wayne Rooney
On Saturday 11 July 2009 10:17, yuri wrote: > Yep. I just want to turn relays on and off from a Linux server. The > less assembly required the better - my solder joints look terrible. Considered using one of these? http://www.jaycar.co.nz/productView.asp?ID=KV3595 > The server will decide when

RE: Linux and ModBus

2009-07-11 Thread Steve Holdoway
l: (03) 348-5875 > mobile: +64211643666 > > computert...@paradise.net.nz > http://computertech.dyndns.biz > > > > > > > > > > > > > > > > -Original Message- > From: Andrew Sands [mailto:and...@theatrix.org.nz] > Sen

Re: Linux and ModBus

2009-07-11 Thread John Rye
On Sat, 11 Jul 2009 21:17:37 +1200 Julian Warwick Bethell wrote: > I need Help > Now tell us what you need help with. :-) Machine details, Operating System and version, application. lspci, lsmod and any relavent bits from /var/log/messages John

Re: Linux and ModBus

2009-07-11 Thread John Rye
On Sat, 11 Jul 2009 21:17:37 +1200 Julian Warwick Bethell wrote: > I need Help > Me too? John

RE: Linux and ModBus

2009-07-11 Thread Julian Warwick Bethell
...@theatrix.org.nz] Sent: Saturday, July 11, 2009 10:55 AM To: linux-users@it.canterbury.ac.nz Subject: Re: Linux and ModBus On Fri, 10 Jul 2009 21:22:16 you wrote: > 2009/7/10 Andrew Errington wrote: > > There are so many levels in the 'stack' from Linux app to actually

Re: Linux and ModBus

2009-07-10 Thread Chris Hellyar
http://www.ohmark.co.nz/news090113.html ie: yes.. The pic software implements a most of the modbus RTU spec, which memory space for 16 analog I/O and 256 digital I/O depending on the PIC you use and adding some extra hardware. Relays are trivial... The end-game for this project will be a full A

Re: Linux and ModBus

2009-07-10 Thread yuri
2009/7/11 Chris Hellyar wrote: > Hi... > > http://www.ohmark.co.nz/news090120.html > > etc... > > :-) > > Using libmodbus from launchpad (There's two libmodbus's around, one is crap, > the other is the one I've contributed some bug fixes to. :-) ). > > If you're pic-aware You're welcome to have som

Re: Linux and ModBus

2009-07-10 Thread Chris Hellyar
Hi... http://www.ohmark.co.nz/news090120.html etc... :-) Using libmodbus from launchpad (There's two libmodbus's around, one is crap, the other is the one I've contributed some bug fixes to. :-) ). If you're pic-aware You're welcome to have some of my test code, I've not done any work on this

Re: Linux and ModBus

2009-07-10 Thread yuri
2009/7/11 Hadley Rich wrote: > On Sat, 2009-07-11 at 11:07 +1200, yuri wrote: >> Anything more complex than >> echo Relay 1 On > /dev/ttyS3 >> is more than I'm prepared to put time and effort into. > > Perhaps Arduino is not what you want then, it does involve some sort of > script/code writing. A

Re: Linux and ModBus

2009-07-10 Thread Hadley Rich
On Sat, 2009-07-11 at 11:07 +1200, yuri wrote: > Anything more complex than > echo Relay 1 On > /dev/ttyS3 > is more than I'm prepared to put time and effort into. Perhaps Arduino is not what you want then, it does involve some sort of script/code writing. hads -- http://nicegear.co.nz New Zeala

Re: Linux and ModBus

2009-07-10 Thread yuri
Andrew Errington wrote: > There are so many levels in the 'stack' from Linux app to actually > closing a relay.  Where do you want to start? I wrote: > I'd like to sit down with someone who's done it and pick their brain > over a few beers. My shout. Andrew Sands wrote: > > When and where for the

Re: Linux and ModBus

2009-07-10 Thread yuri
2009/7/11 Cheetor wrote: > Have you considered a jaycar parallel port interface kit, I believe they > still come in under $100? The server will be a small profile box that is being given to me. I don't think it has a parallel port. > they do require direct hardware access to work, but considering

Re: Linux and ModBus

2009-07-10 Thread Andrew Sands
On Fri, 10 Jul 2009 21:22:16 you wrote: > 2009/7/10 Andrew Errington wrote: > > There are so many levels in the 'stack' from Linux app to actually > > closing a relay.  Where do you want to start? > > I'd like to sit down with someone who's done it and pick their brain > over a few beers. My shout.

Re: Linux and ModBus

2009-07-10 Thread Cheetor
Yuri wrote: 2009/7/11 Hadley Rich wrote: I don't really know much about Mosbus, but, if you just want to be able to control relays and things from a Linux server, and aren't phased by the protocol, then I would look at the Arduino boards as an easy, open source way of doing things. Yep

Re: Linux and ModBus

2009-07-10 Thread yuri
2009/7/11 Hadley Rich wrote: > I don't really know much about Mosbus, but, if you just want to be able > to control relays and things from a Linux server, and aren't phased by > the protocol, then I would look at the Arduino boards as an easy, open > source way of doing things. Yep. I just want to

RE: Linux and ModBus

2009-07-10 Thread Maurice Butler
I have writtern modbus driver for in the past(1990s) a Fisher & Paykel PSC2, PLC with a serial port. The protocal is very easy with a 16 bit CRC. It is still used by some weather station stuff etc. Snached from automation.com November 2, 2007 - NORTH HILLS, CA - A white paper, titled "Using MOD

Re: Linux and ModBus

2009-07-10 Thread Hadley Rich
On Fri, 2009-07-10 at 21:20 +1200, yuri wrote: > I want to be able to turn things on and off from a linux server. > I am competent with the wiring side of things from the relay to the > appliance. I know nothing about the control side from the computer to > the relay board. I don't really know muc

RE: Linux and ModBus

2009-07-10 Thread Trevor de Stigter
-Original Message- From: yuri [mailto:yur...@gmail.com] Sent: Friday, 10 July 2009 9:22 p.m. To: linux-users@it.canterbury.ac.nz Subject: Re: Linux and ModBus 2009/7/10 Andrew Errington wrote: > There are so many levels in the 'stack' from Linux app to actually closing >

Re: Linux and ModBus

2009-07-10 Thread yuri
2009/7/10 Andrew Errington wrote: > There are so many levels in the 'stack' from Linux app to actually closing > a relay.  Where do you want to start? I'd like to sit down with someone who's done it and pick their brain over a few beers. My shout. Yuri

Re: Linux and ModBus

2009-07-10 Thread yuri
2009/7/10 Andrew Errington wrote: > Google gives plenty of hits for "linux modbus", so what exactly do you > want to know? I want to be able to turn things on and off from a linux server. I am competent with the wiring side of things from the relay to the appliance. I know nothing about the contro

Re: Linux and ModBus

2009-07-10 Thread Andrew Errington
On Fri, July 10, 2009 17:58, yuri wrote: > Does anyone on this list know anything about controlling ModBus relay > boards from a linux box? ??? Google gives plenty of hits for "linux modbus", so what exactly do you want to know? Do you have a specific ModBus relay board (make and model, please)