Changing CanBus message to something else?

My Ecu has 3 way switchable maps and is switched using a 3 way switch to the Ecu.

Currently the Ecu output on the CanBus for this gives either, Map 0, Map 1 or Map 2.
I don’t like this labelling and it would be good if I could change this input to represent some other text. For example, Map 0 on the CanBus would display ‘Normal Map’ where Map 1 might display ‘Fuel Saving Mode’.

Can anybody please advise if this can be done and if so how?

Thanks in advance

Use enumeration.

Chapter 12. Enumeration.

1 Like

Many thanks mfudala, I’ll give that a try :+1:

@mfudala_ECUMASTER Many thanks ! I got it working perfectly. :+1:

:slightly_smiling_face:

Hi again,
There is one anomaly, I wondered if you knew how to fix.

Example:

I have 3 way map switching. The new label is in the brackets below. The colour of text is detailed on the same line.

Map 1 - is (R99) for high octane petrol, coloured GREEN
Map 2 - is (R95) for regular octane petrol, coloured ORANGE
Map 3 - is (MOT) vehicle emissions testing, coloured RED

This is how the enumeration is set up.

The issue, when I switch between maps, the colour changes before the text. The delay is about 0.5 seconds.

So if I go from Map 1 (R99 GREEN) to Map 2 it goes to (R95 GREEN) then to (R95 ORANGE).

Is there any way I can have both the colour and the text change at the same time? Even if it means adding a delay to the text to match that of the colour. e.g. So if I go from Map 1 (R99 GREEN) to Map 2 it pauses, then displays R95 ORANGE.

It would be easier if you could share your project with me, either here or via e-mail: maciej.fudala@ecumaster.com

1 Like

Hi Maciej, I’ll send you the project later today when I’m home from work.

Thanks for the reply.

I have sent you my project via Email. Thanks for your help.

You need to change the update frequency of text control. Currently you have set 1Hz, change it to 10Hz or 25Hz.

Excellent, thanks!:+1:

A simple fix. :blush: