Ar (after relative), Trippoint – Yaskawa SMC–4000 User Manual

Page 71

Advertising
background image

61

SMC–4000 User Manual

AR (After Relative)

[Trippoint]

DESCRIPTION:

The After Relative (AR) 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 either the start of

the move or the last AR or AD command.

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 active or the trippoint will
automatically be satisfied.

ARGUMENTS: AR x, y, z, w or ARX=x or AR a, b, c, d where

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

USAGE:

RELATED COMMANDS:

AD (After Distance)

AP (After Absolute Position)

EXAMPLES:

HINT:

AR is used to specify incremental distance from last AR or AD command. Use AR if multiple position trippoints

are needed in a single motion sequence.

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;DP 0

Begin Program

JG 50000

Specify jog speed

BG

Begin motion

#B

Label

AR 5000

After passing 5000 counts of relative distance

on X-axis from the last trippoint

MG "Passed_X";TP

Send message

JP #B

Jump to Label #B

EN

End Program

Advertising