SDO write tested.

This commit is contained in:
Anders Sandstrom
2021-03-11 16:59:52 +01:00
parent 1b88210a60
commit e5f696a1eb
5 changed files with 26 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
file "ecmcPluginSocketCAN_SDO.template"
file "ecmcPluginSocketCAN_SDO_input.template"
{
pattern {CH_ID, DEV_ID, NELM, suffix, source, DTYP, FTVL }
{03, 3, 28, SDO01-Array, analogValues1, asynInt16ArrayIn, SHORT}

View File

@@ -0,0 +1,11 @@
# Data source: plugin.can.dev3.sdo.analogValues4
record(waveform,"$(P)CAN${CH_ID}-${suffix=}"){
info(asyn:READBACK,"1")
field(DESC, "SDO Data")
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}.sdo.${source=value}=")
field(FTVL, "${FTVL=CHAR}")
field(NELM, "${NELM=1024}")
field(SCAN, "Passive")
field(TSE, "0")
}