Skip to content

Commit

Permalink
EL5101-0011: Fix DTYP, add timestamp PV
Browse files Browse the repository at this point in the history
  • Loading branch information
anderssandstrom committed Mar 13, 2024
1 parent aa2c777 commit 569a1b4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion db/Beckhoff_5XXX/ecmcEL5101-0011-chX.template
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
6 changes: 6 additions & 0 deletions db/Beckhoff_5XXX/ecmcEL5101-0011.substitutions
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
}

0 comments on commit 569a1b4

Please sign in to comment.