Hello Guest it is April 26, 2024, 11:40:46 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - smurph

421
Mach4 General Discussion / Re: Screen Editor - Hide bar
« on: September 23, 2019, 01:14:12 PM »
The painting yourself into a corner comment was about making sure you leave a way to get the menu bar back on the screen if you need it.  Edit the screen and drop a button on any page/tab you want.  Or create a new tab, etc...

Just a button with:

scr.ShowMenu(true);  --in the button up event script property

Or a toggle button to toggle between on and off

scr.ShowMenu(true); -- in the button up event script property

and

scr.ShowMenu(false); -- in the button down event script property

Use the screen load script to set the initial state of the menu bar, if needed. 

Steve

422
Mach4 General Discussion / Re: Request for LUA advice: Rigid Tapping
« on: September 23, 2019, 01:02:41 PM »
You cannot modify the G84 call.  If you have Mach Industrial, you can program a G code (say G84.5) to do what you want.  Otherwise, it will have to be an M code.  And in both cases, Mach will wait on those functions to finish.

Steve

423
Mach4 General Discussion / Re: Screen Editor - Hide bar
« on: September 23, 2019, 12:48:49 PM »
?  It is only one line.

scr.ShowMenu(false);

424
Mach4 General Discussion / Re: Mach 4 cv tuning wizard slider inoperable
« on: September 20, 2019, 09:55:59 PM »
It is because you are moving fast.  That and the fact that the simulator isn't a REAL motion controller.  This happens in Sim with rapid moves. 

425
Mach4 General Discussion / Re: check gcode file before run
« on: September 20, 2019, 09:46:43 PM »
The Module Works plugin will do collision detection, etc...  You might be able to write a LUA wizard or script that uses the MachAPI to do what you want to do.  But the Module Works was designed with this kind of task in mind.  However, you and your clients will have to learn to use the tool as you need to do a lot of tool table setups to more fully describe the tools, etc...

Steve

426
No, it will not work.  Use VistaCNC (as many have suggested) if you want a nice MPG for Mach4.

Steve

427
You are correct, the stock FRO doesn't affect any type of jog.  The Jog Rate affect jogs.  The slider on the bottom of the jog panel in a stock screen set or the Continuous Jog on that panel you have.  FRO should NEVER affect any jog rates.  That is purely for G code feeds. 

Steve

428
Mach4 General Discussion / Re: luac files
« on: September 11, 2019, 01:41:17 AM »
They are compiled LUA scripts.  The "c" on the end of the extension denotes the compiled nature.

Also, mcs vs. mcc extentions for the macro scripts. 

mcs, lua == human readable scripts.
mcc, luac == compiled scripts. 

If the script is compiled, then there is a reason for that.  A lot of times it is so that users can't change it and cause support issues.  And I'm sure there are other reasons that I'm not aware of too. 

Steve

429
Mach4 General Discussion / Re: Mach4 bug (wizards) - v 4.2.0.4305 + 4300
« on: September 10, 2019, 09:53:23 PM »
Look for versions of these files with a "mcc" extensions.  The mcs files are from your OLD install that had 5.2 LUA.  mcs files were never supposed to be compiled, but were, do to a misunderstanding way back when.

mcs == non-compiled human readable LUA scripts.
mcc == compiled scripts. 

Delete any non-readable *.mcs files and you should be good to go. 

430
Mach4 General Discussion / Re: Android as remote control
« on: September 05, 2019, 04:04:01 PM »
The easier thing to do is write a web application that uses the Mach API.  Then use the phone/tablet's web browser.  But that is not something that is on our list of things to do.  I'm just throwing the idea out there. 

Steve