Lathe Macros

More
12 years 4 months ago #47910 by andypugh
Replied by andypugh on topic Lathe Macros

mariusl wrote: Have ypu tried this with Gscreen.

No, I have actually never tried Gscreen at all.

I am getting strange behaviour. When I run the turn macro it says that the file turning.ngc cannot be found although it is in the config folder.


Looking at the sample config I think that this is due to a rather subtle addition to the INI file

SUBROUTINE_PATH = ../../../nc_files/gladevcp_lib:./

That ./ at the end means that the system also looks in the same folder as the INI file for subroutines.

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

More
12 years 4 months ago #47914 by mariusl
Replied by mariusl on topic Lathe Macros
It finds the routines now but still only starts the spindle but no movement at all.

Regards
Marius


www.bluearccnc.com

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

More
12 years 4 months ago #47915 by mariusl
Replied by mariusl on topic Lathe Macros
Is there a way I can see the code to try and debug what is happening? It is obviously running the sub routine as the spindle starts up but then gets stuck on some variable maybe.

Regards
Marius


www.bluearccnc.com

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

More
12 years 4 months ago #47916 by andypugh
Replied by andypugh on topic Lathe Macros

mariusl wrote: Is there a way I can see the code to try and debug what is happening?.


You could try putting (debug, ...) comments in the G-code routines to see where it is getting to.

What happens if you call the subs from the MDI window ( O<turning> call ) ?

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

More
12 years 4 months ago #47917 by andypugh
Replied by andypugh on topic Lathe Macros
I know what the problem might be. The subs run in CSS and feed-per-rev mode. Do you have a spindle encoder?

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

More
12 years 4 months ago - 12 years 4 months ago #47918 by mariusl
Replied by mariusl on topic Lathe Macros
F**k, Gscreen will not allow me to use the "i" key in the MDI input.

But if I load the chamfer file it runs ok from MDI.

Regards
Marius


www.bluearccnc.com

Last edit: 12 years 4 months ago by mariusl.

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

Time to create page: 0.432 seconds
Powered by Kunena Forum