Results 1 to 9 of 9

Thread: invert G41/G42 for subspindle?

  1. #1
    Registered
    Join Date
    Apr 2008
    Location
    Finalnd
    Posts
    8
    Downloads
    0
    Uploads
    0

    invert G41/G42 for subspindle?

    Hi. I've been trying to get my adaptive mori-seiki postprcessor to post inverted g41/g42 for the subspindle because there dont seem to be anywhere to choose different code for main and sub. I've tried some customization procedures but cant find any macros or variables that make it change. Has anybody got any ideas?


  2. #2
    Registered
    Join Date
    Jun 2010
    Location
    Sweden
    Posts
    60
    Downloads
    0
    Uploads
    0
    Im not 100% sure but 88%...

    Invert the direction of the vector that defines your axis in the mashinetree to -1 in Z insted of 1.
    this will be used in the calculations and probably tell the mashine all you need to give the correct kommands.


  3. #3
    Registered
    Join Date
    Apr 2008
    Location
    Finalnd
    Posts
    8
    Downloads
    0
    Uploads
    0
    Thanks for the answer, but i can't get it working, actually i can't see any changes in posted code at all relating to kinematics tree changes thou i've tried changing all vectors related to z axles. It didn't even help marking "reverse Z sub spindle driven tools". So i guess it's going to have to be some macro cutomizations to get it working...


  4. #4
    Moderator HuFlungDung's Avatar
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    4,826
    Downloads
    0
    Uploads
    0
    I'm not an Edgecam user, but a question: do you have to use the same post for both spindles?
    First you get good, then you get fast. Then grouchiness sets in.

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  • #5
    Registered
    Join Date
    Apr 2008
    Location
    Finalnd
    Posts
    8
    Downloads
    0
    Uploads
    0
    Yes, I don't think it's possible to assign different postprocessors for main and sub-spindle, at least not in any simple way. Especially as i am using parts transfer and adaptive stock, otherwise i guess i could program them as different machines with different postprocessors.


  • #6
    Registered
    Join Date
    Apr 2008
    Location
    netherlands
    Posts
    18
    Downloads
    0
    Uploads
    0
    Best solution is to always use edgecam pathcompensation and not the controller

    Edgecam pathcompensation is much better especially in difficult situations.

    Good luck


  • #7
    Registered
    Join Date
    Apr 2008
    Location
    Finalnd
    Posts
    8
    Downloads
    0
    Uploads
    0
    I usually use edgecams compensations but then i need to repost every time i want to adjust the size of a hole, which is not very desirable with a 60k line program. Hence the need for cutter radius compensation. And if you meant turning those codes work, its milling that's giving me troubles.


  • #8
    Registered
    Join Date
    Aug 2010
    Location
    USA
    Posts
    129
    Downloads
    0
    Uploads
    0
    one of the more overlooked issues is "plane selection" G17 G18 G19
    G17 for face milling
    G18 for turning
    G19 for OD milling.
    without the right plane selected comp wont work and peck cycles dont peck

    Good luck


  • #9
    Registered
    Join Date
    Apr 2008
    Location
    Finalnd
    Posts
    8
    Downloads
    0
    Uploads
    0
    Good! Keep 'em coming. But i've got those correct too, it's only when using the radius compensation codes i get it wrong. For example: when milling inside of circle without compensation i get correct g2/g3 and path is inside circle, but when adding compensation to this cycle in edgecam in main spindle i get milling inside of circle, but the same cycle at sub spindle will give me in opposite of the inside path edgecam is displaying a path outside of circle. Inverting g41/g42 in the posted code for the sub spindle will then move the toolpath correctly to inside of the circle.


  • Similar Threads

    1. Need Help!- How to invert the output bit with Motenc lite
      By jatchan in forum LinuxCNC (formerly EMC2)
      Replies: 0
      Last Post: 04-23-2009, 03:26 PM
    2. Invert 12V to -12V
      By rainman in forum General Metalwork Discussion
      Replies: 3
      Last Post: 02-15-2007, 10:43 AM
    3. Invert code
      By JW Peters in forum G-Code Programing
      Replies: 3
      Last Post: 03-09-2006, 10:06 AM
    4. Table setup - Axis invert
      By horse in forum Kellyware CAM
      Replies: 0
      Last Post: 02-28-2006, 09:45 AM
    5. How to invert slave motor direction?
      By toolbox911 in forum Stepper Motors and Drives
      Replies: 3
      Last Post: 02-14-2006, 10:16 AM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.