| Contents | Index |
xPC Target Library for CAN/J1939
The J1939 Protocol Stack block defines a J1939 protocol stack instance that you can associate with the CAN boards. This block is useful for the transmission and reception of CAN data to or from the bus. For each selected CAN board, you must have a corresponding CAN FIFO Setup block in the model (see CAN I/O Support for FIFO). The protocol stack handles both the regular J1939 communication and the (optional) Transport Protocol functionality. Use this block with the J1939 Transmit Message and/or J1939 Receive Message blocks.
None
None
General tab:
Enter the protocol stack ID.
Specify maximum number of CAN messages that the block can receive (process) in a single sample time.
Specify maximum number of CAN messages the block can send in a single sample time.
Specify the sample rate for the protocol stack.
Transport Protocol tab:
Select this check box to enable the transport protocol. Enabling the transport protocol allows for the sending and receiving of J1939 data, whose size is greater than 8 bytes, over the CAN bus.
Specify maximum transport protocol sessions that can be active at a given time.
Network Management tab
Select this check box to enable address claiming. Selecting this check box enables J1939 Controller Application blocks to negotiate node addresses with other nodes on the bus.

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |