Let me restate my last post.
I am trying to update a soft IOC using the modbusIP
driver (version 1-1-asd6) from the Canadian Light
Source to Mark Rivers' modbus over asyn version
2-1.
The soft IOC is reading a Siemens 9610 Power
Meter on the accelerator network.
I started by trying to read an unsigned 16 bit
register at the 40150 decimal base address, but
the values read back from the power meter are
all ff's.
How can I verify that I am reading the correct
base address?
#ups-cp2
drvAsynIPPortConfigure("L0","164.54.2.216:502",0,0,1)
modbusInterposeConfig("L0",0,5500,0)
drvModbusAsynConfigure("UPSDASHCP2","L0",100,3,40150,16,0,5000,"9610PM")
#asynSetTraceMask("L0",0,3)
asynSetTraceIOMask("L0",0,2)
## Load record instances
dbLoadRecords("db/SIEM9610.vdb","L=CP2")
dbLoadRecords("db/asynRecord.db","P=SR:,R=SIEM:9610,PORT=L0,ADDR=0,OMAX=0,IMAX=0")
cd /home/helios5/JBS/upsmbus/1/iocBoot/siocupsmon
iocInit
Starting iocInit
############################################################################
## EPICS R3.14.11-asd1 $R3-14-11$ $2009/08/28 18:47:36$
## EPICS Base built Aug 28 2009
############################################################################
cas warning: Configured TCP port was unavailable.
cas warning: Using dynamically assigned TCP port 52753,
cas warning: but now two or more servers share the same UDP port.
cas warning: Depending on your IP kernel this server may not be
cas warning: reachable with UDP unicast (a host's IP in EPICS_CA_ADDR_LIST)
iocRun: All initialization complete
epics> 2011/11/17 17:40:24.571 164.54.2.216:502 write 12
00 01 00 00 00 06 64 03 9c d6 00 10
2011/11/17 17:40:24.574 164.54.2.216:502 read 41
00 01 00 00 00 23 64 03 20 ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff
Regards--Jim Stevens
- Replies:
- RE: using tcp with modbus over asyn Mark Rivers
- Navigate by Date:
- Prev:
Re asking an old question about Stripchart/StripClass Noel Giffin
- Next:
RE: using tcp with modbus over asyn 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
- Navigate by Thread:
- Prev:
Re asking an old question about Stripchart/StripClass Noel Giffin
- Next:
RE: using tcp with modbus over asyn 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
|