MotoHawk SAEJ1939 PGN Transmit DM2

This block sets up a DM2 PGN Transmit message using the specified handler.

Block ID

MotoHawk SAEJ1939 PGN Transmit DM2

Library

MotoHawk_Protocols_lib

Description

The "PGN Definition" script is required to follow the template outlined in the "motohawk_saej1939_dm2tx_example" example file.

The definition script specifies a constant value, a port value, or an external datastore for each input parameter. The location of the block in the application will determine when the port-related information is updated.

The block will enforce some PGN numbering rules specified in J1939-21. It is required that the application developer become familiar with these rules.

The definition script can optionally add a link to the SPN data required for the Lamp and Flash status contained in DM2.

It is possible to configure the J1939 DM2 block to transmit faults based a logic array defined in the DM2 definition file. Doing so will change the criteria for including an OBD fault in the list of OBD faults transmitted in a DM2 message. This capability is included to allow for application devleopers to meet the differing OBD standards based on geographic area. Please see the aforementioned example file for details on how to accomplish this

Block Parameters

Parameter Field Values Comments/Description
PGN Definition String Evaluates to a PGN Transmit DM2 definition specified in the example script.