diff --git a/db/Beckhoff_5XXX/ecmcEL5101-0011-chX.template b/db/Beckhoff_5XXX/ecmcEL5101-0011-chX.template index 755faedcf..dad22034b 100644 --- a/db/Beckhoff_5XXX/ecmcEL5101-0011-chX.template +++ b/db/Beckhoff_5XXX/ecmcEL5101-0011-chX.template @@ -104,7 +104,7 @@ record(waveform,"${ECMC_P}Enc${CH_ID}-PosAct-Arr"){ field(DESC, "$(HWTYPE): Actual position Array [$(NELM)]") field(PINI, "$(PINI=1)") field(DTYP, "$(DTYP=asynInt16ArrayIn)") - field(INP, "@asyn($(PORT),$(ADDR=0),$(TIMEOUT=1))T_SMP_MS=$(T_SMP_MS=1000)/TYPE=asynInt16ArrayIn/ec$(MASTER_ID).s$(SLAVE_POS).mm.positionActualArray${CH_ID}?") + field(INP, "@asyn($(PORT),$(ADDR=0),$(TIMEOUT=1))T_SMP_MS=$(T_SMP_MS=1000)/TYPE=${DTYP=asynInt16ArrayIn}/ec$(MASTER_ID).s$(SLAVE_POS).mm.positionActualArray${CH_ID}?") field(FTVL, "$(FTVL=SHORT)") field(NELM, "$(NELM)") field(SCAN, "I/O Intr") diff --git a/db/Beckhoff_5XXX/ecmcEL5101-0011.substitutions b/db/Beckhoff_5XXX/ecmcEL5101-0011.substitutions index d642c636c..9f90ca3af 100644 --- a/db/Beckhoff_5XXX/ecmcEL5101-0011.substitutions +++ b/db/Beckhoff_5XXX/ecmcEL5101-0011.substitutions @@ -3,3 +3,9 @@ file "ecmcEL5101-0011-chX.template" pattern { CH_ID, DTYP, FTVL } { 01, asynInt32ArrayIn, LONG } } + +# timestamp +file "ecmc_timestamp_64-chX.template"{ + pattern {CH_ID, KEY, suffix, sourceName } + {"", "Enc01", "-Time", "nextSyncTime" } +}