shanem717 (Customer) asked a question.

Click PLC Event Timer Alotted Read out to display Question

I am about to start a project with 20 outputs and 20 inputs, each I/O is tied solenoid and pressure switch,a start button will activate a solenoid and timer will activate at same time and begin filling a chamber, once the chamber reaches a certain pressure the pressure switch will activate and tell the plc to move to next solenoid in sequence, my question is is there a way to send the time it took it to fill each chamber to a numerical meter on a cmore hmi. After all chambers are filled, I am needing the display to hold the value of each timer until the operator can record onto paper then clear screen and press start to repeat the process when needed. Each chamber will have a variable time to fill

If this is possible can someone write the program for me at least the first set of rungs for one output, I can repeat it for the rest, I am not that advanced in plc logic writng

 

I will be using a Click PLC PLUS with modules and a Cmore 10in HMI

 

thank you


  • Todd Dice (Customer)

    Yes. This is a suggestion:

    1. Have the output for the solenoid be the enable for the timer.
    2. Use a separate timer for each output.
    3. In the "Current Value Option" of the timer, pick the radio button for retained value.
    4. In the Cmore, use the "Current" value of each timer as the displayed value in the HMI.
    5. The timers will require a reset trigger to place the "current" value back to zero. Maybe this could be done with a pushbutton on the HMI as a deliberate action by the operator after recording the times.

     

    Good luck!

    Expand Post
  • shanem717 (Customer)

    Thank you for the suggestion yes the plan was to have a start button on hmi to begin the sequence through each, then after process is done have indicator light light up upon completion of last timer, the opertor records the times onto a paper then presses a master reset on timer, when machine is loaded again presses start again,

    Is there anyway you could write the first set of rungs, i am not that advanced into ladder logic, I can repeat after that for rest?

    • Todd Dice (Customer)

      What is a typical time for fill and to what time base do you want the times to? Milliseconds or seconds?

  • shanem717 (Customer)

    normally it will take around 20 to 30 seconds a piece

    thank you for your help

     

    • Todd Dice (Customer)

      As Tinker wrote, there are probably as many ways to do this as programmers.

       

      He has a valid point about how accurate do you need for a recorded fill time? As he shows in his example, having a counter tied a 100ms NO contact might be all you need and my timer example is overkill. I note Click timers have a maximum set point of 32767, so at millisecond time base, 32.767 seconds is the max. If your fill times are over, additional coding will be necessary.

       

      I went with an event based drum to keep down the repeated output instructions; toe-may-toe, toe-ma-toe

       

      Expand Post