Experimental Physics and
| |||||||||||||||||
|
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:
| ||||||||||||||||
ANJ, 20 Apr 2015 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |