Loading and executing a G-code file from outside KmotionCNC


Results 1 to 3 of 3

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

  1. #1

    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

    Similar Threads:


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

    Default 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

    Regards
    TK http://dynomotion.com


  3. #3

    Default 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



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

Loading and executing a G-code file from outside KmotionCNC

Loading and executing a G-code file from outside KmotionCNC