Hello Guest it is April 13, 2021, 01:05:16 PM

Author Topic: Mach4 drip feed  (Read 1065 times)

0 Members and 1 Guest are viewing this topic.

Mach4 drip feed
« on: March 27, 2018, 07:51:41 PM »
Is there an easy way to drip feed mach 4 ?
either serial port ,TCP port, or file (externally appended to)


Re: Mach4 drip feed
« Reply #1 on: March 27, 2018, 07:56:31 PM »
Hi,
what do you mean? Drip feeding data or code or what...saline solution?

Craig
My wife left with my best friend...
     and I miss him!
Re: Mach4 drip feed
« Reply #2 on: March 28, 2018, 07:25:58 AM »
Drip feed was a way to get around the small expensive memory limitations of CNC controllers in the past. Memory capabilities of Mach 4 are huge. Are you doing something that is even bigger or just trying to be compatible with an existing drip feed system?
Re: Mach4 drip feed
« Reply #3 on: March 28, 2018, 07:38:59 AM »
Hi
Need to control mach4 from an external program, and drip feeding seemed the easiest way of doing it.
Unless there is a way of connecting the MDI input to a TCP port instead of a keyboard
Re: Mach4 drip feed
« Reply #4 on: March 28, 2018, 07:53:48 PM »
Hi,
OK I understand now.

I believe that Mach/Lua is capable of supporting a TCP socket which could in turn feed textual Gcode
instructions from a remote file or server. The textual Gcode could be acted on:
mc.mcCntlGcodeExecute(inst,"[Gcode Textual Line]"), note I would not use the ExecuteWait() variant of the API,
you wish this to run as if it were a regular Gcode job.

I personally have no experience of setting up a Lua socket but there is a thread on the forum currently about such matters.
I think also that there is a example in the Mach4/Lua Examples folder.

Craig
My wife left with my best friend...
     and I miss him!