Add axis template

This commit is contained in:
2025-02-26 09:54:39 +01:00
parent 261f93ed43
commit 4df2642299
2 changed files with 16 additions and 0 deletions

13
Db/ecmcSS1Axis.template Normal file
View File

@@ -0,0 +1,13 @@
#- Will be a sub record to the axis object, example:
#- AXIS_PREFIX=c6015a-02:M1
record(stringin,"$(AXIS_PREFIX)-SS1-GrpNam") {
field(DESC, "Name of Saftey Grp ")
field(VAL, "${NAME}")
}
record(bi,"${AXIS_PREFIX}-SS1-EnaAct"){
field(DESC, "Safety PLG active for this axis")
field(VAL, 1)
field(ONAM, "1")
field(ZNAM, "0")
}

View File

@@ -30,3 +30,6 @@
#- <filter_time> : NOT USED (for future implemenation). Time for axis to be below velo limit [ms].
ecmcAddAxisToSafetyGroup("${NAME}",${AX_ID},${VELO_REST_LIM=0},0,${VELO_MAX_LIM=0.0})
#- Load SS1 axis records
dbLoadRecords("ecmcSS1Axis.template","AXIS_PREFIX=${ECMC_MOTOR_1_FULL_NAME=},NAME=${NAME}")