Hello,
According to the release notice of EPICS:Motor record at the website http://www.aps.anl.gov/bcda/synApps/motor/R6-8/motor_release.html . It says that "Steffen Rau (Physik Instrumente
GmbH & Co.) has added asyn motor support for PI motion controllers that use the GCS2 (General Command Set) command language. This support resides in the <motor>/motorApp/PIGCS2Src/ directory of the motor module."
It means the GCS2 module should work well form motorR6-8.
I'm trying to build an IOC named C863 with EPICS base-3.14.12.5, asyn4-23, calc-R3-6-1, motorR6-9.
There is no error message in building the IOC except an weird stituation in thePI_GCS2Support.dbd file in motorR6-9/dbd directory.
The PI_GCS2Suport.dbd is,
+++++++++++++++++++++++++++++++++++++++++++
include "asyn.dbd"
include "motorRecord.dbd"
##device(motor,VME_IO,devPIasyn,"PI Motor GCS2")
##driver(PIasyn)
registrar(PIasynDriverRegister)
##registrar(PIasynRegister)
+++++++++++++++++++++++++++++++++++++++++++
Why the "PI Motor GCS2" is commented?
Regardless of this, we run the IOC in the terminal, the result of PI_GCS2_CreateController seemed the C-863.11 controller worked well. But there is an error when load the db file. The display of the linux terminal are as follows.
++++++++++++++++++++++++++ the linux terminal display ++++++++++++++++++++++++++++++++
[blctrl@localhost iocC863]$ ../../bin/linux-x86/C863 st.cmd
#!../../bin/linux-x86/C863
## You may have to change C863 to something else
## everywhere it appears in this file
< envPaths
epicsEnvSet("ARCH","linux-x86")
epicsEnvSet("IOC","iocC863")
epicsEnvSet("TOP","/home/blctrl/D-Line")
epicsEnvSet("ASYN","/BLC/epics/modules/asyn4-23")
epicsEnvSet("CALC","/BLC/epics/modules/calc-R3-6-1")
epicsEnvSet("MOTOR","/BLC/epics/modules/motorR6-9")
epicsEnvSet("EPICS_BASE","/BLC/epics/base")
cd "/home/blctrl/D-Line"
## Register all support components
dbLoadDatabase "dbd/C863.dbd"
C863_registerRecordDeviceDriver pdbbase
drvAsynIPPortConfigure("C863","10.30.54.93:4006 TCP",0,0,0)
PI_GCS2_CreateController("PI","C863","1","","","100","1000")
2016/03/29 14:26:06.436 read from C863: (c)2013 Physik Instrumente(PI) Karlsruhe, C-863.11,0,1.3.0.7
PIasynAxis::PIasynAxis() 0: 1
## Load record instances
#dbLoadTemplate "db/userHost.substitutions"
#dbLoadRecords "db/dbSubExample.db", "user=blctrlHost"
dbLoadRecords "db/motor.db"
Can't set "Motor1.DTYP" to "PI Motor GCS2"
Error at or before ")" in file "db/motor.db" line 4
## Set this to see messages from mySub
#var mySubDebug 1
## Run this to trace the stages of iocInit
#traceIocInit
cd "/home/blctrl/D-Line/iocBoot/iocC863"
iocInit
Starting iocInit
############################################################################
## EPICS R3.14.12.5 $Date: Tue 2015-03-24 09:57:35 -0500$
## EPICS Base built Mar 23 2016
############################################################################
devMotorAsyn::init_record Motor1 bad link invalid INST_IO Must be asyn(<port> <addr> <timeout>)userParams
2016/03/29 14:26:06.754 devMotorAsyn::build_trans: Motor1 error calling queueRequest, asynManager::queueRequest asynUser not associated with a port
2016/03/29 14:26:06.754 devMotorAsyn::build_trans: Motor1 error calling queueRequest, asynManager::queueRequest asynUser not associated with a port
iocRun: All initialization complete
## Start any sequence programs
#seq sncExample, "user=blctrlHost"
epics> exit
2016/03/29 14:36:58.631 PIInterface::sendAndReceive error calling writeRead, output=4 status=3, error=10.30.54.93:4006 TCP disconnected:
2016/03/29 14:36:58.631 PIGCSController:sendAndReceive error calling write, output=POS? 1 status=3, error=10.30.54.93:4006 TCP disconnected:
2016/03/29 14:36:58.631 PIGCSController:sendAndReceive error calling write, output=POS? 1 status=3, error=10.30.54.93:4006 TCP disconnected:
[blctrl@localhost iocC863]$
Please give us some advice with this. Thanks!
Best regards,
yongnian