User's Manual
Table Of Contents
- Contents
- Overview
- Controller Notation
- Servo and Stepper Motor Notation:
- Command Descriptions
- Servo Update Rates
- Commands which are not Allowed when Operating in Fast Mode:
- #
- $
- & |
- ( )
- ;
- [ ]
- + - * /
- <, >, =, <=, >=, <>
- =
- AB
- @ABS[n]
- AC
- @ACOS[n]
- AD
- AF
- AI
- AL
- AM
- @AN[n]
- AO
- AP
- AR
- AS
- @ASIN[n]
- AT
- @ATAN[n]
- #AUTO
- #AUTOERR
- AV
- BA
- BB
- BC
- BD
- BG
- BI
- BK
- BL
- BM
- BN
- BO
- BP
- BS
- BV
- BZ
- CB
- CC
- CD
- CE
- CF
- CI
- CM
- #CMDERR
- CN
- CO
- @COM[n]
- #COMINT
- @COS[n]
- CR
- CS
- CW
- DA
- DC
- DE
- DL
- DM
- DP
- DT
- DV
- EA
- EB
- EC
- ED
- EG
- EI
- ELSE
- EM
- EN
- ENDIF
- EO
- EP
- EQ
- ER
- ES
- ET
- FA
- FE
- FI
- FL
- @FRAC[n]
- FV
- GA
- GN
- GM
- GR
- HM
- HX
- IA
- IF
- IH
- II
- IL
- IN
- @IN[n]
- #ININT
- @INT[n]
- IP
- IT
- IV
- JG
- JP
- JS
- KD
- KI
- KP
- KS
- LA
- LE
- _LF*
- LI
- #LIMSWI
- LL
- LM
- _LR*
- LS
- LV
- LZ
- MB
- MC
- #MCTIME
- MF
- MG
- MO
- MR
- MT
- NB
- NF
- NO
- NZ
- OB
- OC
- OE
- OF
- OP
- @OUT[n]
- P1CD P2CD
- P1CH P2CH
- P1NM P2NM
- P1ST P2ST
- #POSERR
- PA
- PF
- PR
- QD
- QR
- QU
- QZ
- RA
- RC
- RD
- RE
- REM
- RI
- RL
- @RND[n]
- RP
- RS
-
R S -
R V - SA
- SA n
- SB
- SC
- SH
- @SIN[n]
- SL
- SP
- @SQR[n]
- ST
- @TAN[n]
- TB
- TC
- #TCPERR
- TD
- TE
- TH
- TI
- TIME*
- TL
- TM
- TP
- TR
- TS
- TT
- TV
- TW
- UI
- UL
- VA
- VD
- VE
- VF
- VM
- VP
- VR
- VS
- VT
- WC
- WH
- WT
- XQ
- ZR
- ZS
- Index

DMC-1400 Series Command Reference TC ● 191
TC
FUNCTION: Tell Error Code
DESCRIPTION:
The TC command returns a number between 1 and 255. This number is a code that reflects
why a command was not accepted by the controller. This command is useful when the
controller halts execution of a program at a command or when the response to a
command is a question mark. Entering the TC command will provide the user with a code
as to the reason. After TC has been read, it is set to zero. TC 1 returns the text message
as well as the numeric code.
ARGUMENTS: TC n
n=0 returns code only
n=1 returns code and message
CODE EXPLANATION CODE EXPLANATION
1 Unrecognized command 60
Download error - line too long or too
many lines
2 Command only valid from program 61 Duplicate or bad label
3 Command not valid in program 62 Too many labels
4 Operand error 63 IF statement without ENDIF
5 Input buffer full 65 IN command must have a comma
6 Number out of range 66 Array space full
7 Command not valid while running 67 Too many arrays or variables
8 Command not valid when not running 68 Not valid from USB Port
9 Variable error 71 IN only valid in task #0
10 Empty program line or undefined label 80 Record mode already running
11 Invalid label or line number 81 No array or source specified
12 Subroutine more than 16 deep 82 Undefined Array
13
JG only valid when running in jog
mode
83 Not a valid number
14 EEPROM check sum error 84 Too many elements
15 EEPROM write error 90 Only X Y Z W valid operand
16
IP incorrect sign during position move
or IP given during forced deceleration
96
SM jumper needs to be installed for
stepper motor operation
17
ED, BN and DL not valid while
program running
97 Bad Binary Command Format
18 Command not valid when contouring 98
Binary Commands not valid in
application program
19 Application strand already executing 99 Bad binary command number
20 Begin not valid with motor off 100 Not valid when running ECAM
21 Begin not valid while running 101 Improper index into ET
(must be 0-256)
22 Begin not possible due to Limit Switch 102 No master axis defined for ECAM
24
Begin not valid because no sequence
defined
103
Master axis modulus greater than
256∗EP value
25 Variable not given in IN command 104
Not valid when axis performing