Hi:
Looking into this a little bit, the reason seems to be what Rod Nussbaumer reported in http://www.aps.anl.gov/epics/tech-talk/2012/msg02152.php, where it applied to mod bus driver.
On initialization, the etherIp driver is reading the correct PLC tag value into the mbboDirect's val and rval fields.
But when the record gets processed, it will read its B0, B1, … fields, combine those into VAL, and as a result Hovanes sees the same as Rod 2 years ago:
The record goes back to value 0 and for etherIp will then also write that 0.
I'll update the etherIp support similar to what Michael Davidsaver did for the softDevice support, i.e. the etherIp module will initialize the B0, B1, .. in addition to VAL, RVAL.
Thanks,
Kay
> ________________________________________
> From: [email protected] <[email protected]> on behalf of Hovanes Egiyan <[email protected]>
> Sent: Monday, July 14, 2014 11:31:03 AM
> To: [email protected]
> Cc: Hovanes Egiyan
> Subject: mbboDirect with ether_ip
>
> Hi,
>
> we are using "ether_ip-2.24.1" EPICS module and EPICS base 3-14-12-3 for
> communicating with
> Allen-Bradley ControlLogix and CompactLogix PLC-s from GUIs. We need to
> use BOOL array tags in the
> PLC code, and we would like to be able to change them from EPICS GUIs.
> We tried to use mbboDirect
> EPICS record type and we noticed that mbboDirect records set the
> corresponding BOOL array tags
> to zero every time the Linux IOC is rebooted, which is highly
> undesirable. Has anyone else seen such a behavior?
> I attached the EPICS DB file, the IOC booting script and the XML project
> file for the PLC project.
> Any suggestion would be appreciated.
>
> Hovanes Egiyan.
>
- References:
- mbboDirect with ether_ip Hovanes Egiyan
- Navigate by Date:
- Prev:
EPICS Collaboration Meeting October 2014 mattei
- Next:
=?gb18030?b?u9i4tKO6ZXBpY3NxdCBvbiBhcm0gYm9hcmQ=?= =?gb18030?b?SGFuc2Vu?=
- 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:
mbboDirect with ether_ip Hovanes Egiyan
- Next:
Potentiostat Adam Bark
- 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
|