Re: Taig CNC-Controller Replacement-Dynomotion Suggestion
[QUOTE=TomKerekes;2388452]Hi Pete,
A following error occurs whenever the commanded Destination is different from the measure Position by more than the Max Following Error limit.
The Enable command in the Init file:
EnableAxisDest(0,0);
.......
#2 - Enable the axis setting the commanded Destination to be where the Axis happens to be with EnableAxisDest(0,ch0->Position). ......
HTH[/QUOTE]
Thanks Tom ... This worked... as you knew it would.
....
....
Re: Taig CNC-Controller Replacement-Dynomotion Suggestion
Hi Pete,
Thanks for taking the time to post back.
3 Attachment(s)
Re: Taig CNC-Controller Replacement-Dynomotion Suggestion
...
....
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.
[ATTACH=CONFIG]446806[/ATTACH]
[ATTACH=CONFIG]446808[/ATTACH]
[ATTACH=CONFIG]446810[/ATTACH]
Re: Taig CNC-Controller Replacement-Dynomotion Suggestion
Hi Peter,
I don't see the C Program.
Is the C Program setting the bit as an output? With
SetBitDirection(35,1);
1 Attachment(s)
Re: Taig CNC-Controller Replacement-Dynomotion Suggestion
[QUOTE=TomKerekes;2394140]Hi Peter,
I don't see the C Program.
Is the C Program setting the bit as an output? With
SetBitDirection(35,1);[/QUOTE]
I don't know why my C-Code didn't show. But I attached the a Zip file with my three files.
I thought the SetBit (35) should turn a bit on.
.....
....
Re: Taig CNC-Controller Replacement-Dynomotion Suggestion
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.