Skip to main content



      Home
Home » Eclipse Projects » Kura » Modbus TCP Problems with string reading
Modbus TCP Problems with string reading [message #1791150] Mon, 25 June 2018 04:14 Go to next message
Eclipse UserFriend
Hi all,
I'm having troubles with the reading of strings with the Modbus driver. Modbus works with memory cells of 16 bits, so there are 2 chars each cell.
The problem is that chars in the string readed are swapped: if the original string is ABCD, I read BADC. I have read that the protocol works in this way and the slave have to swap the chars while reading. Obviously i noticed the data.order field, but it doesn't works; i tried all the orders (LSB, LSW, MSB, MSW) but nothing changes.
How can i solve this? Have i to swap manually chars on my own?
Re: Modbus TCP Problems with string reading [message #1801301 is a reply to message #1791150] Wed, 16 January 2019 05:51 Go to previous message
Eclipse UserFriend
Could you provide the configuration you are using to get the BADC string?
Previous Topic:How to create customized kura components and use them in Wire graph
Next Topic:MQTT Request/Response in camel
Goto Forum:
  


Current Time: Sat Jun 21 01:49:04 EDT 2025

Powered by FUDForum. Page generated in 0.06077 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top