Pro
12 min

Fault 06 — Timer Not Resetting

fault-injectiontimerreset

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

Fault 06 — Timer Not Resetting scenario preview

Briefing

A cyclic process runs once but never repeats. The first cycle completes correctly, but subsequent start commands have no effect. The timer output stays permanently true after the first completion.

Objectives

  • Use the Variables tab to watch T_CYCLE.ET across multiple cycle starts
  • Identify why the timer's elapsed time never resets to 0
  • Find and fix the missing reset logic for the timer enable
  • Verify the cycle repeats correctly after your fix

Hints

  • Switch to the Variables tab and monitor T_CYCLE.ET
  • A TON timer only resets when its IN input goes false — what drives IN?
  • Add a rung to reset CYCLE_ACTIVE when CYCLE_COMPLETE fires

I/O Table

Inputs

START_CMD

Cycle start command

BOOL · %I0.0

Outputs

CYCLE_COMPLETE

Cycle-complete output pulse

BOOL · %Q0.0

RUNNING_LAMP

Cycle-running indicator

BOOL · %Q0.1

Your program will be tested against:

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

  1. #1First cycle completes after start

    START_CMD → RUNNING_LAMP ON → after 500ms CYCLE_COMPLETE pulses

  2. #2Cycle can be restarted after completion

    After the first cycle, a second START_CMD restarts the cycle

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

Runnable simulator field guide

Timer-not-resetting PLC fault scenario: test checklist

Direct answer

The learner can identify timer type and instance, trace enable and reset conditions, test scan order and distinguish retained behavior from a logic error.

Written for pLC learners diagnosing a timer whose accumulated or done state does not return to the expected initial value.

a controls technician completing a supervised practical assessment on generic PLC, motor-control and instrumentation equipment while studying PLC timer enable, retained state, reset path and scan-order diagnosis
System map / 02

NODE 01observable

Scenario setup

Timer type, instance owner, enable condition, preset, accumulator, done output, reset instruction, program order, task state and retention rule.

NODE 02observable

I/O and state map

Input condition through Boolean enable, timer execution, instance memory, done-state consumer, reset path and operator or machine result.

NODE 03observable

Normal run

Enable, time progression, completion, disable and reset produce the declared values over repeated clean cycles.

NODE 04observable

Boundary run

Held enable, simultaneous enable and reset, duplicate instance use, conditional routine, retentive timer, task stop, download and power cycle.

NODE 05observable

Injected fault

An input, Boolean condition, execution path, instance, instruction type, reset, task, retention or display mismatch.

NODE 06observable

Target check

The reduced case verified in the intended controller, firmware and task with current official documentation.

Answer surface / 07

Why does a PLC timer not reset when its rung goes false?

It may be a retentive timer, its instance may be written elsewhere, the instruction may not execute, or the observed field may not mean what the programmer assumes.

Should timer reset have priority over timing?

That is a behavior requirement. Express and test the simultaneous condition explicitly because scan order and instruction semantics can change the outcome.