Kflop to Mach3 signal bit


Results 1 to 3 of 3

Thread: Kflop to Mach3 signal bit

  1. #1
    Registered
    Join Date
    Mar 2008
    Location
    Canada
    Posts
    67
    Downloads
    0
    Uploads
    0

    Default Kflop to Mach3 signal bit

    Hi,
    What is the method to send a signal from a kflop c program to a mach3 vbscript?

    Thanks,
    Frank

    Similar Threads:


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

    Default

    Hi Frankee,

    I'm not sure I understand what you mean. An input signal?

    KFLOP has Virtual IO bits (IO numbers 48-63) that you can Set/Clear from a C Program. Or you might use one of the KFLOP LEDs (#46 or #47). You can configure inputs in Mach3 in the:

    Mach3 | Ports&Pins | Inputs

    Set the Port as 1 and the Pin as the KFLOP IO Number.

    You can then poll that Mach3 input in the Mach3 CB Script.

    To pass floating point values between Mach3 and KFLOP see:

    Mach3 Plugin Passing DROs

    HTH

    Regards
    TK http://dynomotion.com


  3. #3
    Registered
    Join Date
    Mar 2008
    Location
    Canada
    Posts
    67
    Downloads
    0
    Uploads
    0

    Default

    Hi Tom,

    I setup a system where a Mach VBscript triggered a function in a Kflop thread and then needed to know when the Kflop function was completed before it would return from the script. I ended-up using the the DRO <> persist.Userdata mapping.

    It probably wouldn't hurt to have a more detailed document on how the Kflop driver interacts with Mach3.

    Frank



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

Kflop to Mach3 signal bit

Kflop to Mach3 signal bit