DMC-100/1500 Command Reference
DE
•
37
DMC-1000
DMC-1500
DE
FUNCTION:
Dual (Auxiliary) Encoder Position
DESCRIPTION:
The DE x,y,z,w command defines the position of the auxiliary encoders. The auxiliary
encoders may be used for dual-loop applications.
The DE command defines the encoder position when used with stepper motors. DE
? returns the commanded reference position of the motor in step pulses. Example:
DE 0 This will define the TP or encoder position to 0. This will not effect the DE ?
value. (To set the DE value when in stepper mode use the DP command.)
Note: The auxiliary encoders are not available for the stepper axis or for the axis where
output compare is active.
ARGUMENTS:
DE x,y,z,w DEX=x DE a,b,c,d,e,f,g,h
where
x,y,z,w are signed integers in the range -2147483647 to 2147483648 decimal
"?" returns the position of the auxiliary encoders for the specified axes.
USAGE:
EFAULTS:
While Moving
Yes
Default Value
0,0,0,0
In a Program
Yes
Default Format
Position Format
Command Line
Yes
Can be Interrogated
Yes
Used as an Operand
Yes
OPERAND USAGE:
_DEx contains the current position of the specified auxiliary encoder.
RELATED COMMANDS:
PF Position
Formatting
EXAMPLES:
DE 0,100,200,400
Set the current auxiliary encoder position to 0,100,200,400 on X,Y,Z and
W axes
DE?,?,?,?
Return auxiliary encoder positions
DUALX=_DEX
Assign auxiliary encoder position of X-axis to the variable DUALX
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.