- Posts: 175
- Thank you received: 0
Where do I find the corresponding G-code for Linuxcnc component
4 years 11 months ago #225947
by andypugh
Replied by andypugh on topic Where do I find the corresponding G-code for Linuxcnc component
Can you explain the question a bit more?
All the G-codes are explained here, but I don't think that is what you are asking?
linuxcnc.org/docs/2.8/html/gcode.html
(also in other languages:
linuxcnc.org/docs/2.8/html/gcode_es.html
linuxcnc.org/docs/2.8/html/gcode_fr.html
linuxcnc.org/docs/2.8/html/gcode_vi.html )
All the G-codes are explained here, but I don't think that is what you are asking?
linuxcnc.org/docs/2.8/html/gcode.html
(also in other languages:
linuxcnc.org/docs/2.8/html/gcode_es.html
linuxcnc.org/docs/2.8/html/gcode_fr.html
linuxcnc.org/docs/2.8/html/gcode_vi.html )
Please Log in to join the conversation.
4 years 11 months ago #225962
by PhilipME
Replied by PhilipME on topic Where do I find the corresponding G-code for Linuxcnc component
Thanks Andy
I am studying the hal for the last few days while waiting for the vfd and other hardware delivery.
I think I have to spend more time to be able to ask questions that make sense.
The link you posted has a column that list the G-code, is there exist a table where a second column that show elements like motion.digital-out-00 next to the g-code , so I know that to change the state of motion.digital-out-00, I need to execute M64/M65
If the question still does not make sense, it means I still have to spend quality time studying to be able to ask the correct question.
Many thanks
Philip
I am studying the hal for the last few days while waiting for the vfd and other hardware delivery.
I think I have to spend more time to be able to ask questions that make sense.
The link you posted has a column that list the G-code, is there exist a table where a second column that show elements like motion.digital-out-00 next to the g-code , so I know that to change the state of motion.digital-out-00, I need to execute M64/M65
If the question still does not make sense, it means I still have to spend quality time studying to be able to ask the correct question.
Many thanks
Philip
Please Log in to join the conversation.
4 years 11 months ago #225965
by rodw
Replied by rodw on topic Where do I find the corresponding G-code for Linuxcnc component
If you follow the link for your m code you should get the detail
linuxcnc.org/docs/2.8/html/gcode/m-code.html#mcode:m62-m65
Also look at M67 and M68 a bit further down
linuxcnc.org/docs/2.8/html/gcode/m-code.html#mcode:m62-m65
Also look at M67 and M68 a bit further down
Please Log in to join the conversation.
4 years 11 months ago #225989
by Michael
Replied by Michael on topic Where do I find the corresponding G-code for Linuxcnc component
The M64/65 is the g code. In hal you will need to tie that to an output or input for it to work.
Net table-clamp motion.digitial-out-00 => hm2_7i92.0.7i77.0.0.output-15
When you have in your g code::
M64 P0
It will activate the table clamp via that output
Net table-clamp motion.digitial-out-00 => hm2_7i92.0.7i77.0.0.output-15
When you have in your g code::
M64 P0
It will activate the table clamp via that output
Please Log in to join the conversation.
4 years 11 months ago #226003
by andypugh
Replied by andypugh on topic Where do I find the corresponding G-code for Linuxcnc component
Most G-codes do not directly drive HAL pins.
M3 / M4 / M5 control the spindle.N... pins
M19 also has pins for each spindle.
documented here: linuxcnc.org/docs/2.8/html/man/man9/motion.9.html
M7 / M8 / M9 control coolant:
M6 controls tool-change pins
linuxcnc.org/docs/2.8/html/man/man9/motion.9.html
M3 / M4 / M5 control the spindle.N... pins
M19 also has pins for each spindle.
documented here: linuxcnc.org/docs/2.8/html/man/man9/motion.9.html
M7 / M8 / M9 control coolant:
M6 controls tool-change pins
linuxcnc.org/docs/2.8/html/man/man9/motion.9.html
Please Log in to join the conversation.
4 years 11 months ago #226056
by PhilipME
Replied by PhilipME on topic Where do I find the corresponding G-code for Linuxcnc component
thank you all for the support
I am reading everyday. Was able to execute few examples, hopefully when the hy-vfd arrives, it will look familiar.
The replies above where very helpful.
Thanks
Philip
I am reading everyday. Was able to execute few examples, hopefully when the hy-vfd arrives, it will look familiar.
The replies above where very helpful.
Thanks
Philip
Please Log in to join the conversation.
Time to create page: 0.104 seconds
