Q: How do I improve the security of my controller with lock and unlock commands?

Controller security can be enhanced by adding lock and unlock commands to your programming.  These commands, and the careful use of the Control Operator Password, will turn off access to macros that are not executed with the correct password.  Multiple lock values can be used to enable and disable groups of macros.

This is example programming for lock and lock commands:

; Lock/Unlock controller
;
; Set the passwords
MPW 92 5678 *             ; default CPW to lock value, never used

; Lock Macro
MPW 20 0005 MPW 92 5678 * ; set CPW to lock value

; Unlock Macro
MPW 20 8080 MPW 92 1234 * ; set CPW to unlock value

; Test Macro, Only Works when CPW is unlock value, 1234
MPW 21 2000 *
MPW 20 2000 1234 15 9960 1352 * ; Test Macro
 

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer