BASIC commands
PROGRAMMING MANUAL
106
Revi
si
on 3.0
3.2.168 LN
/i
3.2.169 LOCK
/i
3.2.170 MARK
/i
Example
In an application where the following GLOBAL and CONSTANT have been
set:
CONSTANT "cutter", 23
GLOBAL "conveyor",5
>>LIST_GLOBAL
Global VR
---------------- ----
conveyor 5
Constant Value
---------------- -------
cutter 23.0000
See also
N/A
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, 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
.
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.
Arguments
N/A
I52E-EN-03.book Seite 106 Freitag, 29. Juni 2007 11:55 11