Parker Automation Gemini GV6K Command Reference Manual page 30

Servo drive/controller
Table of Contents

Advertisement

[ " ]
Begin and End String
Type
Operator (Other)
Syntax
"<message>" (see below for possibilities)
Units
n/a
Range
n/a
Default
n/a
Response
n/a
See Also
DWRITE, VARS, WRITE, WRVARS
There are three commands that deal with string variables, or messages. The first of these commands is the
command. This command sets a string variable equal to a specific message (e.g.,
VARS
). The message must be placed in quotes for it to be recognized. The same can be said for the
part count"
and
commands. Their messages must also be placed in quotes (e.g.,
WRITE
DWRITE
first day of the rest of your life"
Syntax possibilities:
VARSn="<message>"
WRITE"<message>"
DWRITE"<message>"
There are three ASCII characters that cannot be used within the quotes (
be specified in the string by using the backslash character (
for the character. For example, if you wanted to display the message
use the following syntax:
WRITE"\34WHY ASK WHY\34"
An ASCII table is provided in
Character
Description
Line Feed
<lf>
Carriage Return
<cr>
Quote
"
Colon
:
Semi-colon
;
Backslash
\
[ \ ]
ASCII Character Designator
Type
Operator (Other)
Syntax
See below
Units
n/a
Range
n/a
Default
n/a
Response
n/a
See Also
VARS, WRITE, WRVARS
The ASCII Character Designator (
represented by a keyboard character. The (
commands. The syntax for the (
, Where
is the ASCII decimal equivalent of the character to be placed in the string.
WRITE"\<i>"
<i>
, Where
VARS1="\<i>"
<i>
There are three ASCII characters that cannot be used within the quotes (
be specified in the string by using the backslash character (
for the character.
28
Gemini GV6K/GT6K Command Reference
).
where
equals the string variable number
n
.
Appendix
B. Common characters and their ASCII equivalent value:
ASCII Decimal Value
10
13
34
58
59
92 (cannot be used with DWRITE)
) operator is used to place a character in a string that is normally not
\
) operator can be used within the
\
) operator is as follows:
\
is the ASCII decimal equivalent of the character to be placed in the string.
www.comoso.com
VARS1="Enter
WRITE"Today is the
,
, and
). These characters can
:
"
;
) in combination with the ASCII decimal value
\
in quotes, you would
"WHY ASK WHY"
or the
VARS
,
, and
). These characters must
:
;
"
) in combination with the ASCII decimal value
\
Product
Rev
GT6K
6.0
GV6K
6.0
Product
Rev
GT6K
6.0
GV6K
6.0
WRITE

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gemini gt6k

Table of Contents