Release R2-0 of the EPICS "modbus" module is now available. This
release removes the limitation of only being able to communicate with a
single Modbus slave address from an asyn serial port or TCP port. The
new release can communicate with any number of slaves from a single asyn
port, which allows, for example, multiple Modbus devices on a
daisy-chained RS-485 bus.
Thanks very much to Yves Lussignol at CEA in France who made these code
changes.
NOTE: This release requires all Modbus startup command scripts to be
changed, because the syntax of the modbusInterposeConfig and
drvModbusAsynConfigure commands has changed. The slave address
parameter has been removed from modbusInterposeConfig and added to
drvModbusAsynConfigure. For this reason it has been given a new major
release number (R1-3 to R2-0).
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-0.tgz
Please let me know of any problems or questions.
Cheers,
Mark
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Friday, November 27, 2009 7:36 AM
To: Mark Rivers; [email protected]
Subject: !RE: Modbus help
Hi all,
Just a quick thanks to everyone for their helpful suggestions. In the
end I dismantled the rack and connected the IOC directly to the RS485
terminals on one of the devices and the modbus comms worked perfectly.
It looks like an issue with the daisy chain wiring.
Keep me updated with the V2-0 status Mark - if I can get this wiring
fixed I'll be your first customer!
All the best,
Emma
> -----Original Message-----
> From: Mark Rivers [mailto:[email protected]]
> Sent: 25 November 2009 18:35
> To: Shepherd, Emma (DLSLtd,RAL,DIA); [email protected]
> Subject: RE: Modbus help
>
>
> Emma,
>
> Once you get the communication with a single device working,
> you are going to run into problems trying to communicate with
> multiple RS-485 devices through a single serial port. The
> reason is that I am using the asynInterposeInterface layer to
> add the RTU header with the slave address. But asyn only
> allows a single interposeInterface for each asyn port, which
> restricts one to a single slave address.
>
> Yves Lussignol from CEA has fixed this problem, by moving the
> slave address management to layer 2 (asyn port driver) from
> layer 3 (interpose interface). He sent me a modified version
> of the driver with this fix back in March 2009, but I have
> been remiss in not testing it and releasing a new version of
> the driver. It does change the syntax of the
> drvModbusAsynConfigure command, so it will be a major
> release, i.e. 2-0.
>
> I will try to get a new release out in the next couple of weeks.
>
> Mark
>
>
--
This e-mail and any attachments may contain confidential, copyright and
or privileged material, and are for the use of the intended addressee
only. If you are not the intended addressee or an authorised recipient
of the addressee please notify us of receipt by returning the e-mail and
do not use, copy, retain, distribute or disclose the information in or
attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual
and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any
attachments are free from viruses and we cannot accept liability for any
damage which you may sustain as a result of software viruses which may
be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in
England and Wales with its registered office at Diamond House, Harwell
Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United
Kingdom
- References:
- RE: Modbus help Mark Rivers
- !RE: Modbus help emma.shepherd
- Navigate by Date:
- Prev:
!RE: Modbus help emma.shepherd
- Next:
Re: RE: RE: error building mca6-11 Silver
- 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:
!RE: Modbus help emma.shepherd
- Next:
(Another) Modbus problem Stephen Lewis
- 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
|