Logic Machine Forum
Modbus communication error via Mapper - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10)
+--- Thread: Modbus communication error via Mapper (/showthread.php?tid=3568)



Modbus communication error via Mapper - p_xatzi - 20.09.2021

Hi,

I have a Modbus RTU Power Meter (Delta DPM C520).

I have set physical communication correctly but I cannot implement communication via Mapper.

I have tried all sort of combinations for profile but result is still 0.00 for all values.

I have also restarted the device.

The device is a Reactor V3 with firmware Version: 20200720.

Can you please help?

I attach some files and a part of the profile that should work.

Thanks in advance


RE: Modbus communication error via Mapper - admin - 20.09.2021

In read test you are using address 256 while in profile you have 40256. Try removing "40" part of the address in your profile.


RE: Modbus communication error via Mapper - p_xatzi - 20.09.2021

(20.09.2021, 15:33)admin Wrote: In read test you are using address 256 while in profile you have 40256. Try removing "40" part of the address in your profile.

Hi admin,

You were right.

However, it didn' t work right away.

Then, I tried removing fix Object mapping and I got readings.

Then I used profile with fix Object mapping and then it worked.

Do you have any idea why that might have happened?

Anyway, thanks for the help!

Hi,

Sorry to bother again but there is another case of this issue.

See frequency in attached files.

I attach the latest profile.

Thanks.

---

Finally, I found the solution. I had to change "Value send delta"...

In "Modbus profile description" we read:
"New value is sent when the difference between previously sent value and current value is larger than delta. Defaults to unset, send on any value changed"

Why did I had to change value?

I use a "automatic" way to create profiles. What should be the value of "value_delta" field to be set to default, that is to be send on any value change?

Thanks in advance!


RE: Modbus communication error via Mapper - p_xatzi - 20.09.2021

Hi,

I still have issues.

Please see video in the link below.
https://www.dropbox.com/s/geungjs90f8hhyn/ISSUE%20RECORDING.mp4?dl=0

I attach the relevant .json files

Thanks!

-----

Just found out the mistake. A simple misspelling

"unit16" instead of "uint16"...

Funny think I had used "Data Validation"...

Thank you and sorry for the confusion!


RE: Modbus communication error via Mapper - admin - 21.09.2021

The latest firmware has built-in profile validation: