Hello Guest it is March 28, 2024, 05:36:10 AM

Author Topic: Reading data from outside, generating G code and executing it  (Read 3870 times)

0 Members and 1 Guest are viewing this topic.

I have a need to read data from outside system generating x y z coordinates, generating G code line, executing it in MACH and repeating this loop.

Can somebody point me in the right direction.
Thanks

Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: Reading data from outside, generating G code and executing it
« Reply #1 on: March 31, 2013, 11:34:56 PM »
ok, have your outside source write a plain text file of coordinates, (or what ever else).
open/read that file into your plugin, process your lines into G-code, push that into
a cstring block. Push that block into the Gcode editor via mach3 calls, then run the code.....

:)
fun times
Re: Reading data from outside, generating G code and executing it
« Reply #2 on: April 02, 2013, 08:22:44 AM »
Thank you for your kind advice.