I'm having trouble getting the pulse and direction signals working on my machine. I have a CNC gantry router with clearpath motors. I am using CNC4PC C68 connector board on my Kflop to connect to the UCBB break out board which is also from CNC4PC. I can get the machine on, initialize and home it, but the enable won't turn on. Once the machine is done homing, it essentially does nothing. If I don't setup the motors in the c program, then I can use the kmotion software to toggle the enable. But when the c program includes the motor setup you can't use the software to force the enable on.

I attached my C program for Initializing. What am I doing wrong?