Changes for XPS auxilliary I/O

This commit is contained in:
MarkRivers
2006-05-10 22:26:15 +00:00
parent 995aef0f8c
commit 1f37980bbf
2 changed files with 22 additions and 2 deletions
+11 -1
View File
@@ -6,13 +6,21 @@ dbLoadDatabase("../../dbd/WithMPF.dbd")
WithMPF_registerRecordDeviceDriver(pdbbase)
### Motors
dbLoadTemplate "motor.substitutions.xps"
dbLoadTemplate "motor.substitutions.xps"
dbLoadTemplate "XPSAux.substitutions"
# cards (total controllers)
XPSSetup(1)
# card, IP, PORT, number of axes, active poll period (ms), idle poll period (ms)
XPSConfig(0, "newport-xps3", 5001, 2, 10, 500)
# asynPort, IP address, IP port, poll period (ms)
XPSAuxConfig("XPS_AUX1", "newport-xps3", 5001, 50)
#asynSetTraceMask("XPS_AUX1", 0, 255)
#asynSetTraceIOMask("XPS_AUX1", 0, 2)
# asyn port, driver name, controller index, max. axes)
drvAsynMotorConfigure("XPS1", "motorXPS", 0, 2)
@@ -24,6 +32,8 @@ XPSConfigAxis(0,1,"GROUP2.POSITIONER",1000)
#asynSetTraceIOMask newport-xps3:5001:0 0 2
#asynSetTraceMask XPS1 0 255
#asynSetTraceIOMask XPS1 0 2
#asynSetTraceMask newport-xps3:5001:3 0 255
#asynSetTraceIOMask newport-xps3:5001:3 0 2
iocInit
+11 -1
View File
@@ -6,13 +6,21 @@ dbLoadDatabase("../../dbd/WithMPF.dbd")
WithMPF_registerRecordDeviceDriver(pdbbase)
### Motors
dbLoadTemplate "motor.substitutions.xps"
dbLoadTemplate "motor.substitutions.xps"
dbLoadTemplate "XPSAux.substitutions"
# cards (total controllers)
XPSSetup(1)
# card, IP, PORT, number of axes, active poll period (ms), idle poll period (ms)
XPSConfig(0, "newport-xps3", 5001, 2, 10, 500)
# asynPort, IP address, IP port, poll period (ms)
XPSAuxConfig("XPS_AUX1", "newport-xps3", 5001, 50)
#asynSetTraceMask("XPS_AUX1", 0, 255)
#asynSetTraceIOMask("XPS_AUX1", 0, 2)
# asyn port, driver name, controller index, max. axes)
drvAsynMotorConfigure("XPS1", "motorXPS", 0, 2)
@@ -24,6 +32,8 @@ XPSConfigAxis(0,1,"GROUP2.POSITIONER",1000)
#asynSetTraceIOMask newport-xps3:5001:0 0 2
#asynSetTraceMask XPS1 0 255
#asynSetTraceIOMask XPS1 0 2
#asynSetTraceMask newport-xps3:5001:3 0 255
#asynSetTraceIOMask newport-xps3:5001:3 0 2
iocInit