Availability:
     Level 8    , 'd'

  Quick Help:
     Head Smash Test, d[HeadDirection],[AccelerationDuration],[DecelerationDuration],[AccelerationCurrent],[DecelerationCurrent]

  Description:
    This command is used to perform head smash test towards OD or ID with given acceleration
    and deceleration currents / duration.

  Input Parameters:

    
    0 - Head Smashing Direction.
    
       This parameter specifies the direction the head is going to be smashed to. Only 0 or
       1 are valid input. The default value is 0 when not entered.
          0: Smash head towards OD
          1: Smash head towards ID
    
          Type:    Unsigned 16-bit value
    
          Range:   0 to 1
    
          Default: 0
    
    1 - Acceleration Duration.
    
       This parameter specifies the duration (in 0.1 ms uint) to be used for head
       acceleration. The default value is 10 ( = 10 * 0.1ms = 1ms) when not entered.
    
          Type:    Unsigned 16-bit value
    
          Range:   0 to 0xFFFF
    
          Default: 0Ah (10 Decimal)
    
    2 - Deceleration Duration.
    
       This parameter specifies the duration (in 0.1 ms uint) to be used for head
       deceleration. The default value is 10 ( = 10 * 0.1ms = 1ms) when not entered.
    
          Type:    Unsigned 16-bit value
    
          Range:   0 to 0xFFFF
    
          Default: 0Ah (10 Decimal)
    
    3 - Acceleration Current.
    
       This parameter specifies the current (in mA unit) to be used for head acceleration.
       The default value is 1000 ( = 1000mA = 1A) when not entered.
    
          Type:    Unsigned 16-bit value
    
          Range:   0 to 0xFFFF
    
          Default: 03E8h (1000 Decimal)
    
    4 - Deceleration Current.
    
       This parameter specifies the current (in mA unit) to be used for head deceleration.
       The default value is 0 when not entered.
    
          Type:    Unsigned 16-bit value
    
          Range:   0 to 0xFFFF
    
          Default: 0
    
  Output Data:

    If an error occurred, the following information will be displayed.
    
          "DiagError aaaaaaaa"
    
       where
    
          aaaaaaaa is the Diagnostic Error Code
    

  Examples:

    Example #1:
    Smash head towards OD with acceleration duration 8 ms (= 50h * 0.1ms), deceleration
    duration 1.6 ms (= 10h * 0.1ms), acceleration current 32 mA (= 20h * 1mA), deceleration
    current 16 mA (= 10h * 1mA)

       F3 8>d,50,10,20,10

    Example #2:
    Smash head towards OD with acceleration duration 6.4 ms (= 40h * 0.1ms), deceleration
    duration as default (= 1 ms), acceleration current 48 mA (= 30h * 1mA), deceleration
    current as default (= 0 mA)

       F3 8>d0,40,,30

    Example #3:
    Smash head towards ID with acceleration duration as default (= 1 ms), deceleration
    duration 0.8 ms (= 8h * 0.1ms), acceleration current as default (= 1000 mA),
    deceleration current 32 mA (= 20h * 1mA)

       F3 8>d1,,8,,20

    Example #4:
    Smash head towards ID with acceleration duration as default (= 1 ms), deceleration
    duration as default (= 1 ms), acceleration current as default (= 1000 mA),
    deceleration current as default (= 0 mA)

       F3 8>d1

  Revision History:

    0001.0000   Initial revision.