Need help with PP

Need help with PP

dratovka
Explorer Explorer
480 Views
1 Reply
Message 1 of 2

Need help with PP

dratovka
Explorer
Explorer

Hi, need help 

in my PP, need repeat G00 or G01 for every line !

example:

N13 G00 X9.8
N14 G01 Z-15.603 F0.12
N15 X10.594 Z-16.
N16 X11.8
N17 X13.8 Z-15.
N18 G00 Z0.554
N19 G00 X7.8  / all  OK
N20 Z-8.603 F0.12    //  G01 missing, its very problem machine go 1,8 mm/ rev.
N21 X7.954 Z-8.68
N22 X8.155 Z-8.789
N23 X8.335 Z-8.907
N24 X8.494 Z-9.032
N25 X8.631 Z-9.164
N26 X8.745 Z-9.301
N27 X8.834 Z-9.442
N28 X8.898 Z-9.587
N29 X8.937 Z-9.734
N30 X8.95 Z-9.882
N31 Z-15.6
N32 X9.794
N33 X9.8 Z-15.603
N34 X11.8 Z-14.603
N35 G00 Z0.554   / all OK
N36 G00 X5.878   / all OK

N37 Z-7.642 F0.12   //  G01 missing, its very problem machine go 1,8 mm/ rev.
N38 X7.8 Z-8.603

Problem is in PP, 
need repair on this format :

 

G00 x, y, z

G01 x, y, z, f

...

G00

G01

... repat 

 

does anyone know how to do it?
I can look it up, but I don't know the exact syntax

0 Likes
Accepted solutions (1)
481 Views
1 Reply
Reply (1)
Message 2 of 2

dratovka
Explorer
Explorer
Accepted solution
For 
G00
G01
.........

var
gMotionModal = createModal({force:true}, gFormat); // modal group 1       // G0-G3, ...                add {force:true}
 
 
and for
FEED print 
 
var feedOutput = createVariable({prefix:"F", force:true}, feedFormat);    // add  , force:true} 
 
 
 
I soaked it 😄 
Solved
0 Likes