Practice - 5 Tasks
Answer the questions below
1fill in blank
easyComplete the code to start the star contactor using a timer.
PLC Programming
TON TimerStar(IN:=StartButton, PT:=T#[1]s, Q=>StarContactor);
Attempts:
3 left
💡 Hint
Common Mistakes
Using too short or too long timer values that can cause motor damage.
Confusing the timer preset time unit.
✗ Incorrect
The star contactor timer is set to 10 seconds to allow the motor to start in star configuration before switching to delta.
2fill in blank
mediumComplete the code to energize the delta contactor after the star timer is done.
PLC Programming
IF TimerStar.Q THEN DeltaContactor := [1]; END_IF;Attempts:
3 left
💡 Hint
Common Mistakes
Setting DeltaContactor to FALSE instead of TRUE.
Using the timer input or start button instead of the timer output.
✗ Incorrect
The delta contactor should be energized (TRUE) when the star timer finishes (Q is TRUE).
3fill in blank
hardFix the error in the timer reset logic to stop the star timer when the delta contactor is energized.
PLC Programming
TimerStar.IN := StartButton AND NOT [1];Attempts:
3 left
💡 Hint
Common Mistakes
Using the star contactor or stop button instead of delta contactor.
Not negating the condition to reset the timer.
✗ Incorrect
The star timer input should be reset (set to FALSE) when the delta contactor is energized to prevent overlap.
4fill in blank
hardFill both blanks to complete the logic that ensures the star contactor turns off when the delta contactor turns on.
PLC Programming
StarContactor := StartButton AND [1]; DeltaContactor := TimerStar.Q AND [2];
Attempts:
3 left
💡 Hint
Common Mistakes
Not negating the timer output or star contactor in the conditions.
Using the start button incorrectly in delta contactor logic.
✗ Incorrect
The star contactor is ON only when the timer is not done (NOT TimerStar.Q). The delta contactor is ON only when the timer is done and the star contactor is OFF (NOT StarContactor).
5fill in blank
hardFill all three blanks to create a dictionary that maps each contactor to its timer status and control signal.
PLC Programming
contactor_status = {
'[1]': TimerStar.Q,
'[2]': StartButton,
'[3]': DeltaContactor
}Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up keys and values in the dictionary.
Using variable names instead of string keys.
✗ Incorrect
The dictionary keys are the contactor names: StarContactor, StartButton, and DeltaContactor. Their values are the timer output, start button signal, and delta contactor status respectively.
