Ap (after absolute position), Trippoint – Yaskawa SMC–4000 User Manual

Page 70

Advertising
background image

60

SMC–4000 User Manual

AP (After Absolute Position)

[Trippoint]

DESCRIPTION:

The After Position (AP) 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 absolute position.

2. The motion profiling on the axis is complete.

3. The commanded motion is moving away from the specified position.

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

ARGUMENTS: AP x, y, z, w or APX=x or AP a, b, c, d where

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

USAGE:

RELATED COMMANDS:

AR (After Relative)

AD (After Distance)

MF (Motion Forward)

EXAMPLES:

HINT:

The accuracy of the AP command is the number of counts that occur in 2 msec. Multiply the speed by 2 msec to
obtain the maximum error. AP tests for absolute position. Use the

AD (After Distance)

command to measure

incremental distances.

While Moving

Yes

Minimum Value

-2147483648

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

#TEST

Program B

DP0

Define position as zero

JG 1000

Set jog with speed of 1000 counts/sec

BG

Begin move

AP 2000

After passing position 2000

V1=_TP

Assign V1 the Xaxis X position

MG "Position is", V1

Print Message

ST

Stop axis

EN

End of Program

Advertising