Chapter 3
Serial Configuration
3-8
MS-850 Raster Scanner User’s Manual
3–Ser
ial
Conf
ig.
Explanation of the From Host option
Suppose STX, ETX and EOT are defined in the MS-850, the trigger counter is currently
T/00000, and you want to send the Trigger Counter Request command to the scanner.
Defined Protocol: STX, ETX, EOT
Trigger Counter Status: T/00000
Host Command Request: <T> (Trigger Counter Request Command)
The command string format from the host would depend on the From Host setting.
If From Host is disabled, <T>
(Trigger Counter Request command) would be the
required format from the host to cause the scanner to return STX T/00000 ETX EOT.
However, if From Host is enabled, the required host command string would be STX <T>
ETX EOT
to receive the same response from the scanner. In either case the data string
returned by the scanner always includes the defined protocol. In this example, that
returned data would be STX T/00000 ETX EOT.
User Defined Multidrop
Format: <
Kf7
,RES,address,REQ,EOT,STX,ETX,ACK,NAK
>
Example: To customize multidrop protocol’s STX (start of text) and EOT (reset)
sequence and assign an address of 2, send <Kf5,2><Kf7,^M,,,^A>. The <Kf5,2> por-
tion of the command enables the standard Multidrop protocol and assigns a Multidrop
address. ^M is the new STX and ^A the new EOT. All other protocol characters will
retain their standard Multidrop values.
Note
: Address, can be assigned any ASCII character except a null. Control characters
are used to define RES through NAK (except Address).
Protocol Commands
protocol:
7 = User Defined Multidrop
Protocol Command
(Mnemonic displayed on
Microscan menu)
Control Characters
(Entered in menu or
serial command)
Hex
Code
Effect of Command
RES
^D
04
Reset
REQ
^E
05
Request
EOT
^D
04
Reset
STX
^B
02
Start of Text
ETX
^C
03
End of Text
ACK
^F
06
Acknowledge
NAK
^U
15
Negative Acknowledge