Got a completely new to me NJ101-9000 and it runs with SYSMAC I've never worked before. I need to reset a production counter every day at a given time. I read several threads on DT and DAT format and didn't get a lot of understanding. Also, at first, I didn't want just to compare curr_time (there is a system var) with the reset_time and wanted to extract HH from the data. Then, compare it with, say "23" hours. But got completely lost and can't figure out the structure of such variables.
So as another option I thought I'd just count minutes or hours, compare to 1440 or 24 and then reset at the end of the day (23:59). But then I also don't want to run the cycle every often and a pulse timer, likely, will be needed.
Can you share a better and easier way to implement this in SYSMAC?
So as another option I thought I'd just count minutes or hours, compare to 1440 or 24 and then reset at the end of the day (23:59). But then I also don't want to run the cycle every often and a pulse timer, likely, will be needed.
Can you share a better and easier way to implement this in SYSMAC?




