G84 Tap Cycle


Results 1 to 4 of 4

Thread: G84 Tap Cycle

  1. #1
    Member Need TECH Help!'s Avatar
    Join Date
    Dec 2007
    Location
    United States
    Posts
    578
    Downloads
    0
    Uploads
    0

    Default G84 Tap Cycle

    Hi Tom,
    Posted reply earlier on yahoo group today 5 times and it never made it.

    Tested patch.
    When in tap cycle. I hit Pause, spindle and Z come to a controlled stop and are still synced. Releasing pause, spindle and Z continue and finish tap cycle.

    When a Halt is executed during tap cycle, Z and spindle come to a controlled stop. Z and spindle stay synced and the only way to clear this is to execute an ESTOP.

    Another issue now has to do with enter key and my Reference Axis program.
    Whenever a limit switch is triggered i have a pop up stating what axis and what switch has been triggered.

    When i run my Reference Axis C code program these pop ups happen.Dont need them to during referencing, just couldn't figure out how to shut them off during referencing.
    To close pop up user must click OK or hit enter key on keyboard. Now when i hit enter key the reference c code starts all over again, even thow it is already running.

    Troy

    "Hi Troy,

    Found another bug. Uploading feedhold state of -2 as Hex string "0xFFFFFFFE" instead of decimal string.

    Please see what happens with this:
    http://dynomotion.com/Software/Patch...KMotionCNC.exe

    Regards
    TK

    On 11/10/2017 5:56 PM, tmday88@... [DynoMotion] wrote:

    Hide message history
    >
    > Hi Tom,
    > Awesome work again. This is MUCH better, But there is 2 more.
    >
    > 1)When pause is executed during tap cycle axis and spindle stop nicely and are staying synced. But no movement nor spindle restart happens when pressing pause again nor are the Rew and For buttons available. If i start spindle manually by keyboard shortcut or on screen button, tapping cycle continues until cycle is finished. And if spindle is manually rotated (with a piece of wood. ) Z and spindle are still synced, if i continue to rotate spindle in either CW or CCW direction and reach beginning or ending of hole, the spindle will turn on again and finish tap cycle for that hole. In a way this is nice but obviously not safe unless spindle would remain off and wait for user to turn on spindle or prompt user to turn on spindle again to continue. And continuing would end cycle for that hole and continue on to next hole.I for one like the synced option, just wish it would leave spindle off. Or maybe be able to use the Rew and For buttons?
    >
    > I know we went over this before.Most industry controls dont allow anything besides an ESTOP condition to overdrive a tapping cycle, which i dont like.
    >
    > 2) If the Halt button is pressed during tap cycle (when tap is in hole) axis and spindle come to a stop in a synced manner.Testing again by manually rotating spindle, they stay synced and if spindle is turned back on the tap cycle will continue for that hole until cycle has completed. Typical standard default would be when a Halt is executed the spindle and axis stops immediately and synced is lost.Which i think is what you would want as a default for most users.
    >
    > Thanks again,
    > Troy"


    Similar Threads:
    www.tsjobshop.com, www.homecncstuff.elementfx.com


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

    Default Re: G84 Tap Cycle

    Hi Troy,

    Sorry about the Yahoo Group being down (we have no control over this). It still seems posting messages fail. Thanks for your patience with this.

    Found another classic C bug (testing if equal instead of setting equal)

    *pFeedhold == -2; // simulate a tapping feedhold

    should be

    *pFeedhold = -2; // simulate a tapping feedhold

    Here is a ling to the updated file:
    http://dynomotion.com/Software/Patch...ld%20Rev%206.c


    Regarding Reference C issue: I couldn't find your Reference C program in your Yahoo Files. But one solution might be to set a virtual bit while Homing is happening and clear it when Homing finishes. Your Init program monitor loop can then check that virtual bit to inhibit displaying limit messages.

    So for example define Virtual bit 1052 for homing Status:

    #define HOMING_BIT 1052

    Then add:

    SetBit(HOMING_BIT);
    .
    .homing stuff
    .
    ClearBit(HOMING_BIT);



    Then in your monitor loop add a condition for some Limit Test you might change

    if (result==1)

    to

    if (result==1 && !ReadBit(HOMING_BIT)) // check for result and not currently homing


    Regards

    Regards
    TK http://dynomotion.com


  3. #3
    Member Need TECH Help!'s Avatar
    Join Date
    Dec 2007
    Location
    United States
    Posts
    578
    Downloads
    0
    Uploads
    0

    Default Re: G84 Tap Cycle

    Hi Tom,
    No worries about yahoo group. Its been flaky ever since yahoo went to the neo layout.

    The new C code tap program looks like all is working now.
    Pause during tap cycle causes Z and spindle to come to a controlled stop and stays synced.Releasing Pause allows tap cycle to continue.

    Executing a Halt brings Z and spindle to controlled stop and turns off sync with no restart of tap cycle.

    Have not tried to code the reference program as you suggested yet. But there is no restart now when enter key is used to close pop up.

    Thanks again Tom,
    Troy

    www.tsjobshop.com, www.homecncstuff.elementfx.com


  4. #4
    Member
    Join Date
    May 2012
    Location
    canada
    Posts
    537
    Downloads
    0
    Uploads
    0

    Default Re: G84 Tap Cycle

    I find this forum so much easier then the yahoo group. All the previous responses are hidden for me unless you expand them on yahoo and it just seems like an unorganized mess to me lol. Too bad everyone didnt use this one.

    Good to hear you got the tap cycle working the way you want it!



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

G84 Tap Cycle

G84 Tap Cycle