Experimental Physics and
| |||||||||||||||
|
Hi all, After I started the IOC and 4motor_form.opi ( ${MOTOR}/motorApp/op/opi ) in CSS, the pv contain "$(P)$(M) ,$(P)$(M1), $(P)$(M2)" all disconnetcted. But IOC start up successfully. And when I changed the pv name to IOC:m2, it connected. why does other contain $(P)$(M) disconnected. dbl list was like these: epics> dbl IOC:4 IOC:m2 IOC:m3 IOC:m4 KOZ:m1 ******* the st.cmd file was ( part of st.cmd file): dbLoadDatabase("$(TOP)/dbd/WithAsyn.dbd") WithAsyn_registerRecordDeviceDriver(pdbbase) dbLoadTemplate("motor.substitutions") drvAsynSerialPortConfigure("serial","/dev/ttyS0",0,0,0) ... ****** and the motor.substitutions was: file "$(MOTOR)/db/basic_motor.db" { pattern {P, N, M, DTYP, C, S, DESC, EGU, DIR, VELO, VBAS, ACCL, BDST, BVEL, BACC, MRES, PREC, DHLM, DLLM, INIT} {IOC:, 1, "m$(N)", "SC-800", 0, 0, "motor $(N)", mm, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""} {IOC:, 2, "m$(N)", "SC-800", 0, 1, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""} {IOC:, 3, "m$(N)", "SC-800", 0, 2, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""} {IOC:, 4, "m$(N)", "SC-800", 0, 3, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""} } Thanks, Li xing
| ||||||||||||||
ANJ, 31 Aug 2016 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |