MotoHawk SAEJ1939 Transmit DM4

This block sets up a DM4 Transmit message using the specified handler. DM4 transmits the content of Freeze Frame parameters to the querying device.

Block ID

MotoHawk SAEJ1939 Transmit DM4

Library

MotoHawk_Protocols_lib

Description

The "DM4 Definition" script is required to follow the template outlined in the "motohawk_saej1939_dm4tx_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 definition script must reference at least one Freeze Frame Instance Definition. The instance definition specifies the SPN content in the Freeze Frame and the order of reference in the DM4 list specifies the order of the Freeze Frame Instances that will be transmitted if they contain data.

The block adds a link to the SPN, FMI, and Occurrence Count data as an OBD Fault Manager Custom Field. The FMI and Occurrence Count are optional. If not specified, the blockset will always return a "31" for the FMI and "127" for the Occurrence Count.

Block Parameters

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