Yaskawa LEGEND-MC User Manual

Page 339

Advertising
background image

329

LEGEND-MC User’s Manual

#C

D=C+1

DIF[C]=POS[D]-
POS[C]

Compute the difference and store

C=C+1

JP #C,C<15

EN

End first program

#RUN

Program to run motor

CMX

Contour Mode

DT3

4 millisecond intervals

C=0

#E

CD DIF[C]

Contour Distance is in DIF

WC

Wait for completion

C=C+1

JP #E, C<15

DT0

CD0

Stop Contour

EN

End the program

Advertising