f1oat / LDuino

Ladder logic PLC software for Arduino - Compatible with LDmicro Ladder logic editor
19 stars 6 forks source link

Controllino MEGA #1

Open iridiu opened 6 years ago

iridiu commented 6 years ago

Hi, I'm using this library as a Modbus bridge to read registers from a Schneider energy meter (the only one which is working for me) on RS485 serial port and I have a little issue... Most of the registers readings are correct (Float32), but few of the registers are NaN or the values of the registers are [0, 65472] and I don't know why...

f1oat commented 6 years ago

Hello, you can try with the new release. I have fixed lot of issues around modbus communication, mostly linked to bad IRQ management.

iridiu commented 6 years ago

The bridge side of your software seems to work in my case, but for some registers I still get unexpected data, maybe is because of offset? https://www.schneider-electric.se/en/faqs/FA221252/ I'm reading from a Schneider power meter with Controllino MEGA