Unitech PA960 Manuel d'utilisateur Page 28

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 98
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 27
-
3 Control command for decoder chip (Hamser: 1D only)
Important: This chapter describes low level command for scanner control function. If you already USI
to do scanner programming, you don’t need to care about this chapter. In general, it is not suggested to
use level command to control scanner, because there are timing issue on serial communication
programming , and it is always need communication expert to do that and it is hard to explain it on
document.
When Host prepare to send a command to hamster, it must first check CTS, if CTS is high, then Host
must set the RTS to high then clear RTS to low to wake up the Hamster.
Special Command for control
command
Format
Control
Esc,80H+SOH(01H)
status Hamster just receives commands and
executes it until it receives Release command
or timeout (about 10s). Otherwise, the timeout
Release
Esc,80H+EOT(04H)
Execute/
Enquiry
Esc,80H+ENQ(05H)
and check hamster if there is a result of
previous executed command to send to Host. If
previous saved command have already executed
and no result to send, hamster do not reply
until there is a result. If Host receive a
result but the BCC is wrong, it can re-send
ACK
Esc,80H+ACK(06H)
a command and this command do not need send
NAK
Esc,80H+NAK(15H)
the Host to re-send command again, normally
when received a wrong BCC, it can send the
NAK. The Hamster sends back NAK whenever it
COMMAND FROM HOST TO HMASTER
Vue de la page 27
1 2 ... 23 24 25 26 27 28 29 30 31 32 33 ... 97 98

Commentaires sur ces manuels

Pas de commentaire