7.7.32. J1939 DM5 transmit (pj1939_Dm5Transmit)

Transmit a J1939/73 DM5 message containing the diagnostic readiness 1 data.

7.7.32.1. Supported targets

All targets

7.7.32.2. Required license

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

7.7.32.3. Description

A J1939/73 DM5 message is a fixed length message transmitted by a network node to the global network address. The DM5 message contents detail the diagnostic readiness data (part 1). As the message is made up from data calculated and stored internally within the platform, direct support is provided (rather than using the pj1939_PgTransmit block).

7.7.32.4. Inports

  • sim_error_flag

    The simulation inport for the error_flag outport.

    Value type:Boolean
    Calibratable:No
  • transmit

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

    Range: 0 or 1.

    Value type:Boolean
    Calibratable:No
  • priority

    J1939 priority of the DM5 message to be transmitted.

    Range: [0, 7]

    Value type:Integer
    Calibratable:No
  • obd_compliance

    The OBD compliance that this controller/software combination meets (see J1939-73 section 5.7.5.3).

    Range: [0, 255]

    Value type:Integer
    Calibratable:No

7.7.32.5. Outports

  • error_flag

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

    Value type:Boolean
    Calibratable:No

7.7.32.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
  • DTC table identifier

    The name of the DTC table to act on (there must be a corresponding named table specified in a pdtc_Table block in the model).

    Value type:String
    Calibratable:No

7.7.32.7. Notes

None.