Where do I find the corresponding G-code for Linuxcnc component

More
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


 

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

More
10 Nov 2021 09:52 #225947 by andypugh
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 )
The following user(s) said Thank You: PhilipME

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

More
10 Nov 2021 11:44 #225962 by PhilipME
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
 

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

More
10 Nov 2021 12:05 #225965 by rodw
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
The following user(s) said Thank You: PhilipME

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

More
10 Nov 2021 14:36 - 10 Nov 2021 14:36 #225989 by Michael
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
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.

More
10 Nov 2021 16:20 #226003 by andypugh
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
The following user(s) said Thank You: PhilipME

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

More
11 Nov 2021 02:39 #226056 by PhilipME
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

 
The following user(s) said Thank You: Michael

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

Time to create page: 1.802 seconds
Powered by Kunena Forum