I’m using a TRex dual motor controller in serial mode to drive two linear actuators with built in limit switches. Just to clarify, when they are fully retracted or extended they automatically switch off. So I was trying to use the current reading from the controller to detect these states. I’m using the compact protocol(0x8D, 0x8E), querying the controller every second. This seems to work fine, but when the actuator stops I keep receiving a current readind for quite some time until it gives the real value. I then activate the second motor and the reading I get stays at zero for some time and only then outputs the real value. It seems like it’s emptying some buffer.
Does any one have some idea?