Modbus RTU Communication with 3G3MX2-A4007-V2

I tried to change frequency of Inverter 3G3MX2 via Modbus RTU, I learn in the past that I need to use LibDRVmbus library to communicate with it, here are my master program:
Init:

Cyclic:

datamod:

3G3MX2 datasheet:

It seems there’s nothing wrong when I try to run it, but the data won’t send and receive, is there anything that I need to fix?

Writing:

Reading:

as we can see the LocalPV3 is not reading the value, is there anything that I did wrong?

There is an issue with you data module. You are using . where it should : for the variables. So LibDRVmbus.EventPV4 should be LibDRVmbus:EventPV4. Change that for all variables.

1 Like