Chapter 4
Issuing Scanner Management Commands
4-2
Of the seven 1784-KTx host commands, five are scanner management
commands:
Set Mode
Set Scan List
Autoconfigure
Set Fault Group
Get Scan List
We describe these in detail, including command syntax, error codes, and
the confirmation process for that command.
The two remaining commands,
Host BT Write
and
Host BT Read
, are
block-transfer commands, and are described in chapter 5.
Set Mode
Use the
Set Mode
command to set the 1784-KTx scanner to one of three
modes: Program, Test, or Run.
In this mode the scanner
Program
updates the input image table but does not send outputs to the adapters
Test
sends I/O reset commands (outputs are inactive) and block transfers
Run
sends I/O commands (outputs are active) and block transfers
Initially the scanner is in Program mode and does not communicate on the
remote I/O link until it has a scan list.
Command Syntax
host_command
1
transaction_number
0 - 255
command_length
1
scanner_mode
Program (0), Test (1) or Run (2)
This command queues a confirmation immediately. The confirmation
looks like this:
Set Mode Confirmation
host_command
1
transaction_number
0 - 255 (whatever host supplied)
confirmation_status
(see Table 4.A)
confirmation_length
0
data
N/A
Host Commands