New screen - Page 2


Page 2 of 2 FirstFirst 12
Results 13 to 24 of 24

Thread: New screen

  1. #13
    Gold Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    2484
    Downloads
    0
    Uploads
    0

    Default Re: New screen

    Hi Ben,

    Please post your GCode, Init C File, and KMotionCNC Tool Setup settings for us to look at and see if we can duplicate the problem.

    Also what do you mean by "warm up routine"?

    Regards

    TK
    http://dynomotion.com


  2. #14
    Registered
    Join Date
    Jun 2013
    Location
    USA
    Posts
    942
    Downloads
    0
    Uploads
    0

    Default Re: New screen

    It will be tomorrow afternoon before I can get those files for you. The warm-up program moves through the entire travel in xyz back and forth while the spindle runs at slow speed. It moves through the travels 21 times at 200ipm.

    Thank you
    Ben

    Sent from my HTC6525LVW using Tapatalk



  3. #15
    Registered
    Join Date
    Jun 2013
    Location
    USA
    Posts
    942
    Downloads
    0
    Uploads
    0

    Default Re: New screen

    I tried to move the files to my phone and that works fine. I could not figure out how to attach them in tapatalk. In the mean time I have kept doing my own tests and things are running well again. Somehow my trajectory planner settings in kmotion cnc had changed. Everything else was right. The only things on that screen that were different was the top trajectory planner tab and the accel under axis parameters. I changed these to what they were before I started building my screen and things are good. The fault always happened at a quadrant. My guess is that the higher acceleration caused the motor to go unstable while trying to apply backlash comp at the quadrant. The only lingering question I have is what caused the dro to change to -nan(ind)? Also is there any update on when we might see a way to change the kmotioncnc background image.

    Thank you
    Ben

    Sent from my HTC6525LVW using Tapatalk



  4. #16
    Gold Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    2484
    Downloads
    0
    Uploads
    0

    Default Re: New screen

    Hi Ben,

    Thanks for the update. DRO's showing -nan(ind) basically means a divide by zero or similar occurred somehow. Not sure why but incorrect setting could possibly be the reason.

    Sorry for the delay on the KMotionCNC background image. We are trying to roll that in with some other features that would allow font/text changes on some of the other button types such as checkboxes and radio buttons. But having trouble so it may be a while.

    Regards

    TK
    http://dynomotion.com


  5. #17
    Registered
    Join Date
    Jun 2013
    Location
    USA
    Posts
    942
    Downloads
    0
    Uploads
    0

    Default Re: New screen

    Ok my issues have returned. The k-flop is disconnecting pretty regularly. I will figure out how to get the files you asked for before sometime this week. The console does not really give me a good idea what's going on. When it disconnects I always get the tau message. Do you have any idea what that might mean?New screen-uploadfromtaptalk1490632517810-jpg

    Sent from my HTC6525LVW using Tapatalk



  6. #18
    Gold Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    2484
    Downloads
    0
    Uploads
    0

    Default Re: New screen

    Hi Ben,

    The Tau printout is probably being printed by your Init C Program. It indicates that you have a small amount of Coordinated Motion Smoothing being applied. That isn't any indication of an error.

    Regards

    TK
    http://dynomotion.com


  7. #19
    Registered
    Join Date
    Jun 2013
    Location
    USA
    Posts
    942
    Downloads
    0
    Uploads
    0

    Default Re: New screen

    I am pretty sure I found and addressed the problems I was having. I really can't put any of the blame on kflop nor was it something I would ever expect. At first I thought it was the dust collection arcing to the frame causing the disconnection but it continued to happen after removing it from the system. It was faulting in the same places in the code so I thought maybe software which was a dead end thought.

    I had run for 3 days with no issues making parts that were 2 sided taped to the plastic table top while running the vacuum system with no issues at all. I then set up a small machine vise for finishing the parts I hat precut. That's when all the faulting started. I never considered the vise as a suspect until I obeserved a few things that were not right. The places in the code that the faults occurred were places where the tool came very close to the vise jaws. Then after a fault I reinitialized and went to touch off a tool and while jogging up after zeroing the tool it faulted again before I even ran the code. I touch off using stainless shim stock. When I was jogging up the shim fell after the pressure from the tool was removed. The shim was touching both the tool and the the vise at the moment it disconnected. The machine is grounded throughout the frame and gantry including the control cabinet. You can put your probes on any part of the machine and get continuity. The table is plastic so there's no continuity from the machine to the part. Most of the time it doesn't matter with the materials I use. Apparently the vise on the table since it was not grounded was causing issues when the tool got close to it. I don't really know the science behind it but I have my guesses. Anyway running a ground wire from the vise to the rest of the machine stopped the disconnect issue. I also added a usb isolator between kflop and the pc just in case.

    I also have a suggestion and a question.

    On the Yahoo forum I noticed the tapping discussion and one thing stood out. There was a disconnect as to when and how to cancel the Q value in tapping. I think the most since would be made if it was returned to no peck value after reading g80 since g80 needs to be there to cancel the cycle anyway. Drill cycles don't retain the q value after g80 as far as I know and neither should tapping.

    The question is do you have or know of how I can turn off and on soft limits in c code and attach it to a toggle button so I can turn them off without changing my initiate file. I tried to turn them off in my homing routine and it worked. At the end of the routine I tried to turn them back on and it didn't work. For me I think a button would be better to toggle them on and off and just leave them out of the homing program.
    Any advice would be great.

    Thanks
    Ben

    Sent from my HTC6525LVW using Tapatalk



  8. #20
    Gold Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    2484
    Downloads
    0
    Uploads
    0

    Default Re: New screen

    Hi Ben,

    Also is there any update on when we might see a way to change the kmotioncnc background image.
    Sorry for the delay it turned out to be quite difficult. See:
    KMotion/KFLOP Test Version 4.34i - New Screen Editor Capabilities - New G Codes

    Regards

    TK
    http://dynomotion.com


  9. #21
    Registered
    Join Date
    Jun 2004
    Location
    Scotland
    Posts
    264
    Downloads
    0
    Uploads
    0

    Default Re: New screen

    Quote Originally Posted by bhurts View Post
    The question is do you have or know of how I can turn off and on soft limits in c code and attach it to a toggle button so I can turn them off without changing my initiate file. I tried to turn them off in my homing routine and it worked. At the end of the routine I tried to turn them back on and it didn't work. For me I think a button would be better to toggle them on and off and just leave them out of the homing program.
    Any advice would be great.
    I'm not sure why you'd want to disable/enable softlimits regularly, but it is possible.
    You would need to alter your init.c to contain code to continually monitor the switch and alter the soft limits depending on the state of the switch.

    Something like this within an infinite loop-
    Code:
    if(ReadBit(xx)){  // if switch input high, set softlimits
       ch1->SoftLimitPos=7000;
       ch1->SoftLimitNeg=-278000;
    } else {      // else clear softlimits (set them really high)
       ch1->SoftLimitPos=1e+09;
       ch1->SoftLimitNeg=-1e+09;
    }
    You might want to extend it to add some debounce.



  10. #22
    Registered
    Join Date
    Jun 2013
    Location
    USA
    Posts
    942
    Downloads
    0
    Uploads
    0

    Default Re: New screen

    I really appreciate the help and I will play with the code you gave me. I really don't want to use it regularly but it would be very helpful when I do. If the machine losses connection or I shut down the control when it's not at home soft limits prevent making it to the switch after rebooting. I would just use the button to turn them off so I can jog the axis close enough to the switch to home. Then I would enable them again.

    Thanks
    Ben

    Sent from my HTC6525LVW using Tapatalk



  11. #23
    Registered
    Join Date
    Jun 2013
    Location
    USA
    Posts
    942
    Downloads
    0
    Uploads
    0

    Default Re: New screen

    Also I would only need to disable limits in the direction of home.

    Ben

    Sent from my HTC6525LVW using Tapatalk



  12. #24
    Registered
    Join Date
    Jun 2004
    Location
    Scotland
    Posts
    264
    Downloads
    0
    Uploads
    0

    Default Re: New screen

    Personally, I would not set soft limits in the init.c.
    I'd leave them at the default 1e+09, and then only set them as part of the homing routine once the machine has homed.



Page 2 of 2 FirstFirst 12

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

New screen
New screen