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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Questions about set parameters to device by using epics |
From: | lzf neu <[email protected]> |
To: | "[email protected]" <[email protected]> |
Date: | Thu, 26 Jan 2017 17:42:19 +0000 |
Hi, Below is the correct db that can read hour from the device: record(ai, "$(RPNAM):HourVal"){ field(DTYP,"asynInt32") field(INP, "@asynMask($(PORT) 68 16)MODBUS_DATA") field(SCAN,"Passive") field(FLNK, "$(RPNAM):WeekVal") }
now, I want to set new hour to the device and I try to write the following db according to Analog Output Example Record from "asynDriver: Asynchronous Driver Support" manual:
record(ao, "$(RPNAM):HourValSET"){
field(DTYP,"asynInt32") field(OUT, "@asyn($(PORT), 68)") field(SCAN,"Passive") }
drvModbusAsyn::writeInt32 port RD1R invalid request for Modbus function 3
Gamma:01:HourValSET devAsynInt32 process error
Could anyone give me some suggestions and thanks in advance !
|