Hello Guest it is April 16, 2024, 03:44:18 PM

Author Topic: Lockdown Mach3  (Read 3615 times)

0 Members and 1 Guest are viewing this topic.

Lockdown Mach3
« on: December 22, 2009, 07:12:13 AM »
Just wondering whether it is possible to lockdown Mach3 settings before putting into a production environment. We are going to use with Children to teach CNC programming etc so only want them to be able to import GCODE etc and not play around with the other settings (ports and pins, motor tuning etc etc).

Is there anything like this available?

Many thanks
James

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Lockdown Mach3
« Reply #1 on: December 22, 2009, 08:48:16 AM »
You can hide all the menus, it is an option on the General config page but afraid I cant remember the oem of the button or the VB call to turn it back on again, will see if I can find out.
Hood

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: Lockdown Mach3
« Reply #2 on: December 22, 2009, 09:46:12 AM »
I think your best bet would be a custom screen and no menu's.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

Offline stirling

*
  • *
  •  2,188 2,188
  • UK
    • View Profile
    • www.razordance.co.uk
Re: Lockdown Mach3
« Reply #3 on: December 22, 2009, 12:19:47 PM »
James - please don't double post - (Feature requests)

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Lockdown Mach3
« Reply #4 on: December 22, 2009, 08:23:08 PM »
Ok Brett remembered the OEM, to turn the menus back on its OEM button 349 and 348 to shut them off.
So if you open the VB editor (from Operator menu) and put this in it

DoOemButton(348)

Then save as m123.m1s in the macro folder of the profile you are using, then save another with

DoOemButton(349)

saved as m124.m1s then you can MDI m123 or m124 and your menus will show or hide.

You can choose to save as any other m code you like as long as its over 101

Oh I think you may have to also disable the system menus on the General Config page if you want it to start up with menus hidden.

Hood

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Lockdown Mach3
« Reply #5 on: December 22, 2009, 08:37:50 PM »
OK scrub that LOL, just tried via a macro and it doesnt work for some reason. You will need to do it via a screen button. You can make the button invisible and place it somewhere on the screen you wouldnt normally press.
To do that open the screenset in Screen 4 and choose the Image Button Icon, click once on the screen so that the button appears and then click the None Icon so you dont end up putting buttons at every click ;D
Next double click on the new button and choose it to be a VB button and then OK. Place the button where you want it then exit screen 4 and start Mach, go to Operator menu and choose Edit Button Scripts and then click where you placed the button (you wont see it because you never assigned an image ;) ) The editor should open, just put

DoOemButton(349) in the button and then save and exit.

On General Config page choose the option to hide system menus then restart Mach. Menus should be gone but if you click on the invisible button they should re-appear.

Hood
« Last Edit: December 22, 2009, 08:40:13 PM by Hood »