|
For the generation of a certain busload or for testing a certain CAN-node, it
may be necessary to transmit a CAN-message periodically. For this, switch to
the program window of the Transmit module. Cyclic transmit objects are
configured with the Cycle options columns.
|
In the column count the number of transmit
repeats is specified; 0 stands for continual transmission
|
|
In the column Time (ms) the cycletime in
milliseconds is specified
|
|
In the column Inc Mode the operating mode of
cyclic transmission (with/without increment) is specified. None: No
incrementing. Identifier: Incrementing of identifier with each
transmission. Byte (Data): Incrementing of the data byte defined in the
column Byte with each transmission. Word (Data): Incrementing of a 16
bit value.
|
|
In the column Byte the start byte is
specified, with which incrementing of the data field is carried out when an
increment mode is switched on
|
Note: The selected hardware has to support cyclic transmission. If the
hardware does not support cyclic transmit objects, the Cycle option columns
are not displayed and no cyclic messages can be sent.
Enter in the field Identifier the value "14", in the Data field
the value "E2 04" and in the column Count enter "10". Don't use the Inc
Mode but set the Time to 10 ms. Start cyclic transmission either
|
by selectint the point Functions | Transmit cyclic
message from the menu or |
|
click on the button
in the toolbar. |
In the Scroll mode the Receive module fills its display field with the incoming
identical messages. By clicking the key
in the toolbar, the display can be fixed on the last message received.
In the Overwrite mode the Receive module only increases the message counter.
If the specified number of messages is sent, the Transmit module stops
transmission automatically. The cyclic transmission can also be stopped
manually, by selecting Function | Transmit cyclic message or by clicking
the symbol for cyclic transmission again.
Now change the Cycle options, for example by selecting Byte- or
Word-increment. Transmit cyclically again and view the result in the Receive
module. Finally attempt an increment of the Identifier and compare the Scroll-
and the Overwrite-mode in the Receive module.
|