Hello Guest it is March 28, 2024, 05:12:28 AM

Author Topic: Gcode pause  (Read 7838 times)

0 Members and 1 Guest are viewing this topic.

Gcode pause
« on: July 19, 2010, 12:16:58 PM »
Hi

I am using the Gcode below to face a block on my mill. When I test it on my laptop it runs continuous whilst it does the spiral but when I run the same code on my mill, with the same xml file it keeps pausing at each quadrant of the spiral. It doesn't pause for long, about a second, but i was wondering why it does it?

Thanks in advance for any suggestions.

Brian

=========================

G0 G49 G40  G17 G80 G50 G90
M6 T0(TOOL DIA.10)
G64
G21 (mm)
M03 S0
G00 G43 H0  Z1
X0 Y25
G00 Z-0.95
G00 Y20
G01 Y0 F20
G01 Z-1 F5
G2 Y0 X2 R1 F30
Y0 X-2 R2
Y0 X4 R3
Y0 X-4 R4
G2 Y0 X6 R5 F50
Y0 X-6 R6
Y0 X8 R7
G2 Y0 X-8 R8 F70
Y0 X10 R9
Y0 X-10 R10
X10 Y0 R10
Y-1 X9 R1
G00 Z1
M5 M9
G00 X0 Y25
M30
========================

Offline docltf

*
  •  354 354
    • View Profile
Re: Gcode pause
« Reply #1 on: July 19, 2010, 12:48:09 PM »
the mill has to use the steps and count them off.so you will see the actual axis change.the laptop just runs right through it.
Re: Gcode pause
« Reply #2 on: July 19, 2010, 01:36:28 PM »
the mill has to use the steps and count them off.so you will see the actual axis change.the laptop just runs right through it.
I would of thought that steps could be counted off very quickly. Sorry to sound daft but I don't really understand this.

Why pause at particular points but not at others.

Brian

Offline docltf

*
  •  354 354
    • View Profile
Re: Gcode pause
« Reply #3 on: July 19, 2010, 02:09:38 PM »
it dont work like that.

example:
the next time you drive your car to the store at 60 miles an hour just turn in so that you back into the parking space without slowing or stoping.

bill

Offline docltf

*
  •  354 354
    • View Profile
Re: Gcode pause
« Reply #4 on: July 19, 2010, 02:41:25 PM »
Brian
i tried to modify my post but could not.

it dont work like that.

example:
the next time you drive your car to the store at 60 miles an hour just turn in so that you back into the parking space without slowing or stoping.
this would not be a good thing.so some preperations for the moves will have to be done and this prep will consume some time.same thing with milling
when you notice some pauses.it is doing some prep work.

bill

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: Gcode pause
« Reply #5 on: July 19, 2010, 03:15:38 PM »
Your laptop is probably set to CV mode and the mill is probably Exact Stop mode. Or, if both are in CV mode, it may be some of the CV settings.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Gcode pause
« Reply #6 on: July 20, 2010, 05:28:40 AM »
Brian
i tried to modify my post but could not.

it dont work like that.

example:
the next time you drive your car to the store at 60 miles an hour just turn in so that you back into the parking space without slowing or stoping.
this would not be a good thing.so some preperations for the moves will have to be done and this prep will consume some time.same thing with milling
when you notice some pauses.it is doing some prep work.

bill


Hi Bill

Thanks for the response but I cant see that as the feed rate equates to a very slow MPH about (0.00 mph to 2 decimal places) and the speed at which the CPU is able to number crunch, I can't really see that this is what is happening.

I am not seeing the motor decelerating and then accelerating again, it is actually stopping but not on my laptop.

Brian

When I am in my X wing fighter, however I use the force. :)
Re: Gcode pause
« Reply #7 on: July 20, 2010, 05:30:05 AM »
Your laptop is probably set to CV mode and the mill is probably Exact Stop mode. Or, if both are in CV mode, it may be some of the CV settings.
Thanks for that Gerry
I will read up on it and see what  can find

Brian

Offline docltf

*
  •  354 354
    • View Profile
Re: Gcode pause
« Reply #8 on: July 20, 2010, 11:57:58 AM »
Hi Brian

i also use two computer setup.the design computer is the more powerful and the one for the mill that is set for mill only.both use the xml from the mill
computer.when i do a test run of a program on the design computer the completion time gets noted.then when i actually run the program on the mill the time
gets compared.the program always takes longer to complete when cutting.

bill
Re: Gcode pause
« Reply #9 on: July 20, 2010, 02:27:53 PM »
Hi All

I ahve done some experimenting and it am sure it is the backlash setting in each axis. The simulation on my laptop, even though it is suing the same xml file it seems to ignores the setting for the backlash.

Thanks for all the input

Brian