7.7.41. J1939 DM30 transmit (pj1939_Dm30Transmit)

Transmit a J1939/73 DM30 message containing the scaled test results for the applicable test(s) requested in a DM7 message. Refer to J1939-73 Jul2013 section 5.7.30 for details.

7.7.41.1. Supported targets

All targets

7.7.41.2. Required license

EXT_DIAG (Extended diagnostics library). (See Section 2.3, “Licensed Features”.)

7.7.41.3. Description

A J1939/73 DM30 message is a variable length message transmitted by a network node to the specified destination address. The DM30 message contents detail the scaled test results for the applicable test(s) requested in a DM7 message (handled by the associated pj1939_Dm7Decode block). As the message is variable in length and the data is derived from information maintained by the PPR platform feature (see block ppr_DiagnosticTestEntity, direct support is provided (rather than using the pj1939_PgTransmit block).

7.7.41.4. Inports

  • sim_error_flag

    The simulation inport for the error_flag outport.

    Value type:Boolean
    Calibratable:No
  • sim_transport_errors

    Simulation value of the outport transport_errors.

    Value type:Integer
    Calibratable:No
  • transmit

    Set to 1 to transmit a DM30 message, set to zero otherwise.

    Range: 0 or 1.

    Value type:Boolean
    Calibratable:No
  • priority

    J1939 priority of the DM30 message to be transmitted.

    Range: [0, 7]

    Value type:Integer
    Calibratable:No
  • spn

    The J1939 suspect parameter number to use for obtaining the test results to be transmitted in the DM30 message.

    Range: [0, 524287]

    Value type:Integer
    Calibratable:No
  • dest_addr

    J1939 destination address for the response message (should usually be the source address of the corresponding request, but the global address (255) if the request was sent to the global address).

    Range: [0, 255]

    Value type:Integer
    Calibratable:No

7.7.41.5. Outports

  • error_flag

    Set to 1 when the DM30 message could not be buffered for transmission, or if a previous request to send a DM30 message has not completed.

    Value type:Boolean
    Calibratable:No
  • transport_errors

    Saturated count of transport errors (timeout or aborts) for this message.

    Range: [0, 255]

    Value type:Integer
    Calibratable:No

7.7.41.6. Mask parameters

  • J1939 Channel

    The logical J1939 channel on which to transmit. Must be a channel declared with a pj1939_ChannelConfiguration block.

    Value type:Integer
    Calibratable:No
  • Test Identifier (TID)

    Together with the spn and Failure Mode Indicator (FMI), this identifies the specific test for which results are required, to match the DTE values; or a special value of 246 (results for all tests) or 247 (all results for specified SPN only).

    Range: [0, 255]

    Value type:Integer
  • Failure Mode Indicator (FMI)

    Together with the spn and Test Identifier (TID), this identifies the specific test for which results are required, to match the DTE values; or a special value of 31 if a TID of 246 or 247 is requested.

    Range: [0, 31]

    Value type:Integer

7.7.41.7. Notes

None.