Experimental Physics and Industrial Control System
Hi there,
I have a program that's using the Allen-Bradley driver written by Jeff
Hill. Just recently two more words were added to the memory map at the
PLC side and I had to modify the program to read these two words using
analog input records, but for some reason the program refuses to update
the record values at the EPICS side.
I set DTYP to "AB DF1 serial" and SCAN to "I/O Intr".
drvAbDf1BlockReadDataSize and
drvAbDf1BlockWriteDataSize are both set to 128 bytes which should be
enough to hold the new words. I also checked the database with dbhcr and
the records I added are in the list of the ones using the Allen Bradley
output, for instance:
INST @/tyCo/1 41 39 AB DF1 serial ec:fault:word39:word
I also did a comparison of the output of dbpr (level 2) of a record that
works and the ones that don't. All the fields are identical except for
UDF and SEVR that are set to "1" and "INVALID", respectively.
I added debug code in drvAbDf1.c and found that words are registered
without errors at the driver level and also found that wordList contains
all words I've added. One thing I found though is that not all the time
the write words are initialized without errors, but this behaviour is
present even without the new words.
Any help will be appreciated,
Thank you,
Pedro.
- Replies:
- RE: drvAbDf1 Jeff Hill
- Navigate by Date:
- Prev:
Re: Error messages from tNetTask. Steven Hartman
- Next:
Re: Error messages from tNetTask. Matthias Clausen
- 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: Error messages from tNetTask. Matthias Clausen
- Next:
RE: drvAbDf1 Jeff Hill
- 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