Paul Hamadyk wrote:
On Thu, 2009-12-17 at 09:07 -0500, Wesley Moore wrote:
I'm using the CJ1's as well paired with the ETN21 Ethernet module. I
believe one I'm using has the built in Ethernet but it's basically the
same. The Ethernet driver uses the FINS protocol. I can read/write
bits or words to the PLC. The memory areas I read/write to are DM, CIO,
WR, and HR. I've found pretty quick that reading by word and splitting
out the bits to individual bi and bo's was the way to go. Much faster
that way. I've got the driver working in EPICS 3.13 and 3.14.
Wesley
I will be making a streams protocol file for FINS/UDP, using asyn's
UDP/IP for the request and UDP/IP Server for the reply, if you're
interested? Can you think of any advantages in using your Ethernet
driver?
We tend to use Data Memory (DM) with a bit of Core IO (CIO) and
Auxiliary Registers (AR) for PLC status and error information.
Paul.
Paul,
I'd be interested in using that at a later date. The biggest part
of why I went the driver route was that I started with one from KEK.
The driver didn't work out of the box, parts of the FINS protocol were
hard coded and some data types didn't work. One thing to be mindful of
is the Gateway Counter. It's set to 2 or 7 I believe. Either way, the
EPICS side just has to match. As far as memory areas, I use the HR area
for interlocks that need to hold through a power cycle.
Wesley
begin:vcard
fn:Wesley Moore
n:Moore;Wesley
org:Thomas Jefferson National Accelerator Facility;Free Electron Laser
adr:Suite 19, MS 18;;12000 Jefferson Avenue;Newport News;VA;23606;USA
email;internet:[email protected]
title:FEL Computer Scientist
tel;work:(757) 269-6033
tel;fax:(757) 269-6384
tel;pager:(757) 584-6033
url:http://www.jlab.org/FEL/
version:2.1
end:vcard
- References:
- Remote I/O nick.rees
- Re: Remote I/O Matthias Clausen
- Re: Remote I/O Ralph Lange
- Re: Remote I/O Matthias Clausen
- RE: Remote I/O Dalesio, Leo
- Re: Remote I/O Matthias Clausen
- Re: Remote I/O Wesley Moore
- Re: Remote I/O Paul Hamadyk
- Re: Remote I/O Wesley Moore
- Re: Remote I/O Paul Hamadyk
- Navigate by Date:
- Prev:
Re: Remote I/O David Dudley
- Next:
Re: mbboDirect problem Andrew Johnson
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
<2009>
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Remote I/O Paul Hamadyk
- Next:
Re: Remote I/O David Dudley
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
<2009>
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|