New file to test XPS

This commit is contained in:
MarkRivers
2006-04-07 00:06:38 +00:00
parent ee446c4886
commit 2dfba45263
4 changed files with 66 additions and 0 deletions
@@ -0,0 +1,7 @@
file "$(MOTOR)/db/basic_asyn_motor.db"
{
pattern
{P, N, M, DTYP, PORT, ADDR, DESC, EGU, DIR, VELO, VBAS, ACCL, BDST, BVEL, BACC, MRES, PREC, DHLM, DLLM, INIT}
{IOC:, 1, m$(N), "asynMotor", XPS1, 0, "motor $(N)", degrees, Pos, .3, .1, .2, 0, 1, .2, 0.001, 5, 10, 0, ""}
{IOC:, 2, m$(N), "asynMotor", XPS1, 1, "motor $(N)", degrees, Pos, .3, .1, .2, 0, 1, .2, 0.001, 5, 10, 0, ""}
}
+26
View File
@@ -0,0 +1,26 @@
errlogInit(5000)
< envPaths
# Tell EPICS all about the record types, device-support modules, drivers,
# etc. in this build from CARS
dbLoadDatabase("../../dbd/WithMPF.dbd")
WithMPF_registerRecordDeviceDriver(pdbbase)
### Motors
dbLoadTemplate "motor.substitutions.xps"
# cards (total controllers), scan rate
XPSSetup(1)
# card, IP, PORT, number of axes, active poll, idle poll
XPSConfig(0, "newport-xps3", 5001, 2, 50, 5000)
drvAsynMotorConfigure("XPS1", "motorXPS", 0, 4)
# card, axis, groupnumber, groupsize,axis in group, group, positioner
XPSConfigAxis(0,0,"GROUP1.POSITIONER", 1000)
XPSConfigAxis(0,1,"GROUP2.POSITIONER", 1000)
#asynSetTraceMask newport-xps3:5001:0 0 255
#asynSetTraceIOMask newport-xps3:5001:0 0 2
iocInit
@@ -0,0 +1,7 @@
file "$(MOTOR)/db/basic_asyn_motor.db"
{
pattern
{P, N, M, DTYP, PORT, ADDR, DESC, EGU, DIR, VELO, VBAS, ACCL, BDST, BVEL, BACC, MRES, PREC, DHLM, DLLM, INIT}
{IOC:, 1, m$(N), "asynMotor", XPS1, 0, "motor $(N)", degrees, Pos, .3, .1, .2, 0, 1, .2, 0.001, 5, 10, 0, ""}
{IOC:, 2, m$(N), "asynMotor", XPS1, 1, "motor $(N)", degrees, Pos, .3, .1, .2, 0, 1, .2, 0.001, 5, 10, 0, ""}
}
+26
View File
@@ -0,0 +1,26 @@
errlogInit(5000)
< envPaths
# Tell EPICS all about the record types, device-support modules, drivers,
# etc. in this build from CARS
dbLoadDatabase("../../dbd/WithMPF.dbd")
WithMPF_registerRecordDeviceDriver(pdbbase)
### Motors
dbLoadTemplate "motor.substitutions.xps"
# cards (total controllers), scan rate
XPSSetup(1)
# card, IP, PORT, number of axes, active poll, idle poll
XPSConfig(0, "newport-xps3", 5001, 2, 50, 5000)
drvAsynMotorConfigure("XPS1", "motorXPS", 0, 4)
# card, axis, groupnumber, groupsize,axis in group, group, positioner
XPSConfigAxis(0,0,"GROUP1.POSITIONER", 1000)
XPSConfigAxis(0,1,"GROUP2.POSITIONER", 1000)
#asynSetTraceMask newport-xps3:5001:0 0 255
#asynSetTraceIOMask newport-xps3:5001:0 0 2
iocInit