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  2013  2014  2015  2016  2017  2018  <20192020  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  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: New version of modbus module: request for testing
From: Mark Rivers via Tech-talk <[email protected]>
To: "[email protected]" <[email protected]>
Date: Sun, 23 Jun 2019 19:31:53 +0000

Folks,

 

I have made a major re-write of the EPICS “modbus” module.  This is from the Release Notes:

 

******************************************

Release 3-0

 

June XXX, 2019

 

This is a major rewrite of the driver, changing from C to C++ inheriting from asynPortDriver. The major reason for the change is to be able to invoke the class methods such as drvModbusAsyn::doModbusIO() from other drivers. This allows drivers that communicate with Modbus devices to call methods to perform the Modbus I/O directly, which was not possible with the previous C API.

 

The new driver should be completely backwards compatible with previous versions, so no changes to IOC startup scripts or OPI displays are required.

 

A new example program, testClient.cpp, has been added. This program demonstrates how to instantiate a drvModbusAsyn object and use it to perform Modbus I/O to an external device. This example is a pure C++ application running without an IOC. The same code could be used in a driver in an IOC.

******************************************

 

The new code is in the asynPortDriver branch on Github.   https://github.com/epics-modules/modbus/tree/asynPortDriver

 

I have also tagged the current version as R3-0-RC1.

 

I have tested the new version with the Modbus Slave simulator, and it appears to work just like R2-11.

 

However, before I release R3-0 with this new code I would really like to have more testing done.  If you have an existing installation with real hardware and can test the new version I would really appreciate it.

 

Thanks,

Mark

 


Navigate by Date:
Prev: Fw: procServ v2.8.0-rc2 available for testing and feedback Hinko Kocevar via Tech-talk
Next: Problem with AreaDetector and Eiger External Series? Jesse Hopkins via Tech-talk
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  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Ether_ip driver set up help Tyler Lemon via Tech-talk
Next: Problem with AreaDetector and Eiger External Series? Jesse Hopkins via Tech-talk
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  <20192020  2021  2022  2023  2024 
ANJ, 26 Jun 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·