Hello Guest it is May 15, 2021, 07:11:49 PM

Author Topic: Replacing Pendant brain file with lua  (Read 274 times)

0 Members and 1 Guest are viewing this topic.

Replacing Pendant brain file with lua
« on: February 25, 2020, 03:32:37 AM »
I am just moving from Mach3 to mach4, and I would like to use my wired pendant.
The problem is that under mach3, a "Brain" file was used, and not applicable to mach4.

Lua is the obvious answer, and should not be too difficult, once a start is made.
Ideally, it could go in a "Lua Panel" on the screen, I hope to avoid changing anything in the Standard Lua file (Screenscript.lua)
Anyone fixed a similar problem ?

Offline smurph

*
  • *
  •  1,402 1,402
  • "That there... that's an RV."
    • View Profile
Re: Replacing Pendant brain file with lua
« Reply #1 on: February 25, 2020, 03:23:53 PM »
Use the PMC ladder logic feature of Mach4.  It is very similar to Brains. 

Steve
Re: Replacing Pendant brain file with lua
« Reply #2 on: February 25, 2020, 06:15:42 PM »
Steve. Thanks for that, hadn't found PMC yet. Now I have + a good video on it as well.