EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  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  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: modbus driver disconnect/rewrite poll time
From: "Fabian S." <[email protected]>
To: epics techtalk <[email protected]>
Date: Thu, 23 May 2013 15:25:03 +0200
Hello,

the current modbus driver is working fine but the client is a bit slow.
Unfortunately there a many (~100) different addresses where I have to
read data from. In the end the client is quite busy because of all the
opened connections.

There is the opportunity to collect the data from a couple of addresses
just once or not so often. (initialized are all with 1000mSec)
At first I tried to reconfigure them with "asynSetOptions" but thats not
possible with modbusdriver. Second I tried to reinitialize them with a
greater polltime but they were already configured of course.

Is there a way to disconnect the driver and reinitialize them afterwards
or better of course any way to reset the poll time?

here is the used config as an example

## drvModbusAsynConfigure(portName,         tcpPortName, slaveAddress,
    modbusFunction, modbusStartAddress, modbusLength, dataType,
pollMsec, plcType);
drvModbusAsynConfigure("modbus_Errors_read",    "modbusdevice01",     1,
        4,          39268,          33,            0,      1000,     "none")
...
...

thanks in advance
Fabian

Replies:
Re: modbus driver disconnect/rewrite poll time Zenon Szalata

Navigate by Date:
Prev: Connecting Siemens Siatic CPU314C-2 PN/DP using s7plc module Konrad Gajewski
Next: Re: modbus driver disconnect/rewrite poll time Zenon Szalata
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Connecting Siemens Siatic CPU314C-2 PN/DP using s7plc module Konrad Gajewski
Next: Re: modbus driver disconnect/rewrite poll time Zenon Szalata
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·