Hello Guest it is March 29, 2024, 01:51:00 AM

Author Topic: Lock Settings with Macro  (Read 4026 times)

0 Members and 1 Guest are viewing this topic.

Lock Settings with Macro
« on: January 12, 2015, 02:40:46 PM »
Hi guys,

I plan to equip my MACH3 driven mill with a control panel to have my most used functions on hard buttons.

At the same time it would be great to have a software locking mechanism if I am not around and the machine is hot.
Is there a possibility to lock the screen and prevent people from making changes to settings (also) using the hardware buttons without influencing the running program or general state of the machine?

I still had a 3 position key switch at hand.

AUTO - All buttons except potentiometers for manual feed and spindle override
0 - Screen locked, buttons locked
MANUAL -  All buttons plus potentiometers allowed

Thank you very much in advance!
André

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Lock Settings with Macro
« Reply #1 on: January 13, 2015, 02:35:18 AM »
You can LOCK/UNLOCK the system menus from the operator Menu.

Somewhere in the Normal Screenset (1024.set) add a button and create the code to toggle to the Simple screenset.
DoOemButton(232)

Then create a Simple Screen page (*.sset) with 1 page  Page Zero. Leave it empty EXCEPT for 1 button to return Back to the normal page.  Make this button code as a password function.

IF Question("PassCode ?") = 123456 THEN
DoOemButton(232)

End IF


NOW When you are ready to leave the machine Press the screen button to leave. It will go to the empty screenset THEN from the OPERATOR menu LOCK out the menus with a password (Remember the password)


To return to normal  Press the button on the empty screen enter the PassCode to toggle back to the normal screen. Then GOTO operator menu and UNLOCK the Menus.

Just a thought, (;-) TP
Re: Lock Settings with Macro
« Reply #2 on: January 14, 2015, 07:33:48 AM »
Very clever idea, thank you for this hint!
What does this do to the hardware buttons, e.g. the cycle start?

Alternatively I could use a relay to cut the buttons from the minus pin ;-)

André

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Lock Settings with Macro
« Reply #3 on: January 14, 2015, 11:39:03 AM »
YOu can also use the Safety LOCKOUT function. When if active it will NOT generate any moves.

(;-) TP