Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
carberry:cmds:subsys:canbus:user:tx [2019/09/30 13:44]
127.0.0.1 external edit
carberry:cmds:subsys:canbus:user:tx [2021/07/23 10:55] (current)
marco
Line 1: Line 1:
 ==== CAN USER TX ==== ==== 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).+This command allows to transmit user defined messages over CAN bus. User mode must to be set and channel must open. If GMLAN is used then user has option to transmit also in wake-up mode (higher voltage).
  
 === Synopsis === === Synopsis ===
-Normal: +CAN USER TX CH<​1/​2>​ <​standard part of ID>​[:<​extended part of ID>] [D0..D7][ WAKEUP]
-  ​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 Return
-Normal command ​return OK and optionally the timestamp.  +Command ​return OK and optionally the timestamp.  
-Fast command return nothing.+
  
 == Examples == == Examples ==
Line 20: Line 17:
   CAN USER TX CH2 F1CA   CAN USER TX CH2 F1CA
   0072B1A5B0   0072B1A5B0
-  OK 
- 
-Transmitting,​ using fast format, a message with standard identifier on GMLAN Channel#2 with mode wake-up: 
-  TX2 C1A0-112233 WAKEUP 
   OK   OK
  
Line 29: Line 22:
 - Channel must open before trasmitting - Channel must open before trasmitting
  
 +- The command <​standard part of ID> and <​extended part of ID> follow the alignment format currently selected. Please refer to CAN USER ALIGN command.
     ​     ​