Specifications
BASIC commands
PROGRAMMING MANUAL 112
Revision 5.0
3.2.171 MARK
/i
3.2.172 MARKB
/i
3.2.173 MECHATROLINK
/i
Syntax LOCK(code)
UNLOCK(code)
Description The LOCK command prevents the program from being viewed, modified or
deleted by personnel unaware of the security code. The lock code number is
stored in the Flash-ROM. The UNLOCK command allows the locked state to
be unlocked. The code number can be any integer and is held in encoded
form. LOCK is always an immediate command and can be issued only when
the system is UNLOCKED.
LOCK and UNLOCK are available from within Trajexia Studio, users can
select LOCK and UNLOCK commands from the Online menu.
Arguments • code
Any valid integer with maximum 7 digits.
Example >> LOCK(561234)
The programs cannot be modified or seen.
>> UNLOCK(561234)
The system is now unlocked.
See also N/A
Caution
The security code must be remembered; it will be required to
unlock the system. Without the security code the system can not
be recovered.
Type Axis parameter (read-only)
Syntax MARK
Description The MARK is set to FALSE when the REGIST command has been executed
and is set to TRUE when the primary registration event occurs. Only when
this parameter is TRUE, the REG_POS value is correct.
Arguments N/A
Example loop:
WAIT UNTIL IN(punch_clr)=ON
MOVE(index_length)
REGIST(3)
WAIT UNTIL(MARK)
MOVEMODIFY(REG_POS + offset)
WAIT IDLE
GOTO loop
See also AXIS, REGIST, REG_POS.
Type Axis parameter (read-only)
Syntax MARKB
Description The MARKB is set to FALSE when the REGIST command has been exe-
cuted and is set to TRUE when the primary registration event occurs. Only
when this parameter is TRUE, the REG_POS B value is correct.
Arguments N/A
Example IF MARKB AXIS(2) THEN
PRINT "Secondary registration event for axis 2 occurred"
ENDIF
See also AXIS, REGIST, REG_POSB.
Type System command