Shipwreck

MrPLC Member
  • Content count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Shipwreck

  • Rank
    Newbie
  • Birthday 09/24/80

Profile Information

  • Gender Male
  • Location Wisconsin
  • Country United States
  1. Wiring Diagram

    It's just a make shift power supply. If you look at the internal schematics of a power supply that's how they work. The dc common is referenced by the ac neutral. That is why it is good practice to tie the common to ground as well as your ac neutral can float around a bit.
  2. Adding time to wall clock

    Just to update everyone. I ended up loading a value of 3210 into my Fifo everytime a carrier entered the oven. I then wrote a periodic routine that executed every second which had a for loop that subtracted 1 from every position loaded into the fifo. Then when the carrier reaches the end of the oven the fifo is unloaded and I only let the carrier out when the value is <=0. This was the cleanest and most effiecient way I found. Thanks for all the help I tried all them out to see how they work.
  3. Adding time to wall clock

    The only issue I was running into with that is loading the value into a fifo. I don't believe the fifo instruction can handle a 64 bit datatype. The fifo is needed because there can be 6 carriers past the limit switch at the beginning of the oven. Is there another way to handle and array of lints that act similar to a fifo?
  4. Adding time to wall clock

    I might be able to work with that thanks, didn't occur to me to convert it to seconds. I thought about using the current value object, but my issue is with simple trouble shooting from a maintenance perspective. I work for an integrator so the places we install this have to maintain this themselves. The midnight roll over is important also as this is a 24/7 operation. Thanks
  5. Hey guys, I am new to this forum. The situation I have is a power and free conveyor system which carries powder coated parts into an oven. The parts must be in the oven for at least 53.5 minutes. I do not have a max time. My way of making sure they are in for a proper amount of time was to get the hours, minutes and seconds from the wall clock and load these values into 3 separate fifo instructions. So i have OVEN_FIFO_HOURS, OVEN_FIFO_MINUTES, AND OVEN_FIFO_SECONDS. They all get loaded by a limit switch at the beginning of the oven. When the carrier reaches the stop in the oven it unloads all the fifos and I add 30 to the seconds, i then have to check if the value is greater then 59 and if it is i have to add 1 to the minutes unloaded and the new value of seconds is the remainder after subtracting 59, then add 53 to minutes unloaded and check if it is greater then 59 and do the same as seconds but add to hours, and finally check hours for greater than 23, and if it is move 0 to hours. This seems like a very goofy way of doing this to me, but I need to keep track of each one in the oven, and I first thought about using some type of an array of timers but it got real sloppy really quick with shifting the timers everytime a carrier leaves. If anyone has a better way of going about this I am open to any suggestions. Not sure if there is a simple instruction I am missing that just adds 53 minutes and 30 seconds to a time that is captured from the wall clock.