EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Allen Bradley driver on Solaris
From: Wayne Dahl <[email protected]>
To: Wayne Dahl <[email protected]>, "'[email protected]'" <[email protected]>
Date: Fri, 18 Mar 2005 12:15:46 -1000
Let me add a little more detail

I'm compiling on solaris 8, gcc3.3 and running on solaris 8.

I don't know much about the communication between the device (SLC 500 PLC)
and the driver.

The driver is sending this.  The second line is my understanding of the
data.  cmd = [01] is an unprotected block read


[10] [02]{[01] [01] [01] [00]  [01]  [00]  [00]   [00]  [5E]}       [10]
[03] [FFFFFFE4] [29]
DLE  STX {cmd  dst  src   sts  lsTns msTns lsAddr msAddr bytecount} DLE  ETX
[checksum] [checksum]

And the response is (along with my understanding)

[10] [ 6] [10] [ 2] {[ 1] [ 1] [41] [10]} [10] [ 1]    [ 0]  [10] [ 3] [38]
[1f]
DLE  STX  DLE  STX  {dst   src cmd  sts }  DLE [lsTns] [msTns] DLE  ETX
[checksum] [checksum]

The response is being rejected because it doesn't contain the requested 94
bytes. 

Any help appreciated

Wayne




> -----Original Message-----
> From: Wayne Dahl [mailto:[email protected]] 
> Sent: Thursday, March 17, 2005 3:26 PM
> To: '[email protected]'
> Subject: Allen Bradley driver on Solaris
> 
> 
> Aloha
> 
> I almost have the Allen Bradley driver working for EPICS 
> 3.14.6 on Solaris but one problem remains.
> 
> The driver rejects the device response because it doesn't get 
> the number of bytes asked for.  The error is S_drvAbDf1_badFrame.
> 
> Can anyone tell me why this is happening?
> 
> Mahalo
> 
> Wayne Dahl
> California Association for Research in Astronomy 
> W.M. Keck Observatory
> 65-1120 Mamalahoa Hwy.
> Kamuela, HI 96743
> Ph: (808) 885-7887, Ext 502
> Fax: (808) 881-3535
> email: [email protected]
> 

Navigate by Date:
Prev: Allen Bradley driver on Solaris Wayne Dahl
Next: CA gateway failure Jeff Hill
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Allen Bradley driver on Solaris Wayne Dahl
Next: Support for room temperature and humidity sensors J. Lewis Muir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·