Jump to content

Recommended Posts

Posted
Hi Just starting out in the programming world and need some advice. Looking to reset a counter in an Omron CQM1H PLC at midnight everyday. had a quick look at thought maybe the right function was the =DT(341)??? Wondered if anyone can just simplify its operation for a novice or if theres a better way to do this. Any advice is greatly appreciated.

Posted
what plc? with cqm1h - pretty sure has real time clock, the clock data is stored in memory areas ( can't remember area off hand, either AR or SR.. in the manual under memory areas. the structure would have for example ARx = DDHH (Day of month Hour of day) then ARx+1= MMSS (Seconds Min) Extract the HH and Min Parts compare the hr and Min to 0000 ... reset counter

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
×
×
  • Create New...