Experimental Physics and Industrial Control System
Folks,
Release R2-4 of the EPICS "modbus" module is now available. This is from the release notes:
•Improved support for different Modbus data types.
◦Added support for 7 new Modbus data types:
■16-bit signed integer
■32-bit integer, little-endian
■32-bit integer, big-endian
■32-bit float, little-endian
■32-bit float, big-endian
■64-bit float, little-endian
■64-bit float, big-endian
◦Added support to allow the Modbus data type to be specified on a per-record bas using the asyn drvUser field. Previously all records connected to a Modbus asyn port driver had the same Modbus data type, because each Modbus port driver was limited to a single data type.
◦If the drvUser string in the link specification is omitted, or if it is the default of MODBUS_DATA then the record will use the modbusDataType defined in drvModbusAsynConfigure. This is backwards compatible, and existing IOCs will continue to work with no changes to databases or startup scripts.
◦Added new example IOC script, substitutions file, and medm screens to test all data types. The testing was done with a Modbus slave simulator.
•Added special treatment for Wago devices. These device are different from other Modbus devices because the address to read back a register is not the same as the address to write the register. The readback address is the write address plus 0x200. This means that in previous versions of this driver the initial readback value for Modbus write operations to Wago devices was incorrect. This was fixed by adding the 0x200 offset to the readback address if the plcType argument to drvModbusAsynConfigure contains the substring "Wago" (case sensitive).
•Added support for passing status information back to device support in callbacks for I/O Intr scanned records. Support for this was added in asyn R4-19. This means that if the Modbus device communications returns errors that I/O Intr scanned records will now have their alarm status set correctly.
The release notes are here:
http://cars.uchicago.edu/software/epics/modbusReleaseNotes.html
The documentation is here:
http://cars.uchicago.edu/software/epics/modbusDoc.html
The tar file is here:
http://cars.uchicago.edu/software/pub/modbusR2-4.tgz
Cheers,
Mark
- Navigate by Date:
- Prev:
Re: [CA][waveform]max array bytes on IOC Pavel Masloff
- Next:
EPICS hardware support John William Sinclair
- 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:
New sequencer snapshot / release candidate Benjamin Franksen
- Next:
EPICS hardware support John William Sinclair
- 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