Difference between revisions of "Robotino3 IO CAN"

From RobotinoWiki
(Info message)
Line 27: Line 27:
 
|}
 
|}
  
==Event message==
+
==Error message==
 
Length=8
 
Length=8
 
{| class="wikitable"
 
{| class="wikitable"
Line 34: Line 34:
 
!Description
 
!Description
 
|-
 
|-
|0-2
+
|0-1
 
|Global time in seconds (LSB first).  
 
|Global time in seconds (LSB first).  
 +
|-
 +
|2
 +
|Error type. "Fatal system error" or "Charger error"
 +
|-
 
|-
 
|-
 
|3
 
|3
|Event ID.
+
|In case of "Fatal system error" this is the system error type. Otherwise it is the charger error type.
 
|-
 
|-
 
|4-5
 
|4-5
|Event argument 0 (LSB first).
+
|Error argument 0 (LSB first).
 
|-
 
|-
 
|6-7
 
|6-7
|Event argument 0 (LSB first).
+
|Error argument 0 (LSB first).
 
|}
 
|}
  
Line 64: Line 68:
 
|Patch version
 
|Patch version
 
|}
 
|}
 
==Error message==
 
Length=0
 
  
 
==GetVersion message==
 
==GetVersion message==

Revision as of 08:53, 8 October 2013

Robotino3 can nodes.png

Info message

Length=8

Byte Description
0-1 Global time in seconds (LSB first).
2-3 Battery Voltage in milli Volts (LSB first).
4 Charging current in Ampere = value/100.
5 Temperature in °C of battery 1.
6 Temperature in °C of battery 2.
7 Charger state.

Error message

Length=8

Byte Description
0-1 Global time in seconds (LSB first).
2 Error type. "Fatal system error" or "Charger error"
3 In case of "Fatal system error" this is the system error type. Otherwise it is the charger error type.
4-5 Error argument 0 (LSB first).
6-7 Error argument 0 (LSB first).


Version message

Length=3

Byte Description
0 Major version
1 Minor version
2 Patch version

GetVersion message

Length=0

Reset message

Length=2

Byte Description
0 0xAA
1 0x55