TB read error message
IMM PGM MIP
USAGE ♦ ♦
SYNTAX TB?
PARAMETERS questions mark (?)
Defaults
DESCRIPTION This command is used to read the error code, timestamp, and the associated
message.
The error code is one numerical value up to three(3) digits long. (see Appendix
for complete listing)
In general, non-axis specific errors numbers range from 1-99. Axis-1 specific
errors range from 100-199, Axis-2 errors range from 200-299 and so on.
The timestamp is in terms of servo cycle ticks accumulated since the last System
Reset, incrementing at the servo interrupt interval (400us default). The message
is a description of the error associated with it. All arguments are separated by
commas.
Note:
Errors are maintained in a FIFO buffer ten(10) elements deep. When an error is
read using TB or TE, the controller returns the last error that occurred and the
error buffer is cleared by one(1) element. This means that an error can be read
only once, with either command.
RETURNS aa, bb, cc
where: aa = error code cc = error message
bb
= timestamp (see Appendix for complete listing)
REL. COMMANDS TE - read error code
EXAMPLE TB? | read error message
0, 451322, NO ERROR DETECTED
| controller returns no error
8PA12.3 | move axis #8 to position 12.3
TB? | read error message
9, 451339, AXIS NUMBER NOT AVAILABLE
| controller returns error code, timestamp, and description
3-138 Section 3 – Remote Mode