Tw (time wait), Setting, Tw contains the timeout in msec for the mc command – Yaskawa LEGEND-MC User Manual

Page 242

Advertising
background image

232

LEGEND-MC User’s Manual

TW (Time Wait)

[Setting]

DESCRIPTION:

The TW n command sets the timeout in msec to declare an error if the MC command is active and the motor
is not at or beyond the actual position within n msec after the completion of the motion profile. If a timeout
occurs, then the MC trippoint will clear and the stopcode will be set to 99. An application program will jump
to the special label #MCTIME. If included, the RE command should be used to return from the #MCTIME
subroutine.

ARGUMENTS: TW x, y, z, w or TWX=x or TW a, b, c, d, e, f, g, h

where

x, y z, w, or a, b, c, d, e, f, g, h are signed integers

n specifies timeout in msec, -1 disables the timeout

USAGE:

OPERAND USAGE:

_TW contains the timeout in msec for the MC command .

RELATED COMMANDS:

While Moving

Yes

Minimum n Value

-1

In a Program

Yes

Maximum n Value

32766

Command Line

Yes

Default Value

32766

Can be Interrogated

Yes

Default Format

Used as an Operand

Yes

Distributed Control

Specific Axis

"MC"

Motion Complete - "In Position"

Advertising