Unity Pro S v6 - Logic for "New Day"

phasors

Member
Join Date
Jan 2012
Location
Newark
Posts
4
Hello,

I am on a project using Unity Pro S v6 and am trying to perform a time of day interrupt by reading the high and low bytes provided by the RRTC_DT block. Currently in my logic, whenever the output high and low bytes of the RRTC_DT block are both equal to 0, a new day (midnight) has occurred. Is this logic flawed?

Also, is there another means to monitor when a new day has occurred?

Please let me know if any more information is needed.

Thanks!
 
You can use %sw. If i recall its %sw54. Not sure just check the help file. This gives time and date in 16# form. You can use comparators to then do what you want
 

Similar Topics

Hi all, I have a request from client as follows, There's one PID for Control valve which would be controlling on basis of temperature. One...
Replies
1
Views
1,524
Hello I'm used to modicon PLC's and on my newest project i'm using a allenbradley. I usually use a custom DFB for my motors and conveyors...
Replies
0
Views
4,125
Hello, I am using Unity pro V15. I have Quantum CPU 671 and Ethernet NOE 77101 configured. I have configured IO scanning on NOE. I have attached...
Replies
5
Views
179
HELLO MY FRİENDS ı have problem. ı tought you can solved thıs problem for me. First of all When I checked all the cable connections of the...
Replies
0
Views
405
Hi All, I haven't installed Unity Pro in years and needed to install it recently. I initially tried installing Version 11.1 and the whole...
Replies
3
Views
721
Back
Top Bottom