230 ● TE DMC-40x0 Command Reference
TE
FUNCTION: Tell Error
DESCRIPTION::
This command returns the current position error of the motor(s). The range of possible error is
2147483647. The Tell Error command is not valid for step motors since they operate open-
loop.
ARGUMENTS: TE nnnnnnnnnn where
n is A,B,C,D,E,F,G or H or any combination to specify the axis or axes
No argument will provide the position error for all axes
USAGE: DEFAULTS:
While Moving Yes Default Value 0
In a Program Yes Default Format Position Format
Not in a Program Yes
Controller Usage
ALL CONTROLLERS
OPERAND USAGE:
_TEn contains the current position error value for the specified axis.
RELATED COMMANDS:
OE Off On Error
ER Error Limit
#POSERR Error Subroutine
PF Position Formatting
EXAMPLES:
TE Return all position errors
:5, -2, 0, 6
TEA Return the A motor position error
:5
TEB Return the B motor position error
:-2
Error =_TEA Sets the variable, Error, with the A-axis position
error
Hint: Under normal operating conditions with servo control, the position error should be small. The
position error is typically largest during acceleration
.