Kmotion CNC - Preventing "Execute" if certain conditions aren't met


Results 1 to 2 of 2

Thread: Kmotion CNC - Preventing "Execute" if certain conditions aren't met

  1. #1
    Registered
    Join Date
    Sep 2012
    Location
    United States
    Posts
    44
    Downloads
    0
    Uploads
    0

    Default Kmotion CNC - Preventing "Execute" if certain conditions aren't met

    Is there a way to prevent a user from executing the Gcode in Kmotion CNC unless some conditions are met?

    IE, they can't cycle start if the machine isn't homed, lube levels are low, or air pressure is low?

    Also, is there a way to tell a C program that the machine is executing G-code? This way you can't manipulate the MPG by mistake while it's running a program!

    Similar Threads:
    Last edited by nickcornilsen; 02-05-2013 at 12:27 AM.


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

    Default

    Hi Nick,

    We don't have that functionality. But you could add a watchdog type of loop that would keep all your axes disabled whenever something is wrong like low air pressure.

    If you don't enable your axes except in the Home routine that should always force a Home first. That basically eliminates the need for an Initialize function. If you need an re-initialize function without homing you can use a flag (ie Virtual Bit 48) to indicate to the re-initialize routine the system has been homed. On power up all Virtual bits are guaranteed to be clear.

    Regarding the MPG we would need to add something for that. Some users add a button they need to hold down for the MPG to work.

    HTH
    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

Kmotion CNC - Preventing "Execute" if certain conditions aren't met

Kmotion CNC - Preventing "Execute" if certain conditions aren't met