Pro
8 min

CCST 04 — TOF Timer (Off-Delay)

ccstladdertimerTOFoff-delay
CCST 04 — TOF Timer (Off-Delay) scenario preview

Ready to build this?

Sign up free — no credit card required. This scenario requires the Pro plan.

Sign up to play this scenario →

Already have an account? Log in

Briefing

Use a TOF (Off-Delay Timer) so that FAN stays on for 3 seconds after MOTOR_RUNNING drops.

Objectives

  • Drive TOF_1.IN with MOTOR_RUNNING
  • Set PT = T#3s
  • Energise FAN from TOF_1.Q

Hints

  • TOF keeps Q high for PT after IN drops
  • TOF_1(IN:=MOTOR_RUNNING, PT:=T#3000ms)
  • FAN := TOF_1.Q

I/O Table

Inputs

MOTOR_RUNNING

Motor running feedback

BOOL · %I0.0

Outputs

FAN

Cooling fan output

BOOL · %Q0.0

Your program will be tested against:

All test cases run automatically when you submit. Assertions are hidden until you pass.

  1. #1Fan on while motor running

    Fan on while motor running

  2. #2Fan stays on 3s after motor stops

    Fan stays on 3s after motor stops

  3. #3Fan off after 3s delay

    Fan off after 3s delay

Ready to build this?

Sign up free — no credit card required. This scenario requires the Pro plan.

Sign up to play this scenario →

Already have an account? Log in