584,871 active members*
5,561 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > Dynomotion/Kflop/Kanalog > Set Cycle Start Button in KmotionCNC by .c program
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2014
    Posts
    1

    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

  2. #2
    Join Date
    May 2006
    Posts
    4043

    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
    TK
    http://dynomotion.com

Similar Threads

  1. Mach 3 Cycle Start Button Configuration
    By GBilyarski in forum Mach Software (ArtSoft software)
    Replies: 2
    Last Post: 01-29-2019, 08:01 PM
  2. WATERJET CYCLE START BUTTON PROBLEM
    By isheeeljan in forum Laser Engraving / Cutting Machine General Topics
    Replies: 2
    Last Post: 11-23-2015, 06:31 AM
  3. MACH 3 cycle start button
    By Rick7702 in forum Mach Mill
    Replies: 26
    Last Post: 05-21-2013, 11:49 PM
  4. External Cycle Start button
    By Jerry Shorter in forum LinuxCNC (formerly EMC2)
    Replies: 2
    Last Post: 06-07-2010, 07:59 PM
  5. Cycle Start button
    By kaleem1 in forum Mach Software (ArtSoft software)
    Replies: 7
    Last Post: 12-24-2005, 09:05 PM

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
  •