Files
motorBase/iocBoot/iocNoMPF/st.cmd.Vx
T
2003-11-13 19:55:56 +00:00

39 lines
1.2 KiB
Plaintext

# 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("$(TOP)/dbd/NoMPFVx.dbd")
NoMPFVx_registerRecordDeviceDriver(pdbbase)
dbLoadRecords("$(TOP)/db/NoMPF.db")
#dbLoadRecords("$(TOP)/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