Welcome Guest ( Login | Register )



All times are UTC - 7 hours [ DST ]



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Hour counter
PostPosted: Mon May 26, 2014 8:36 am 

Joined: Tue Nov 19, 2013 6:04 am
Posts: 1

Offline
Within our system we have several e-motors for which we want to store the "running hours". This information should be stored at "non-volatile" memory in the operator terminal.

I was thinking of using a "cyclic timer" which automatically will be started at power-up of the terminal. After each cycle the "running" status is checked and the elapsed time is added to the total amount of running hours.

Before I start working on this I would like to know:
1) Is there a limit in writing to "non-volatile" memory?
2) Is there a standard solution for an "hour counter" (I checked forums and help file but could not find anything).

Thanks


 Profile  
 
 Post subject: Re: Hour counter
PostPosted: Mon Apr 02, 2018 4:43 pm 

Joined: Mon Nov 20, 2017 5:29 pm
Posts: 43

Offline
Erik,

1) Is there a limit in writing to "non-volatile" memory?

Not really, i imagine you would store this in a 16 or 32 bit tag, that would be your constraint.

2) Is there a standard solution for an "hour counter" (I checked forums and help file but could not find anything).

Typically i recommend keeping something like this in a PLC mainly because if your HMI shuts down or needs replaced/reprogrammed you don't lose the data. Even though the data is non-volatile it is still at risk of destruction in those unlikely scenarios.

That being said you could easily attach a small script to system.second or system.minute to increment your run time value tag accordingly.

_________________
Thanks,

Chris
Beijer Support
(801)708-6690


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 7 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron