EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  <19961997  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  Index 1994  1995  <19961997  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 
<== Date ==> <== Thread ==>

Subject: [Summary] CAMAC Serial Driver
From: [email protected] (Noboru Yamamoto)
To: [email protected]
Date: Thu, 11 Jul 1996 09:15:47 +0900
Dear EPICS-ians, 

I have asked a quesion about CAMAC serial driver used with EPICS. I got
several responces from 

[email protected]
[email protected]
[email protected]
[email protected]

Thanks again for them.

 In summary, 

Hytec2992 SERIAL highway driver is only one used in EPICS.
If you don't limit at SERIAL highway driver, 
Kinetic Systems 2917 K-Bus paralel interface board is also
used with EPICS.

Driver routines are avilable for EPICS collaborators.

>At one time, CEBAF also used the Kinetic Systems 2917 for
>its control system. The driver was written by Chip Watson at CEBAF.
> 
>You can get the source code from ftp site at CEBAF:
> 
>   ftp.cebaf.gov:/pub/epics/camac/ks2917
> 
> 
>Or the lanl version at
> 
>   thoth.atdiv.lanl.gov:/pub/epics/camac.tar
>--
>=============================================================
>Johnny Tang     Voice: (804)249-7239  E-Mail: [email protected]
>Continuous Electron Beam Accelerator Facility
>12000 Jefferson Avenue, MS 85A
>Newport News, Virginia 23606
>=============================================================

According to  Mr. Bjorkund, EPICS CAMAC device support which uses any of
the "Implementation-Dependant" features of the ESONE standard supplied by
camacLib.c. And It should be possible to use CAMAC dirver board if there is
a ESONE compliant dirver routine.

>I don't think there is anything in the CEBAF/LANL/Chicago EPICS CAMAC device
>support which uses any of the "Implementation-Dependant" features of the ESONE
>standard.  The exception to this is the card-specific lam-grader module I
>currently include in the distribution.
> 
>It therefore should be possible to load (for example) a CERN Camac library and
>run EPICS device support on top of it.
> 
>This, of course, is an as yet unproven assertion.
> 
>==============================================================================
>Eric Bjorklund				Voice: 505-667-6031
>Los Alamos National Laboratory		Email: [email protected]
>AOT-6 MS H820
>PO Box 1663
>Los Alamos, NM 87545
>==============================================================================

I used both CEBAF version and LANL version of camacLib with EPICS R3.12.2
and found both driver work fine.

In the test I needed to modify the definition of the structure ksc2917Regs
in ksc2917.h. I added 144bytes long pad at the 
end of the structure and made the size of ksc2917Regs 256bytes long.
Without this modification, IOC cannot handle multiple KSC2917 boards 
in a same VME subrack.

====================================================================
typedef struct /* ksc2917_registers */ {
  uint16_t volatile  cser;      /* 00 -- Control Status/Error Register  */
  uint16_t volatile  unused02;  /* 02                                   */
  uint16_t volatile  docr;      /* 04 -- Device/Operation Control Register*/
  uint16_t volatile  sccr;      /* 06 -- Sequence/Channel Control Register*/
.....
.....
  uint16_t volatile  dlr;       /* 6A -- Data Low Register              */
  uint16_t volatile  dhr;       /* 6C -- Data High Register             */
  uint16_t volatile  csr;       /* 6E -- Control Status Register        */
  uint16_t volatile  unused70[72]; /*   Padding    */
} ksc2917Regs;

====================================================================

Thats all for today.

Noboru Yamamoto
KEKB Accelerator Control Group
KEK, JAPAN
Noboru Yamamoto
KEKB accelerator Control Group
KEK, Accelerator Dept.
JAPAN


Replies:
Re: [Summary] CAMAC Serial Driver watson

Navigate by Date:
Prev: bug in VXI resource manager Jeff Hill
Next: Re: [Summary] CAMAC Serial Driver watson
Index: 1994  1995  <19961997  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: bug in VXI resource manager Jeff Hill
Next: Re: [Summary] CAMAC Serial Driver watson
Index: 1994  1995  <19961997  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 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·