beautypg.com

Yaskawa SMC–4000 User Manual

Page 360

background image

350

SMC–4000 User 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

Instruction

Interpretation