Wc (wait for contour), Program flow – Yaskawa LEGEND-MC User Manual

Page 251

Advertising
background image

241

LEGEND-MC User’s Manual

WC (Wait for Contour)

[Program Flow]

DESCRIPTION:

The WC command acts as a flag in the Contour Mode. After this command is executed, the controller does
not receive any new data until the internal contour data buffer is ready to accept new commands. This
command prevents the contour data from overwriting itself in the contour data buffer.

USAGE:

RELATED COMMANDS:

EXAMPLES:

While Moving

Yes

Default Value

---

In a Program

Yes

Default Format

---

Command Line

Yes

Can be Interrogated

No

Used as an Operand

No

Distributed Control

No, Local

"CM" Contour

Mode

"CD" Contour

Data

"DT" Contour

Time

CM

Specify contour mode

DT 4

Specify time increment for contour

CD 200

Specify incremental position

WC

Wait for contour data to complete

CD 100

WC

Wait for contour data to complete

DT 0

Stop contour

CD 0

Exit mode

Advertising