FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
309 views 2 comments
by anonymous
Hello,

I'm using a TRB140 gateway to collect Modbus TCP data and publish it to MS Azure. The test setup works fine, meaning that I can read Modbus data from the master and I see it arriving in MS Azure IOT hub. But this is when reading 16bit INT's and I need to read 32bit floats. So I configured the TRB140's Modbus TCP Master 'request configuration' to read floats. When I use the test button, the Modbus value is read correctly. However, Azure recieves value 0.0.

So transmitting INT's to Azure works OK, but floats doesn't work. What could I've done wrong here??

Thank you in advance!

1 Answer

0 votes
by anonymous

Hello, 

For this issue of yours, you can try following this testing manual to make sure everything is set up correctly. 

Link for the manual: https://we.tl/t-jp7fJG72V5 -> This one is for RUT955 but the config is the same as TRB140

Focus on this configuration inside the manual: Setting Modbus Data to Server to Azure IoT Hub

If the issue still persists let me know. 

Regards.
Mellow

by anonymous
Hello

Could you send the example again or do you have a example with azure