beautypg.com

Cs (clear sequence), General – Yaskawa LEGEND-MC User Manual

Page 96

background image

86

LEGEND-MC User’s Manual

CS (Clear Sequence)

[General]

DESCRIPTION:

The CS command will remove VP or LI commands stored in a motion sequence. Please note that after a
sequence has been run, the CS command is not necessary to enter a new sequence. This command is
useful if you have correctly specified VP or LI commands.

When used as an operand, _CS returns the number of the segment in the sequence, starting at zero. The
instruction _CS is valid in the Linear Mode, LM, Vector Mode, VM and Contour Mode, CM .

ARGUMENTS: none

USAGE:

EXAMPLES:

While Moving

No

Default Value

---

In a Program

Yes

Default Format

---

Not in a program

Yes

Can be Interrogated

No

Used as an Operand

Yes

Distributed Control

No, Local

#CLEAR

Label

VP 1000,2000

Vector position

VP 4000,8000

Vector position

CS

Clear vectors

VP 1000,5000

New vector

VP 8000,9000

New vector

VE

End sequence

BGS

Begin motion sequence

EN

End of program