Need Help! Set Cycle Start Button in KmotionCNC by .c program


Results 1 to 2 of 2

Thread: Set Cycle Start Button in KmotionCNC by .c program

  1. #1
    Member
    Join Date
    Jul 2014
    Posts
    1
    Downloads
    0
    Uploads
    0

    Default Set Cycle Start Button in KmotionCNC by .c program

    Hi to all,
    it's about a week that i try to understand how to say to kmotioncnc to bring a button I/O signal to switch on the cycle start button but i think i'm so far to understand.
    I think i have to use the persist data in particular

    DoPC(PC_COMM_EXECUTE);

    But i don't understand how.

    I need a .c program that make this:

    Cycle Start Button in kmotionCNC call a .c program

    the c program tell to kmotionCNC that when Optoin6 (175) of Kstep is High it's like press the Cycle Start button on the screen.

    i read all of the examples like KFLOPtoPCCmdExamples.c in the .c program directory a lot of threads and also the guide line on
    Controlling KMotionCNC from KFLOP but my C programming skills are too limited to make this
    There is someone that can teach me how i have to this?
    thanks,
    AR


    Similar Threads:


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

    Default Re: Set Cycle Start Button in KmotionCNC by .c program

    Hi AR,

    See the ExternalButtons.c example of how to debounce an input and when the input transitions high trigger Cycle Start by calling DoPC(PC_COMM_EXECUTE);

    HTH

    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

Set Cycle Start Button in KmotionCNC by .c program

Set Cycle Start Button in KmotionCNC by .c program