Where do I find the corresponding G-code for Linuxcnc component
10 Nov 2021 08:09 #225935
by PhilipME
For example
motion.digital-out-00 can be triggered by M64 and M65
I will appreciate the slightest hint
Best regards
Philip
motion.digital-out-00 can be triggered by M64 and M65
I will appreciate the slightest hint
Best regards
Philip
Please Log in or Create an account to join the conversation.
10 Nov 2021 09:52 #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 )
The following user(s) said Thank You: PhilipME
Please Log in or Create an account to join the conversation.
10 Nov 2021 11:44 #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 or Create an account to join the conversation.
10 Nov 2021 12:05 #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
The following user(s) said Thank You: PhilipME
Please Log in or Create an account to join the conversation.
10 Nov 2021 14:36 - 10 Nov 2021 14:36 #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
Last edit: 10 Nov 2021 14:36 by Michael.
The following user(s) said Thank You: PhilipME
Please Log in or Create an account to join the conversation.
10 Nov 2021 16:20 #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
The following user(s) said Thank You: PhilipME
Please Log in or Create an account to join the conversation.
11 Nov 2021 02:39 #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
The following user(s) said Thank You: Michael
Please Log in or Create an account to join the conversation.
Time to create page: 0.113 seconds