diff --git a/iocBoot/iocNoAsyn/st.cmd.Vx b/iocBoot/iocNoAsyn/st.cmd.Vx new file mode 100644 index 00000000..8f68bdb5 --- /dev/null +++ b/iocBoot/iocNoAsyn/st.cmd.Vx @@ -0,0 +1,38 @@ +# This example if for OMS VME8/44 controllers. Since OMS controllers +# communicate across the VME backplace, this example does not require +# MPF. + +#The following must be added for many board support packages +#cd "... IOC st.cmd complete directory path ... " + +< cdCommands + #< ../nfsCommands + +cd topbin + +# If the VxWorks kernel was built using the project facility, the following must +# be added before any C++ code is loaded (see SPR #28980). +sysCplusEnable=1 + +ld < NoMPFVx.munch + +cd startup +dbLoadDatabase("../../dbd/NoMPFVx.dbd") +registerRecordDeviceDriver(pdbbase) + +dbLoadRecords("../../db/NoMPF.db") +#dbLoadRecords("../../motorExApp/Db/SoftMotorEx.db","user=rls,motor=m1", startup) + +# OMS VME driver setup parameters: +# (1)cards, (2)axes per card, (3)base address(short, 16-byte boundary), +# (4)interrupt vector (0=disable or 64 - 255), (5)interrupt level (1 - 6), +# (6)motor task polling rate (min=1Hz,max=60Hz) +#omsSetup(1, 8, 0xFC00, 180, 5, 10) + +# OMS VME58 driver setup parameters: +# (1)cards, (2)axes per card, (3)base address(short, 4k boundary), +# (4)interrupt vector (0=disable or 64 - 255), (5)interrupt level (1 - 6), +# (6)motor task polling rate (min=1Hz,max=60Hz) +oms58Setup(1, 8, 0x1000, 190, 5, 10) + +iocInit diff --git a/iocBoot/iocNoAsyn/st.cmd.unix b/iocBoot/iocNoAsyn/st.cmd.unix new file mode 100644 index 00000000..e8230ac5 --- /dev/null +++ b/iocBoot/iocNoAsyn/st.cmd.unix @@ -0,0 +1,14 @@ +# This example if for running a motor record that uses Soft Channel device +# support on a Unix host. This example does not require MPF. + +# Start errlog Task before any possible error messsage to prevent +# erroneous "Interrupted system call" message on Linux OS host. +errlogInit(0) + +dbLoadDatabase("../../dbd/NoMPF.dbd") +registerRecordDeviceDriver(pdbbase) + +#dbLoadRecords("../../db/NoMPF.db") +dbLoadRecords("../../motorExApp/Db/softMotorTest.db","user=rls") + +iocInit diff --git a/iocBoot/iocNoMPF/st.cmd.Vx b/iocBoot/iocNoMPF/st.cmd.Vx new file mode 100644 index 00000000..8f68bdb5 --- /dev/null +++ b/iocBoot/iocNoMPF/st.cmd.Vx @@ -0,0 +1,38 @@ +# This example if for OMS VME8/44 controllers. Since OMS controllers +# communicate across the VME backplace, this example does not require +# MPF. + +#The following must be added for many board support packages +#cd "... IOC st.cmd complete directory path ... " + +< cdCommands + #< ../nfsCommands + +cd topbin + +# If the VxWorks kernel was built using the project facility, the following must +# be added before any C++ code is loaded (see SPR #28980). +sysCplusEnable=1 + +ld < NoMPFVx.munch + +cd startup +dbLoadDatabase("../../dbd/NoMPFVx.dbd") +registerRecordDeviceDriver(pdbbase) + +dbLoadRecords("../../db/NoMPF.db") +#dbLoadRecords("../../motorExApp/Db/SoftMotorEx.db","user=rls,motor=m1", startup) + +# OMS VME driver setup parameters: +# (1)cards, (2)axes per card, (3)base address(short, 16-byte boundary), +# (4)interrupt vector (0=disable or 64 - 255), (5)interrupt level (1 - 6), +# (6)motor task polling rate (min=1Hz,max=60Hz) +#omsSetup(1, 8, 0xFC00, 180, 5, 10) + +# OMS VME58 driver setup parameters: +# (1)cards, (2)axes per card, (3)base address(short, 4k boundary), +# (4)interrupt vector (0=disable or 64 - 255), (5)interrupt level (1 - 6), +# (6)motor task polling rate (min=1Hz,max=60Hz) +oms58Setup(1, 8, 0x1000, 190, 5, 10) + +iocInit diff --git a/iocBoot/iocNoMPF/st.cmd.unix b/iocBoot/iocNoMPF/st.cmd.unix new file mode 100644 index 00000000..e8230ac5 --- /dev/null +++ b/iocBoot/iocNoMPF/st.cmd.unix @@ -0,0 +1,14 @@ +# This example if for running a motor record that uses Soft Channel device +# support on a Unix host. This example does not require MPF. + +# Start errlog Task before any possible error messsage to prevent +# erroneous "Interrupted system call" message on Linux OS host. +errlogInit(0) + +dbLoadDatabase("../../dbd/NoMPF.dbd") +registerRecordDeviceDriver(pdbbase) + +#dbLoadRecords("../../db/NoMPF.db") +dbLoadRecords("../../motorExApp/Db/softMotorTest.db","user=rls") + +iocInit