Practice - 5 Tasks
Answer the questions below
1fill in blank
easyComplete the code to start the first timer when the input is true.
PLC Programming
IF input_signal THEN [1] := TRUE; END_IF;Attempts:
3 left
💡 Hint
Common Mistakes
Using the timer's output 'Q' to start it.
Trying to set the preset time 'PT' to TRUE.
Using the enable 'EN' which is read-only.
✗ Incorrect
The 'IN' input of a timer is used to start the timer when set to TRUE.
2fill in blank
mediumComplete the code to set the preset time of Timer1 to 10 seconds.
PLC Programming
Timer1.PT := T#[1]s;
Attempts:
3 left
💡 Hint
Common Mistakes
Using 100 or 1000 which represent milliseconds or wrong units.
Using 1 which is too short for 10 seconds.
✗ Incorrect
The preset time is set using time literals like T#10s for 10 seconds.
3fill in blank
hardFix the error in the code to cascade Timer2 to start after Timer1 finishes.
PLC Programming
Timer2.IN := Timer1.[1];Attempts:
3 left
💡 Hint
Common Mistakes
Using Timer1.IN which is input, not output.
Using Timer1.PT which is preset time, not a signal.
Using Timer1.ET which is elapsed time, not a trigger.
✗ Incorrect
Timer2 should start when Timer1's output 'Q' is TRUE, indicating Timer1 finished.
4fill in blank
hardFill both blanks to create a cascading timer that starts Timer3 after Timer2 finishes with a 5-second preset.
PLC Programming
Timer3.IN := Timer2.[1]; Timer3.PT := T#[2]s;
Attempts:
3 left
💡 Hint
Common Mistakes
Using Timer2.IN instead of Timer2.Q.
Setting preset time to 10 instead of 5 seconds.
✗ Incorrect
Timer3 starts when Timer2.Q is TRUE, and its preset time is set to 5 seconds.
5fill in blank
hardFill all three blanks to define a cascading timer sequence with Timer1 (10s), Timer2 (20s), and Timer3 (30s).
PLC Programming
Timer1.PT := T#[1]s; Timer2.IN := Timer1.[2]; Timer3.PT := T#[3]s;
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up preset times for timers.
Using Timer1.IN instead of Timer1.Q to start Timer2.
✗ Incorrect
Timer1 preset is 10s, Timer2 starts when Timer1.Q is TRUE, Timer3 preset is 20s.
