Dynamic work offset kmotioncnc


Results 1 to 11 of 11

Thread: Dynamic work offset kmotioncnc

  1. #1
    Member
    Join Date
    Mar 2013
    Location
    us
    Posts
    33
    Downloads
    0
    Uploads
    0

    Default Dynamic work offset kmotioncnc

    I've been doing some 4 axis machining and was wonder if I could creat a c program that would do something similar to haas's G254 DWO?

    Similar Threads:


  2. #2
    Community Moderator Jim Dawson's Avatar
    Join Date
    Dec 2013
    Posts
    5717
    Downloads
    0
    Uploads
    0

    Default Re: Dynamic work offset kmotioncnc

    Anything is possible in software if you are creative enough



  3. #3
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4043
    Downloads
    0
    Uploads
    0

    Default Re: Dynamic work offset kmotioncnc

    It would probably be more of a matter of adding a C++ Kinematics Class.

    Can you be more specific on what type of 4 axes system you have and how you would expect things to work?

    Also some background of your skills so we can communicate better.

    Regards

    Regards
    TK http://dynomotion.com


  4. #4
    Member amitkumar171's Avatar
    Join Date
    Aug 2017
    Location
    India
    Posts
    112
    Downloads
    0
    Uploads
    0

    Default Re: Dynamic work offset kmotioncnc

    Hi Tom,

    Can you be more specific on what type of 4 axes system you have and how you would expect things to work?
    Yes, actually haas's G254 DWO means dynamic work offset.

    It changes the TCP According to your workpiece location. Whatever your machine zero is, TCP will work correctly.

    But in case of KmotionCNC 5axiskinematics Class our TCP location is fixed to Machine zero.

    When i mount workpiece other than center of machine zero, TCP will messes up.

    But DWO dynamic work offset optimizes TCP according to workpiece location.


    Please look into that matter.



    Thank You
    AMIT KUMAR

    Regards

    Amit Kumar


  5. #5
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4043
    Downloads
    0
    Uploads
    0

    Default Re: Dynamic work offset kmotioncnc

    Hi Amit,

    It isn’t clear to me why offsets don’t work for you.

    Machining at coordinates off center on a big part should be exactly the same as at coordinates on a small but offset part.

    Of course the machine coordinates must be the same as that determines how the machine behaves regarding to the axes rotation points and so forth.

    If you move to some machine coordinate for example x=4 by programming x4 with no offset, or by programming x2 with a Fixture offset of 2, TCP should work exactly the same.

    Can you give an example sequence that you are doing that messes up?

    Regards

    Regards
    TK http://dynomotion.com


  6. #6
    Member amitkumar171's Avatar
    Join Date
    Aug 2017
    Location
    India
    Posts
    112
    Downloads
    0
    Uploads
    0

    Default Re: Dynamic work offset kmotioncnc

    Quote Originally Posted by TomKerekes View Post
    Hi Amit,

    It isn’t clear to me why offsets don’t work for you.

    Machining at coordinates off center on a big part should be exactly the same as at coordinates on a small but offset part.

    Of course the machine coordinates must be the same as that determines how the machine behaves regarding to the axes rotation points and so forth.

    If you move to some machine coordinate for example x=4 by programming x4 with no offset, or by programming x2 with a Fixture offset of 2, TCP should work exactly the same.

    Can you give an example sequence that you are doing that messes up?

    Regards
    Hi tom,

    Thanks for your reply.

    i discussed problem with tcp. Let me explain.

    Tcp works only depending on machine coordinates. Means orange dro coordinates.

    Suppose i am having one g code in which coordinate system origin is at bottom center of the part.

    And if i place it at some location other than center. It will not run same as placing in center. Means my TCP will not be optimised according to part location.

    Now tcp is hard wired to machine zero. is there any way to add fixture offsets while running.

    Or in kinematics class can i add fixture offsets that will change according to program.

    This will be Dynamic work offset.

    Waiting for your kind reply

    Thank you
    Amit Kumar

    Sent from my Lenovo K50a40 using Tapatalk

    Regards

    Amit Kumar


  7. #7
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4043
    Downloads
    0
    Uploads
    0

    Default Re: Dynamic work offset kmotioncnc

    Hi Amit,

    Yes you can change fixture offsets while running.

    What happens if you enter a fixture offset to make the GCode coordinates (green DROs) at the bottom left of the part? The machine coordinates will still be at the center of the part and TCP should still work correctly.

    Can you describe a specific example of what you are doing where TCP doesn’t work correctly ?

    Regards

    Regards
    TK http://dynomotion.com


  8. #8
    Member amitkumar171's Avatar
    Join Date
    Aug 2017
    Location
    India
    Posts
    112
    Downloads
    0
    Uploads
    0

    Default Re: Dynamic work offset kmotioncnc

    Quote Originally Posted by TomKerekes View Post
    Hi Amit,

    Yes you can change fixture offsets while running.

    What happens if you enter a fixture offset to make the GCode coordinates (green DROs) at the bottom left of the part? The machine coordinates will still be at the center of the part and TCP should still work correctly.

    Can you describe a specific example of what you are doing where TCP doesn’t work correctly ?

    Regards
    Hi Tom,

    Thanks for your reply.

    Let me explain.

    I made one 5axis g code for a part using bottom center as origin.

    And while mounting the same part in machine i am mounting on x20 y20, not in origin.

    So my tcp isn't maintained. Because tcp will work if i mount the workpiece at x0 y0.
    Because its programmed that way.

    Is there any way in which i can use tcp using green dro coordinates.

    So i can easily change these values accordingly. Orange color dro coordinates are not easy to change coordinates. And currently my tcp is working with respect to orange coordinate G53.

    Waiting for your response regarding this issue.

    Sent from my Lenovo K50a40 using Tapatalk

    Regards

    Amit Kumar


  9. #9
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4043
    Downloads
    0
    Uploads
    0

    Default Re: Dynamic work offset kmotioncnc

    Hi Amit,

    Your description of what you are doing and what is happening is not clear.

    Please perform the following test sequence. Record all the numbers and answer the questions:

    1. Run KMotionCNC
    2. Set and Verify all offsets (G92, Fixture, and Tool ID1001) are all zero
    3. Select mm Mode G21
    4. Enable TCP mode G43.4 H1001
    5. Move to upper right position Command G0 X20 Y30 Z0 A0 C0
    6. Record Orange, Green and KMotion Axis Screen coordinates (15 numbers)
    7. Rotate G1 C10 F200
    8. Did TCP work correctly?
    9. Record Orange, Green, and KMotion Axis Screen coordinates (15 numbers)
    10. Shift Fixture Origin to lower left. Command G10 L2 P1 X-20 Y-20
    11. Move to upper right position Command G0 X40 Y50 Z0 A0 C0
    12. Record Orange, Green, and KMotion Axis Screen coordinates (15 numbers)
    13. Rotate G1 C10 F200
    14. Did TCP work correctly?
    15. Record Orange, Green, and KMotion Axis Screen coordinates (15 numbers)


    Regards

    Regards
    TK http://dynomotion.com


  10. #10
    Member amitkumar171's Avatar
    Join Date
    Aug 2017
    Location
    India
    Posts
    112
    Downloads
    0
    Uploads
    0

    Default Re: Dynamic work offset kmotioncnc

    Hi Tom,

    Thank You for your reply.


    Run KMotionCNC
    Done
    Set and Verify all offsets (G92, Fixture, and Tool ID1001) are all zero
    Yes all of them are zero.
    Select mm Mode G21
    Yes it is done.
    [QUOTE]Enable TCP mode G43.4 H1001 [\QUOTE]
    Yes i enabled TCP using above g code.
    Move to upper right position Command G0 X20 Y30 Z0 A0 C0
    Yes i executed above command.
    Record Orange, Green and KMotion Axis Screen coordinates (15 numbers)
    yes and the coordinates are Orange (X20, Y30, Z90, A0, C0) Green (X20, Y30, Z90, A0, C0) Axis (X3200, Y4800, Z14400, A0, C0 corresponding axes values)
    Rotate G1 C10 F200
    Yes i executed above command.
    Did TCP work correctly?
    No
    Record Orange, Green, and KMotion Axis Screen coordinates (15 numbers)
    yes and the coordinates are Orange (X20, Y30, Z90, A0, C10) Green (X20, Y30, Z90, A0, C10) Axis (X3984.90, Y4171.40, Z14400, A0, C888.89 corresponding axes values)
    Shift Fixture Origin to lower left. Command G10 L2 P1 X-20 Y-20
    Yes i executed above command.
    Move to upper right position Command G0 X40 Y50 Z0 A0 C0
    Yes i executed above command.
    Record Orange, Green, and KMotion Axis Screen coordinates (15 numbers)
    yes and the coordinates are Orange (X20, Y30, Z90, A0, C0) Green (X40, Y50, Z90, A0, C0) Axis (X3200, Y4800, Z14400, A0, C0 corresponding axes values)
    Rotate G1 C10 F200
    Yes i executed above command.
    Did TCP work correctly?
    No
    Record Orange, Green, and KMotion Axis Screen coordinates (15 numbers)
    yes and the coordinates are Orange (X20, Y30, Z90, A0, C0) Green (X40, Y50, Z90, A0, C10) Axis (X3984.90, Y4171.40, Z14400, A0, C888.89 corresponding axes values)

    and due to Z0 is on the work bed. so if i command z0 tool will hit the bed so i am putting Z at 90 (Z90) location for safety.

    Now please suggest me what is wrong?

    Thank You

    AMIT KUMAR

    Regards

    Amit Kumar


  11. #11
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4043
    Downloads
    0
    Uploads
    0

    Default Re: Dynamic work offset kmotioncnc

    Hi Amit,

    The whole idea of this test was to see the result with TCP working correctly with no offsets, and not working correctly with offsets.

    But the TCP is not working at all. I was expecting you to run the the test with TCP working not broken.

    Repeat the test after TCP is working.

    It would also be helpful ans save us time if when you say something is not working you explain what happened and what is wrong.

    Regards

    Regards
    TK http://dynomotion.com


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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Dynamic work offset kmotioncnc

Dynamic work offset kmotioncnc