Chapter 4
Issuing Scanner Management Commands
4-7
Autoconfigure
This command causes the scanner to poll all possible link addresses on the
link to determine which devices exist on the link. A new scan list is
generated consisting of the devices found in numerical order. The host can
obtain a copy of this new scan list by issuing a
Get Scan List
command after
autoconfiguration is complete.
Command Syntax
host_command
3
transaction_number
0 - 255
command_length
0
This command queues a confirmation immediately. The confirmation
looks like this:
Autoconfigure Confirmation
host_command
3
transaction_number
0 - 255 (whatever host supplied)
confirmation_status
(see Table 4.C)
confirmation_length
0
data
N/A
Table 4.C
Autoconfigure Error Conditions
Error Mnemonic
Code
Description
SUCCESS
0
Scan list was valid.
SCANNER_NOT_PROGRAM
15
Scanner must be in Program mode.
SET_SCAN_LIST_IN_PROGRESS
17
A previous Set Scan List is already in progress.
SCANNER_ALREADY_AUTOCONFIGURING
25
An Autoconfigure command is already in progress.
ADAPTER_SIZE_OVERLAP
51
Adapter sizes overlap each other.
TOO_MANY_ADAPTERS
130
The maximum of 32 unique devices on the RIO link was exceeded.
instructs the scanner to perform an
autoconfiguration and waits for a confirmation. An
Autoconfigure
command
requires the scanner to poll all 128 possible link addresses on the remote
I/O link, which can take as long as 6 seconds when operating at
57.6K baud.