Run Mesa 7i76e + 7i85 with 3 servos and 1 stepper motor

More
4 years 7 months ago - 4 years 7 months ago #238785 by MarcusM

What is the M13 macro for?

The M13 macro is for homing/referencing the carousel. Please find enclosed the latest version
Last edit: 4 years 7 months ago by MarcusM.

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

More
4 years 7 months ago #238791 by MarcusM

Did it give a line number? Have you attached the file somewhere (I can't look back in the thread inside this stupid editor)

The macro which causes the error is quite short:
Code:
(author: Chris P) (version: 0.1) (date: 02/8/20) ; ; last edit 250322/mm ; (debug, o<store_tool_in_carousel>) o<store_tool_in_carousel> sub     G49     T0 M6 o<store_tool_in_carousel> endsub M2 (end program)

Obviously, the call T0 causes the error.

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

More
4 years 7 months ago #238795 by andypugh

The M13 macro is for homing/referencing the carousel. Please find enclosed the latest version

I don't understand why you can't use the built-in homing in the carousel component?

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

More
4 years 7 months ago #238798 by MarcusM
The M13 macro comes with your carousel-example in github. There a no changes from me (only the pins has been modified)

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

More
4 years 7 months ago #238801 by andypugh
Where on github? I don't recognise it.

There is this: github.com/LinuxCNC/linuxcnc/blob/master...hange/toolchange.ngc

But that is different, and does the whole sequence.

I suspect that you have found a G-code routine that the carousel component is designed to completely replace....

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

More
4 years 7 months ago #238807 by MarcusM
Oh cheese. Well...I think, I have to sort my stuff here. I'am sure, I found this example environment on github too (in combination with the probe_basic screenset)

So github.com/LinuxCNC/linuxcnc/blob/master...hange/toolchange.ngc is the correct source and I can sattle up on that?

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

Moderators: PCW, jmelson
Time to create page: 0.249 seconds
Powered by Kunena Forum