Command Descriptions
341
WRVARS
Write a String Variable
Type
Communication
Interface
Syntax
<a_><!>WRVARS<i>
Units
i = variable number
Range
i = 1-25
Default
n/a
Response
WRVARS1:
No response until a string is placed in VARS1
See Also
EOT, [ READ ], VARS, WRITE, WRVAR , WRVARB, WRVARI
Product Rev
GT6K 6.0
GV6K 6.0
Use the
WRVARS
command to transfer a specific string variable (
VARS
) to the Ethernet port and the
RS-232C or RS-485 ports. Only the string and the
EOT
command characters are transmitted.
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
Appendix B
). For example, if you entered
VARS1="\106\117\110\107"
, the
WRVARS1
command will transmit the text string “
junk
” in lower-case
letters.
Example:
VARS1="John L"
; Set string variable 1 = "John L"
WRVARS1
; Transmit string variable 1 (string "JOHN L" is transmitted)
XONOFF
Enable/Disable XON / XOFF
Type
Communication Interface
Syntax
<a_><!>XONOFF<b>
Units
b = enable bit
Range
0 (disable) or 1 (enable)
Default
1 for COM1, 0 for COM2 (PORT command setting determines which
COM port’s XONOFF setting is checked)
Response
XONOFF *XONOFF1
See Also
], [, BOT, DRPCHK, E, EOT, ERRBAD, ERROK, LOCK, PORT
Product Rev
GT6K 6.0
GV6K 6.0
Use the
XONOFF
command to enable or disable XON/XOFF (ASCII handshaking).
XONOFF1
enables XON/XOFF, which allows the Gem6K to recognize ASCII handshaking control
characters. When XON/XOFF is enabled, ASCII 17 or
∧
Q
is a signal to start sending characters; ASCII 19
or
∧
S
is a signal to stop sending characters.
XONOFFØ
disables XON/XOFF.
The
PORT
command determines which COM port is affected by the
XONOFF
command. Each port will track
its
XON/XOFF
values
RS-485 Multi-drop
: If you are using RS-485 multi-drop, disable XON/XOFF by executing the
PORT1
command followed by the
XONOFFØ
command.
NOTE
: COM1 is the “RS-232/485” or “ETHERNET” connector; COM2 is the “RS-232” connector.
www.comoso.com
Содержание Gemini GT6K
Страница 24: ...www comoso com ...
Страница 40: ...www comoso com ...
Страница 344: ...www comoso com ...
Страница 350: ...www comoso com ...