J1939 Transmit Message

J1939 Transmit


Simulink® Real-Time™ Library for J1939


The J1939 Transmit Message block transmits a J1939 message The J1939 database file defines the message type. You specify the J1939 database with the J1939 Database (CANdb) Setup block.

Block Inputs

  • Trigger

    Enables the transmission of the message for that sample (a value of 1 indicates send, a value of 0 indicates do not send).

  • Signal Input(s)

    Depending on the J1939 message defined in the J1939 database file, the block can have multiple input signal ports. If the bit length of a signal exceeds 32, the input is a byte array; otherwise, the block input data type is double.

Block Parameters


From the list, select the parameter group number. The contents of this list vary depending on the messages that the J1939 database file specifies.


Identifies the controller application that this block maps to. The ID must match the CA ID value of the corresponding J1939 Controller Application block.

Priority (0-7; highest to lowest

From a range of 0 to 7, specify the priority for the message transmission. 0 is the highest, 7 is the lowest.

Destination Address (0–253 or 255)

Specify the node address of the destination node. Type 255 for broadcast.


For message-oriented PGNs, this block ignores this parameter.

See Also

External Websites

Introduced in R2009a

Was this topic helpful?