Author Topic: Replacing the controller in the project  (Read 45 times)

Offline AlexeyZverev

  • PLUS+1 Novice
  • *
  • Posts: 1
  • Karma: +0/-0
Replacing the controller in the project
« on: October 23, 2025, 02:48:27 PM »
Hi guys!

I've got a need to replace the target controller in the project: MC038 should be replaced by MC050, and in another project DP250 should be replaced with DM430E. The reason to replace is that MC038 and DP250 are not available any longer.

So, the question is how to do that properly. I haven't found an easy way to do that...

Thanks,
Alexey.

Offline Lukey

  • PLUS+1 Expert
  • ****
  • Posts: 88
  • Karma: +9/-1
Re: Replacing the controller in the project
« Reply #1 on: October 23, 2025, 11:56:08 PM »
Danfoss have a youtube video tutorial for migrating from a DP250 to a DM4300
https://www.youtube.com/watch?v=co4ggPv-6yw

With the controllers i would i expect you will have to convert the MC038 code to a MC050, then that means reassign all the I/O in the login to suit to new pin configs.

Offline samuelhj

  • PLUS+1 Developer
  • ***
  • Posts: 38
  • Karma: +1/-0
Re: Replacing the controller in the project
« Reply #2 on: October 24, 2025, 04:26:49 AM »
You have to add the controller via update centre, then open up guide, on the right side find hardware, and then locate your hardware type, right click and "use this hardware in project" if I recall correctly. Took a bit of fiddling the first time I had to do this.

Offline acmall

  • PLUS+1 Guru
  • *****
  • Posts: 209
  • Karma: +37/-3
Re: Replacing the controller in the project
« Reply #3 on: October 24, 2025, 09:13:10 AM »
If you change the controller in the project by right clicking on the new controller hardware tab and selecting Use this hardware in project, it won't update the template for the differences in the Inputs/Outputs pages between the MC038 and the MC050.

I would suggest creating a new project with the MC050 HWD file, open the old MC038 SCS file in the SCS viewer and copy your code across. You will have to reconnect and reconfigure the I/O but there are some differences between the MC038 & MC050 pins that will need to be adjusted for anyway.
 

Offline Rem

  • PLUS+1 Expert
  • ****
  • Posts: 70
  • Karma: +8/-1
Re: Replacing the controller in the project
« Reply #4 on: October 24, 2025, 09:43:57 AM »
Hello,
I agree with acmall.
This method allows you to start from a blank template and you can copy the elements of your old program into the new one from the SCS drive.
There is less risk of forgetting to configure the inputs and outputs so that they are correctly connected.
Have a nice day!