this is my code for reading and writing using MESAMBCCC
I can read and write data without problem in case i use one register but when i try to write on a multiple registers i faced a lot of problems i captured some of them on the attachments
<?xml version="1.0" encoding="UTF-8"?>
<mesamodbus baudrate="115200" parity="E" stopbits="1">
<devices>
<device address="0x02" name="mrje70a"/>
</devices>
<initlist>
</initlist>
<commands>
<command device="mrje70a" modbustype="U_AB" haltype="HAL_U32" function="R_REGISTERS" address="0x6099" count ="5" name="homingread"/>
<command device="mrje70a" function="W_REGISTERS" modbustype="U_AB" haltype="HAL_U32" address="0x6099" count="5" name="hommingwrite"/>
<!--<command device="mrje70a" function="W_REGISTERS" address="0x6099" >
<pin name= "hnumentries" modbustype="U_AB" haltype="HAL_U32" value="02"/>
<pin name= "hspeedss" modbustype="U_CDAB" haltype="HAL_U32"/>
<pin name= "hspeedsz" modbustype="U_CDAB" haltype="HAL_U32"/>
</command>-->
</commands>
</mesamodbus>