Documentation

J1939 Message Triggering

J1939 Message Triggering (not recommended)

Library

Simulink® Real-Time™ Library of Drivers No Longer Recommended for Use

Description

The J1939 Message Triggering block manages the multiple trigger conditions possible for triggering the transmission of a J1939 message.

Block Inputs

This block has the following input ports:

Enable

Receives the signal that indicates when the block is enabled.

Request

Receives the signal that indicates a request to send has been received.

Active

Indicates when a message is in the active state.

Change

Receives the signal whose change triggers the sending of a message.

Block Outputs

This block has the following output ports:

Message Enable

Signal of type double that is set to 1 when the message should be packed. It is typically connected to the input port of a J1939 Pack block.

Block Parameters

Repetition

From the list, select:

  • On Request Only

  • Engine Speed Based

  • Time Based

Repeat on Interval

Select this check box to repeat at the interval specified in the Repetition Interval parameter.

Repetition Interval

Specify the enabled repetition interval in milliseconds. The repetition interval should be an integer multiple of the model update rate.

Change Interval on External Active Signal

Select this check box to enable the message to repeat at the interval specified in Interval when Active when the external signal is active.

Interval when Active

Enter the active repetition interval in milliseconds. The interval should be an integer multiple of the model update rate.

Send on Change

Select this check box to send the message when the input signal that is wired to the change port changes by the value in the Change threshold parameter.

Change Threshold

Enter the threshold for message transmission to any change (Any) or a change greater than 10% (10%).

Minimum Change Interval

Enter a minimum change interval.

Was this topic helpful?