Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

gpost - F code output with every g01

igi79

New member
Hello, my old NC milling machine needs F code output at the end of each cutting block (G01,G02,G03..). To output it after G02/G03 there is option "Output F code with every circle block". Is this possible for linear motion (G01) ??? I've checked Feedrates option "Prep / G-code with motion block", but in final code there are some G01 blocks without F code at the end.

Example:
<br style="font-family: Courier New,Courier,mono;"><br style="font-family: Courier New,Courier,mono;">N13 G01 X-6.517 Y-4.977 Z-1 F150<br style="font-family: Courier New,Courier,mono;">N14 G01 X-10.699 Y-4.977 Z-1 F150<br style="font-family: Courier New,Courier,mono;">N15 G02 X-11.688 Y-1.619 R11.8 F150<br style="font-family: Courier New,Courier,mono;">N16 G01 X-11.688 Y-1.619 Z-1 <- without F code<br style="font-family: Courier New,Courier,mono;">N17 G01 X-8.038 Y-1.619 Z-1 F150<br style="font-family: Courier New,Courier,mono;">N18 G01 X-8.038 Y-1.619 Z-1 <- without F code<br style="font-family: Courier New,Courier,mono;">N19 G02 X-8.013 Y1.738 R8.199 F149.99<br style="font-family: Courier New,Courier,mono;">N20 G01 X-8.014 Y1.738 Z-1 F150<br style="font-family: Courier New,Courier,mono;">N21 G01 X-11.671 Y1.738 Z-1 F150<br style="font-family: Courier New,Courier,mono;">N22 G02 X-10.643 Y5.095 R11.8 F150<br style="font-family: Courier New,Courier,mono;">N23 G01 X-10.643 Y5.095 Z-1 <- without F code<br style="font-family: Courier New,Courier,mono;">N24 G01 X-6.425 Y5.095 Z-1 F150<br style="font-family: Courier New,Courier,mono;">N25 G01 X-8.234 Y8.452 Z-1 F150<br style="font-family: Courier New,Courier,mono;">N26 G01 X8.234 Y8.452 Z-1 F150<br style="font-family: Courier New,Courier,mono;">N27 G02 X10.643 Y5.095 R11.8 F150<br style="font-family: Courier New,Courier,mono;">N28 G01 X10.643 Y5.095 Z-1 <- without F code

All these lines are from only one NC Sequence with feedrate 150.


Edited by: igi79
 
In the mach section of the fil file add thisstatement


PLABEL/OPTION,88,TO,1 $$ Address registers GXYZIJKF are not modal.


This should achieve the desired results.


this statement turns the modal back on.


PLABEL/OPTION,88,TO,0 $$ Address registers GXYZIJKF are modal (default)
 

Sponsor

Back
Top