Can you not just check for jammed gears after the gear change?
If you first change gears and there is no timeout, then check for jammed gears.
Or does it check for jammed gears while it is changing gears?
If so, you could set something in the PLC Script up....
If it is in a gear change routine, set a flag (I use # variables) to 1 and in your PLC script, if that flag is set to 1 then check for the jammed gears signal... if it goes true (jammed gears) then initiate an e stop and set a message flag. From there, just let the macro signal wait timer timeout and then call a macro stop and a message based on either jammed gears or just a timeout.