Availability:
     Level 7    , 'c'

  Quick Help:
     Off Track Capability, c[Sec],[NumSecs],[SecIncrement],[Offset]

  Description:
    This command is used to test the drive's ability to read offtrack.

  Input Parameters:

    0 - Starting Sector
    
        This input is to set the starting physical sector number.
    
          Type:    Unsigned 16-bit value
    
          Range:   0 to 0xFFFFFFFF
    
          Default: None
    
    1 - Sector Count
    
        This input is to set the number of sectors to test.
    
          Type:    Unsigned 16-bit value
    
          Range:   0 to 0xFFFFFFFF
    
          Default: None
    
    2 - Sector Increment
    
        This input specifies how much to increment the sector
        number between each test.
        
          Type:    Unsigned 16-bit value
    
          Range:   0 to 0xFFFF
    
          Default: None
    
    3 - Offset to one side
    
        This input specifies how far offtrack the test will start
        and finish.
    
          Type:    Unsigned 16-bit value
    
          Range:   0 to 0x200
    
          Default: None
    
  Output Data:


    If an error occurred, the following information will be displayed.
    
          "DiagError aaaaaaaa"
    
       where
    
          aaaaaaaa is the Diagnostic Error Code
    
    If no error occurred, the Offtrack Capability data is displayed as follows.
    
                           "88889999AAAABBBBCCCCDDDDEEEEFFFF000011112222333344445555666677778"
          "wedge  log (phy) 048C048C048C048C048C048C048C048C048C048C048C048C048C048C048C048C0"
            "aaa bbbb(cccc) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx dddd   ee ffff" (repeated)
                ...
          "Average gggg   hh iiii"
    
       where
    
          8888...  these are two lines of hex digits representing offset information.  The offset is
          048C...  read from up to down.  The example to the left shows 80, 84, 88, and 8C.
    
          aaa      is the data wedge where the sector begins.
    
          bbb      is the logical sector number.
    
          cccc     is the physical sector number.
    
          dddd     is the left edge of the bathtub.
    
          ee       is the midpoint between the left and right edges of the bathtub.
    
          ffff     is the right edge of the bathtub.
    
          xx..xx   represents the results of each sector being tested.  The results are shown
                   with the following character codes.
    
                    .  -> Read OK
                    *  -> Read error
                    |  -> Read OK at track centerline
                    +  -> Read error at track centerline
    
          gggg     is the average of all the left edges of the bathtub.
    
          hh       is the average of the bathtub midpoints.
    
          iiii     is the average of all the right edges of the bathtub.
    
  Examples:

    Example #1:
    To test offtrack capability on the current track, starting at sector 1B and testing 5
    sectors, with a sector increment of 1, and an offset range of -80 to 80.
    
       F3 7>c1B,5,1,80
                                                                                                        
  Revision History:

    0001.0000   Initial revision.
    0011.0000   Combined the PSG Diagnostic Error Codes (PSGDEC) and the Diagnostic External
                Test Service Error Codes (DETSEC) into a single set of Diagnostic Error Codes
                (DiagError).