beautypg.com

Td (tell dual (auxiliary) encoder), Status – Yaskawa LEGEND-MC User Manual

Page 228

background image

218

LEGEND-MC User’s Manual

TD (Tell Dual (Auxiliary) Encoder)

[Status]

DESCRIPTION:

This command returns the current position of the dual (auxiliary) encoder.

ARGUMENTS: TD XYZW or ABCDEFGH

USAGE:

OPERAND USAGE:

_TDn contains the dual encoder position where n is an axis letter.

RELATED COMMANDS:

EXAMPLES:

While Moving

Yes

Default Value

0

In a Program

Yes

Default Format

Position Format

Command Line

Yes

Can be Interrogated

No

Used as an Operand

Yes

Distributed Control

QW Packet

"DE"

Dual Encoder

:PF 7

Position format of 7

:TD

Return Dual encoder

0000200

DUAL=_TDX

Assign the variable, DUAL, the value of TD