Parker Automation Gemini GV6K Command Reference Manual page 285

Servo drive/controller
Table of Contents

Advertisement

TCMDER
Transfer Command Error
Type
Transfer or Program Debug Tool
Syntax
<a_><!>TCMDER
Units
n/a
Range
n/a
Default
n/a
Response
TCMDER:
*(incorrect command)
See Also
ERRBAD, [ SS ], TSS
For program debugging, use
especially useful if you receive an error message when running or downloading a program, because it catches
and remembers the first command that caused the error.
When the bad command is detected, the drive sends an error message to the screen, followed by the
error prompt (
). To determine which command is in error, enter the
ERRBAD
?
drive will display the command, including all its command fields, if any.
Once a command error has occurred, the command and its fields are stored and system status bit #11
(reported in the
,
, and
TSSF
TSS
command is issued.
Example:
DEL badprg
; Delete program called badprg
DEF badprg
; Begin definition of program called badprg
MA1
; Select the absolute preset positioning mode
A25
; Set acceleration
AD11
; Set deceleration
V5
; Set velocity
VAR1=0
; Set variable #1 equal to zero
GO1
; Initiate move
IF(VAR1<)16
; Mistyped IF statement—should be typed as: IF(VAR1<16)
VAR1=VAR1+1
; If variable #1 is less than 16, increment the counter by 1
NIF
; End IF statement
END
; End programming of program called badprg
RUN badprg
; Run the program called badprg
; (this will cause an error --see comment box below)
; **********************************************************************
; * 1. When you run the badprg program, you should see this error
; *
message on your screen: "*INCORRECT DATA"
; *
indicates incorrect command syntax).
; * 2. Type "TCMDER" and press enter.
; *
display the command that caused the error.
; *
response will be "*IF(VAR1<)16".
; **********************************************************************
to transfer the command that the drive detects as an error. This is
TCMDER
commands) is set to
SS
1
(this error message
This queries the drive to
www.comoso.com
TCMDER
. The status bit remains set until the
*
*
*
*
In this case, the
*
*
Command Descriptions
Product
Rev
GT6K
6.0
GV6K
6.0
command and the
TCMDER
283

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gemini gt6k

Table of Contents