Tw (time wait), Setting – Yaskawa SMC–4000 User Manual

Page 242

Advertising
background image

232

SMC–4000 User Manual

TW (Time Wait)

[Setting]

DESCRIPTION:

The TW n command sets the timeout in msec to declare an error if the

MC (Motion Complete)

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 (Return from Error)

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

where

x, y z, w, or a, b, c, d 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 where n is an axis letter.

RELATED COMMANDS:

MC (Motion Complete)

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

Virtual Axis

No

Advertising