Add PDO output template.

This commit is contained in:
Anders Sandstrom
2021-03-11 17:05:01 +01:00
parent e5f696a1eb
commit 7fdd51b0cd
4 changed files with 25 additions and 13 deletions

View File

@@ -0,0 +1,12 @@
# Data source: plugin.can.dev3.pdo.testvalue
record(waveform,"$(P)CAN${CH_ID}-${suffix=}"){
info(asyn:READBACK,"1")
field(DESC, "PDO Data")
# field(PINI, "1")
field(DTYP, "${DTYP=asynInt8ArrayOut}")
field(INP, "@asyn(${PORT},$(ADDR=0),$(TIMEOUT=1000))T_SMP_MS=$(T_SMP_MS=1000)/TYPE=${DTYP=asynInt8ArrayOut}/plugin.can.dev${DEV_ID}.pdo.${source=value}=")
field(FTVL, "${FTVL=CHAR}")
field(NELM, "${NELM=1024}")
field(SCAN, "Passive")
field(TSE, "0")
}