LOG SENSE (4Dh)The LOG SENSE command allows the host to retrieve statistical information maintained by the mediachanger about its own hardware. The statistical information is divided over several pages. A LOG SENSEcommand will retrieve one of these pages.Bit 7 6 5 4 3 2 1 0Byte0 Operation Code (4Dh)1 LUN Reserved PPC (0) SP (0)2 PC Page Code3 Reserved4 Reserved5 (MSB) Parameter pointer6 (LSB)7 (MSB) Allocation length8 (LSB)9 ControlField descriptions:PPC: If Parameter Pointer Control bit is set, the target terminates the command with Check Conditionstatus. The sense key is set to ILLEGAL REQUEST, and an additional sense code of INVALIDFIELD IN CDB.SP: Saving Log Parameters (SP) is not supported. If the SP bit is set, the command is terminated withCheck Condition status with the sense key set to ILLEGAL REQUEST, and an additional sensecode of INVALID FIELD IN CDB.PC: The Page Control field defines the type of parameter value to be returned. This field should eitherbe set to 00b (Current Threshold Values) or 01b (Current Cumulative Values). If not, the commandis terminated with Check Condition status with the sense key set to ILLEGAL REQUEST, and anadditional sense code of INVALID FIELD IN CDB. The Current Cumulative Values are the valuescomputed since the last reset of the device (either by power-cycling, Bus Device Reset, or SCSIReset).Note: Only Log Sense Tape Alert page (2Eh) supports PC being set to Current Threshold Values.Page Code:The Page Code field identifies which log page is being requested by the initiator. If the page is notsupported then the command terminates with a Check Condition status with the sense key set toILLEGAL REQUEST, and an additional sense code of INVALID FIELD IN CDB. Supported pagesare:v 00h -List of Supported Pages Pagev 07h -Event Log Pagev 2Eh -Tape Alert Pagev 30h -Statistics Counter Pagev 33h -Error Log PageParameter Pointer:The Parameter Pointer field allows the host to specify at which parameter within a Log Page therequested data should begin. This is not supported in any Log Sense page and should be set to 0.Chapter 3. Supported SCSI Commands 3-11