tvsteevie

Do-More Designer

6 posts in this topic

Trying to program production tracking in Do-More 2.3. Need to track current Date, Time of day & current hour.  Anyone have an example of how time of day is used?

I have done this in Allen Bradley 5000, but this Automation Direct stuff is new to me.

Share this post


Link to post
Share on other sites

Current date and time is all in a structure called $Now.  You can also use your own date and time structures or use the built in structure; UDTx..

Share this post


Link to post
Share on other sites

Thanks rlp122!

I am assuming that the values are normal numbers, Hours 1-24, Minutes 1-60, etc?

A/B uses a value based on 1/1/70 as 0. It's a bit confusing until you get into it.

Next I'll ask about arrays in memory.

 

 

Share this post


Link to post
Share on other sites

For help on time storage in the DoMore systems go to 'help' and search for DMD0221 - Date and Time Overview.

 

As a side note to Host - will the 2038 time bug be handled when that time comes? I see it was discussed on the Host site in 2010 (I was part of the discussion) but I haven't heard of any resolution. Let everything break in a little over 18 years?

Edited by b_carlton

Share this post


Link to post
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