603,826 active members*
4,257 visitors online*
Register for free
Login
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2008
    Posts
    67

    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

  2. #2
    Join Date
    May 2006
    Posts
    4090
    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
    TK
    http://dynomotion.com

  3. #3
    Join Date
    Mar 2008
    Posts
    67
    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

Similar Threads

  1. KFLOP replacing LPT/Mach3 How To
    By Fish4Fun in forum Dynomotion/Kflop/Kanalog
    Replies: 48
    Last Post: 05-20-2014, 11:22 PM
  2. Mach3/Kflop - feedhold/cyclestart
    By Snipes44 in forum Dynomotion/Kflop/Kanalog
    Replies: 1
    Last Post: 10-24-2012, 01:56 AM
  3. Mach3/Kflop - Homing
    By Snipes44 in forum Dynomotion/Kflop/Kanalog
    Replies: 5
    Last Post: 10-18-2012, 06:06 AM
  4. Mach3 vs Kflop
    By MarunovV in forum Dynomotion/Kflop/Kanalog
    Replies: 13
    Last Post: 07-25-2012, 08:54 PM
  5. KFlop+Mach3 on Windows 7
    By nova24 in forum Dynomotion/Kflop/Kanalog
    Replies: 2
    Last Post: 03-08-2012, 05:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •