Experimental Physics and Industrial Control System
hi, all:
I am trying to use s7-nodave EPICS driver, the db file is like following:
record(ai,"$(id):ai")
{
field(DESC,"")
# field(SCAN, "I/O Intr")
field(DTYP,"s7nodave")
field(INP,"@t1plc MD4 int32")
}
when running st.cmd, it shows no errors:
#!../../bin/linux-x86/t1
< envPaths
epicsEnvSet("ARCH","linux-x86")
epicsEnvSet("IOC","ioct1")
epicsEnvSet("TOP","/home/geyang/t1App")
epicsEnvSet("EPICS_BASE","/usr/local/epics/r3.14.12.3/base")
epicsEnvSet("ASYN","/usr/local/epics/r3.14.12.3/modules/asyn4-13")
epicsEnvSet("S7NODAVE","/home/geyang/s7nodave-1.0.3")
cd /home/geyang/t1App
dbLoadDatabase "dbd/t1.dbd"
t1_registerRecordDeviceDriver pdbbase
s7nodaveConfigureIsoTcpPort("t1plc", "192.168.1.7", 0)
s7nodaveConfigurePollGroup("t1plc", "default", 1, 0)
dbLoadRecords "db/t1.db", "id=t1"
cd /home/geyang/t1App/iocBoot/ioct1
iocInit
Starting iocInit
############################################################################
## EPICS R3.14.12.3 $Date: Mon 2012-12-17 14:11:47 -0600$
## EPICS Base built Sep 25 2014
############################################################################
The CA server's beacon address list was empty after initialization?
iocRun: All initialization complete
epics> dbl
t1:ai
epics> dbpr t1:ai
ASG: DESC: DISA: 0 DISP: 0
DISV: 1 NAME: t1:ai RVAL: 0 SEVR: INVALID
STAT: UDF SVAL: 0 TPRO: 0 VAL: 0
epics>
but I can't get the correct val from S7 plc. If I use the test program "testiso_tcp" coming with libnodave, I can exchange data with my S7-300 PLC. Can anyone give me some suggestions?
Thanks a lot for your help.
Best wishes
Geyang 2014-09-25
- Navigate by Date:
- Prev:
RE: asyn build unsuccessful Mark Rivers
- Next:
Training and pre-meetings at the upcoming EPICS meeting at SACLAY Dalesio, Leo
- 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: asyn build unsuccessful Mark Rivers
- Next:
Training and pre-meetings at the upcoming EPICS meeting at SACLAY Dalesio, Leo
- 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