April-28th-2020, 12:53 PM
I mean the python software driver you are using right now.
And yes I expected it will work in rtu-buffered mode only ... this is exactly what I was writing in one of my previous posts where I was analysing what exactly this buffered node.js code is doing.
And my result after examination was that based on the code I see the "buffered" software waits for a complete Modbus RTU receive message and is buffering it while it is incomplete and only sends back a complete message back to the application. And this was the reason for me asking you if python does it the same. You answered "No, probably not.". I share your opinion without looking into the python coding.
Does the the ModbusClient() function you are calling has more than just the "timeout" value as parameter, for examplean "inter-character-timeout" that usually defines how long to wait between the single characters in a stream after a start character has been detected? I can't answer since I don't know the API.
Thx
Armin
And yes I expected it will work in rtu-buffered mode only ... this is exactly what I was writing in one of my previous posts where I was analysing what exactly this buffered node.js code is doing.
And my result after examination was that based on the code I see the "buffered" software waits for a complete Modbus RTU receive message and is buffering it while it is incomplete and only sends back a complete message back to the application. And this was the reason for me asking you if python does it the same. You answered "No, probably not.". I share your opinion without looking into the python coding.
Does the the ModbusClient() function you are calling has more than just the "timeout" value as parameter, for examplean "inter-character-timeout" that usually defines how long to wait between the single characters in a stream after a start character has been detected? I can't answer since I don't know the API.
Thx
Armin
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)