3.129
EDH0162En1040 – 06/99
MM4005
TE — Read error code
Usage
IMM
PGM
MIP
Syntax
TE
Parameters
None.
Description
This command reads the error code of the controller. The error code is one
ASCII character, stored in the error register.
NOTE
When an error is read using TB or TE, the error buffer is reset. This
means that an error can be read only once, with either command.
NOTE
The error reported is the last one that has occurred. If more than one
error has occurred since the last reading, only the last one is reported
and the rest are lost.
NOTE
For a complete listing and description of all error codes see Appendix A,
Error Messages.
Returns
TEaa
aa
—
Error code character.
Errors
S
—
Communication time-out.
Rel. Commands
TB
—
Read error message.
Example
TE
|
Read error message
.
TE@
|
Controller returns no error.
5PA12.3 |
Move axis #5 to position 12.3.
TE
|
Read error message
.
TEB
|
Controller returns error code B meaning incorrect axis number.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com