- Posts: 17524
- Thank you received: 0
New to me CNC toy mill - Taig
7 years 7 months ago #129563
by PCW
Replied by PCW on topic New to me CNC toy mill - Taig
What does the error window say?
Usually LinuxCNC will report the exact line in hal where it has a problem
(though with RTAI based version you may need to look at the kernel log (via dmesg) to see the error)
Usually LinuxCNC will report the exact line in hal where it has a problem
(though with RTAI based version you may need to look at the kernel log (via dmesg) to see the error)
Please Log in to join the conversation.
7 years 7 months ago #129696
by andypugh
There is, you need to read what the error window says and address the issues one by one.
Look past the first section of the error listing, you are looking for something like
"ERROR: On line 325 of my-not-very-functional-toy-mill.hal some.pin-that-has-been.spelt-worngly does not exist"
At various points in your HAL file you want the following things
Replied by andypugh on topic New to me CNC toy mill - Taig
Vinito wrote: pops up the error window instead.
I wish there was a systematic way to work this out.
There is, you need to read what the error window says and address the issues one by one.
Look past the first section of the error listing, you are looking for something like
"ERROR: On line 325 of my-not-very-functional-toy-mill.hal some.pin-that-has-been.spelt-worngly does not exist"
At various points in your HAL file you want the following things
Code:
loadrt stepgen ctrl_type=p,p,p,p,v
...
setp stepgen.3.position-scale 1000 (vary this number to make commanded RPM = actual RPM)
...
net spindle-speed motion.spindle-speed-out-rps => stepgen.3,velocity-cmd
...
setp stepgen.3.enable 1
setp stepgen.3.steplen 10000
setp stepgen.3.stepspace 10000
Please Log in to join the conversation.
Time to create page: 0.224 seconds
