This commit is contained in:
2024-02-16 16:13:28 +01:00
parent ed12498cc2
commit 6d4867d5b8

View File

@@ -10,21 +10,17 @@
#-###############################################################################
#-
#- Arguments
#- [mandatory]
#- PLUGIN_ID : Plugin instansiation index, must be unique for each call
#-
#################################################################################
#- Print discalimer
#
# IMPORTANT!!!
# !!!!!!!!!!!!! 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
# Might need differet paths for PSI and ESS.. must check
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;")
${SCRIPTEXEC} ${ecmccfg_DIR}loadPlugin.cmd, "PLUGIN_ID=${PLUGIN_ID=0},FILE=${ECMC_PLUGIN_FILNAME},CONFIG='${ECMC_PLUGIN_CONFIG=""}', REPORT=${REPORT=1}"
ecmcConfigOrDie "Cfg.LoadSafetyPlugin(${ECMC_PLUGIN_FILNAME},${ECMC_PLUGIN_CONFIG=""})"