EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  <19992000  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  1996  1997  1998  <19992000  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: FWD: allen-bradley 1747 question
From: [email protected]
To: [email protected]
Date: Thu, 18 Mar 1999 18:55:21 -0800 (PST)
I'm trying to get some allen-bradley hardware
up and running using the R3.13.1 EPICS
device and driver support.  I am having 
some difficulty determining the I/O 
Addressing Mode 1-slot,2-slot or 1/2 slot. 
The manual said that there were switches on 
the allen-bradley backplane but I can't find any.
The I've also checked the SLC 5/05 for switches
with no luck... However, I've determined all other
switch settings and have setup the EPICS allen-bradley
configuration 

The allen bradley config file (drrfConfig.ab) 
has been defined as:
1 0 Full

I also call the following Allen-Bradley setup
routines pior to iocInit.
abConfigNlinks(1)
abConfigVme(0, 0xc00000, 0x60, 4)
abConfigBaud(0,0)
abConfigScanListAscii(0,"/bin/drrfConfig.ab",1)


I am using the abDcmRecord with NUM_DCM_WORDS
changed from 64 to 8 and recompiled.
The db has only a couple of records.. 
1 abDcm record:
link=0, rack=1, 
slot=5, 
NT=8, 
TOFF=1, 
DLY=0.00001
SCAN = .5 seconds, 
PINI=YES

I forward linked this to a AB-card status
mbbi record and an AB-status mbbi record
with the INP field defined L0 A1 C10 S0@.

The card definition is unclear to me since I
can't find the switches for the addressing mode.
But I'm assuming that it is 1-slot addressing
after decoding the AB scanner status word from
dbior "drvAb",4...
I also have an mbbi record that reads 
Table 0 status word from the DCM... 
INP = L0 A1 C10 [email protected][0,0]
 
My Adapter shows up OFFLINE...

ALTERNATIVE DB TRIED:
I also tried to use devABSLCDCM record instead of the
abDcm Record...but my adapter still shows
up offline. I'm assuming that the adapter that
is talking about is the RIO which in this
case is the DCM in the allen-bradley chassis. 

I think that I have misunderstood the terminology
used in translating Allen-bradley to EPICS and 
have therfore setup database incorrectly.

 

My system configuration is as follows:

 VXI w/ 
 
 Model #     Description                 Slot #
 ---------- ---------------             --------
 niCpu030    CPU                          0
 6008-SV1R   Allen-Bradley Scanner        1


Allen-Bradley 1746-A7 (7-slot rack)
 
 Model #      Description                 Slot #
-----------  -------------------        ---------
 SLC 5/05     CPU                          0
 1747-OB32    Digital Output Module        3
 1747-DCM     Direct Communication Module  5
 
Note: It seems to me that if 1-slot addressing mode
is used then the digital output module 
should be in an  odd and not an even slot.


Dip Switch Settings on 6008-SV1R
--------------------------------------
  Address: 0xc00000  (A24 = 0xf0c00000)
  VME Operatin Mode: SV Compatible
  A24
  Responde to Supervisory VME Access 29 & 39
  address modifiers.
  Only CHannel A is active

Dip Switch Settings on DCM
----------------------------
  Starting I/O Group = 0 (SW1 8-9=ON) 
  Rack Address:  0x20    (SW1 1-5=OFF, 6=ON)
  Logical Rack No: 1
  No of RIO Words Transferred = 8, 1-Status, 7-Data
  Rack Size = Full Logical Rack
  Last Rack = No
  Clr On Flt = YES
  Data Rate = 57.6K Baud

  
 
Any suggestions as to why I am unable to communicate
between the scanner and the dcm?

    - Thanks,
         Kristi 
         

Navigate by Date:
Prev: EPICS web pages at LANL pate
Next: Interrupt message jlin
Index: 1994  1995  1996  1997  1998  <19992000  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: EPICS web pages at LANL Steve Lewis
Next: Interrupt message jlin
Index: 1994  1995  1996  1997  1998  <19992000  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 ·