BASIC commands
PROGRAMMING MANUAL
113
Revi
si
on 3.0
/i
Note: The
MOVECIRC
computes the radius and the total angle of rotation
from the centre, and end-point. If the end point does not lie on the calculated
path, the move simply ends at the computed end and not the specified end
point. It is the responsibility of the programmer to ensure that the two points
correspond to correct points on a circle.
Example
The command sequence to plot the letter 0 might be as follows:
MOVE(0,6) ' Move A -> B
MOVECIRC(3,3,3,0,1) ' Move B -> C
MOVE(2,0) ' Move C -> D
MOVECIRC(3,-3,0,-3,1) ' Move D -> E
MOVE(0,-6) ' Move E -> F
MOVECIRC(-3,-3,-3,0,1) ' Move F -> G
MOVE(-2,0) ' Move G -> H
MOVECIRC(-3,3,0,3,1) ' Move H -> A
See also
AXIS
,
ENCODER_RATIO
,
UNITS
SPECIFIED END POINT
ACTUAL END POINT
Direction
Right-hand axis
Left-hand axis
1
Negative
Positive
0
Positive
Negative
I52E-EN-03.book Seite 113 Freitag, 29. Juni 2007 11:55 11