Adding a linefeed to a gcode line

More
1 year 9 months ago #318182 by sajurcaju
F-engrave allows the user to add a one line header. I want to have two pieces of gcode added:
G64 P0.001 and G4 P3
The three second delay is the ramp up time on my spindle.

Including both on the one line allowed results in an Axis error, it says I can't have multiple P words on the same line.
I tried inserting /n (and \n) in between; Axis complains about the slash.

Is there some other way to get Axis to interpret a single line of gcode as two lines, or to allow two P words?

Thanks!

Please Log in to join the conversation.

More
1 year 9 months ago #318204 by Aciera
One solution would be to put those lines in a subroutine and insert the subroutine call into F-engrave.

Please Log in to join the conversation.

More
1 year 9 months ago #318206 by phillc54
Does the pipe character create a new line?
Code:
G64 P0.001 | G4 P3

Please Log in to join the conversation.

More
1 year 9 months ago #318214 by sajurcaju
Nice idea, but it still says "bad character"

Please Log in to join the conversation.

More
1 year 9 months ago #318268 by phillc54
It works for me in master branch on the axis_mm sim using f-engrave 1.75
 

Please Log in to join the conversation.

More
1 year 9 months ago #318269 by sajurcaju
Weird. I tried it as you wrote, with just the G64/G4 on one line (other commands removed). I still get the error. I'm using Axis 2.8.4-76-g6082f1df7.

Aciera, I will try the subroutine and report back when I get a chance.

Please Log in to join the conversation.

Time to create page: 0.077 seconds
Powered by Kunena Forum