BASIC commands
PROGRAMMING MANUAL
57
Revi
si
on 3.0
3.2.46 CLEAR
/i
3.2.47 CLEAR_BIT
/i
3.2.48 CLEAR_PARAMS
/i
3.2.49 CLOSE_WIN
/i
3.2.50 CLUTCH_RATE
/i
Type
System command
Syntax
CLEAR
Description
The
CLEAR
command resets all global VR variables to 0. When you use it in
a program it also resets the local variables on the current task to 0.
Arguments
N/A
Example
No example.
See also
•
RESET
,
VR
Type
System command
Syntax
CLEAR_BIT(bit_number, vr_number)
Description
The
CLEAR_BIT
command resets the specified bit in the specified VR varia-
ble to 0. Other bits in the variable keep their values.
Arguments
•
bit_number
The number of the bit to be reset. Range: 0 - 23.
•
vr_number
The number of the VR variable for which the bit will be reset. Range: 0 -
1023.
Example
No example.
See also
READ_BIT
,
SET_BIT
,
VR
.
Type
System command
Syntax
CLEAR_PARAMS
Description
Clears all variables and parameters stored in flash EPROM to their default
values. CLEAR_PARAM cannot be performed if the controller is locked.
Arguments
N/A
Example
No example.
See also
N/A
Type
Axis parameter
Syntax
CLOSE_WIN
CW
Description
The
CLOSE_WIN
axis parameter defines the end of the window inside or out-
side which a registration mark is expected. The value is in user units.
Arguments
N/A
Example
No example.
See also
AXIS
,
OPEN_WIN
,
REGIST
,
UNITS
.
Type
Axis parameter
Syntax
CLUTCH_RATE
Description
The
CLUTCH_RATE
axis parameter defines the change in connection ratio
when using the
CONNECT
command. The rate is defined as amount of ratio
per second
The default value is set to a high value (1000000) in order to ensure compati-
bility with previous TJ1-MC__ units.
Note: The operation using
CLUTCH_RATE
is not deterministic in position. If
required, use the
MOVELINK
command instead to avoid unnecessary phase
difference between base axis and linked axis.
Arguments
N/A
Example
CLUTCH_RATE = 4
This setting will imply that when giving
CONNECT(4,1)
, it will take one sec-
ond to reach the full connection.
I52E-EN-03.book Seite 57 Freitag, 29. Juni 2007 11:55 11