Parker Automation Gemini GV6K Command Reference Manual page 54

Servo drive/controller
Table of Contents

Advertisement

Example:
PORT2
; Select COM2 ("RS-232") port
BAUD38400
; Set the baud rate for COM2 to 38400 baud
BOT
Beginning of Transmission Characters
Type
Communication Interface
Syntax
<!>BOT<i>,<i>,<i>
Units
n/a
Range
i = 0 – 256
Default
0,0,0
Response
BOT:
*BOT0,0,0
See Also
EOT, ERROK, ERRBAD, PORT, DRPCHK, EOL, ], [
The
command designates the characters to be placed at the beginning of every response. Up to 3
BOT
characters can be placed before the first line of a multi-line response, or before all single-line responses.
The characters are designated with their ASCII equivalent. For example, a carriage return is ASCII 13, a
line feed is ASCII 10, a Ctrl-Z is ASCII 26, and no terminating character is designated with a zero.
NOTE: ASCII 256 transmits nothing. ASCII 256 transmits a null ASCII zero character, which is typically
used to create a null terminated string in a C language.
For a more complete list of ASCII Equivalents, refer to the ASCII Table in
Example:
BOT13,10,26
; Place a carriage return, line feed, and Ctrl-Z before
; the first line of a multi-line response, and before
; all single line responses
BP
Set a Program Break Point
Type
Program Flow Control or Program Debug Tool
Syntax
<a_><!>BP<i>
Units
i = break point number
Range
1 – 32
Default
n/a
Response
n/a
See Also
BREAK, C, HALT, K, S, [ SS ], TSS
The
command allows the programmer to set a place in the program where command processing will halt
BP
and a message will be transmitted to the PC. There are 32 break points available,
transmitting the message *
BREAKPOINT NUMBER x<cr>
After halting at a break point, command processing can be resumed by issuing a continue (
The break point command is useful for stopping a program at specific locations in order to test status for
debugging or other purposes.
Example:
DEF prog1
; Begin definition of program named prog1
D50000
; Set distance to 50000 units
MA1
; Absolute mode
GO1
; Initiate motion
IF(PC>40000)
; Compare commanded position to 40000
BP1
; If the motor position is > 40000 units, set break point #1
NIF
; End IF statement
D80000
; Set distance to 80000 units
GO1
; Initiate motion
BP2
; Set break point #2
END
; End program definition
RUN prog1
; Execute program prog1
If the
statement evaluates true, the message *
IF
command must be issued before processing will continue. Once processing has continued, the second break
52
Gemini GV6K/GT6K Command Reference
where
is the break point number.
x
will be transferred out. A
BREAKPOINT NUMBER 1
www.comoso.com
Product
Rev
GT6K
6.0
GV6K
6.0
Appendix
B.
Product
Rev
GT6K
6.0
GV6K
6.0
to
, all
BP1
BP32
) command.
!C
!C

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gemini gt6k

Table of Contents