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!

Use of RETAINs in HMI programming

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
  • Use of RETAINs in HMI programming
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
Back to HVAC and Pumping Forum
obscuresc
Lieutenant JG obscuresc
Lieutenant JG

Posted: ‎2021-06-03 05:20 PM

0 Likes
2
2722
  • 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: ‎2021-06-03 05:20 PM

Use of RETAINs in HMI programming

Hi all,

 

I've unsuccessfully been trying to use RETAIN variables within the HMI of a TM172DCLxxx.

Previously, I have tried to create them and tie them to buttons, resulting in the following error;

 

 

 

error G0096:  RTN_XAUTORECOVERPOWER => Init value object not found

 

 

 

This variable previously worked when it was not a RETAIN type, hence scope was correct and no spelling issues. The HMI Properties window also automatically recognised the type, so it was actually finding the variable.

 

I further tried to define some without assigning to buttons; producing a total of three RETAIN variables, resulting in multiple of the following error type;

 

 

 

error A4100: RTN_USIARCONTROLMODE => Retentive vars space exhausted

 

 

 

Following this, I changed the type of two of them to standard variables to reduce the potential use of the retentive space, however the same error as above.

 

Am I missing something regarding their use?

 

Thanks,

Jack

Labels
  • Labels:
  • HVAC
  • Tags:
  • english
Reply

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

  • All forum topics
  • Previous Topic
  • Next Topic
Replies 2
SimA
Ensign SimA Ensign
Ensign

Posted: ‎2021-06-03 10:37 PM

0 Likes
1
2717
  • 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: ‎2021-06-03 10:37 PM

As far as I know, the TM172DCL display doesn't have "retain" memory area.  The retain memory area would be an area that would be retained by the battery automatically without any user action.

 

However, the M172 family has was is called eeprom parameters.  Those values are saved in flash memory.  Because the way an eeprom chip works, there is a maximum of write operation in the life of an eeprom cell.  It is around 100 000 write operation per memory cell. To preserve the life of an eeprom chip, the write to an eeprom parameter is not done automatically.  It can be called from the program with the sysWritePar functions (one per data type, int, bool, etc).  This function is smart and only actually writes to the memory cell if the actual value sent to the function is different then the actual value in the eeprom variable.  This prevents a useless write operation to the memory.

 

Another way to write to an eeprom is from an HMI page.  When an eeprom variable is mapped to a data entry object on a page, the value will be written to eeprom memory each time the value is changed by the user.

 

Hope it makes it a bit more clear how it works.

  • Tags:
  • eeprom
  • english
  • hmi
  • M172
  • retain
  • TM172DCL
Reply

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

obscuresc
Lieutenant JG obscuresc
Lieutenant JG

Posted: ‎2021-06-03 10:51 PM

In response to SimA
0 Likes
0
2714
  • 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: ‎2021-06-03 10:51 PM

Ah ok, I didn't realise that normally they would retained via CMOS.

 

I was hoping to avoid the sysWrite method, as I'd have to have a status variable linked to Programming and the overhead you describe.

 

In the HMI editor, can I manage EEPROM Parameters in any scope? For example, page local procedures or using a message? Is this just a feature of the TM172DCLxxx?

  • Tags:
  • english
Reply

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

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