Experimental Physics and
| |||||||||||||||||
|
But I have some questions about modbus datatypes and ASyn interface types: 1. Does the modbus enumeration type start at 0 or 1? Rval is also incorrect when we try to set modbus data type to 0x8. drvModbusAsynConfigure("MOXA_E1242_In_Word", "moxa", 255, 4, 0x208, 0x8, 0x8, 2000, "moxa E1242") 2. AsynFloat32 type not found, Only asynFloat32Array was found,Can I use it to read 4-byte float values? Rval is also incorrect when trying to set DTYP to asynFloat32Array. record(ai, "$(P)$(R)_AI") { field(DTYP,"asynFloat32Array") field(INP,"@asynMask($(PORT) $(OFFSET) $(BITS))MODBUS_DATA") field(LINR,"LINEAR") field(EGUL,"$(EGUL)") field(EGUF,"$(EGUF)") field(HOPR,"$(EGUF)") field(LOPR,"$(EGUL)") field(PREC,"$(PREC)") field(SCAN,"$(SCAN)") } -----原始邮件----- --
祝好!
高振华
电话:010-88235426
Email:gaozh at ihep.ac.cn
| ||||||||||||||||
ANJ, 19 Nov 2021 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |