30 lines
1015 B
Batchfile
30 lines
1015 B
Batchfile
|
|
#==============================================================================
|
|
# startup.cmd
|
|
#-------------- Information:
|
|
#- Description: ecmc_plugin_motion startup.cmd
|
|
#-
|
|
#- by Anders Sandström, Paul Scherrer Institute, 2023
|
|
#- email: anders.sandstroem@psi.ch
|
|
#-
|
|
#-###############################################################################
|
|
#-
|
|
#- Arguments
|
|
#-
|
|
#################################################################################
|
|
|
|
#- Print disclaimer
|
|
#
|
|
# !!!!!!!!!!!!! IMPORTANT !!!!!!!!!
|
|
# This plugin has _NO_ safety rated functionalities.
|
|
# The intended use of this plugin is only to handle interfacing with a safety PLC.
|
|
#
|
|
|
|
#- Load plugin: Safety
|
|
epicsEnvSet(ECMC_PLUGIN_FILNAME,"$(ecmc_plugin_safety_DIR)/lib/${EPICS_HOST_ARCH=linux-x86_64}/libecmc_plugin_safety.so")
|
|
epicsEnvSet(ECMC_PLUGIN_CONFIG,"DBG_PRINT=1;")
|
|
ecmcConfigOrDie "Cfg.LoadSafetyPlugin(${ECMC_PLUGIN_FILNAME},${ECMC_PLUGIN_CONFIG=""})"
|
|
|
|
#- Load SS1 group records
|
|
dbLoadRecords("ecmcSS1Main.template","P=${ECMC_PREFIX}")
|