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

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

How to make Operating hours and store it to EEPROM in PLC TM172PBG28R?

Industry Automation and Control Forum

This forum is addressing industrial automation design & engineering, operations, asset performance, cyber security and digital transformation for Plants & Machines.

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
  • Industry Automation and Control Forum
  • How to make Operating hours and store it to EEPROM in PLC TM172PBG28R?
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
Bastian_Schmitz
Admiral Bastian_Schmitz Admiral
32
LeTomas
Lt. Commander LeTomas Lt. Commander
11
RoozeeR
Lt. Commander RoozeeR Lt. Commander
6
JerryBartlemay
Lieutenant JG JerryBartlemay Lieutenant JG
6
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 Industry Automation and Control Forum
Solved
Caroko_Tri_Hatmojo
Ensign Caroko_Tri_Hatmojo
Ensign

Posted: โ€Ž2022-08-26 09:00 PM

2 Likes
4
2423
  • 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: โ€Ž2022-08-26 09:00 PM

How to make Operating hours and store it to EEPROM in PLC TM172PBG28R?

Hi I want ask question about PLC TM172PBG28R, I use Ecostructure Machine Expert - HVAC to program this PLC. I already made Running Machine with hours and minute accuracy, but I have a problem saving run hours and run minutes in EEPROM. When a flicker occurs, the EEPROM hours storage section is reset to 0. Is there any other solution how to save EEPROM which is better?

Here I attach a screenshot of the PLC program that I have made

 

fbd run pointer to EEPROMfbd run pointer to EEPROMRst and condition Run HoursRst and condition Run Hours

 

 

Best Regards

 

Caroko Tri (Electrical Engineer in PT. Infion Pharma Indonesia)

  • Tags:
  • eeprom
  • english
  • memory
  • plc
  • 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
Bastian_Schmitz
Admiral Bastian_Schmitz Admiral
Admiral

Posted: โ€Ž2022-08-29 01:01 AM

In response to Caroko_Tri_Hatmojo
0 Likes
1
2367
  • 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: โ€Ž2022-08-29 01:01 AM

You did not have the possiblity to do anything if the power get cut off.

But you can notice a power on, but not a power off.

The problem is that you write directly on the EEPROM. And the EEPROM is specified "only" for 100.000 writes. If you increse these number of writes the memory could be destroyed. The value will always stored in EEPROM. If you store everything on the SD card this will so far I know not solve this issue. 

 

If you write on the EEPROM if a Anlog Value changes you will destroy the memory of the controler. 

See Answer In Context

  • Tags:
  • english
Reply

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

Replies 4
Bastian_Schmitz
Admiral Bastian_Schmitz Admiral
Admiral

Posted: โ€Ž2022-08-29 12:10 AM

0 Likes
3
2376
  • 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: โ€Ž2022-08-29 12:10 AM

Please consider that you prevent to reach more then 100.000 writes on eeprom values. Otherwise you would destroy the memory. I could not see with which frequency you use "sysWritePar****". 

Regarding to this the use of a hour counter with minute resolution is not recommend.

Generell the writing to eeprom seems to be correct so far ud_Run_hours and ud_Run_Minutes representing the EEPROM values.

 

I would suggest maybe a missing initalistation of the values of ud_operating_Minutes and ud_Operating are the problem.

Did you mean with flicker a restart of the machine? (Power On/Off)

 

  • Tags:
  • english
Reply

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

Caroko_Tri_Hatmojo
Ensign Caroko_Tri_Hatmojo
Ensign

Posted: โ€Ž2022-08-29 12:47 AM

In response to Bastian_Schmitz
0 Likes
2
2371
  • 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: โ€Ž2022-08-29 12:47 AM

Thank you for your answer @Bastian_Schmitz . I Use SD Card on my PLC, so *.PAR file will save in my SD Card, does it still affect EEPROM?

 

Did you mean frequency is Task Configuration? If yes, I use 100 ms

 

Task ConfigurationTask Configuration

 

 

Yes flicker means Power On/Off.  At my factory often occurs flicker. So I need non-volatile storage to save running hours. I want to make the program work like this, when flicker occurs (PLC OFF) my Operating Hours (format hours and minutes) save to EEPROM (ud_Hours & ud_Minutes) and when PLC is ON, value EEPROM transfer to volatile memory (ud_Operating_minutes & ud_Operating), so calculation of operating hours (format hours and minutes) can be continued.

 

I use DPT (Differential Pressure Transmitter) feedback to indicate my machine flicker. See my program (Rst_Running_Hours), on 'AI_DPT'. So when DPT is low value EEPROM transfer to volatile memory (ud_Operating_minutes & ud_Operating).

 

 

 

  • Tags:
  • eeprom
  • english
  • Running Hours
  • TM172 PLC
Reply

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

Bastian_Schmitz
Admiral Bastian_Schmitz Admiral
Admiral

Posted: โ€Ž2022-08-29 01:01 AM

In response to Caroko_Tri_Hatmojo
0 Likes
1
2368
  • 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: โ€Ž2022-08-29 01:01 AM

You did not have the possiblity to do anything if the power get cut off.

But you can notice a power on, but not a power off.

The problem is that you write directly on the EEPROM. And the EEPROM is specified "only" for 100.000 writes. If you increse these number of writes the memory could be destroyed. The value will always stored in EEPROM. If you store everything on the SD card this will so far I know not solve this issue. 

 

If you write on the EEPROM if a Anlog Value changes you will destroy the memory of the controler. 

  • Tags:
  • english
Reply

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

Caroko_Tri_Hatmojo
Ensign Caroko_Tri_Hatmojo
Ensign

Posted: โ€Ž2022-08-29 01:11 AM

In response to Bastian_Schmitz
0 Likes
0
2361
  • 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: โ€Ž2022-08-29 01:11 AM

Thank you @Bastian_Schmitz your answer really helped me ๐Ÿ™‚

  • Tags:
  • english
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