S Mode Functions
Chapter 5
GPIB-SCSI-A User Manual
5-60
© National Instruments Corp.
ppc
(continued)
configurations using PP subset PP1 (remote configuration), it
records the ECAP error. If this error occurs, the
GPIB-SCSI-A aborts the command, issues a CHECK
CONDITION status response, and sets the Sense Key to
ERROR.
The arguments GPIB Primary Address, GPIB Secondary
Address, and Mode are ignored when the Me bit is 1, because
the GPIB-SCSI-A is configuring itself.
The GPIB-SCSI-A configures itself using the value contained
in the Parallel Poll Message argument. The Parallel Poll
Message is a byte in the range of 60 to 7E hex, where 60 to 6F
hex are Parallel Poll Enable (PPE) messages and 70 to 7E hex
are Parallel Poll Disable (PPD) messages.
The GPIB-SCSI-A does not require GPIB controller capability
in order to configure itself for parallel polls.
The information transfer phases that the GPIB-SCSI-A drives
the SCSI through after selection are the Command, Status, and
Message In phases.
See Also:
config, ist, ppu, rpp, and Appendix E, Parallel Polling.
Examples:
Note:
Because the only difference between Examples 1, 2, and 3 is the
CDB, only the place where the CDB is created is repeated.
Example 3 contains the entire program sequence.
1.
Request the GPIB-SCSI-A to configure the device at primary address
24 to respond on GPIB data line 7 when its individual status (ist) bit is
set.
Build SCSI Command Descriptor Block (CDB)
Byte 0 = 0xCD
Byte 1 = 0xC0
Byte 2 = 0x00