Siganor
Contact
← Siganor Learn

Keep an output on longer with a TOF timer

A TOF timer keeps its .DN bit on for a while after its input turns off. This video wires a Motion input into a TOF named Light_Delay with a three-second preset, so a light stays on for three seconds after motion stops.

TOF · Off-delay timer

Set up a TOF in the simulator to keep a light on for three seconds after the motion sensor stops detecting movement.

  1. 0:00Program an off-delay · Rotate your phone · Watch in landscape
  2. 0:12Keep a light on after motion stops
  3. 0:24Motion → TOF Light_Delay · Light_Delay.DN → OTE Light
  4. 0:37Timers lesson
  5. 0:47Double-click the new rung
  6. 0:50Click XIC
  7. 0:53Enter Motion
  8. 0:56Open Timer / Counter
  9. 0:59Click TOF
  10. 1:02Timer = Light_Delay
  11. 1:05Preset = 3000 · Accum = 0
  12. 1:09Accept saves the rung
  13. 1:14Add and open the next rung
  14. 1:18XIC Light_Delay.DN
  15. 1:23Insert OTE
  16. 1:26Set the coil tag to Light
  17. 1:29Accept saves the rung
  18. 1:32Click Run
  19. 1:35Open Simulator
  20. 1:39Use Motion as an SW input
  21. 1:43Motion = 1 · Light turns on
  22. 1:48ACC = 0 · EN = 1 · TT = 0 · DN = 1
  23. 1:53Turn Motion off · Light stays on
  24. 1:59ACC increases · TT = 1 · DN = 1
  25. 2:05ACC = 3000 · Light turns off
  26. 2:14Try the three-second delay

What you’ll learn

  • Start a TOF timer from an input contact (XIC).
  • Tell a TOF apart from a TON by what keeps its .DN bit on.
  • Use a timer's .DN bit to hold an output on after the input turns off.