IXXAT - Products, Services and Training for CAN, CANopen, DeviceNet, CAL, FlexRay, LIN, Embedded TCP/IP
Home
Features
Gallery
Interface Boards
Tutorial
Tips, News, Articles
Support & FAQ
Downloads
Impressum


Deutsch
Tutorial

7 Transmit module: Transmission of CAN messages

With the Transmit module, CAN-messages can be defined and transmitted individually or cyclically.


Below the menu- and toolbar of the Transmit module there is an entry field in the form of a table for entering the CAN-messages to be transmitted.

The column Tx displays a symbol indicating if it is a manual or cyclic transmit object
In the column Identifier, the Identifier of the CAN-message is entered
In the column Message the symbolic name from the database assigned to this identifier is shown
In the column RTR, the message-type is defined. If the checkbox is activated a remote frame will be sent.
A further description of the message is possible in the column Description
The data of the CAN-message are entered in the column Data. By clicking on the button in the toolbar, it is possible to switch between decimal and hexadecimal entry.
In the column Cycle options the properties of a cyclic message can be set. Number of messages, cycle time and incerementation of the identifier, a data byte or a data word can be defined.

Now try to create the first CAN-message.

Ensure that the button ID hex and and Data hex are pressed and click in the first ID table field. Enter the hexadecimal value "14" for the Identifier and change with the tab key or by clicking to the column Description. This message should transmit the speed of an engine. Therefore, for example, "Motor speed" would be a suitable message name.

For the entry of the speed value, the first two bytes of the data area should be used. Enter a value in the data field, e.g. "E2 04".

Now start the Receive module, so that it can receive messages. Then transmit the configured CAN-message either
Via the menu entries Function | Transmit single message,
by clicking on the icon in the toolbar or
by clicking to the symbol in the column Tx of the message line.

Repeat this several times. The dispatch of the message is confirmed in the Transmit module in the state line.


If the Receive module is in Scroll mode, it displays each individual message with its time of reception. This can be shown relative to the previous message or absolute to the starting time of the canAnalyser by clicking on the button rel/abs.


Now switch to Overwrite mode. Here the Receive module always shows only the last received message, but its column Count shows the total number of received messages with their individual identifiers.


In both modes the display can be reset either

via the menu entry Functions | Clear all or
by clicking on the icon in the toolbar.