PaulD (Customer) asked a question.

Hi,
Using Click PLC I would like a timer (T1) to activate something when it turns off. You push a momentary on button that signals X1. X1 then starts T1 which runs for 10 seconds. When that 10 seconds is up, how can that signal something else?

Thanks, I did search and read similar questions but all the attachments are gone.


  • David_H (Customer)

    use a NO contact with the address T1.

    • PaulD (Customer)

      I'm using T1 to operate something for 10 seconds. After the time is up and that shuts off I want that to trigger another operation.

      • David_H (Customer)

        In that case, use a negative edge trigger off the t1 bit, using an "OFF Delay" timer instead of "ON Delay". T1 will stay on for the 10 seconds, turning on y001, then on the off transition of t1, c1 will turn on for one scan. You can use a latch instead of an output coil if need be.

         

        It will only stay true for one scan, but if you need more than that, use a latch coil, then be sure to reset it when done.Capture1

        Expand Post
  • David_H (Customer)

    The way a timer works, in the TON mode, when the timer is energized, the output bit remains off until the timer has reached the setpoint time. Then, it remains on until the timer is not longer energized.

      • Garry (Customer)

        Hi Paul,

        This does help.

        Take a look at the following logic.

        Click timing from pushbutton

        When the pushbutton is made it will set an internal bit (C1). This will be used to tell when the timer starts. (10 seconds)

        If we have C1 and not the timer then output Y1. (On for 10 seconds)

        If we have C1 and the timer then set C2 - Next operation. We also reset C1.

         

        I hope this helps you out.

        Regards,

        Garry

         

        Expand Post
  • ssweber (Customer)

    simple_timer

    I struggled with how to use timers at first. Here's a very simple idiom to get you going.

    1. Breakdown what you want to do in 'stages'. Each stage has things that can happen at the same time.
    2. Use timers, buttons, sensors, etc to jump to another stage.
    3. OUT (turn on) your outputs you want during each stage.
    Expand Post
    • PaulD (Customer)

      Thanks, I've never used 'copy' before so I will have to read up and see if I can figure it out. I've been away from PLC's for a while and I was never an expert.

  • PaulD (Customer)

    Thanks Garry, that's exactly what I am trying to do. 👍

10 of 12