SML comms with TUF2000M seem incorrect #23093
-
Trying to pull registers from TUF-2000M ultrasonic flow meter, and having issues. Comms are normal 9600 8N1. I have it connected via software serial on gpio5 and 4. Script is as follows:
And the comms I get from the unit are as follows:
Example 1: When the unit responds to my request of While there are values being returned, they don't make sense and scripting isn't transferring them into the GUI. Example 2: register 221 (0xDD) is pipe inner diameter, which is entered in the unit as 97mm. Value returned is Any ideas on where I should be looking? A source online indicated that feeding the unit with 24v is necessary (although it says it can accept 9v-36v) for Modbus to work. I've tried at 19.5v and 9v, same result. When I switch to hardware serial GPIO3 and 1, I get no response in Tasmota console:
but RS485 adapter is blinking Tx and Rx. Another thread indicated that this unit replies back with the command received. EDIT Reduced comms rate to 2400bps and responses became normal. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
New problem, everything is working correctly except reading sml[1]. SML dump shows correct value is received:
|
Beta Was this translation helpful? Give feedback.
-
If I add another meter line at the end, it captures the value correctly:
|
Beta Was this translation helpful? Give feedback.
If I add another meter line at the end, it captures the value correctly: