Below is the correct db that can read hour from the device:
field(INP, "@asynMask($(PORT) 68 16)MODBUS_DATA")
now, I want to set new hour to the device and I try to write the following db according to Analog Output Example Record from "asynDriver: Asynchronous Driver Support" manual:
field(OUT, "@asyn($(PORT), 68)")
however, I failed, epics gives the following error messages:
drvModbusAsyn::writeInt32 port RD1R invalid request for Modbus function 3
Gamma:01:HourValSET devAsynInt32 process error
Could anyone give me some suggestions and thanks in advance !