Ad (after distance), Trippoint – Yaskawa SMC–4000 User Manual

Page 64

Advertising
background image

54

SMC–4000 User Manual

AD (After Distance)

[Trippoint]

DESCRIPTION:

The After Distance (AD) command is a trippoint used to control the timing of events. This command will
hold up the execution of the following command until one of the following conditions have been met:

1. The commanded motor position crosses the specified relative distance from the start of the

move.

2. The motion profiling on the axis is complete.

3. The commanded motion is in the direction which moves away from the specified position.

The units of the command are quadrature counts. The motion profiler must be on or the trippoint will
automatically be satisfied.

ARGUMENTS: ADx, y, z, w or ADX=x or AD a, b, c, d where

x, y z, w, or a, b, c, d are unsigned integers

USAGE:

RELATED COMMANDS:

AR (After Relative)

AP (After Absolute Position)

EXAMPLES:

Hint:

The AD command is accurate to the number of counts that occur in 2 msec. Multiply speed by 2 msec to obtain the
maximum position error in counts. Remember AD measures incremental distance from start of move on one axis.

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

Virtual Axis

No

#A;DP0

Begin Program

PR 10000

Specify position

BG

Begin motion

AD 5000

Wait until profiler passes 5000 units from start

of move.

MG "Halfway" ;TP

Send message

EN

End Program

Advertising