The default behaviour of the pmac controller is to enable the motor at startup. With the controller V3 we want that at IOC startup the axis to be off.
A database entry like
record(longout, "$(P)$(M):Enable") {
field(DTYP, "asynInt32")
field(OUT, "@asyn($(PORT),$(N),1) ENABLE_AXIS")
field(PINI, "YES")
}
can be used to give access to enable/disable the axis.
37 lines
1.0 KiB
Makefile
37 lines
1.0 KiB
Makefile
# This build the sinq extensions for the PSI EPICS setup
|
|
include /ioc/tools/driver.makefile
|
|
|
|
MODULE=sinq
|
|
LIBVERSION=brambilla_m
|
|
BUILDCLASSES=Linux
|
|
EPICS_VERSIONS=3.14.12 7.0.4.1
|
|
|
|
# additional module dependencies
|
|
REQUIRED+=SynApps
|
|
REQUIRED+=stream
|
|
REQUIRED+=scaler
|
|
|
|
# using a test version
|
|
scaler_VERSION=koennecke
|
|
|
|
TEMPLATES += sinqEPICSApp/Db/dimetix.db
|
|
TEMPLATES += sinqEPICSApp/Db/slsvme.db
|
|
TEMPLATES += sinqEPICSApp/Db/spsamor.db
|
|
|
|
DBDS += sinqEPICSApp/src/sinq.dbd
|
|
|
|
# What we need at SINQ
|
|
SOURCES += sinqEPICSApp/src/devScalerEL737.c
|
|
SOURCES += sinqEPICSApp/src/SINQController.cpp
|
|
SOURCES += sinqEPICSApp/src/SINQAxis.cpp
|
|
SOURCES += sinqEPICSApp/src/EL734Driver.cpp
|
|
SOURCES += sinqEPICSApp/src/NanotecDriver.cpp
|
|
SOURCES += sinqEPICSApp/src/stptok.cpp
|
|
SOURCES += sinqEPICSApp/src/PhytronDriver.cpp
|
|
SOURCES += sinqEPICSApp/src/EuroMoveDriver.cpp
|
|
SOURCES += sinqEPICSApp/src/pmacAsynIPPort.c
|
|
SOURCES += sinqEPICSApp/src/pmacAxis.cpp
|
|
SOURCES += sinqEPICSApp/src/pmacController.cpp
|
|
|
|
# MISCS would be the place to keep the stream device template files
|