Download DMC-18x2 COMMAND REFERENCE

Transcript
DE (Binary 98)
FUNCTION: Stepper Encoder Position
DESCRIPTION:
The DE command defines the encoder position when used with stepper motors.
ARGUMENTS: DE n,n,n,n
or
DEX=n
where
n is a signed integers in the range -2147483647 to 2147483648 decimal
n=?
Returns the position of the auxiliary encoders for the specified axes.
n = ? returns the commanded reference position of the motor (in step pulses) when used with a
stepper motor. 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.)
USAGE:
DEFAULTS:
While Moving
Yes
Default Value
0,0,0,0
In a Program
Yes
Default Format
Position Format
Command Line
Yes
OPERAND USAGE:
_DEx contains the current position of the specified stepper axis.
RELATED COMMANDS:
"PF" on page 122
Position Formatting
EXAMPLES:
50i DE (Binary 98)
DE 0,100,200,400
Set the current stepper encoder position to 0,100,200,400 on X,Y,Z and W
axes
DE?,?,?,?
Return encoder positions if using steppers
ENCX=_DEX
Assign stepper encoder position of X-axis to the variable ENCX
DMC-18X2 Command Reference