Jump to content

RTC Date & Time


russedwards

Recommended Posts

Hi

I have been looking into the new UniStream equipment and I am very impressed!

Can someone shed some light on the Date / Time / UTC structs?  It currently seems very long winded to use a date or time function within the ladder, but the help folder says that an included date / time struct is available.  Can someone point me to where this is?

I'm looking to write the date to a data table, with Visilogic this was a simple RTC to ASCII task.

Link to comment
Share on other sites

Hi Russ, 

What you are looking for is a struct in "System" (lower left of the software) will be labeled  RTC Date and RTC Time. You can refrence or copy the struct as well. With the copy struct function to generate a buffer for the RTC if this is required for your logging purposes. This will be referenced when writing to a DT. 

  • Upvote 1
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.