587,012 active members*
3,490 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > Dynomotion/Kflop/Kanalog > Loading and executing a G-code file from outside KmotionCNC
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2014
    Posts
    22

    Post Loading and executing a G-code file from outside KmotionCNC

    We currently use the Kflop to control a robot for a testing application. We use a C# form to create a G-code routine then use KmotionCNC to execute it. We would like to be able to automatically execute load and execute the G-code in KmotionCNC with the C# form (external call). At one point in V4.33q this functionality existed:
    ON_COMMAND(ID_ReloadGCodeFile, OnReloadGCodeFile)
    ON_COMMAND(ID_OpenGCodeFile, OnOpenGCodeFile)
    ON_WM_COPYDATA()
    However, it seems this wasn't included in the 4.33 final release. What would I have to do to get this functionality with 4.33?

    Thanks,
    Troy

  2. #2
    Join Date
    May 2006
    Posts
    4047

    Re: Loading and executing a G-code file from outside KmotionCNC

    Hi Troy,

    Sorry for the delay. Somehow I missed this post. Is it resolved?

    The functionality should be in V4.34i

    Regards
    TK
    http://dynomotion.com

  3. #3
    Join Date
    Dec 2014
    Posts
    22

    Re: Loading and executing a G-code file from outside KmotionCNC

    Hi Tom,

    Yes. V4.34i allows us to use C# to open the Gcode file in KMCNC per the example in C:\KMotion434i\PC VCS Examples\SimpleFormsCS, and DoPC(PC-COMM_EXECUTE) to execute it.

    Thank you!
    Troy

Similar Threads

  1. Loading XML File.
    By Ark1 in forum Mach Wizards, Macros, & Addons
    Replies: 18
    Last Post: 04-19-2014, 12:01 PM
  2. KMotionCNC Source Code
    By jtompkins in forum Dynomotion/Kflop/Kanalog
    Replies: 2
    Last Post: 03-26-2014, 04:37 AM
  3. Loading a CAD file to V25?
    By vance1911 in forum BobCad-Cam
    Replies: 7
    Last Post: 04-18-2013, 07:35 PM
  4. Mazak Matrix 3-digit G-code File Loading
    By fbergski in forum Mazak, Mitsubishi, Mazatrol
    Replies: 9
    Last Post: 01-11-2011, 03:12 PM
  5. File loading issue
    By life3970 in forum Milltronics
    Replies: 4
    Last Post: 08-21-2008, 05:00 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
  •