Mondeo 4 Simulator for testing IPC on bench
-
- Pro
- Posts: 364
- Joined: 04 Aug 2019, 22:47
Re: Mondeo 4 Simulator for testing IPC on bench
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
It gets very crowded.. I'm thinking of replacing buttons with checkboxes - this way at least they will use less vertical space
You do not have the required permissions to view the files attached to this post.
Re: Mondeo 4 Simulator for testing IPC on bench
Alex what is new with mondeo 4 simulator?
-
- Pro
- Posts: 364
- Joined: 04 Aug 2019, 22:47
Re: Mondeo 4 Simulator for testing IPC on bench
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
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
Re: Mondeo 4 Simulator for testing IPC on bench
The program looks great and will surely work great!
-
- Pro
- Posts: 364
- Joined: 04 Aug 2019, 22:47
Re: Mondeo 4 Simulator for testing IPC on bench
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. 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.
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. 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.
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.
Re: Mondeo 4 Simulator for testing IPC on bench
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.
-
- Pro
- Posts: 364
- Joined: 04 Aug 2019, 22:47
Re: Mondeo 4 Simulator for testing IPC on bench
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)
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)