// include the XC header file to define all register and bit names
#include <xc.h>

PTGEN = 1;     // enables the PTG Module
PTGEN = 0;     // disables the PTG Module
PTGSTRT = 1;   // starts Step command executions
PGTSTRT = 0 ;  // stops execution