Search the Community
Showing results for tags 'utc'.
Found 3 results
I need to output a time/date stamp to a DTI in the format dd-mmm-yyyy hh:nn:ss. I am able to output the time/date stamp using the "Date Time to UTC" function, but this outputs in a numeric format, which I believe is Unix Time. Is there a way to then convert that format to my desired format?
What are the "UTC to Date Time" and "Date Time to UTC" function blocks for? Could not locate reference in the textual help. I know RTC= Real time Clock and guess UTC is universal coordinated time? What sparked this question is that I was wanting to have a data tag that would show the date in MM/DD/YYYY for display in an HMI element to use as a "counter reset last on date mm/dd/yyyy" . The RTC date stuct parses out the elements of the date as a whole, so I'm guessing I would have to piece it together with logical functions? Just wondered if there was an easier way (I'm always looking for those). Thanks -hw
Hello, First I would like to apologize for my bad english. I'm working on program which is completely controlling system of solar panels, as a diploma work. I've got few problems but this one makes me sad. I can't figure out, how to correctly setup real time clock. I've tried examples in visilogic directory, searched the whole help at the program but after 2 days, still can't make it work. The best way possible for me would be having DW with real time information about time, such as DD.MM.YY and HH.MM.SS ... If it's even possible, because, I'm having many operations which will need to write time when it happened and only one DW with time would save me much space in ladder. But, I will be satisfied with any other working option. I've found SI30-36 but they are read only, so I can't use them to write there down todays time. Since I'm still beginner with ladder programming, can someone please give me an advice? I'm really desperate. I will give more information, if needed. Just leave me here a message. Thanks in advance for help. Best regards Martin P. EDIT: I may find a way but I can't figure out how to increase DW by 1. It increasing something but more then it should, like 50 per sec. Is there way to do it? Thanks again!