586,114 active members*
3,279 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > PlanetCNC > Mk2 board lathe threading cycle problem
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2021
    Posts
    13

    Question Mk2 board lathe threading cycle problem

    I encountered a problem while using the G76 Threading Cycle. My test gcode is as follows:
    G0 Z0.0 X 0.0
    G76 P1.5 Z-10 I-0.5 J0.1 K0.3
    M30
    When I ran the program, the software interface did show both X and Z axis movement. But on the actual machine, the Z axis is not moving.
    I can confirm the Z axis is not moving only during the G76 cycle. I can jog and input Z axis movement code into MDI and the Z axis move just as fine.
    I also tried the G33, the Z axis also moved as intended.
    Could anyone help me with this issue? Thanks in advance.

    Regards,
    Pengjin

  2. #2
    Join Date
    Mar 2017
    Posts
    1312

    Re: Mk2 board lathe threading cycle problem

    Your G76 line expands to:

    G21 G90 G91.1 G94
    G00 X0.200000 Z0.000000 (back)
    G00 X-0.600000 Z0.000000 (in)
    M50P0
    G33 Z-10.000000 K1.500000 (over)
    G00 X0.200000 (out)
    M50P1
    G00 X0.100000 Z0.000000 (back)
    G00 X-0.700000 Z0.000000 (in)
    M50P0
    G33 Z-10.000000 K1.500000 (over)
    G00 X0.100000 (out)
    M50P1
    G00 X0.000000 Z0.000000 (back)
    G00 X-0.800000 Z0.000000 (in)
    M50P0
    G33 Z-10.000000 K1.500000 (over)
    G00 X0.000000 (out)
    M50P1
    G00 X0.000000 Y0.000000 (EndPos)

  3. #3
    Join Date
    Apr 2021
    Posts
    13

    Re: Mk2 board lathe threading cycle problem

    I found the problem, it seems the wiring only works for common cathode. If it is wired as common anode, the axis will sometimes glitch. Not sure if it is a bug of the old board, found on two of my Mk2 board with TB6600 motor driver.

  4. #4
    Join Date
    Mar 2017
    Posts
    1312

    Re: Mk2 board lathe threading cycle problem

    You probably forget to invert axis output. When wiring is changed so is polarity. And most drivers don't like this.

Similar Threads

  1. Replies: 2
    Last Post: 03-10-2019, 09:01 PM
  2. Problem with warp function on mk2/9 board
    By AndreaRoss in forum PlanetCNC
    Replies: 7
    Last Post: 07-05-2017, 11:37 AM
  3. Lathe Threading problem/question
    By Beansdiesel in forum BobCad-Cam
    Replies: 6
    Last Post: 01-31-2016, 10:44 PM
  4. Programming lathe threading cycle G76 on a mill.
    By zaebis in forum G-Code Programing
    Replies: 7
    Last Post: 08-26-2012, 12:29 AM
  5. fanuc threading cycle 4 a 21-t lathe
    By offset col in forum Fanuc
    Replies: 3
    Last Post: 07-14-2010, 03:49 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •