Hello Guest it is May 18, 2025, 02:08:45 AM

Author Topic: Using Lua to send commands to Galil  (Read 4623 times)

0 Members and 1 Guest are viewing this topic.

Using Lua to send commands to Galil
« on: March 28, 2022, 11:14:13 AM »
Is there a way to send a command to the Galil through Lua? I tried using the "DMC4020/Command" register, but that register does not seem to be for relaying commands to the Galil, and there is no other register I can see in the Galil registers.

I'm trying to initiate a homing/initialization routine on startup of Mach4 (to find the index of both axes), but I want a dialog box to prompt the user before motion begins, so using the built-in Galil "startup" or "before profiled move" settings doesn't really work for us.