mirror of
https://github.com/Binary-Coalescence/motorDSM.git
synced 2025-08-05 14:15:39 -05:00
Improved the example IOC
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
#!../../bin/linux-x86_64/acs
|
||||
|
||||
## You may have to change acs to something else
|
||||
## everywhere it appears in this file
|
||||
|
||||
< envPaths
|
||||
|
||||
cd "${TOP}"
|
||||
@@ -11,11 +8,17 @@ cd "${TOP}"
|
||||
dbLoadDatabase "dbd/acs.dbd"
|
||||
acs_registerRecordDeviceDriver pdbbase
|
||||
|
||||
## Load record instances
|
||||
#dbLoadRecords("db/xxx.db","user=kpetersn")
|
||||
|
||||
cd "${TOP}/iocBoot/${IOC}"
|
||||
|
||||
|
||||
## motorUtil (allstop & alldone)
|
||||
dbLoadRecords("$(MOTOR)/db/motorUtil.db", "P=acs:")
|
||||
|
||||
##
|
||||
|
||||
iocInit
|
||||
|
||||
## Start any sequence programs
|
||||
#seq sncxxx,"user=kpetersn"
|
||||
## motorUtil (allstop & alldone)
|
||||
motorUtilInit("acs:")
|
||||
|
||||
# Boot complete
|
||||
|
Reference in New Issue
Block a user