New to me CNC toy mill - Taig

More
25 Mar 2019 12:07 #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)

Please Log in or Create an account to join the conversation.

More
26 Mar 2019 15:19 - 26 Mar 2019 15:20 #129696 by andypugh

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
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
Last edit: 26 Mar 2019 15:20 by andypugh.

Please Log in or Create an account to join the conversation.

Moderators: cncbasher
Time to create page: 0.078 seconds
Powered by Kunena Forum