![background image](http://html1.mh-extra.com/html/omron/sysmac-cj-series/sysmac-cj-series_operation-manual_743585194.webp)
All BASIC commands
Section 4-2
182
4-2-147 LN
/i
4-2-148 LOCK
/i
!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.
4-2-149 MARK
/i
Type
Mathematical function
Syntax
LN(expression)
Description
The
LN
function returns the natural logarithm of the expression. The
input expression value must be greater than 0.
Arguments
•
expression
Any valid BASIC expression.
Example
>> PRINT LN(10)
2.3026
See also
N/A
Type
System command
Syntax
LOCK(code)
UNLOCK(code)
Description
The
LOCK
command prevents the program from being viewed, modi-
fied or deleted by personnel unaware of the security code. The lock
code number is stored in the flash EPROM. 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
is available from within Trajexia Studio, users can lock the device
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
Type
Axis parameter (read-only)
Syntax
MARK
Description
The
MARK
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
value is correct.
Arguments
N/A
Содержание SYSMAC CJ Series
Страница 2: ......
Страница 70: ...Specifications Section 2 4 58...
Страница 84: ...FINS commands Section 3 4 72...
Страница 148: ...All BASIC commands Section 4 2 136 AXIS 1 AXIS 0...
Страница 277: ...Section 265 SECTION 5 Examples This chapter gives 2 categories of examples and tips How to s Practical examples...
Страница 370: ...Section 358...