g76 code or g33

More
08 May 2012 13:58 #19930 by protomachine
Replied by protomachine on topic Re:g76 code or g33
I have attached the portion of my hal file that deals with spindle. I am not seeing anything with a " near scaling" statement. Does anything stand out to anybody? Thanks for the help.

File Attachment:

File Name: kr_lathe.hal
File Size:6 KB
Attachments:

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

More
08 May 2012 15:49 #19934 by andypugh
Replied by andypugh on topic Re:g76 code or g33
I am confused by the lack of "loadrt hostmot2" and "loadrt hm2_pci..." but I assume they are in a separate HAL file?
Also, there is no need to addf the 5i20 read_gpio and write_gpio threads, in fact you shouldn't do that unless you have a fast thread and need to write them in that. (your current HAL file is writing the GPIO twice, as the plain ...read and ..write also read/write the GPIO)

You don't have anything connected, in that HAL file, to motion.spindle-at-speed, so AFAIK threading etc should just happen.

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

More
04 Feb 2013 02:54 #29527 by nkp
Replied by nkp on topic g76 code or g33
Hi.
This question:
are there any plans of developers
thread cutting with variable pitch in Linuxcnc (G76)

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

More
04 Feb 2013 05:12 #29531 by andypugh
Replied by andypugh on topic g76 code or g33

are there any plans of developers
thread cutting with variable pitch in Linuxcnc (G76)

I don't know, but I doubt it.

It would be wrong to imagine that there is a master-plan for LinuxCNC, or even a list of planned new features. Things tend to happen only when someone wants them.

Why do you want variable-pitch?

You may be able to do what you want inside the existing capability:

(There is a link to further details of how it was done)

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

More
04 Feb 2013 05:44 #29534 by nkp
Replied by nkp on topic g76 code or g33
master-plan for LinuxCNC :)
I would very much like to do - but I do not know C

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

More
04 Feb 2013 17:55 - 04 Feb 2013 17:57 #29554 by andypugh
Replied by andypugh on topic g76 code or g33

master-plan for LinuxCNC :)
I would very much like to do - but I do not know C

That's no excuse, I had never used C (or any programming language other than VBA) when I decided to add support for the three-phase PWMs in Hostmot2. :-)

Anyway, will jmk's approach to variable-pitch threading work for you?
Last edit: 04 Feb 2013 17:57 by andypugh.

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

Time to create page: 0.188 seconds
Powered by Kunena Forum