Challenge - 5 Problems
Step Sequence Timer Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediateOutput of a simple step sequence timer logic
Given the following PLC ladder logic pseudocode for a step sequence with a timer, what will be the value of the output coil Step1_Active after 5 seconds?
Step1_Timer: TON(IN=Step1_Start, PT=3s) Step1_Active = Step1_Timer.Q Step2_Start = Step1_Timer.Q Step2_Timer: TON(IN=Step2_Start, PT=4s) Step2_Active = Step2_Timer.Q
Attempts:
2 left
💡 Hint
Think about how the timer output Q behaves after the preset time PT.
✗ Incorrect
The Step1_Timer has a preset time of 3 seconds. After 3 seconds, its output Q becomes True and remains True as long as IN=Step1_Start is True. After 5 seconds, Step1_Active is True.
💻 Command Output
intermediateTimer output after step transition
In a step sequence, a timer TON is started when Step1 is active. The timer preset is 10 seconds. If Step1 is active for 7 seconds and then deactivated, what is the value of the timer output Q immediately after Step1 deactivates?
Attempts:
2 left
💡 Hint
Remember how TON timers behave when input IN goes False before PT is reached.
✗ Incorrect
A TON timer output Q is True only when the input IN has been True continuously for the preset time PT. If IN goes False before PT, Q resets immediately to False.
🔧 Debug
advancedIdentify the error in step sequence timer logic
Consider this PLC structured text snippet for a step sequence with timers:
What is the main issue with this code regarding the step sequence behavior?
IF Step1_Active THEN Step1_Timer(IN := TRUE, PT := T#5s); ELSE Step1_Timer(IN := FALSE); END_IF; IF Step1_Timer.Q THEN Step2_Active := TRUE; END_IF;
What is the main issue with this code regarding the step sequence behavior?
Attempts:
2 left
💡 Hint
Check what happens to Step2_Active when Step1_Timer.Q goes FALSE again.
✗ Incorrect
The code sets Step2_Active to TRUE when Step1_Timer.Q is TRUE but never resets Step2_Active to FALSE when Step1_Timer.Q becomes FALSE. This causes Step2_Active to remain TRUE indefinitely.
🚀 Application
advancedDesign a step sequence with two timers
You want to create a step sequence with two steps. Step1 activates a timer TON1 with a preset of 3 seconds. When TON1.Q is TRUE, Step2 activates a timer TON2 with a preset of 5 seconds. After TON2.Q is TRUE, the sequence resets to Step1. Which of the following pseudocode snippets correctly implements this logic?
Attempts:
2 left
💡 Hint
Think about how to reset Step1_Active after Step2 timer finishes to restart the sequence.
✗ Incorrect
Option A toggles Step1_Active when TON2.Q becomes TRUE, effectively restarting the sequence. Other options either do not reset Step1_Active properly or keep it always TRUE or FALSE.
🧠 Conceptual
expertBehavior of overlapping timers in step sequences
In a complex step sequence, two timers TON_A and TON_B are started simultaneously with different preset times (TON_A: 4s, TON_B: 6s). Step transition depends on both timers being done (Q = TRUE). If the input to TON_A is interrupted at 3 seconds and then restarted immediately, what is the expected behavior of TON_A output Q compared to TON_B?
Attempts:
2 left
💡 Hint
Consider how TON timers behave when input IN goes FALSE and then TRUE again.
✗ Incorrect
A TON timer resets its accumulated time and output Q immediately when input IN goes FALSE. When input IN is TRUE again, it starts timing from zero. TON_B is uninterrupted, so it continues timing normally.
