Challenge - 5 Problems
Washing Machine Control Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediateWhat is the output of the washing machine timer after 5 seconds?
Consider a PLC program controlling a washing machine timer that increments every second. The timer starts at 0 and increments by 1 every second until it reaches 10, then resets to 0. What is the timer value after 5 seconds?
PLC Programming
TIMER = 0 for second in range(5): TIMER = (TIMER + 1) % 11 print(TIMER)
Attempts:
2 left
💡 Hint
The timer increases by 1 each second and resets after 10.
✗ Incorrect
The timer starts at 0 and increments by 1 each second. After 5 increments, the timer value is 5.
📝 Syntax
intermediateIdentify the correct ladder logic rung for starting the washing machine motor
Which ladder logic rung correctly starts the motor when the start button is pressed and the door is closed?
Attempts:
2 left
💡 Hint
Look for correct use of contacts and coil symbols in ladder logic.
✗ Incorrect
In ladder logic, square brackets [] represent contacts (conditions), and parentheses () represent coils (outputs). Option D correctly uses contacts for Start_Button and Door_Closed and coil for Motor_On.
🔧 Debug
advancedWhy does the washing machine not stop after the wash cycle?
Given this PLC code snippet controlling the wash cycle, why does the motor keep running indefinitely?
IF wash_timer < 30 THEN
motor = ON
ELSE
motor = ON
END IF
PLC Programming
IF wash_timer < 30 THEN
motor = ON
ELSE
motor = ON
END IFAttempts:
2 left
💡 Hint
Check what happens to motor in both conditions.
✗ Incorrect
The motor is set to ON regardless of the wash_timer value, so it never stops.
🚀 Application
advancedHow many steps are in this washing machine control sequence?
A washing machine control sequence has these steps: Fill water, Wash, Rinse, Spin, Drain. How many steps does this sequence have?
Attempts:
2 left
💡 Hint
Count each distinct step listed.
✗ Incorrect
There are 5 distinct steps listed in the sequence.
🧠 Conceptual
expertWhat error occurs if the door sensor input is missing in the safety check?
In a PLC program, the washing machine safety check requires the door sensor input to be TRUE before starting. What error will occur if the door sensor input is missing or not connected?
Attempts:
2 left
💡 Hint
Think about how missing inputs affect logical conditions.
✗ Incorrect
If the door sensor input is missing, the safety condition checking for TRUE will fail, so the machine will not start.
