Chapter 4
Issuing Scanner Management Commands
4-9
Set Fault Group
Use the
Set Fault Group
command to instruct the scanner to treat a group of
adapters as one entity. If any one of them faults, the scanner instructs the
others to go into fault mode. You supply a list of 128 bytes, one for each
possible physical adapter address. Each byte is defined as follows:
Bit Definition
0 - 3
Fault group number (0-15)
4
When high, include this address in fault group
5 - 7
Not used
This lets the host define as many as 16 fault groups and the membership of an
adapter in one of the fault groups. If the adapter is not in the scan list, the
scanner rejects the fault group command and returns an error confirmation.
Command Syntax
host_command
6
transaction_number
0 - 255
command_length
128
fault_group_data
128 bytes as defined above
This command queues a confirmation immediately. The confirmation
looks like this:
Set Fault Group Confirmation
host_command
6
transaction_number
0 - 255 (whatever host supplied)
confirmation_status
(see Table 4.D)
confirmation_length
0
Table 4.D
Set Fault Group Error Conditions
Error Mnemonic
Code
Description
SUCCESS
0
Command was successful.
SCANNER_NOT_PROGRAM
15
Scanner must be in Program mode for this command.
BAD_COMMAND_DATA_LENGTH
26
Command data length is not 128.
ADDRESS_NOT_IN_SCAN_LIST
32
Adapter address must be in scan list if it is to be included in a fault group.
CANNOT_SET_FG_WHILE_AUTOCONFIGURING
33
Wait for completion of autoconfiguration, then reissue command.
CANNOT_SET_FG_WHILE_SETUP_SCAN_LIST
34
Wait for completion of scan list setup, then reissue command.