Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

We Value Your Feedback!
Could you please spare a few minutes to share your thoughts on Cloud Connected vs On-Premise Services. Your feedback can help us shape the future of services.
Learn more about the survey or Click here to Launch the survey
Schneider Electric Services Innovation Team!

Best practices upgrading PLC program

HVAC and Pumping Forum

Support Forum for HVAC and pumping machines, Modicon M17x and EcoStruxure Machine Expert HVAC software for chillers, AHU, CRAC units for datacenters or process chillers applications - from design, implementation to troubleshooting and more, by Schneider Electric.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • Industrial Automation
  • HVAC and Pumping Forum
  • Best practices upgrading PLC program
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
FedericoM
Commander FedericoM Commander
68
Bastian_Schmitz
Admiral Bastian_Schmitz Admiral
47
LeTomas
Lt. Commander LeTomas Lt. Commander
14
View All
Related Products
product field
Schneider Electric
EcoStruxure™ Machine Expert - HVAC

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to HVAC and Pumping Forum
Solved
otrotabi
Lt. Commander otrotabi
Lt. Commander

Posted: ‎2024-12-10 03:30 AM

0 Likes
3
551
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2024-12-10 03:30 AM

Best practices upgrading PLC program

This is the scenario. I have a working PLC and I want to add some new features.  These new features require some new EEPROM variables and the variables which are present on the PLC may have been modified by the user. There are also some new Status variables which have been created.

 

Since I have modified the original program, I think I can not connect to the PLC and upload the EEPROM variables which are already on the PLC with the commissioning tab, because my table is actually  different from the original table (because I have added some new variables).

 

What happens if I only download the PLC and HMI programs without using the download all feature ? What values do these new EEPROM variables take by default ? And what if during program upgrade some previously used EEPROM variables get assigned new addresses ? 

 

I think you get the point, and maybe you can give me some tips on how to tackle this problem.

 

Thanks in advance.

 

 

Labels
  • Labels:
  • HVAC
  • Tags:
  • ecostruxure
  • english
  • hvac
  • TM171
  • TM172
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
FedericoM
Commander FedericoM Commander
Commander

Posted: ‎2025-02-20 02:44 AM

0 Likes
0
255
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2025-02-20 02:44 AM

Hi,

 

In case of M172 and M173O, when I refer to row number, I really refer to the row of the parameter table, not to the modbus address.

When you add a new line, the first unused register will be assigned, but you are free to change it.

 

About this:

If you are not in this case you should first export the PARAM.DAT to usb (or load settings and store them in a recipe), upload PLCIEC.COD and PARAM.BIN with default settings (or a download all), load the PARAM.DAT previously exported or write the recipe.

 

PARAM.DAT is the modbus table of the PLC, you can export it to usb pendrive from the PLC (this one will not include the new parameters, since you are still running the old version).

PARAM.BIN is a full copy of the EEprom created by ESME HVAC (this one will include the new parameters).

 

If you upload the new application with param.bin, you will load new version with default of all eeprom settings.

If you the upload the previously exported PARAM.DAT, you will have the controller with old eeprom settings + new eeprom parameters initialized at their default value

See Answer In Context

Reply

Link copied. Please paste this link to share this article on your social media post.

Replies 3
FedericoM
Commander FedericoM Commander
Commander

Posted: ‎2024-12-10 11:38 PM

0 Likes
1
517
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2024-12-10 11:38 PM

Hi,

 

parameters of M172 are stored in the EEprom (Flash area in case of Secure Interface and M173O) based on the row order of the parameter table.

So if you add new parameters at the bottom of the table and you download just the plc code the older parameters will not change their value and the new ones will have value FFFFh (-1).

If -1 is out of the nominal range of the parameter, you can add few lines of code in the init task which autoinitialize the parameter.

 

If you are not in this case you should first export the PARAM.DAT to usb (or load settings and store them in a recipe), upload PLCIEC.COD and PARAM.BIN with default settings (or a download all), load the PARAM.DAT previously exported or write the recipe.

Reply

Link copied. Please paste this link to share this article on your social media post.

otrotabi
Lt. Commander otrotabi
Lt. Commander

Posted: ‎2024-12-12 01:52 AM

In response to FedericoM
0 Likes
0
494
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2024-12-12 01:52 AM

Hi Federico, thanks for your answer. I understand the first solution. However I would like to understand a little bit clerarer: when you say row number don´t you mean register number ? I thought actually the register is what actually identifies the data inside memory.

 

If I look at my EEPROM table data, I can see there are some data registers missing, variables I created and then deleted. I never re-arrange them so that they are in order (which maybe not good practice) so when I add a new variable, it is likely this unused registers will be used, what happens then ?

 

Regarding the second part, I wonder if you could explain it further or maybe point me to the right information.

 

Regardsmemory.jpg

 

Reply

Link copied. Please paste this link to share this article on your social media post.

FedericoM
Commander FedericoM Commander
Commander

Posted: ‎2025-02-20 02:44 AM

0 Likes
0
256
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2025-02-20 02:44 AM

Hi,

 

In case of M172 and M173O, when I refer to row number, I really refer to the row of the parameter table, not to the modbus address.

When you add a new line, the first unused register will be assigned, but you are free to change it.

 

About this:

If you are not in this case you should first export the PARAM.DAT to usb (or load settings and store them in a recipe), upload PLCIEC.COD and PARAM.BIN with default settings (or a download all), load the PARAM.DAT previously exported or write the recipe.

 

PARAM.DAT is the modbus table of the PLC, you can export it to usb pendrive from the PLC (this one will not include the new parameters, since you are still running the old version).

PARAM.BIN is a full copy of the EEprom created by ESME HVAC (this one will include the new parameters).

 

If you upload the new application with param.bin, you will load new version with default of all eeprom settings.

If you the upload the previously exported PARAM.DAT, you will have the controller with old eeprom settings + new eeprom parameters initialized at their default value

Reply

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of