586,047 active members*
3,772 visitors online*
Register for free
Login
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2018
    Posts
    2

    Problems in CSS and Feed per rev mode

    Hello

    I have some problems in KMotion V4.34j.


    First problem is that the machine stop movement after start running G01 with mode Feed per Rev G95.

    Example G code:

    G18 (XZ plane)
    G21 (mm units)
    G54
    M06 T1002
    G96 D2500 S100 M03 (CSS mode)
    G00 X23.412 Z0.407
    G01 G95 X21.998 Z-0.3 F0.1 <<-- at this row it stops

    There is no error or warning dialog. Spindle is running, but nothing moves.

    Second problem:
    In mode CSS (G96) the KMotionCNC show wrong surface speed in diameter mode. Speed is two times bigger than it should be.
    Spindle speed in RPS is good.
    In code KMotionCNCDlg.cpp at row 5700 – it counts with radius. Perhaps this should extend to the diameter mode.

    Third problem:
    Why after tool change is not set tool offset to actual position? In example C Programs\ToolChanger Service with M6 trig.

    Fourth small problem:
    In docs is swapped G code description - G96 Spindle RPM mode / G97 Dmax CSS mode
    On page G Code Screen in left panel.
    G96 is CSS mode and G97 is spindle RPM mode.

    I have three kflop boards with one kanalog, but this is first time I use it in CNC lathe.
    In attachment is C init script and screen of KMotionCNC TP.


    Thanks,

    Lukas

  2. #2
    Join Date
    May 2006
    Posts
    4045

    Re: Problems in CSS and Feed per rev mode

    Hi Lukas,

    First problem is that the machine stop movement after start running G01 with mode Feed per Rev G95.

    Example G code:

    G18 (XZ plane)
    G21 (mm units)
    G54
    M06 T1002
    G96 D2500 S100 M03 (CSS mode)
    G00 X23.412 Z0.407
    G01 G95 X21.998 Z-0.3 F0.1 <<-- at this row it stops

    There is no error or warning dialog. Spindle is running, but nothing moves.
    It might be that your Spindle Encoder is counting backwards. Please try reversing it in KFLOP by changing the sign of the InputGain0 parameter.

    Second problem:
    In mode CSS (G96) the KMotionCNC show wrong surface speed in diameter mode. Speed is two times bigger than it should be.
    Spindle speed in RPS is good.
    In code KMotionCNCDlg.cpp at row 5700 – it counts with radius. Perhaps this should extend to the diameter mode.
    I think you are correct. Please try this patch and let us know if it solves the problem.
    http://dynomotion.com/Software/Patch...KMotionCNC.exe

    Third problem:
    Why after tool change is not set tool offset to actual position? In example C Programs\ToolChanger Service with M6 trig.
    By GCode standard to enable Tool Length/Offset compensation G43Hxxx is required, then G49 to disable compensation.

    Fourth small problem:
    In docs is swapped G code description - G96 Spindle RPM mode / G97 Dmax CSS mode
    On page G Code Screen in left panel.
    G96 is CSS mode and G97 is spindle RPM mode.
    Thanks. We will correct this.

    Regards
    TK
    http://dynomotion.com

  3. #3
    Join Date
    Apr 2018
    Posts
    2

    Re: Problems in CSS and Feed per rev mode

    Hi,


    first problem is solved as you said by changing the sign of the InputGain0 parameter.


    Your patch not work. Surface speed is still two times bigger.
    Can you post your code of this patch?


    In patch is new bug - the enter key does not work in code editor.




    Thanks,


    Lukas

  4. #4
    Join Date
    May 2006
    Posts
    4045

    Re: Problems in CSS and Feed per rev mode

    Hi Lukas,

    Sorry the wrong file was uploaded. Please try again.

    Here is the added line:

    if (m_RealTimeSetup->DiameterMode) xp *= 0.5; // if result is a diameter, convert to radius to calc surface speed.

    The changed source module is here.

    HTH
    Regards
    TK
    http://dynomotion.com

Similar Threads

  1. Drip feed mode with Fanuc OMA
    By visu in forum Fanuc
    Replies: 14
    Last Post: 02-07-2024, 11:35 PM
  2. No Coolant in Drip Feed Mode
    By CastleWorks in forum Bridgeport / Hardinge Mills
    Replies: 0
    Last Post: 10-13-2017, 12:00 AM
  3. Feed problem in Rapid Mode
    By elab.ess in forum CNC Machine Related Electronics
    Replies: 0
    Last Post: 05-07-2014, 08:06 AM
  4. Slant feed mode
    By jamessiffel in forum Okuma
    Replies: 3
    Last Post: 05-04-2012, 05:45 AM
  5. Drip feed mode for Mazak M32
    By CimUser2000 in forum Mazak, Mitsubishi, Mazatrol
    Replies: 5
    Last Post: 07-12-2010, 01:55 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
  •