beautypg.com

De (dual (auxiliary) encoder), Motion – Yaskawa SMC–4000 User Manual

Page 98

background image

88

SMC–4000 User Manual

DE (Dual (Auxiliary) Encoder)

[Motion]

DESCRIPTION:

The DE command defines the position of the auxiliary encoder.

ARGUMENTS: DE x, y, z, w or DEX=x or DE a, b, c, d where

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

USAGE:

OPERAND USAGE:

_DEn returns the current position of the specified auxiliary encoder where n is an axis letter.

EXAMPLES:

HINT:

Dual encoders are useful when you need an encoder on the motor and on the load. The encoder on the load is

typically the auxiliary encoder and is used to verify the true load position. Any error in load position is used to
correct the motor position.

While Moving

Yes

Minimum Value

-2147483647

In a Program

Yes

Maximum Value

2147483648

Command Line

Yes

Default Value

n/a

Can be Interrogated

Yes

Default Format

Position Format

Used as an Operand

Yes

Virtual Axis

No

:DE 0

Set the auxiliary encoder position to 0

:MG_DEX

Return auxiliary encoder positions

:DUALX=_DE

Assign auxiliary encoder position of X-axis to

the variable DUALX