.. _headlabel-refx-data-40: Data 40 (Shock Value) ===================== The frame format of the Data **40** unit is as follows: .. code-block:: none For example (Total 4 bytes): 28 02 07 08 .. tabularcolumns:: |p{3.2em}|p{12.2em}|p{5.8em}|p{13em}|p{4.8em}| .. table:: :width: 100% :widths: auto +---------+--------------------------------------------+---------------+---------------------------------------------+--------------+ | Parts | Fields | Length (Byte) | Range/Format | Default | +=========+============================================+===============+=============================================+==============+ | ID | Data ID | 1 | 28H (40) | 28H (40) | +---------+--------------------------------------------+---------------+---------------------------------------------+--------------+ | Length | Data Length | 1 | 00H or 02H | | +---------+--------------------------------------------+---------------+---------------------------------------------+--------------+ | Content | `Shock Value` | 2 | 0000H-FFFFH (mg) | | +---------+--------------------------------------------+---------------+---------------------------------------------+--------------+ - `Shock Value` The shock value when a shock event is detected. The maximum acceleration value when the shock event occurred. Expressed as a 16-bit unsigned integer and the unit is mg. For example, 0708H means the acceleration value is 1800mg.