Create Control System - checkpause

Modular checkpause function for control system