Omron trajexia CJ1W-MCH72 Operation Manual page 194

Sysmac cj-series programmable controller
Hide thumbs Also See for trajexia CJ1W-MCH72:
Table of Contents

Advertisement

All BASIC commands
4-2-150 LN
4-2-151 LOCK
!Caution
4-2-152 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
/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
183

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents