5.1.56. J1939 DM2 decode DTC (pj1939_Dm2DecodeDtc)

Decodes the contents of the last received J1939-73 DM2 message based on specified DTC data.

5.1.56.1. Supported targets

All targets

5.1.56.2. Required license

None (Main library). (See Section 2.3, “Licensed Features”.)

5.1.56.3. Description

The previously active/not previously active status of a specified DTC as reported by another unit via J1939 DM2 messages can be monitored using this block. The outputs are updated each time a new DM2 message is received. Use the pj1939_Dm2Receive block to determine when a DM2 message is received.

5.1.56.4. Inports

  • sim_active

    The simulation value for the outport previously_active.

    Value type:Boolean
    Calibratable:No
  • sim_oc

    The simulation value for the outport oc.

    Value type:Integer
    Calibratable:No

5.1.56.5. Outports

5.1.56.6. Mask parameters

5.1.56.7. Notes

None.