Hi,
I'm trying to get an RS-485 chain of N2300 temperature monitors talking
to EPICS using the asyn modbus support (R1-3) and so far am not having
much luck. Basically I just get no response back from any of them,
although I'm pretty confident I'm sending out the right message (I
checked it with a serial analyser) and have configured the correct comms
setting.
After iocInit I get the following message on the console (with asynTrace
turned on):
2009/11/24 16:03:34.302 drvModbusAsyn::doModbusIO port readTemp is
disconnected
and then lots of I/O errors:
02 03 00 01 00 01 d5 f9
2009/11/24 16:03:38.952 drvModbusAsyn::doModbusIO port readTemp error
calling writeRead, error=, nwrite=5/5, nread=0
2009/11/24 16:03:39.302 ME02P-DI-TMON-01:TEMP1 devAsynFloat64::process
read error
2009/11/24 16:03:40.452 drvModbusAsyn::doModbusIO port readTemp has I/O
error
2009/11/24 16:03:40.452 /ty/72/0 write 8
02 03 00 01 00 01 d5 f9
2009/11/24 16:03:41.952 drvModbusAsyn::doModbusIO port readTemp error
calling writeRead, error=, nwrite=5/5, nread=0
2009/11/24 16:03:43.452 drvModbusAsyn::doModbusIO port readTemp has I/O
error
2009/11/24 16:03:43.452 /ty/72/0 write 8
....... etc
asynReport prints the following:
modbus port: readTemp
asynOctet server: ty_72_0
modbusFunction: 3
modbusStartAddress: 01
modbusLength: 01
plcType: N2300
I/O errors: 119
Read OK: 0
Write OK: 0
pollDelay: 1.500000
Time for last I/O 0 msec
Max. I/O time: 0 msec
value = 0 = 0x0
Am I likely to be chasing a wiring/hardware issue here or is there
something standing out that indicates a problem higher up? This is the
first time I've tried to use modbus so I'm not sure what a 'working'
system looks like!
Thanks in advance,
Emma
--
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
- Replies:
- RE: Modbus help Mark Rivers
- Navigate by Date:
- Prev:
CA problem w EPICS 3.14.11 & VxWorks 6.7 GOURNAY Jean-Francois
- Next:
RE: CA problem w EPICS 3.14.11 & VxWorks 6.7 Jeff Hill
- 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:
CA problem w EPICS 3.14.11 & VxWorks 6.7 GOURNAY Jean-Francois
- Next:
RE: Modbus help Mark Rivers
- 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
|