start program on external signal


Results 1 to 2 of 2

Thread: start program on external signal

  1. #1
    Registered
    Join Date
    Jun 2010
    Location
    Russia
    Posts
    4
    Downloads
    0
    Uploads
    0

    Default start program on external signal

    Hi Tom
    Could you advise me, how to make my program #2 to start all the time when signal on the bit 139 change from low to high?

    thank you in advance

    Similar Threads:


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

    Default Re: start program on external signal

    Hi bouseman,

    I assume you are using KmotionCNC? If so you might create a User Button (possibly hidden with no name) configured to execute a program in KFLOP Thread #2 that you could "push" from KFLOP with:

    DoPCInt(PC_COMM_USER_BUTTON,3);

    See the KFLOPtoPCCmdExamples.c and ExternalButtons.c examples.

    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

start program on external signal

start program on external signal