Motion Coordinator Technical Reference Manual
Trio BASIC Commands 8-31
Motion and Axis Commands
FORWARD
Type:
Axis Command
Alternate Format:
FO
Description:
Sets continuous forward movement.
Note:
The forward motion can only be stopped by issuing a
CANCEL
,
RAPIDSTOP
or by hit-
ting the forward, or datum limits.
Example:
start:
FORWARD
'WAIT FOR STOP SIGNAL
WAIT UNTIL IN(0)=ON
CANCEL
MATCH
Type:
Axis Command
Syntax:
MATCH(count, table address)
Description:
Instructs the controller to perform a pattern comparison between a stored pattern
of registration input transitions and the pattern held following a
REGIST
command.
Parameters:
See also:
REGIST
and
RECORD
Example:
dec_dist=SPEED*SPEED*0.5/DECEL
length=10
REP_DIST=100*length
DEFPOS(0)
REGIST(5,length)
MOVE(2*length)
WAIT UNTIL MARK
IF TRANSITIONS>4 AND TRANSITIONS<12 THEN
MATCH(8,10)
IF REG_MATCH>0.8 THEN
count
Number of Transitions to include in the pattern match.
table address
Address where pattern to use for comparison has been
recorded.