Tp (tell position), Status – Yaskawa LEGEND-MC User Manual

Page 236

Advertising
background image

226

LEGEND-MC User’s Manual

TP (Tell Position)

[Status]

DESCRIPTION:

This command returns the current position of the motor in quadrature counts.This value is up-dated every
servo cycle.

ARGUMENTS: TP XYZW or ABCDEFGH

USAGE:

OPERAND USAGE:

_TPn contains the current position value where n is an axis letter.

EXAMPLES:

While Moving

Yes

Default Value

n/a

In a Program

Yes

Default Format

Position Format

Command Line

Yes

Can be Interrogated

Yes

Used as an Operand

Yes

Distributed Control

QW Packet

:PF 7

Position format of 7

:TP

Return position

0000200

PF-6.0

Change to hex format

TP

Return in hex

$0000C8

Position=_TPX

Assign the variable, Position, the value of TP

Advertising