I have a custom built machine which uses compumotor SX6 stepper drives to move a stage. Sometimes this machine hangs and I would like to generate a signal (audible, email, etc) when the machine is idle for more than 15 minutes or so (ie: the stage is not moving). I figure I can use Compumotor output to trigger an alarm, but what X code commands can I use to detect activity?