Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: Machtank on February 25, 2020, 03:32:37 AM

Title: Replacing Pendant brain file with lua
Post by: Machtank 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 ?
Title: Re: Replacing Pendant brain file with lua
Post by: smurph on February 25, 2020, 03:23:53 PM
Use the PMC ladder logic feature of Mach4.  It is very similar to Brains. 

Steve
Title: Re: Replacing Pendant brain file with lua
Post by: Machtank 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.