Search found 2 matches

by CA Allen
Wed Jun 19, 2024 6:21 pm
Forum: Hardware Interface Issues
Topic: Laser Power
Replies: 1
Views: 2353

Laser Power

Hi Tom, I'm trying to designate the spindle speed in my c programs to control the power of my laser via pmw. I've edited the scale factor to 13, to give 5khz, but I'm not sure on the code or where to put it to make it synchonize with the trajectory plotter in the tool setup screen. I'm trying to cod...
by CA Allen
Sun Jun 16, 2024 10:51 pm
Forum: Hardware Interface Issues
Topic: Estop Code
Replies: 1
Views: 2297

Estop Code

TK I have my NC estop button to kflop's j7 pin12 bit 5 pin, and I'm not sure why this code does not work. #define Estop 5 .... Main{ if (!ReadBit(Estop)) { SetBit(Estop); if (ch0->Enable)DisableAxis(0); if (ch1->Enable)DisableAxis(1); if (ch2->Enable)DisableAxis(2); if (ch3->Enable)DisableAxis(3); }