
312
Gemini GV6K/GT6K Command Reference
TRACEP
Program Flow Mode Enable
Type
Program Debug Tool
Syntax
<a_><!>TRACEP<b>
Units
n/a
Range
b = 0 (disable), 1 (enable) or X (don't care)
Default
0
Response
TRACEP: *TRACEP0
See Also
TRACE
Product Rev
GT6K 6.0
GV6K 6.0
The
TRACEP
command provides a debug tool to monitor the entry and exit of programs and their associated
nest-levels.
Example:
DEF PICK1
GOSUB PICK2
GOTO PICK3
END
DEF PICK2
GOSUB PICK4
END
DEF PICK3
END
DEF PICK 4
END
>TRACEP1
>PICK1
*INITIATE PROGRAM:
PICK1 NEST=1
*INITIATE PROGRAM:
PICK2 NEST=2
*INITIATE PROGRAM:
PICK4 NEST=3
*END:
PROGRAM NOW:
PICK2 NEST=2
*END:
PROGRAM NOW:
PICK1 NEST=1
*INITIATE PROGRAM:
PICK3 NEST=1
*END:
PROGRAM EXECUTION TERMINATED
TRANS
Translation Mode Enable
Type
Program
Debug
Tool
Syntax
<a_><!>TRANS<b>
Units
n/a
Range
b
=
0
(disable),
1
(enable)
or
X
(don't
care)
Default
0
Response
TRANS: *TRANS0
See Also
[ # ],
[
SS
],
STEP,
TSS
Product Rev
GT6K 6.0
GV6K 6.0
The
TRANS
command enables the program translation mode, in which all commands processed by the
Gem6K drive are echoed back in their binary format (hex representation of the binary equivalent), and are
not executed. The first byte (first two characters) of the response represents the command's memory
requirement. The remaining bytes represent the actual command.
Example:
TRANS1
; Enable translation mode
A10
; Translate acceleration command A10. Response displayed
; is: 07 01 00 00 01 86 A0. Note that 07 hex represents a command
; memory requirement of 19 bytes.
GO1
; Translate initiate motion command GO1. Response displayed
; is: 04 07 03 01. Note that 04 hex represents a
www.comoso.com
Содержание Gemini GT6K
Страница 24: ...www comoso com ...
Страница 40: ...www comoso com ...
Страница 344: ...www comoso com ...
Страница 350: ...www comoso com ...