All BASIC commands
Section 4-2
198
/i
/i
Example
The following command sequence plots the letter O:
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
Example
A machine is required to drop chemicals into test tubes. The nozzle can
move up and down and also along its rail. The most efficient motion for
the nozzle is to move in an arc between the test tubes.
BASE(0,1)
MOVEABS(0,5) 'move to position above first tube
MOVEABS(0,0) 'lower for first drop
WAIT IDLE
OP(15,ON) 'apply dropper
WA(20)
OP(15,OFF)
FOR x=0 TO 5
MOVECIRC(5,0,2.5,0,1) 'arc between the test tubes
WAIT IDLE
OP(15,ON) 'Apply dropper
WA(20)
OP(15,OFF)
NEXT x
MOVECIRC(5,5,5,0,1) 'move to rest position
See also
AXIS
,
ENCODER_RATIO
,
UNITS
(0,5)
END
AXIS 0
1
SI
X
A
Содержание trajexia CJ1W-MCH72
Страница 69: ...Specifications Section 2 4 58...
Страница 83: ...FINS commands Section 3 4 72...
Страница 147: ...All BASIC commands Section 4 2 136 AXIS 1 AXIS 0...
Страница 277: ...All BASIC commands Section 4 2 266...
Страница 278: ...267 SECTION 5 Examples This chapter gives 2 categories of examples and tips How to s Practical examples...
Страница 371: ...360 Index...
Страница 373: ...362...