7.7.40. J1939 DM26 transmit (pj1939_Dm26Transmit)

Transmit a J1939/73 DM26 message containing the diagnostic readiness 3 data.

7.7.40.1. Supported targets

All targets

7.7.40.2. Required license

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

7.7.40.3. Description

A J1939/73 DM26 message is a fixed length message. The DM26 message contents detail the diagnostic readiness data (part 3). Refer to J1939-73 Feb2010 section 5.7.26 for details. Direct support is provided (rather than using the. pj1939_PgTransmit block).

7.7.40.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 DM26 message, set to zero otherwise.

    Range: 0 or 1.

    Value type:Boolean
    Calibratable:No
  • priority

    J1939 priority of the DM26 message to be transmitted.

    Range: [0, 7]

    Value type:Integer
    Calibratable:No
  • dest_addr

    J1939 destination address for the DM26 message (This could be the source address of the corresponding PGN request, or the global address (255) if the request was sent to the global address). If use_dest_addr is false or a PDU2 message is shorter than 9 bytes, this value is ignored and the message is sent to the global address.

    Range: [0, 255]

    Value type:Integer
    Calibratable:No
  • use_dest_addr

    Whether to send the DM26 to a specified destination address. If false (0), the message will always be sent to the global address. Set to true (1) to allow the message to be sent to a specific destination address, such as the source address of a PGN request.

    Range: 0 or 1.

    Value type:Boolean
    Calibratable:No
  • engine_run_time

    The time (in seconds), since key-on, that the engine has been running. Refer to J1939-73 Feb2010 section 5.7.26.1 for details. The platform will limit the transmitted value to the range specified below.

    Range: [0, 64255] seconds

    Value type:Integer
    Calibratable:No
  • warmup_count_since_clear

    The number of warm-up cycles since all DTCs were cleared. Refer to J1939-73 Feb2010 section 5.7.26.2 for details. The platform will limit the transmitted value to the range specified below.

    Range: [0, 250]

    Value type:Integer
    Calibratable:No

7.7.40.5. Outports

  • error_flag

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

    Value type:Boolean
    Calibratable:No

7.7.40.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

7.7.40.7. Notes

None.