LFlores8

MrPLC Member
  • Content count

    3
  • Joined

  • Last visited

Everything posted by LFlores8

  1. Clock without using GSV

    Yes sir, you got it right. I solved my issue by doing exactly what you posted. Sometimes I just don't keep it simple. Thank you.
  2. Clock without using GSV

    Hello, I'm new in this forum and I signed up because I have an issue that has been frustrating me over the past few days. My problem is the following: I need to find a way to have a clock that can be out of time 7 hours. For example, I am counting parts on a machine, the machine starts counting at 7AM on day 1, so I need that part count to continue counting until 7AM on day 2. If I use GSV, at 00:00 it starts on day 2 and the log is to be stored on day 2, I need it to be stored on day 1 until 7AM on day 2. I hope I have explained myself correctly. Do you know of any way to do this in ladder logic? Any help would be appreciated.
  3. Clock without using GSV

    Thanks for your reply BobLfoot. Actually I have a DINT array of 31 elements so I can be able to store all of the production of each day (1 element = 1 day). So what happens is that the Tag "ActualProduction" is updating realtime during the day and it's being copied to the corresponding element of the day in the array using and indexer that changes as the "Day DINT" of the GSV changes. (ActualProduction[DayNumber]). So the problem is that if I keep using that Day DINT from the GSV, as soon as the clock hits 00:00 the ActualProduction value will be copied into next day element, adding production from day 1 to day 2. What I need to find is a way to keep the production numbers adding to the day one until the clock hits 7:00AM, then the program can start adding production to "Day 2". Let me know what you think about this.