Experimental Physics and
| |||||||||||||||
|
hello i have newport AG-UC8 i'm used 1channel 2 axis. before newport suport applet used. i am now setting to the epics envrionment. why cannot read version? i could not solve this. choi@bl9d:/usr/local/epics/synApps/support/motor-R6-10-1/iocBoot/iocWithAsyn$ ./connect_AG_UC choi@bl9d:/usr/local/epics/synApps/support/motor-R6-10-1/iocBoot/iocWithAsyn$ ls -al /dev/ttyUSB* crw-rw-rw- 1 root dialout 188, 0 Mar 21 16:33 /dev/ttyUSB0 choi@bl9d:/usr/local/epics/synApps/support/motor-R6-10-1/iocBoot/iocWithAsyn$ ./st.cmd #!../../bin/linux-x86_64/WithAsyn errlogInit(5000) # Tell EPICS all about the record types, device-support modules, drivers,etc. dbLoadDatabase("../../dbd/WithAsyn.dbd") WithAsyn_registerRecordDeviceDriver(pdbbase) ### Motors dbLoadTemplate "motor.substitutions.AG_UC" # For Linux drvAsynSerialPortConfigure("serial1", "/dev/ttyUSB0", 0, 0, 0) asynOctetSetInputEos("serial1",0,"\r\n") asynOctetSetOutputEos("serial1",0,"\r\n") asynSetOption("serial1",0,"baud","921600") asynSetOption("serial1",0,"bits","8") asynSetOption("serial1",0,"stop","1") asynSetOption("serial1",0,"parity","none") asynSetOption("serial1",0,"clocal","Y") asynSetOption("serial1",0,"crtscts","N") asynSetTraceIOMask("serial1", 0, 2) # Load asynRecord records dbLoadRecords("/usr/local/epics/synApps/support/asyn-R4-33/db/asynRecord.db", "P=IOC:,R=serial1,PORT=serial1, ADDR=0,OMAX=256,IMAX=256") # AG_UCCreateController(asyn port, serial port, number of axes, active poll period (ms), idle poll period (ms)) AG_UCCreateController("Agilis1", "serial1", 2, 50, 500) Agilis controller firmware version = 2019/03/21 16:34:34.590 AG_UCController::AG_UCController: cannot read version information from Agilis controller asynSetTraceIOMask("Agilis1", 0, 2) # AG_UCCreateAxis((AG_UC controller port, axis, hasLimits, forwardAmplitude, reverseAmplitude) AG_UCCreateAxis("Agilis1", 0, 0, 50, -50) AG_UCCreateAxis("Agilis1", 1, 0, 50, -50) iocInit Starting iocInit ############################################################################ ## EPICS R3.15.6 ## EPICS Base built Mar 13 2019 ############################################################################ iocRun: All initialization complete epics> --
| ||||||||||||||
ANJ, 21 Mar 2019 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |