Omron SYSMAC CJ Operation Manual page 194

Sysmac cj-series programmable controller motion control unit
Hide thumbs Also See for SYSMAC CJ:
Table of Contents

Advertisement

All BASIC commands
4-2-147 LN
4-2-148 LOCK
!Caution
4-2-149 MARK
182
/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
/i
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
The security code must be remembered; it will be required to unlock the system.
Without the security code the system can not be recovered.
/i
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
Section 4-2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cj1w-mch72

Table of Contents