beautypg.com

Pr (position relative), Position relative), S such as – Yaskawa SMC–4000 User Manual

Page 187: Motion

background image

177

SMC–4000 User Manual

PR (Position Relative)

[Motion]

DESCRIPTION:

The PR command sets the incremental distance and direction of the next move. The move is referenced
with respect to the current position. The PR command units are in quadrature counts.

ARGUMENTS: PR x, y, z, w or PRX=x or PR a, b, c, d where

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

USAGE:

OPERAND USAGE:

_PRn will return the current incremental distance where n is an axis letter.

RELATED COMMANDS:

BG (Begin)

AC (Acceleration)

DC (Deceleration)

SP (Speed)

IP (Increment Position)

EXAMPLES:

While Moving

No

Minimum n Value

-2147483648

In a Program

Yes

Maximum n Value

2147483647

Command Line

Yes

Default Value

0

Can be Interrogated

Yes

Default Format

Position Format

setting

Used as an Operand

Yes

Virtual Axis

Yes

:PR 100

On the next move the X-axis will go 100

counts,

:BG

:PR ?

Return relative distances

0000000100