@T3P3Tony No, unfortunately, that option is not valid..
Perhaps my explanation was not very clear, but what I need is that for every single movement made by any of the motors being controlled, a logical "1" signal is generated exactly when that movement has finished, and then it must return to "0". The idea is to capture this signal with another data acquisition board to which various sensors are connected.
Thank you so much by the way