Mondeo 4 Simulator for testing IPC on bench

IPC - Instrument cluster panels (like Convers+)
DGAlexandru
Pro
Posts: 364
Joined: 04 Aug 2019, 22:47

Re: Mondeo 4 Simulator for testing IPC on bench

Post by DGAlexandru »

Still on GUI design.
It gets very crowded.. I'm thinking of replacing buttons with checkboxes - this way at least they will use less vertical space :roll:
Mondeo4IPCCtrl.jpg
You do not have the required permissions to view the files attached to this post.
sanndo
Active member
Posts: 106
Joined: 09 Feb 2020, 14:21

Re: Mondeo 4 Simulator for testing IPC on bench

Post by sanndo »

DGAlexandru wrote: 21 Jan 2021, 17:28 Still on GUI design.
It gets very crowded..
WOW :shock:
tomy75
Active member
Posts: 112
Joined: 13 Jun 2019, 21:57

Re: Mondeo 4 Simulator for testing IPC on bench

Post by tomy75 »

👍🙂
User avatar
Stevebe
Pro
Posts: 258
Joined: 08 Feb 2019, 12:28

Re: Mondeo 4 Simulator for testing IPC on bench

Post by Stevebe »

Looking good
Digimod
tomy75
Active member
Posts: 112
Joined: 13 Jun 2019, 21:57

Re: Mondeo 4 Simulator for testing IPC on bench

Post by tomy75 »

Alex what is new with mondeo 4 simulator?
DGAlexandru
Pro
Posts: 364
Joined: 04 Aug 2019, 22:47

Re: Mondeo 4 Simulator for testing IPC on bench

Post by DGAlexandru »

I've put the GUI design on hold as for now it is enough and I started to implement functions that connect the buttons with the data that needs to be sent over CAN. Also I have to rethink the way the sending of CAN messages are handled as the original source code has this implemented in a bad way of working with threads.

Regarding the needed functions, for example for Tank / Fuel Level which in CAN is from 0 for full to 0xFF for empty the coresponding math function is 0xFF - FuelSlider x 2.55.
FuelSlider has its values from 0 to 100.
FuelSlider = 0 -> Sent Byte is 0xFF - 0x2.55 = 0xFF
FuelSlider = 50 -> Sent Byte is 0xFF - 50x2.55 = 0xFF - 127.5 = 0xFF - 0x7F.8 = 0x7F.8, but as I have to send only one byte, I have to discard that ".8" and send only 0x7F
FuelSlider = 100 -> Sent Byte is 0xFF - 100x2.55 = 0xFF - 255 = 0xFF - 0xFF = 0x00
User avatar
fryciu
Starter
Posts: 22
Joined: 27 Jul 2020, 19:12

Re: Mondeo 4 Simulator for testing IPC on bench

Post by fryciu »

The program looks great and will surely work great!
DGAlexandru
Pro
Posts: 364
Joined: 04 Aug 2019, 22:47

Re: Mondeo 4 Simulator for testing IPC on bench

Post by DGAlexandru »

V1.0.0
Not everything works as I didn't find yet all the needed CAN messages.
Outside Temp worked very well on OEM FW for FaceLift version, but on the M0 tr al one it doesn't. On PreFaceLift it works without any problem.
Mondeo4IPCCtrl.jpg
Tested with ELS27 (original and clone); also tested with other ELM327 China versions.
As long as your adapter supports at least 115200 baud it will be able to do the job.
Just be careful to select the right version when you are asked to do so.

I've also implemented a Send CCC function to reconfigure Convers+ with all the features it is capable of. In the future it will have the option to select a file that contains CCC data. I've added the config also in a separate file - CCC.elm in order to see it with ELMConfig (Offline - Mondeo 4 - CCC - Load from File).

For now it doesn't setup a VIN by CAN, but it is on the list.

Did anyone managed to play with the needed CAN messages for Dimming control? I couldn't find the right bytes. I think it also looks at other values from other CAN IDs.

Open it, press Run.. before exiting press Sleep and wait for program to close CAN connection - just not to give you errors that it didn't manage to stop all its threads (workers).

Oil Lamp gives "Engine Malfunction Message" as I couldn't find it either.
To access Parking Mode you have to select Reverse :)
For now there isn't any other working option for simulating the Gearbox as this one also plays hard to get.


Standard password.. this version is for free.. even if I didn't get the help I needed. :cry:
You do not have the required permissions to view the files attached to this post.
Last edited by DGAlexandru on 28 Jan 2021, 22:31, edited 1 time in total.
Drago

Re: Mondeo 4 Simulator for testing IPC on bench

Post by Drago »

it is happening on my fl, but I am full of admiration for a great job
You do not have the required permissions to view the files attached to this post.
DGAlexandru
Pro
Posts: 364
Joined: 04 Aug 2019, 22:47

Re: Mondeo 4 Simulator for testing IPC on bench

Post by DGAlexandru »

This software sends all CAN IDs that Convers+ expects from MS CAN - it emulates all the other modules on MS CAN, so if you try it in a car or on a bench where you have other modules on MS CAN it will conflict with them.

The testing bench should contain only:
IPC
cables
ELS / ELM adapter
Power Supply :)
maybe also the buttons to be able to control IPC
(I didn't even bothered with having 60ohms on MS CAN)
Post Reply