Motor 03 — Feedback watchdog
Ready to build this?
Sign up free — no credit card required. This scenario requires the Basic plan.
Sign up to play this scenario →Already have an account? Log in
Not ready for Basic? Try a free scenario like this →
Briefing
MOTOR_AUX is the contactor's auxiliary contact and should follow MOTOR_CONTACTOR, a moment later (about 150 ms). If it stays ON while the contactor is OFF, the contactor is stuck closed. Time that mismatch with a TON (about 500 ms) and latch the fault when it finishes. A normal start or stop must not fault. RESET_PB clears the fault only when ESTOP, THERMAL_OL and MOTOR_AUX are all off.
Objectives
- A normal start or stop (feedback lagging 150 ms) raises no fault
- MOTOR_AUX on with the contactor off for about 500 ms latches the fault and lights FAULT_LAMP
- The fault stays on after MOTOR_AUX drops, until RESET_PB
- RESET_PB is refused while MOTOR_AUX is still on
Hints
- The condition to watch is two signals at once: feedback present while the command is absent. Feed exactly that condition into the timer.
- The timer's done bit says the mismatch lasted long enough. Treat it as one more cause of the fault, next to ESTOP and THERMAL_OL.
- A fault that only follows the timer disappears when the feedback does. The memory you built in Motor 02 keeps it on until RESET_PB.
- The reset must also wait for the new cause to clear: if MOTOR_AUX is still on, the timer would only trip again.
I/O Table
Inputs
START_PBStart push-button (momentary NO)
BOOL · %I0.0
STOP_PBStop push-button (TRUE = pressed)
BOOL · %I0.1
ESTOPEmergency stop (TRUE = active)
BOOL · %I0.2
THERMAL_OLThermal overload relay (TRUE = tripped)
BOOL · %I0.3
MOTOR_AUXContactor auxiliary feedback contact
BOOL · %I0.4
RESET_PBFault reset push-button (TRUE = pressed)
BOOL · %I0.5
Outputs
MOTOR_CONTACTORMain motor contactor coil
BOOL · %Q0.0
RUN_LAMPRunning lamp
BOOL · %Q0.1
FAULT_LAMPFault lamp (stays on until reset)
BOOL · %Q0.2
Your program will be tested against:
All test cases run automatically when you submit. Assertions are hidden until you pass.
- #1Normal start and stop (feedback lags 150 ms) → no fault
A healthy contactor's feedback follows its command a moment late; that is not a fault
- #2Feedback on with the contactor off for only 300 ms → no fault
A short mismatch is ignored; the lamp stays off after the feedback drops
- #3Feedback on with the contactor off for 800 ms → FAULT_LAMP on
The mismatch outlasts the delay: the stuck-contactor fault latches
- #4MOTOR_AUX drops → FAULT_LAMP stays on
The fault is remembered after the feedback goes away
- #5RESET after MOTOR_AUX drops → FAULT_LAMP off, motor off
The reset clears the lamp and does not restart the motor
- #6RESET while MOTOR_AUX is still on → fault stays on
A reset is refused while the stuck feedback is still present
- #7ESTOP still trips the fault, and RESET clears it
The Motor 02 behaviour is unchanged
Related scenarios
Ready to build this?
Sign up free — no credit card required. This scenario requires the Basic plan.
Sign up to play this scenario →Already have an account? Log in
Not ready for Basic? Try a free scenario like this →