Jump to content

RTC time update


Erwin

Recommended Posts

Hello,

 

You may edit the RTC via the ladder and/or HMI Time elements for user entered time.  This will require a "RTC Time" tag to be completed this way.  Or you may hardcode the RTC via the System Struct, "RTC Time".  It is also configurable via UniApps: from the System Tab choose "Time & Date" option. 

 

More information on the RTC elements can be found through the following directory in the help files: HMI Screen Editor/HMI Elements (HE)/Time and Date/Time and Date

 

It is not possible to synchronize the PLC time with your PC time, unless you have a UTC time server on the PC you may connect to.  However, you may choose to connect to other time servers via the intenet to perform this.  There is an example of this in our "Sample Applications" download via the help tab in UniLogic.  The application is called "UniStream_070_RFC_1305_UDFB" and can be found through the following directory: UniLogic Examples_V1.12 rev. 20/WIN7 or WINXP/Time based applications.

 

Hope this helps.

Link to comment
Share on other sites

  • 8 years later...

Why doesn't the UniStream PLC maintain the RTC when the power is off?

Or maybe my question should be, how do I make the UniStream PLC maintain the RTC when the power is off?

This PLC is not connected to any other devices.  Everytime power is cycled, the RTC is reset to 12/31/00 19:02.  I'm logging data as part of the process and the data needs to by time stamped.  It seems a little ridiculous to have to set the clock every time they turn the machine on.

Link to comment
Share on other sites

I ruled out the battery because it is a brand new unit.  But this didn't make sense to me - I've never had this issue before with the RTC.  I opened the battery compartment to put a meter on the battery and found the little buffer tab had not been completely removed.   So, problem fixed.  Sorry for the false alarm.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.