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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: TPG261 : "message too small=0" for EPICS |
From: | Sanguk Won <[email protected]> |
To: | Mark Rivers <[email protected]> |
Cc: | Song Jihye <[email protected]>, "[email protected]" <[email protected]> |
Date: | Wed, 28 Aug 2013 14:44:09 +0900 |
< envPaths
epicsEnvSet("ARCH","linux-x86")
epicsEnvSet("IOC","iocIpTest")
epicsEnvSet("TOP","/home/sanguk/epics/module/synApps_5_6/support/ip-2-13")
epicsEnvSet("ASYN","/home/sanguk/epics/module/synApps_5_6/support/asyn-4-18")
epicsEnvSet("EPICS_BASE","/home/sanguk/epics/base-3.14.12.2")
dbLoadDatabase("../../dbd/ip.dbd")
dbLoadDatabase("../../dbd/ipSupport.dbd")
ip_registerRecordDeviceDriver(pdbbase)
#dbLoadRecords("/Users/jihyesong/EPICS/modules/synApps_5_5/support/ip-2-10/db/TPG261.db","P=Vacuum:,GAUGE=tpg261,PORT=/dev/tty.UC-232AC,ADDR=0,TIMEOUT=1")
#dbLoadRecords("/Users/jihyesong/EPICS/modules/synApps_5_5/support/sscan-2-6-6/sscanApp/Db/scan.db", "P=/dev/tty.UC-232AC:,MAXPTS1=2000,MAXPTS2=200,MAXPTS3=20,MAXPTS4=10,MAXPTSH=10")
# Use the following commands for serial RTU or ASCII
#drvAsynSerialPortConfigure(const char *portName,
# const char *ttyName,
# unsigned int priority,
# int noAutoConnect,
# int noProcessEos);
drvAsynSerialPortConfigure("song", "/dev/ttyUSB0", 0, 0, 0)
asynSetOption("song",0,"baud","38400")
asynSetOption("song",0,"parity","none")
asynSetOption("song",0,"bits","8")
asynSetOption("song",0,"stop","1")
# Use the following commands for serial ASCII
asynOctetSetOutputEos("song",0,"\r\n")
asynOctetSetInputEos("song",0,"\r\n")
# Note: non-zero write delay (last parameter) may be needed.
#modbusInterposeConfig("song",2,1000,0)
# Load Pfeiffer TPG 261 driver database
dbLoadRecords("/home/sanguk/epics/module/synApps_5_6/support/ip-2-13/ipApp/Db/TPG261.db","P=Vacuum:,GAUGE=tpg261,PORT=song,ADDR=0,TIMEOUT=2")
asynSetTraceIOMask("song",0,0x2)
iocInit
Starting iocInit
############################################################################
## EPICS R3.14.12.2 $Date: Mon 2011-12-12 14:09:32 -0600$
## EPICS Base built Aug 20 2013
############################################################################
iocRun: All initialization complete
and error message is following.
epics> 2013/08/28 11:53:39.159 devTPG261::devTPG261Callback Cmd Vacuum:tpg261:PRES message too small=0
2013/08/28 11:53:41.259 devTPG261::devTPG261Callback Cmd Vacuum:tpg261:STATUS message too small=0
2013/08/28 11:53:43.359 devTPG261::devTPG261Callback Cmd Vacuum:tpg261:PRES message too small=0
2013/08/28 11:53:45.459 devTPG261::devTPG261Callback Cmd Vacuum:tpg261:SP1S message too small=0
2013/08/28 11:53:47.559 devTPG261::devTPG261Callback Cmd Vacuum:tpg261:STATUS message too small=0
< envPaths
epicsEnvSet("ARCH","linux-x86")
epicsEnvSet("IOC","iocIpTest")
epicsEnvSet("TOP","/home/sanguk/epics/module/synApps_5_6/support/ip-2-13")
epicsEnvSet("ASYN","/home/sanguk/epics/module/synApps_5_6/support/asyn-4-18")
epicsEnvSet("EPICS_BASE","/home/sanguk/epics/base-3.14.12.2")
dbLoadDatabase("../../dbd/ip.dbd")
dbLoadDatabase("../../dbd/ipSupport.dbd")
ip_registerRecordDeviceDriver(pdbbase)
#dbLoadRecords("/Users/jihyesong/EPICS/modules/synApps_5_5/support/ip-2-10/db/TPG261.db","P=Vacuum:,GAUGE=tpg261,PORT=/dev/tty.UC-232AC,ADDR=0,TIMEOUT=1")
#dbLoadRecords("/Users/jihyesong/EPICS/modules/synApps_5_5/support/sscan-2-6-6/sscanApp/Db/scan.db", "P=/dev/tty.UC-232AC:,MAXPTS1=2000,MAXPTS2=200,MAXPTS3=20,MAXPTS4=10,MAXPTSH=10")
# Use the following commands for serial RTU or ASCII
#drvAsynSerialPortConfigure(const char *portName,
# const char *ttyName,
# unsigned int priority,
# int noAutoConnect,
# int noProcessEos);
drvAsynSerialPortConfigure("song", "/dev/ttyUSB0", 0, 0, 0)
asynSetOption("song",0,"baud","9600")
asynSetOption("song",0,"parity","none")
asynSetOption("song",0,"bits","8")
asynSetOption("song",0,"stop","1")
# Use the following commands for serial ASCII
asynOctetSetOutputEos("song",0,"\r\n")
asynOctetSetInputEos("song",0,"\r\n")
# Note: non-zero write delay (last parameter) may be needed.
#modbusInterposeConfig("song",2,1000,0)
# Load Pfeiffer TPG 261 driver database
dbLoadRecords("/home/sanguk/epics/module/synApps_5_6/support/ip-2-13/ipApp/Db/TPG261.db","P=Vacuum:,GAUGE=tpg261,PORT=song,ADDR=0,TIMEOUT=2")
asynSetTraceIOMask("song",0,0x2)
iocInit
Starting iocInit
############################################################################
## EPICS R3.14.12.2 $Date: Mon 2011-12-12 14:09:32 -0600$
## EPICS Base built Aug 20 2013
############################################################################
iocRun: All initialization complete
and error message is following.
epics> 2013/08/28 11:52:25.797 devTPG261::readAi Gauge error Vacuum:tpg261:PRES status =[1]
2013/08/28 11:52:27.772 devTPG261::readAi Gauge error Vacuum:tpg261:PRES status =[1]
2013/08/28 11:52:29.845 devTPG261::readAi Gauge error Vacuum:tpg261:PRES status =[1]
2013/08/28 11:52:31.819 devTPG261::readAi Gauge error Vacuum:tpg261:PRES status =[1]
2013/08/28 11:52:33.991 devTPG261::readAi Gauge error Vacuum:tpg261:PRES status =[1]
2013/08/28 11:52:35.768 devTPG261::readAi Gauge error Vacuum:tpg261:PRES status =[1]
2013/08/28 11:52:37.841 devTPG261::readAi Gauge error Vacuum:tpg261:PRES status =[1]
2013/08/28 11:52:39.815 devTPG261::readAi Gauge error Vacuum:tpg261:PRES status =[1]
2013/08/28 11:52:41.790 devTPG261::readAi Gauge error Vacuum:tpg261:PRES status =[1]
linux(Ubuntu12.04 LTS) computer and TPG261 connection is not, Should any device be connected?
On 2013년 8월 27일 Tuesday at 오후 10:16, Mark Rivers wrote:
Please send the entire output when the IOC starts up, and then begins giving the errors you showed.linux(Ubuntu12.04 LTS) computer and TPG261 connection is not, Should any device be connected?I don't know what you mean by "TPG261 connection is not". Do you mean that the gauge is not connected to the computer? If so, then the error messages you are seeing are probably normal.Mark________________________________Sent: Tuesday, August 27, 2013 7:09 AMCc: Song JihyeSubject: TPG261 : "message too small=0" for EPICSDear all,I am just starting to learn the EPICS.In order to monitoring vacuum level of my chamber, I used pfeiffer TPG216 single gauge.I installed "baseR-3.14.12.1" and "synApps_5.6".Directory is following$HOME(or any directory where you want)/EPICS/base$HOME(or any directory where you want)/EPICS/modules/synApps_5_6/support/ip-2-13$HOME(or any directory where you want)/EPICS/modules/synApps_5_6/support/asyn-4-18$HOME(or any directory where you want)/EPICS/modules/synApps_5_6/support/ipac-2-11$HOME(or any directory where you want)/EPICS/modules/synApps_5_6/support/seq-2-1-3and so on.I would like to use "ip" which have db and sorce codes for TPG261 model.when I execute ipApp with st.cmd, what only I can get is following messages.2013/08/22 21:17:33.179 devTPG261::devTPG261Callback Cmd Vacuum:tpg261:SP2S message too small=02013/08/22 21:17:35.279 devTPG261::devTPG261Callback Cmd Vacuum:tpg261:SP1S message too small=02013/08/22 21:17:37.379 devTPG261::devTPG261Callback Cmd Vacuum:tpg261:SP2V message too small=02013/08/22 21:17:39.479 devTPG261::devTPG261Callback Cmd Vacuum:tpg261:STATUS message too small=02013/08/22 21:17:41.579 devTPG261::devTPG261Callback Cmd Vacuum:tpg261:PRES message too small=02013/08/22 21:17:43.679 devTPG261::devTPG261Callback Cmd Vacuum:tpg261:UNIT message too small=02013/08/22 21:17:45.779 devTPG261::devTPG261Callback Cmd Vacuum:tpg261:SP2S message too small=0Could you help me with this problem ?linux(Ubuntu12.04 LTS) computer and TPG261 connection is not, Should any device be connected?Thanks--Sanguk Won