I'd like to be able to write times and dates to some of the UROM locations using the seturom.cgi function. These would then be compared to CD and CT in the PLC code. I have tried using the web interface to set UROM1 to 18:28:00, but that did not change the value of UROM1. I haven't actually tried using seturom.cgi yet, but I assume the web interface goes through seturom.cgi anyway.
I suspect that I'll have to convert the times and dates to integers. What would be the formula for doing that? Is CD the number of days since 1/1/2000 and CT the number of seconds since midnight?
Thanks,
Ben
I suspect that I'll have to convert the times and dates to integers. What would be the formula for doing that? Is CD the number of days since 1/1/2000 and CT the number of seconds since midnight?
Thanks,
Ben