beautypg.com

Simple data protocol: (hex code) – NEXCOM VTC 100 User Manual

Page 47

background image

Copyright © 2013 NEXCOM International Co., Ltd. All Rights Reserved.

34

Appendix A: CAN Module Setup and Command

VTC 100 User Manual

Simple Data Protocol: (HEX CODE)

Data

Description

HEAD

@ (=0x40)

Byte 1

Speed , (0~255) KM/HR

Byte 2

RPM High Byte (RPMHB)

Byte 3

RPM Low Byte(RPMLB) , RPM=RPMHB*256+RPMLB

Byte 4

Engine Loading, (0~100%)

Byte 5

Battery Voltage (BV), = (BV+100)/10 (v)

Byte 6

Engine Temperature( ET), =ET-40°C

Byte 7

Engine Loading, (0~100%)

Byte 8

Status , Note 2

Byte 9

MAF (0~255), MAF RATE= MAF * 3;

Byte 10 Distance: D1
Byte 11 Distance: D2
Byte 12 FU, Average Fuel Economy (km/L) =Fu /10

Byte 13

TCheck sum (odd numbers)= Byte1+ Byte2+Byte3+ Byte4+
Byte5+Byte6+ Byte7+ Byte8+Byte9+ Byte10+ Byte11+Byte12

Byte 14 Carry return ( 0x0D )
Byte 15 Line feed ( 0x0A)

NOTE:
1.) Data format : ASCII CODE
@ , 7 8 , 0 E , 7 0 , 0 0 ,0 3 , 9 8 , 2 8 , Status ,MAF,D1,D2,Fu,CS
speed=78 km/hr
rpm=0x0E70= 3696
2.) status:
Bit 7:
0: Normal
1: Emergency Braking ( Acceleration < - 6 m/s2 )
Bit 6:
0: Brake OFF
1: Brake ON
Bit 5:
0: Clutch OFF
1: clutch ON
Bit 4:
0: Cruise Control OFF
1: Cruise Control ON
Bit 3:
0: Brake (ON/OFF) unavailable
1: Brake(ON/OFF) available
Bit 2:
0:Clutch (ON/OFF) unavailable
1: Clutch (ON/OFF) available
Bit 1:
0: Cruise Control (ON/OFF) unavailable
1: Cruise Control (ON/OFF) available
Bit 0:
0: NORMAL
1: DTC ON
2.) Distance = D1*256+D2
3.) Average Fuel Economy =Fu /10