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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...