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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...