Parker Automation Gemini GV6K Command Reference Manual page 341

Servo drive/controller
Table of Contents

Advertisement

WRITE
Write a Message
Type
Communication Interface
Syntax
<a_><!>WRITE"<message>"
Units
n/a
Range
Up to 69 characters (may not use ", ; or :)
Default
Messages are written to COM1 by default
NOTE:
"COM1" is the "RS-232/485" or "ETHERNET" connector.
"COM2" is the "RS-232" connector.
Response
WRITE"message":
See Also
[ \ ], EOT, PORT, [ READ ], VARS, WRVAR, WRVARB, WRVARS
The
command provides an efficient way of transmitting message strings to the Ethernet port and the
WRITE
RS-232 or RS-485 ports. These messages can then be used by the operating program. The
characters will be transmitted after the message.
Each message can be assigned a character string up to 69 characters long. The characters within the string
can be any character except the quote (
To place specific control characters that are not directly available on the keyboard within the character
string, use the backslash character (
Multiple control characters can be sent. For example, to set the message equal to
, use the command
HI MOM<cr>
character. Common characters and their ASCII equivalent values are listed below:
Character
Description
Line Feed
<lf>
Carriage Return
<cr>
Quote
"
Colon
:
Semi-colon
;
Backslash
\
NOTE
: All text strings are transmitted in UPPER CASE. If you must transmit lower-case strings, use the
ASCII decimal equivalent for each character (see ASCII table in
WRITE"\106\117\110\107"
NOTE
: Upon power up or after a reset, by default the
the
command for instructions on writing messages to COM2. If you want to automatically write
PORT
messages to COM2 after power up or a reset, consider putting the
program. See the
command for more information.
STARTP
Example:
WRITE"It's a wonderful life!"
message
), the colon (
), and the asterisk (
"
:
), followed by the control character's ASCII decimal equivalent.
\
where
WRITE"HI MOM\13"
ASCII Decimal Value
10
13
34
58
59
92
will transmit the text string "
WRITE
; Send the message "IT'S A WONDERFUL LIFE!"
www.comoso.com
).
*
corresponds to the carriage return
\13
Appendix
B). For example,
" in lower-case letters.
junk
command writes messages to COM1. See
command in your
PORT
Command Descriptions
Product
Rev
GT6K
6.0
GV6K
6.0
command
EOT
STARTP
339

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gemini gt6k

Table of Contents