Hi Pete,
Thanks for taking the time to post back.
TK
http://dynomotion.com
...
....
Question: Why won't SetBit (35); in my M03_Taig.c file turn on my spindle when I run NC Code?
It will work if I manually turn it on at the digital I/O screen.
I attached the C-Code I am trying to run.
Attachment 446806
Attachment 446808
Attachment 446810
Hi Peter,
I don't see the C Program.
Is the C Program setting the bit as an output? With
SetBitDirection(35,1);
TK
http://dynomotion.com
Hi Peter,
Cnczone doesn't allow .c files. You can add a .txt extension or zip it as you did.
SetBit() will set a bit but it must be configured as an output first. I don't see its direction ever configured. By default bits are inputs. Add the SetBitDirection(35,1); to your Initialization program.
TK
http://dynomotion.com