Chapter Preview
Basic Command and
Confirmation Structures
Allen-Bradley Parts
Issuing Scanner Management Commands
This chapter describes the five scanner management commands and shows
you the proper syntax for basic command and confirmation structures.
After reading this chapter, you should be able to:
issue any of the five types of management commands
interpret confirmations
Commands from the host to the 1784-KTx scanner use this structure:
Command Syntax
Confirmations from the 1784-KTx scanner to the host use this structure:
Confirmation Syntax
The 1784-KTx responds to every command with a confirmation. The
scanner queues confirmations in the order in which the commands are
received, except for Block Transfer commands. Block Transfer commands
are confirmed only upon completion of the Block Transfer sequence. Refer
to chapter 5 for information about block transfers.
The scanner copies the
host_command
an entry in the confirmation queue, making it possible for the host to match
the confirmation to the command issued. The
one-byte code showing the final completion status of the command. The
gives the length (in bytes) of the data (if any) to follow.
confirmation_length
Chapter
4
and
transaction_number
confirmation_status
directly into
is a
4-1