EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== 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
Thank you for the reply.

A.  Please send the entire output when the IOC starts up, and then begins giving the errors you showed.
- I have attached the entire output. so please have a look in below.


baud = 34600 setting for start.cmd

< 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







baud = 9600 setting for start.cmd 

< 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] 



I have a one more question.
When I changed the baud from 32600 to 9600,
It shows different error message. 
As I know, the default value of baud is 9600.
Should I fix this baud number for the tpg261 model?




linux(Ubuntu12.04 LTS) computer and TPG261 connection is not, Should any device be connected?
B. 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.
- I had mistake. you don't need to take care about this. 



Thanks

-- 
Sanguk Won


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

________________________________
From: [email protected] [[email protected]] on behalf of Sanguk Won [[email protected]]
Sent: Tuesday, August 27, 2013 7:09 AM
Cc: Song Jihye
Subject: TPG261 : "message too small=0" for EPICS

Dear 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-3

and 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=0
2013/08/22 21:17:35.279 devTPG261::devTPG261Callback Cmd Vacuum:tpg261:SP1S message too small=0
2013/08/22 21:17:37.379 devTPG261::devTPG261Callback Cmd Vacuum:tpg261:SP2V message too small=0
2013/08/22 21:17:39.479 devTPG261::devTPG261Callback Cmd Vacuum:tpg261:STATUS message too small=0
2013/08/22 21:17:41.579 devTPG261::devTPG261Callback Cmd Vacuum:tpg261:PRES message too small=0
2013/08/22 21:17:43.679 devTPG261::devTPG261Callback Cmd Vacuum:tpg261:UNIT message too small=0
2013/08/22 21:17:45.779 devTPG261::devTPG261Callback Cmd Vacuum:tpg261:SP2S message too small=0


Could you help me with this problem ?


linux(Ubuntu12.04 LTS) computer and TPG261 connection is not, Should any device be connected?


Thanks
--
Sanguk Won


Replies:
RE: TPG261 : "message too small=0" for EPICS Mark Rivers
References:
TPG261 : "message too small=0" for EPICS Sanguk Won
RE: TPG261 : "message too small=0" for EPICS Mark Rivers

Navigate by Date:
Prev: RE: motor record: soft motor & DMOV Mooney, Tim M.
Next: RE: TPG261 : "message too small=0" for EPICS Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: TPG261 : "message too small=0" for EPICS Mark Rivers
Next: RE: TPG261 : "message too small=0" for EPICS Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·