From 475b7e7fc9565439692ef263a1a60d8bf0aeb2df Mon Sep 17 00:00:00 2001 From: Ron Sluiter Date: Thu, 23 Feb 2006 20:06:08 +0000 Subject: [PATCH] motorUtil added. --- iocBoot/iocNoAsyn/st.cmd.Vx | 6 +++++- iocBoot/iocNoMPF/st.cmd.Vx | 6 +++++- iocBoot/iocWithAsyn/st.cmd.Vx | 5 ++++- iocBoot/iocWithAsyn/st.cmd.unix | 4 ++++ iocBoot/iocWithAsyn/st.cmd.win32 | 4 ++++ iocBoot/iocWithMPF/st.cmd.Vx | 5 ++++- iocBoot/iocWithMPF/st.cmd.unix | 4 ++++ iocBoot/iocWithMPF/st.cmd.win32 | 4 ++++ 8 files changed, 34 insertions(+), 4 deletions(-) diff --git a/iocBoot/iocNoAsyn/st.cmd.Vx b/iocBoot/iocNoAsyn/st.cmd.Vx index e00616fe..86412f91 100644 --- a/iocBoot/iocNoAsyn/st.cmd.Vx +++ b/iocBoot/iocNoAsyn/st.cmd.Vx @@ -23,7 +23,7 @@ dbLoadDatabase("$(TOP)/dbd/NoMPFVx.dbd") NoMPFVx_registerRecordDeviceDriver(pdbbase) dbLoadTemplate("motor.substitutions") -#!dbLoadRecords("$(TOP)/motorApp/Db/SoftMotorEx.db","user=rls,motor=m1", startup) +#!dbLoadRecords("$(TOP)/motorApp/Db/SoftMotorEx.db","user=USER,motor=m1", startup) # OMS VME driver setup parameters: # (1)cards, (2)base address(short, 16-byte boundary), @@ -75,3 +75,7 @@ dbLoadTemplate("motor.substitutions") #!drvPmacdebug = 4 iocInit + +# motorUtil (allstop & alldone) +motorUtilInit("USER:") + diff --git a/iocBoot/iocNoMPF/st.cmd.Vx b/iocBoot/iocNoMPF/st.cmd.Vx index e00616fe..86412f91 100644 --- a/iocBoot/iocNoMPF/st.cmd.Vx +++ b/iocBoot/iocNoMPF/st.cmd.Vx @@ -23,7 +23,7 @@ dbLoadDatabase("$(TOP)/dbd/NoMPFVx.dbd") NoMPFVx_registerRecordDeviceDriver(pdbbase) dbLoadTemplate("motor.substitutions") -#!dbLoadRecords("$(TOP)/motorApp/Db/SoftMotorEx.db","user=rls,motor=m1", startup) +#!dbLoadRecords("$(TOP)/motorApp/Db/SoftMotorEx.db","user=USER,motor=m1", startup) # OMS VME driver setup parameters: # (1)cards, (2)base address(short, 16-byte boundary), @@ -75,3 +75,7 @@ dbLoadTemplate("motor.substitutions") #!drvPmacdebug = 4 iocInit + +# motorUtil (allstop & alldone) +motorUtilInit("USER:") + diff --git a/iocBoot/iocWithAsyn/st.cmd.Vx b/iocBoot/iocWithAsyn/st.cmd.Vx index 19706bc0..602a4d00 100644 --- a/iocBoot/iocWithAsyn/st.cmd.Vx +++ b/iocBoot/iocWithAsyn/st.cmd.Vx @@ -202,5 +202,8 @@ dbLoadTemplate("motor.substitutions") #!asynOctetSetInputEos("tcp2",0,"") #!asynOctetSetOutputEos("tcp2",0,"") - iocInit + +# motorUtil (allstop & alldone) +motorUtilInit("USER:") + diff --git a/iocBoot/iocWithAsyn/st.cmd.unix b/iocBoot/iocWithAsyn/st.cmd.unix index 9b8cb2e8..8bbdb216 100644 --- a/iocBoot/iocWithAsyn/st.cmd.unix +++ b/iocBoot/iocWithAsyn/st.cmd.unix @@ -146,3 +146,7 @@ MM4000Config(0, "L0") #!var drvMDrivedebug 4 iocInit + +# motorUtil (allstop & alldone) +motorUtilInit("USER:") + diff --git a/iocBoot/iocWithAsyn/st.cmd.win32 b/iocBoot/iocWithAsyn/st.cmd.win32 index 883e286f..64eda61a 100755 --- a/iocBoot/iocWithAsyn/st.cmd.win32 +++ b/iocBoot/iocWithAsyn/st.cmd.win32 @@ -134,3 +134,7 @@ MM4000Config(0, "L0") #!var drvMDrivedebug 4 iocInit + +# motorUtil (allstop & alldone) +motorUtilInit("USER:") + diff --git a/iocBoot/iocWithMPF/st.cmd.Vx b/iocBoot/iocWithMPF/st.cmd.Vx index 19706bc0..602a4d00 100644 --- a/iocBoot/iocWithMPF/st.cmd.Vx +++ b/iocBoot/iocWithMPF/st.cmd.Vx @@ -202,5 +202,8 @@ dbLoadTemplate("motor.substitutions") #!asynOctetSetInputEos("tcp2",0,"") #!asynOctetSetOutputEos("tcp2",0,"") - iocInit + +# motorUtil (allstop & alldone) +motorUtilInit("USER:") + diff --git a/iocBoot/iocWithMPF/st.cmd.unix b/iocBoot/iocWithMPF/st.cmd.unix index 9b8cb2e8..8bbdb216 100644 --- a/iocBoot/iocWithMPF/st.cmd.unix +++ b/iocBoot/iocWithMPF/st.cmd.unix @@ -146,3 +146,7 @@ MM4000Config(0, "L0") #!var drvMDrivedebug 4 iocInit + +# motorUtil (allstop & alldone) +motorUtilInit("USER:") + diff --git a/iocBoot/iocWithMPF/st.cmd.win32 b/iocBoot/iocWithMPF/st.cmd.win32 index 883e286f..64eda61a 100755 --- a/iocBoot/iocWithMPF/st.cmd.win32 +++ b/iocBoot/iocWithMPF/st.cmd.win32 @@ -134,3 +134,7 @@ MM4000Config(0, "L0") #!var drvMDrivedebug 4 iocInit + +# motorUtil (allstop & alldone) +motorUtilInit("USER:") +