This is an old revision of the document!


CAN USER TX

This command allows to transmit user defined messages over CAN bus. User mode must to be set and channel must open. Command can be send also in a fast format to short execution time and increase data throughput. If GMLAN is used then user has option to transmit also in wake-up mode (higher voltage).

Synopsis

Normal:

CAN USER TX CH<1/2> <standard part of ID>[:<extended part of ID>] [D0..D7][ WAKEUP]

Fast:

TX<1/2> <standard part of ID>[:<extended part of ID>]-[D0..D7][ WAKEUP]

Return Normal command return OK and optionally the timestamp. Fast command return nothing.

Examples

Transmitting a message with extended identifier on Channel#1:

CAN USER TX CH1 C1C0:ABCDC0 112233
OK

Transmitting a message with standard identifier on Channel#2 with timestamp enabled:

CAN USER TX CH2 F1CA
0072B1A5B0
OK

Transmitting, using fast format, a message with standard identifier on GMLAN Channel#2 with mode wake-up:

TX2 C1A0-112233 WAKEUP
OK
Notes

- Channel must open before trasmitting