Ask our Experts
Didn't find what you are looking for? Ask our experts!
Share Your Feedback – Help Us Improve Search on Community! Please take a few minutes to participate in our Search Feedback Survey. Your insights will help us deliver the results you need faster and more accurately. Click here to take the survey
Support forum for Machine and Motion Control solutions, including Lexium MC12 and robotics, PacDrive, Modicon PLCs and I/Os, EcoStruxure Machine Expert Twin, … - from design, implementation to troubleshooting and more, by Schneider Electric
Search in
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-03-15 12:10 PM
Hi,
How to clear retentive timer memory %MW after stoping while timer not finished counting in ecostuxure machine expert basic?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-04-16 12:04 AM
Hi @alpikon
I'm not sure if I got your question:
As soon you deactivate IN, the current time counting goes to zero.
Also, if you want to ensure after a power cycle that counting is not retained, you must unflag "Retentive"
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-04-17 12:37 PM
Hi,
At the moment I found one solution: (SB Coldstart) %Sx
That's let when counting stopped by reason and needs re-start timing over gain from 0.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-05-02 10:20 PM
Hi, you can manually reset the retentive timer’s %MW memory by adding a line in your code to set it to zero when the machine stops or on a reset condition. Use %MWx := 0; where %MWx is the timer memory word.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-06-11 11:23 PM
I would like to make a timer rentive but ist restating the timer once the power cycle has performed its not starting where the PLC goes power off, Any suggestion ?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-06-13 02:35 PM
You want the timer to be "retentive", so when the PLC turns off and comes back on, the timer doesn't reset but resumes where it left off?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-06-22 10:22 PM
Exactly , but it's not happening
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-06-24 11:25 AM
To make a "retentive" timer behavior (survive power cycles), you'll need to:
Manually retain the elapsed time (ET) in a retained variable.
Reconstruct the timer behaviour on start-up using this stored value.
A retained variable to store elapsed time.
A flag to indicate the timer was running when the PLC shut down.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-07-18 10:53 AM
Yes right @alpikon you are right
the retain function is the only for the power on condition while the in condition is off and on again that time it will work as retain timer. not after power off.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-07-18 10:54 AM
batter to use counter and use compare function then you will get the result which you want.
Link copied. Please paste this link to share this article on your social media post.
You’ve reached the end of your document
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.