Pro
20 min

VFD Fault Detection & Safe Reset

vfdfaultresetR_TRIGone-shotsafety

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

VFD Fault Detection & Safe Reset scenario preview

Briefing

The physics engine runs a VFD and trips it after 2 seconds of operation (simulating an overload / overcurrent fault). Your ladder must: 1. **3-wire seal-in** — START latches RUN_BIT; STOP or VFD_FAULTED resets it. 2. **VFD_RUN** follows RUN_BIT. 3. **FAULT_LAMP** mirrors VFD_FAULTED. 4. **Safe reset** — RESET_PB only issues a VFD_RESET pulse when the drive is stopped (RUN_BIT = 0). Use an **R_TRIG** one-shot so the reset is a single scan pulse, not a continuous command. Safety note: resetting a faulted drive while it is still in RUN command can cause the motor to restart unexpectedly. The interlock on the reset ensures the operator must stop first.

Objectives

  • SET RUN_BIT on START; RESET on STOP or VFD_FAULTED
  • VFD_RUN := RUN_BIT
  • FAULT_LAMP := VFD_FAULTED
  • VFD_RESET via R_TRIG one-shot — only when /RUN_BIT

Hints

  • | STOP OR VFD_FAULTED | R= RUN_BIT ; drops the run command when the drive faults
  • Gate the reset in a helper bit: | RESET_PB AND /RUN_BIT | := RESET_PERMITTED ; then RT_RESET(CLK:=RESET_PERMITTED); | RT_RESET.Q | := VFD_RESET ;

I/O Table

Inputs

START

Start push-button (momentary NO)

BOOL · %I0.0

STOP

Stop push-button (momentary NO)

BOOL · %I0.1

RESET_PB

Fault reset push-button

BOOL · %I0.2

VFD_RUNNING

Physics: drive spinning (speed > 0.5 %)

BOOL · %I0.3

VFD_FAULTED

Physics: drive fault / trip

BOOL · %I0.4

Outputs

VFD_RUN

Run command to VFD

BOOL · %Q0.0

VFD_RESET

Fault reset command to VFD

BOOL · %Q0.1

FAULT_LAMP

Fault indicator lamp

BOOL · %Q0.2

Your program will be tested against:

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

  1. #1Drive trips after 2 s → VFD_RUN drops, FAULT_LAMP on

    START the drive; physics trips it after 2 s; FAULT_LAMP must be on and VFD_RUN off.

  2. #2RESET_PB ineffective while still in RUN state

    Immediately after START (before fault), pressing RESET_PB should NOT issue VFD_RESET — interlock requires drive stopped.

  3. #3After STOP → RESET_PB clears fault (issues VFD_RESET pulse)

    Start drive, manually STOP it, then press RESET_PB — VFD_RESET pulse should fire.

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

VFD fault-reset PLC scenario: test checklist

Direct answer

The learner can preserve fault identity, remove the initiating cause, prove safe reset conditions and prevent unexpected automatic restart.

Written for drive and PLC learners designing a controlled response to a VFD trip rather than issuing an unconditional reset pulse.

a guarded VFD diagnostics cell with drive, motor, inertial load, commands, feedback and safe measurement points while studying VFD fault cause, reset permissives, command source and restart prevention
System map / 02

NODE 01observable

Scenario setup

Fault code and timestamp, trip cause, run request, command source, enable, coast state, reset input, ready state, restart policy and operator authority.

NODE 02observable

I/O and state map

Process or electrical condition through drive protection, fault latch, fieldbus or terminals, PLC state, reset request, ready feedback and deliberate restart.

NODE 03observable

Normal run

A declared fault stops the model, retains useful evidence, accepts one reset only after permissives and requires the intended new run action.

NODE 04observable

Boundary run

Persistent cause, moving load, active run command, communication loss, repeated reset, power cycle, local mode, STO state and fault-history rollover.

NODE 05observable

Injected fault

A process, supply, motor, parameter, drive protection, communication, PLC logic, reset, ready or restart mismatch.

NODE 06observable

Target check

The procedure verified with current manufacturer documentation, safeguarded load and site-approved reset and restart rules.

Answer surface / 07

Should a PLC automatically reset every VFD fault?

No. Preserve the fault, identify the cause and define which faults and conditions permit a controlled reset. Repeated blind resets can damage equipment or create restart risk.

What must be true before resetting a drive?

Requirements commonly include cause removed, run request withdrawn, safe machine state, correct command source, drive available and authorized operator or sequence action.