Author Topic: 10s CLock  (Read 12421 times)

DLUN

  • Newbie
  • Posts: 18
    • View Profile
10s CLock
« on: January 28, 2010, 09:12:23 AM »
Is their a way to have a clock contact for 10s instead of 1 s or 1 minute? :D

garysdickinson

  • Hero Member
  • Posts: 502
  • Old PLC Coder
    • View Profile
Re:10s CLock
« Reply #1 on: January 28, 2010, 11:14:41 AM »
If you are looking for a clock with a period of 10 seconds (frequency is 1/10 Hz) then the following circuit will work.  

If the Set Value of the COUNTER, 10SecClk, is 10, then  10SecClk will go active for 1 scan time every 10 seconds.



  The RSctr (counter reset) should be placed
  immediately BEFORE the rung that causes the counter to decrement.
  This ensures that the 10SecClk will be active for a full
  scan of the ladder logic.

  If the order of the ladder logic rungs is switched, then
  the 10SecClk will not be seen by the ladder logic

   10SecClk                                 10SecClk
-----||--------------------------------------(RSctr)

   Clk:1s                                   10SecClk
-----||---------------------------------------(CTR)


If you are looking for a 10 second time period to be used as a delay, time limit, minimum ON time, then I'd use a TIMER.

Gary D

DLUN

  • Newbie
  • Posts: 18
    • View Profile
Re:10s CLock
« Reply #2 on: January 28, 2010, 11:44:41 AM »
thanks, that solved it