Wt (wait), Trippoint, N is an integer – Yaskawa LEGEND-MC User Manual

Page 252

Advertising
background image

242

LEGEND-MC User’s Manual

WT (Wait)

[Trippoint]

DESCRIPTION:

The WT command is a trippoint used to time events. After this command is executed, the controller will
wait for the number of samples specified before executing the next command. If the TM command has not
been used to change the sample rate from 1 msec, then the units of the Wait command are milliseconds.

ARGUMENTS: WT n

where

n is an integer

USAGE:

EXAMPLES:

Assume that 10 seconds after a move is over a relay must be closed.

While Moving

Yes

Minimum Value

0

In a Program

Yes

Maximum Value

2147483647

Command Line

Yes

Default Value

---

Can be Interrogated

No

Default Format

---

Used as an Operand

No

Distributed Control

No, Local

#A

Program A

PR 50000

Position relative move

BG

Begin the move

AM

After the move is over

WT 10000

Wait 10 seconds

SB 1

Turn on relay

EN

End Program

WT VAR1

Wait amount of time specified in VAR1

Advertising