BASIC commands
PROGRAMMING MANUAL
173
R
e
vi
si
o
n
1
.0
fig. 57
/i
Z MARK
SERVO MOTOR
Example
A disc used in a laser printing process requires registration to the Z marker
before it can start to print. The example code locates to the Z marker, and
then sets it as the zero position.
REGIST(1) 'set registration point on Z mark
FORWARD 'start movement
WAIT UNTIL MARK
CANCEL 'stops movement after Z mark
WAIT IDLE
MOVEABS (REG_POS) 'relocate to Z mark
WAIT IDLE
DEFPOS(0) 'set zero position