7.7.45. J1939 DM35 transmit (pj1939_Dm35Transmit)

Transmit a J1939/73 DM35 message containing the transient fault status of DTCs, from a DTC table.

7.7.45.1. Supported targets

All targets

7.7.45.2. Required license

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

7.7.45.3. Description

A J1939/73 DM35 message is a variable length message. The DM35 message contents detail the transient fault status of diagnostic trouble codes. As the message is variable in length, direct blockset support is provided (rather than relying on the pj1939_PgTransmit block).

When the block executes, the DTC table is inspected for a change in transient fault status of DTCs. If any differ since the last time the block executed, a DM35 message is sent (when the minimum inter-message interval has elapsed). The purpose for this message is that of troubleshooting intermittent wiring problems ("wiggle test"). Refer to J1939-73 Feb2010 section 5.7.35 for details of the transmission rate and options.

7.7.45.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
  • start_transmission

    Set to 1 to start the transmission of DM35 messages. A rising edge on this inport causes DM35 messages to be transmitted either until key-off or the stop_transmission inport is set to 1.

    Range: 0 or 1.

    Value type:Boolean
    Calibratable:No
  • force_transmission

    Set to 1 to force the transmission of a DM35 message, regardless of whether any DTC has a change of transient fault status.

    Range: 0 or 1.

    Value type:Boolean
    Calibratable:No
  • stop_transmission

    Set to 1 to stop the transmission of DM35 messages.

    Range: 0 or 1.

    Value type:Boolean
    Calibratable:No
  • priority

    J1939 priority of the DM35 message to be transmitted.

    Range: [0, 7]

    Value type:Integer
    Calibratable:No
  • dest_addr

    J1939 destination address for the response message (usually the source address of the corresponding request).

    Range: [0, 254]

    Value type:Integer
    Calibratable:No

7.7.45.5. Outports

  • error_flag

    Set to 1 when the DM35 message could not be buffered for transmission, or if a previous request to send a DM35 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.45.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.45.7. Notes

None.