You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Proposition rejeté, les différents champs OUT et INP sont différents en fonction des types et il faut aussi au moins le DTYP et tu noteras que pour le waveform par exemple ce n'est pas asynMask, mais asyn
A appeler epics.record.[type].modbus ou du genre
record(longout, "$(SIGNAL)") {$(PORT) $ (OFFSET=0))MODBUS_DATA")
field(DTYP,"asynInt32")
field(INP,"@ASYN(
}
record(ai, "$(SIGNAL)") {$(PORT) $ (OFFSET) $(NBITS))MODBUS_DATA")$(PORT) $ (OFFSET) $(NBITS))MODBUS_DATA")$(PORT) $ (OFFSET) $(MASK))")$(PORT) $ (OFFSET) $(MASK))")$(PORT) $ (OFFSET) 0xFFFF)")$(PORT) $ (OFFSET) 0xFFFF)")$(PORT) $ (OFFSET) 0xFFFF)")$(PORT) $ (OFFSET) 0xFFFF)")
field(DTYP,"asynInt32")
field(INP, "@asynMask(
field(LINR,"$(LINR=LINEAR)")
field(EGUL,"$(EGUL)")
field(EGUF,"$(EGUF)")
field(EGU, "$(EGU)")
field(HOPR,"$(EGUF)")
field(LOPR,"$(EGUL)")
field(PREC,"$(PREC)")
field(SCAN,"$(SCAN)")
}
record(ao, "$(SIGNAL)") {
field(DTYP,"asynInt32")
field(OUT, "@asynMask(
field(LINR,"$(LINR=LINEAR)")
field(EGUL,"$(EGUL)")
field(EGUF,"$(EGUF)")
field(EGU, "$(EGU)")
field(HOPR,"$(DRVH)")
field(LOPR,"$(DRVL)")
field(DRVH,"$(DRVH)")
field(DRVL,"$(DRVL)")
field(PREC,"$(PREC)")
}
record(bi,"$(SIGNAL)") {
field(DTYP,"asynUInt32Digital")
field(INP, "@asynMask(
field(SCAN,"I/O Intr")
field(ZNAM,"$(ZNAM=OFF)")
field(ONAM,"$(ONAM=ON)")
}
record(bo,"$(SIGNAL)") {
field(DTYP,"asynUInt32Digital")
field(OUT, "@asynMask(
field(ZNAM,"$(ZNAM=OFF)")
field(ONAM,"$(ONAM=ON)")
field(HIGH,"$(HIGH=0)")
}
record(mbbi,"$(SIGNAL)") {
field(DTYP,"asynUInt32Digital")
field(INP, "@asynMask(
field(SCAN,"I/O Intr")
}
record(mbbiDirect,"$(SIGNAL)") {
field(DTYP,"asynUInt32Digital")
field(INP, "@asynMask(
field(SCAN,"I/O Intr")
}
record(mbbo,"$(SIGNAL)") {
field(DTYP,"asynUInt32Digital")
field(OUT, "@asynMask(
}
record(mbboDirect,"$(SIGNAL)") {
field(DTYP,"asynUInt32Digital")
field(OUT, "@asynMask(
}
//A tester$(PORT) $ (OFFSET=0))MODBUS_DATA")$(PORT) $ (OFFSET=0))MODBUS_DATA")
record(waveform, "$(SIGNAL)") {
field(DTYP,"asynInt32ArrayOut")
field(INP,"@ASYN(
field(FTVL,"LONG")
field(NELM,"$(NELM)")
}
record(longout, "$(SIGNAL)LONG") {
field(DTYP,"asynInt32")
field(INP,"@ASYN(
}
The text was updated successfully, but these errors were encountered: