Active G Codes Not Correct

More
10 years 2 months ago #78390 by fc60
Greetings,

I programmed my first part using "zero offset". That is, use the tool table for cutter diameter.

The program ran fine. LinuxCNC picked up the G41 and D values correctly as I had to run the program several times, adjusting the D value, to precisely obtain my size.

I did notice in the "Active G-Codes" window within AXIS that "G40" was active. I never saw it change to "G41"?

I then looked in the "LinuxCNC Status" application and, again, no G41.

Does LinuxCNC interpret the G41 behind the scenes?

I am using 2.5.4

Cheers,

Dave

Please Log in to join the conversation.

More
10 years 2 months ago #78405 by Rick G
Replied by Rick G on topic Active G Codes Not Correct
The window with the program running will show the state the machine will be in when the program ends.
You will note that settings such as F100 will not change while running.
So if you end your program with a M2 G40 will be active when the program ends.
linuxcnc.org/docs/html/gcode/m-code.html#mcode:m2-m30

Rick G

Please Log in to join the conversation.

More
10 years 2 months ago #78410 by fc60
Replied by fc60 on topic Active G Codes Not Correct
Greetings Rick G,

What about the LinuxCNC Machine Status application from the drop down menu? While the program is running, the window appears to be continuously updating as it is hard to watch a single line due to the constant up and down refresh.

In this file, the G41 never shows up.

Does this application also show the G Codes at the program end?

Cheers,

Dave

Please Log in to join the conversation.

More
10 years 2 months ago #78436 by Rick G
Replied by Rick G on topic Active G Codes Not Correct

What about the LinuxCNC Machine Status application from the drop down menu?


I have never had occasion to try it. Not close to a linuxcnc machine right now but you might try something similar to below with the pauses to see if you get the results you are looking for.
Code:
% G40 G4 P4 F10 M6 T1 G41 G4 P4 G1 x4 G1 x0 %

Please Log in to join the conversation.

Time to create page: 0.496 seconds
Powered by Kunena Forum