Skip to content
This repository has been archived by the owner on Apr 7, 2019. It is now read-only.

Macro Miss-behaving. #55

Open
wlaw opened this issue Mar 20, 2016 · 3 comments
Open

Macro Miss-behaving. #55

wlaw opened this issue Mar 20, 2016 · 3 comments
Milestone

Comments

@wlaw
Copy link

wlaw commented Mar 20, 2016

So I use this G-Code in a macro.
G90
G21
$H
M00
G92 Z0
G01 Z-20 F1000
F500
G38.2 Z-60
G92 Z0
G01 Z5
F50
G38.2 Z-7
G92 Z6.6
G01 Z30 F1500
G53 X-708 Y-1463.7 F4000
G92 X0 Y0

On the last line, the G92 dont set my X0 Y0.

On my very next move I receive a error Invalid gcode ID:24

If I load the G-Code as a file, it works great.

What do you think that could be.

@gerritv
Copy link
Owner

gerritv commented Mar 20, 2016

Mnn, I know that I still need to implement some kind of 'wait for ok' on the macro stream, it presently uses the MDI mechanism which just hoses the commands to Grbl. Wonder if G53 access EEPROM (not mentioned in the list on the Grbl wiki).
Can you try adding an M0 after the G53? You will have to Start to continue.

@wlaw
Copy link
Author

wlaw commented Mar 21, 2016

I shortened the code and it seems fine. Instead of changing speeds so many
times. I use F2500 for both F1500 and F4000 mm per min.

Is it possible there is a limit to the length of the macro?

Thanks
Bill
On Mar 20, 2016 4:34 PM, "Gerrit Visser" [email protected] wrote:

Mnn, I know that I still need to implement some kind of 'wait for ok' on
the macro stream, it presently uses the MDI mechanism which just hoses the
commands to Grbl. Wonder if G53 access EEPROM (not mentioned in the list on
the Grbl wiki).
Can you try adding an M0 after the G53? You will have to Start to continue.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#55 (comment)

@gerritv
Copy link
Owner

gerritv commented Mar 21, 2016

Yes, that is a definite possibility and related to my not waiting for on Ok before sending out the next line. I will start looking at a solution now that the issue has really popped up.

@gerritv gerritv added this to the V1.1.0.0 milestone Aug 20, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants