Machine not executing G02 instruction

  • scsmith1451
  • scsmith1451's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
25 Jul 2026 22:42 #348062 by scsmith1451
Machine not executing G02 instruction was created by scsmith1451
Hi all;

Below is the first few lines of gcode for a circular pocket that I would like to cut on my home built CNC. The move to the first X/Y coordinate works correctly as does the plunge on the Z axis.  However, the machine stalls at this point and will not execute the G02 instruction. I'm guessing that I missed something in my preamble, but haven't a clue what it could be.  If someone can enlighten me I would greatly appreciate it.


G90 G20 G17
M3 S22000
G04 P6.0
F30

G0 Z0.1

G0 X0.7812 Y0
G0 Z-0.25
G02 I-0.7812 J0

Kind Regards,

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

More
25 Jul 2026 23:49 #348063 by dbtayl
Replied by dbtayl on topic Machine not executing G02 instruction
I don't know what the expected behavior is if you have no X/Y coordinates in your command. IIRC if you want a full circle, you can use the same coordinates as your starting point. Arguably better practice is to split the move up into two half circles.

You can try one of the following to see if it helps:

G02 X0.7812 Y0 I-0.7812 J0

or

G02 X-0.7812 Y0 I-0.7812 J0
G02 X0.7812 Y0 I0.7812 J0

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

More
26 Jul 2026 00:33 #348064 by Aciera
Replied by Aciera on topic Machine not executing G02 instruction
Feed moves (G1,G3,G3) will only execute if the spindle-at speed signal is true. So check 'spindle.0.at-speed'.

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

  • scsmith1451
  • scsmith1451's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
26 Jul 2026 01:07 #348065 by scsmith1451
Replied by scsmith1451 on topic Machine not executing G02 instruction
I'll give this format a try and report back.

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

  • scsmith1451
  • scsmith1451's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
26 Jul 2026 15:24 #348073 by scsmith1451
Replied by scsmith1451 on topic Machine not executing G02 instruction
Spindle-at-speed was the issue. I had added a near function to the spindle-at-speed signal in an attempt to get away from the extra dwell after M3. However when I examined the near function input signals the feedback rate was 0 causing spindle-at-speed to never to active.

I removed all of my near function code and put spindle control back to the original configuration and the spindle-at-speed now goes active, but at a significant delta from the commanded speed based on the VFD display and the sound of the spindle. Consequently, I'm back to the additional dwell after M3. Not a real issue since this is a hobby machine and I'm not in any hurry to make cuts.

Thanks for the insight and support.

Kind regards,

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

  • scsmith1451
  • scsmith1451's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
26 Jul 2026 15:27 #348074 by scsmith1451
Replied by scsmith1451 on topic Machine not executing G02 instruction
The spindle-at-speed signal was the issue. The command is correct for a full circle cut. I did add P1 to insure that a full circle is cut though the documentation indicates that P1 is implied if not provided.

Thanks for you help.

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

Time to create page: 0.128 seconds
Powered by Kunena Forum