112
Gemini GV6K/GT6K Command Reference
EOT
End of Transmission Characters
Type
Communication
Interface
Syntax
<!>EOT<i>,<i>,<i>
Units
n/a
Range
i
=
0
–
256
Default
13,0,0
Response
EOT: *EOT13,0,0
See Also
], [, BOT, EOL, ERRLVL, PORT, WRITE
Product Rev
GT6K 6.0
GV6K 6.0
The
EOT
command designates the characters to be placed at the end of every response. Up to 3 characters
can be placed after the last line of a multi-line response, or after all single-line responses. The characters
are designated with their ASCII equivalent (no character that has a value of zero [Ø] will be output). For
example, a carriage return is ASCII 13, a line feed is ASCII 10, 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.
The
PORT
command determines which COM port is affected by the
EOT
command.
NOTE
:
Although you may issue a single command, like
TERRLG
, each line of the response will have the
EOL
characters. The last line in the response will have the
EOT
characters. If the response is only
one line long, the
EOT
characters will be placed after the response, not the
EOL
characters.
Character ASCII
Equivalent
Line Feed
10
Carriage Return
13
For a more complete list of ASCII Equivalents, refer to the ASCII Table in
Appendix B
.
Example
:
EOT13,10,0
; Place a carriage return and a line feed after the last line
; of a multi-line response, and after all single line responses
[ ER ]
Error Status
Type
Assignment or Comparison
Syntax
See below
Units
n/a
Range
n/a
Default
n/a
Response
n/a
See Also
[
ASX
], DSTALL, ERROR, ERRORP, ESTALL, GOWHEN, INFNC, K, LH,
LIMFNC, LS, S, SMPER, STRGTT, TASX, TER, TERF
Product Rev
GT6K 6.0
GV6K 6.0
The
ER
command is used to assign the error status bits to a binary variable, or to make a comparison against a binary or
hexadecimal value. To make a comparison against a binary value, the letter b (b or B) must be placed in front of the value.
The binary value itself must only contain ones, zeros, or Xs (1, Ø, X, x). To make a comparison against a hexadecimal
value, the letter h (h or H) must be placed in front of the value. The hexadecimal value itself must only contain the letters A
through F, or the numbers Ø through 9.
Syntax:
VARBn=<i%>ER
where
n
is the binary variable number, or
ER
can be used in an expression such as
IF(ER=b11Ø1)
, or
IF(ER=h7F)
.
The bit select operator (
.
), in conjunction with the bit number, can be used to specify a specific error bit.
Examples:
VARB1=ER.2
assigns error bit 2 to binary variable 1;
IF(ER.2=b1)
is a conditional
statement that is true if error bit 2 is set to 1.
The specific error-checking bits must be enabled by the Error-Checking Enable (
ERROR
) command before
the
ER
command will provide an error response — see programming example below.
www.comoso.com
Содержание Gemini GT6K
Страница 24: ...www comoso com ...
Страница 40: ...www comoso com ...
Страница 344: ...www comoso com ...
Страница 350: ...www comoso com ...