Active G Codes Not Correct

More
05 Aug 2016 15:25 - 05 Aug 2016 16:13 #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
Last edit: 05 Aug 2016 16:13 by fc60.

Please Log in or Create an account to join the conversation.

More
06 Aug 2016 10:40 - 06 Aug 2016 10:41 #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
Last edit: 06 Aug 2016 10:41 by Rick G.

Please Log in or Create an account to join the conversation.

More
06 Aug 2016 13:48 #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 or Create an account to join the conversation.

More
07 Aug 2016 12:33 #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.
%
G40
G4 P4
F10
M6 T1
G41
G4 P4
G1 x4
G1 x0
%

Please Log in or Create an account to join the conversation.

Time to create page: 0.087 seconds
Powered by Kunena Forum