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 2025 | 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 2025 |
<== 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]
>