From 375c02d4d6555c8cf5a4b163c32d0d8ce98eb65b Mon Sep 17 00:00:00 2001 From: MarkRivers Date: Tue, 30 Aug 2011 19:11:51 +0000 Subject: [PATCH] Update for new syntax of XPS model 3 commands --- iocBoot/iocWithAsyn/st.cmd.xps5 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/iocBoot/iocWithAsyn/st.cmd.xps5 b/iocBoot/iocWithAsyn/st.cmd.xps5 index 7d3f1c5e..ecb44093 100644 --- a/iocBoot/iocWithAsyn/st.cmd.xps5 +++ b/iocBoot/iocWithAsyn/st.cmd.xps5 @@ -13,7 +13,7 @@ dbLoadTemplate "XPSAux.substitutions" # asyn port, IP address, IP port, number of axes, # active poll period (ms), idle poll period (ms), # enable set position, set position settling time (ms) -XPSConfig("XPS1", "164.54.160.55", 5001, 6, 10, 500, 0, 500) +XPSCreateController("XPS1", "164.54.160.55", 5001, 6, 10, 500, 0, 500) asynSetTraceIOMask("XPS1", 0, 2) #asynSetTraceMask("XPS1", 0, 255) @@ -23,16 +23,16 @@ XPSAuxConfig("XPS_AUX1", "164.54.160.55", 5001, 50) #asynSetTraceMask("XPS_AUX1", 0, 255) # XPS asyn port, axis, groupName.positionerName, stepSize -XPSConfigAxis("XPS1",0,"GROUP.PHI", 1000) -XPSConfigAxis("XPS1",1,"GROUP.KAPPA", 10000) -XPSConfigAxis("XPS1",2,"GROUP.OMEGA", 10000) -XPSConfigAxis("XPS1",3,"GROUP.PSI", 4000) -XPSConfigAxis("XPS1",4,"GROUP.THETA", 10000) -XPSConfigAxis("XPS1",5,"GROUP.NU", 4000) +XPSCreateAxis("XPS1",0,"GROUP.PHI", "1000") +XPSCreateAxis("XPS1",1,"GROUP.KAPPA", "10000") +XPSCreateAxis("XPS1",2,"GROUP.OMEGA", "10000") +XPSCreateAxis("XPS1",3,"GROUP.PSI", "4000") +XPSCreateAxis("XPS1",4,"GROUP.THETA", "10000") +XPSCreateAxis("XPS1",5,"GROUP.NU", "4000") # XPS asyn port, max points, FTP username, FTP password # Note: this must be done after configuring axes -XPSConfigProfile("XPS1", 2000, "Administrator", "Administrator") +XPSCreateProfile("XPS1", 2000, "Administrator", "Administrator") iocInit