DMC-100/1500 Command Reference
TD
•
129
DMC-1000
DMC-1500
TD
FUNCTION:
Tell Dual Encoder
DESCRIPTION:
:
This command returns the current position of the dual (auxiliary) encoder(s). Auxiliary
encoders are not available for stepper axes or for the axis where output compare is used.
When operating with stepper motors, the TD command returns the number of counts that
have been output by the controller.
ARGUMENTS:
TD XYZW TD ABCDEFGH
where
the argument specifies the axes to be affected
USAGE: DEFAULTS:
While Moving
Yes
Default Value
0
In a Program
Yes
Default Format
Position Format
Command Line
Yes
Can be Interrogated
No
Used in an Operand
Yes
USAGE:
_TDX contains value of dual encoder register.
RELATED COMMANDS:
DE
Dual Encoder
EXAMPLES:
:PF 7
Position format of 7
:TD
Return X,Y,Z,W Dual encoders
0000200,-0000010,0000000,-0000110
TDX
Return the X motor Dual encoder
0000200
DUAL=_TDX
Assign the variable, DUAL, the value of TDX