Jump to content
markhellier

CANBUS OIL Temp from AN8

Recommended Posts

I am using AN8 to get Oil Temperature instead of a temp channel. This is because I'm sharing the sensor with a gauge, and the anvolt can have ext pull-up.

I have a AIM Dash setup using the Generic Dash Stream. This is working great except The oil Temperature being sent is not the one I'm using.

does anyone have the Canbus stream setup file for the generic dash config so i can change just the oil temperature? or any other ideas?

Thanks

 

Mark.

Share this post


Link to post
Share on other sites

this info taken from the Link help file :-

 

The 'Transmit Generic Dash' mode sends out a range of common parameters, it is useful for dashes that are able to have a custom configuration. The parameters that are sent are in the table below.

 

Setting up the Link ECU:

1. Open the CAN Setup window (PCLink > ECU Controls > CAN Setup)
2. Select the CAN module to be used
3. Set the Mode to 'User Defined'.
4. Configure the Bit Rate to match what the dash requires.
5. Select a spare CAN channel.
6. Select 'Transmit Generic Dash' from the Mode drop-down menu.
7. Set the CAN ID to match what the dash expects.
8. Set the Transmit Rate to 20Hz or what the dash expects.
9. Make sure no other CAN channels are configured on the same CAN ID as the Generic Dash channel.
10. Click Apply and then OK.
11. Make sure a Store (F4) is performed.

 

Setting up the Generic Dash:

1. The dash will need to be configured to match the data layout in the tables below.

 

All parameters are sent as 16 bit unsigned numbers, with low byte first.  Some parameters must be multiplied or offset (constant value added) to get the correct calibrated value.  The limits flags are sent through as a bit field (described below).

 

 

Data 0

Data 1

Data 2-3

Data 4-5

Data 6-7

Frame 1

0

0

Engine Speed

Display (RPM) = Raw

Range = 0 - 15000 RPM

MAP

Display (kPa) = Raw

Range = 0 - 650 kPa

MGP

Display (kPa) = Raw -100

Range = -100 - 550 kPa

Frame 2

1

0

Barometric Pressure

Display (kPa) = Raw * 0.1

Range = 0 - 200 kPa

TPS

Display (%) = Raw * 0.1

Range = 0-100%

Injector DC

Display(%) = Raw * 0.1

Range = 0-100 %

Frame 3

2

0

Injector DC (Sec)

Display (%) = Raw * 0.1

Range = 0 - 100%

Injector Pulse Width (Actual)

Display (ms) = Raw * 0.001

Range = 0 - 65 ms

ECT

Display (deg C) = Raw - 50

Range = -50 - 205 deg C

Frame 4

3

0

IAT

Display (deg C) = Raw - 50

Range = -20 - 205 deg C

ECU Volts

Display (V) = Raw * 0.01

Range = 0 - 65 V

MAF

Display (g/s) = Raw * 0.1

Range = 0 - 6500 g/s

Frame 5

4

0

Gear Position

Display (gear) = Raw

Range = 0 - 6

Injector Timing

Display (deg) = Raw

Range = 0 - 719 deg

Ignition Timing

Display (deg) = (Raw * 0.1) - 100

Range = -100 - 100 deg

Frame 6

5

0

Cam Inlet Position L

Display (deg) = Raw * 0.1

Range = 0 - 60 deg

Cam Inlet Position R

Display (deg) = Raw * 0.1

Range = 0 - 60 deg

Cam Exhaust Position L

Display (deg) = Raw * -0.1

Range = -60 - 0 deg

Frame 7

6

0

Cam Exhaust Position R

Display (deg) = Raw * -0.1

Range = -60 - 0 deg

Lambda 1

Display (Lambda) = Raw * 0.001

Range  = 0 - 3.000 Lambda

Lambda 2

Display (Lambda) = Raw * 0.001

Range  = 0 - 3.000 Lambda

Frame 8

7

0

Trig 1 Error Counter

Display (counts) = Raw

Range = 0 - 255

Fault Codes

Display (code) = Raw

Range = 0 - 255

Fuel Pressure

Display (kPa) = Raw

Range = 0 - 6550 kPa

Frame 9

8

0

Oil Temp

Display (deg C) = Raw - 50

Range = -50 - 205 deg C

Oil Pressure

Display (kPa) = Raw

Range = 0 - 6550 kPa

LF Wheel Speed

Display (kph) = Raw * 0.1

Range  = 0 - 1000 kph

Frame 10

9

0

LR Wheel Speed

Display (kph) = Raw * 0.1

Range  = 0 - 1000 kph

RF Wheel Speed

Display (kph) = Raw * 0.1

Range  = 0 - 1000 kph

RR Wheel Speed

Display (kph) = Raw * 0.1

Range  = 0 - 1000 kph

Frame 11

10

0

Knock Level 1

Display (units) = Raw * 5

Range = 0 - 1000 units

Knock Level 2

Display (units) = Raw * 5

Range = 0 - 1000 units

Knock Level 3

Display (units) = Raw * 5

Range = 0 - 1000 units

Frame 12

11

0

Knock Level 4

Display (units) = Raw * 5

Range = 0 - 1000 units

Knock Level 5

Display (units) = Raw * 5

Range = 0 - 1000 units

Knock Level 6

Display (units) = Raw * 5

Range = 0 - 1000 units

Frame 13

12

0

Knock Level 7

Display (units) = Raw * 5

Range = 0 - 1000 units

Knock Level 8

Display (units) = Raw * 5

Range = 0 - 1000 units

Limits Flags - Refer bit field definition below.

 

Limits Flags Definition

Bit

 

0

RPM Limit

1

MAP Limit

2

Speed Limit

3

Maximum Ignition Flag

4

Anti-lag Ignition Cut

5

High Supply Voltage Limit

6

Overrun Flag

7

Traction Limit

8

Low Supply Voltage Flag

9

Launch RPM Limit

10

Wakeup Flag

11

GP RPM Limit 1

12

CL Stepper Limit

13

GP RPM Limit 2

14

EThrottle Limit

15

Cyclic Idle Active

 

Hope this helps,

  Richard.

 

Share this post


Link to post
Share on other sites

Thanks Richard,

i have tried making the stream manually(from help file)  But I’m not understanding the first 2 “words” in each frame. Couldn’t get it to work with my manually created stream. Hoping someone had a file I could import that was the equivalent of the preset stream.

Share this post


Link to post
Share on other sites

Hi Mark,

I suspect the problem is your oil temp sensor being on a AV input is not actually assigned to the "oil temp" parameter but rather a "GP Temp" parameter that is not sent in the standard generic dash stream.  Attached below is a configurable version of the generic dash stream where I have replaced "oil temp" with AN 8 - Oil temp.

MarkHellier.lcs

 

For any others that want it I will also attach an un-modified configurable generic dash stream.

Configurable Generic Stream.lcs

Share this post


Link to post
Share on other sites

Thanks Adam,

That worked perfectly I had the byte order wrong. The generic file will be useful for anyone who has the generic dash working over can, but want to change a couple of fields.

Great stuff.

I'm using the Aim Solo2 DL to datalog. this now is setup how I'd like.

Thanks.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×