Galil Motion Control manc 18x 6 Page 136
DMC-18x6 Command Reference
128
<control>L<control>K
FUNCTION: Lock program
DESCRIPTION:
<control>L<control>K locks user access to the application program. When locked, the ED, UL,
LS, and TR commands will give privilege error #106. The application program will still run
when locked.
The locked or unlocked state can be saved with a BN command. Upon master reset, the controller
is unlocked. Once the program is unlocked, it will remain accessible until a lock command or
a reset (with the locked condition burned in) occurs.
ARGUMENTS: <control>L<control>Kpassword,n
where
When n is 1, this command will lock the application program.
When n is 0, the program will be unlocked.
USAGE: DEFAULTS:
While Moving
Yes
Default Value
-
In a Program
Yes
Default Format
-
Command Line
Yes
Controller Usage
ALL CONTROLLERS
RELATED COMMANDS:
Password
program
program
program
program
EXAMPLES:
:PWtest,test
Set password to "test"
:^L^Ktest,1 Lock
the
program
:ED
Attempt to edit program
?
:TC1
106 Privilege violation
: