Command Descriptions
311
TPSLV
Transfer Current Commanded Position of Follower Axis
Type
Following;
Transfer
Syntax
<a_><!>TPSLV
Units
(Reported value represents commanded counts, scalable by SCLD)
Range
n/a
Default
n/a
Response
TPSLV *TPSLV+0
See Also
FMCNEW,
FMCP,
[
PSLV
], SCALE,
SCLD
Product Rev
GT6K 6.0
GV6K 6.0
The
TPSLV
command transfers the current commanded position of the follower axis. The master must be
assigned first (
FOLMAS
command) before this command will be useful.
If scaling is enabled (
SCALE1
), the
PSLV
value is scaled by the distance scaling factor (
SCLD
). If scaling is
not enabled, the value is in commanded counts.
TRACE
Program Trace Mode Enable
Type
Program Debug Tool
Syntax
<a_><!>TRACE<b>
Units
n/a
Range
b = 0 (disable) or 1 (enable)
Default
0
Response
TRACE: *TRACE0
See Also
[, ], [ # ], PORT, [ SS ], STEP, TRACEP, TRANS, TSS
Product Rev
GT6K 6.0
GV6K 6.0
The
TRACE
command enables program trace mode. When in program trace mode, all commands executed
are transferred out the Ethernet, RS-232 or RS-485 port, and the program from which the command came is
identified.
Example:
DEL
prog1
; Delete program prog1
DEF
prog1
; Begin definition of program prog1
L
; Begin loop
IF(IN.3=b1)
; If input #3 is activated ...
JUMP prog2
; Jump to program prog2
ELSE
; If input #3 is not activated, continue with loop
MC0
; Select preset positioning mode
MA0
; Select incremental positioning mode
A45
; Set acceleration to 45 revs/sec/sec
AD20
; Set deceleration to 20 revs/sec/sec
V7
; Set velocity to 7 revs/sec
GO1
; Initiate motion
NIF
LN
; End loop
END
; End definition of program
DEL
prog2
; Delete program prog2
DEF
prog2
; Begin definition of prog2
K1
; Kill motion only
TERRLG
; Display the error log
END
; End definition of program
TRACE1
; Enable trace mode
RUN
prog1
; Run program prog1
After enabling the trace mode, executing
RUN
prog1
places the following information in the output buffer: (assume input #3 is not
activated)
*L
*IF(IN.3=b1)
*ELSE
*MC0
*MA0
*A45
(continues)
www.comoso.com
Содержание Gemini GT6K
Страница 24: ...www comoso com ...
Страница 40: ...www comoso com ...
Страница 344: ...www comoso com ...
Страница 350: ...www comoso com ...