Does this change the state of the selected pin only while extruding or does it also trigger while retracting? If so, I assume it triggers when unretracting? If only when extruder going forward, what is worst case timing between motor and pin state changes?