BASIC commands
PROGRAMMING MANUAL
69
R
e
vi
si
o
n
1
.0
fig. 19
/i
3.2.66 CORNER_STATE
/i
0
1000
666
333
166
Example
Bit 3 - allows
FULL_SP_RADIUS
In the following program, when the first two
MOVECIRCSP
is reached the
speed remains at 1000 because the radius (60) is greater than that set in
FULL_SP_RADIUS
. The speeds of the following circular moves are reduced
to 60% (40/60), 30% (20/60) and 15% (20/60) because the radius is propor-
tionally lower than that stored in
FULL_SP_RADIUS
.
BASE(0)
CORNER_MODE=8 'Enable use of FULL_SP_RADIUS (bit 3 ON)
FULL_SP_RADIUS=60
MERGE=ON
FORCE_SPEED=1000
ENDMOVE_SPEED=1000
MOVECIRCSP(150,0,75,0,1)
MOVECIRCSP(120,0,60,0,0)
MOVECIRCSP(80,0,40,0,1)
MOVECIRCSP(40,0,20,0,0)
MOVECIRCSP(20,0,10,0,1)
See also
CORNER_STATE
,
DECEL_ANGLE
,
RAISE_ANGLE
,
STOP_ANGLE
,
FULL_SP_RADIUS
Type
Axis parameter
Syntax
CORNER_STATE
Description
Allows a BASIC program to interact with the move loading process to facilitate
knife rotation at sharp corners. Bit 2 of
CORNER_MODE
must be set for this
functionality.
Description of the bits in
CORNER_STATE
:
Bit 1 - This bit is set when the change in direction is above
RAISE_ANGLE
Bit 2 - Set this bit to continue at
FHSPEED
Bit 3 - This bit is set when the axis is continuing at
FHSPEED
Clear all bits to continue normal operation.
Arguments
N/A