![background image](http://html1.mh-extra.com/html/omron/r88a-mcw151-drt-e/r88a-mcw151-drt-e_operation-manual_742243170.webp)
155
Command, function and parameter description
Section 6-3
Description:
The LIST command prints the current selected program or the program spec-
ified by program_name. The program name can also be specified without
quotes. If the program name is omitted, the current selected program will be
listed.
Precautions:
This command is implemented for an offline (VT100) terminal. Within Motion
Perfect users can use the Program Editor.
Arguments:
program_name
The program to be printed.
See also:
SELECT
6-3-109 LN
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 zero.
Arguments:
expression
Any valid BASIC expression.
Example:
>> PRINT LN(10)
2.3026
6-3-110 LOCK
Type:
System Command
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 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.
!WARNING
The security code must be remembered; it will be required to unlock the sys-
tem. Without the security code the system can not be recovered.
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.
6-3-111 MARK
Type:
Axis Parameter
Description:
The MARK parameter contains value TRUE when a (primary) registration
event has occurred to indicate that the value in the REG_POS axis parameter
is valid. MARK is set to FALSE when the REGIST command has been exe-
cuted and is set to TRUE when the register event occurs.
Note This parameter is read-only.
See also:
AXIS, REG_POS, REGIST