Practice - 5 Tasks
Answer the questions below
1fill in blank
easyComplete the code to represent a NOT logic using a normally closed (NC) contact in ladder logic.
PLC Programming
IF [1] THEN
OUTPUT := TRUE;
END_IF;Attempts:
3 left
💡 Hint
Common Mistakes
Using the input directly without NOT, which represents a normally open contact.
Combining inputs unnecessarily.
✗ Incorrect
Using 'NOT Input1' simulates the behavior of a normally closed contact, which is true when Input1 is false.
2fill in blank
mediumComplete the ladder logic rung to turn ON the motor when the NC contact is active.
PLC Programming
MOTOR := [1];Attempts:
3 left
💡 Hint
Common Mistakes
Using the input directly without NOT.
Using the wrong input variable.
✗ Incorrect
The motor should turn ON when the normally closed contact (NOT Input1) is active.
3fill in blank
hardFix the error in the code to correctly represent the NC contact logic.
PLC Programming
IF [1] Input1 THEN
LIGHT := TRUE;
END_IF;Attempts:
3 left
💡 Hint
Common Mistakes
Using AND or OR which do not invert the input.
Using XOR which is unrelated here.
✗ Incorrect
The NOT operator is needed to invert Input1 to simulate the NC contact behavior.
4fill in blank
hardFill both blanks to create a rung that energizes the alarm when the NC contact is open or the emergency stop is pressed.
PLC Programming
IF [1] OR [2] THEN ALARM := TRUE; END_IF;
Attempts:
3 left
💡 Hint
Common Mistakes
Using NC_Contact directly instead of NOT NC_Contact.
Using NOT Emergency_Stop which is incorrect.
✗ Incorrect
The alarm triggers if the NC contact is open (NOT NC_Contact) or if Emergency_Stop is pressed.
5fill in blank
hardFill all three blanks to create a dictionary mapping inputs to their NOT logic states.
PLC Programming
not_states = {"NC1": [1], "NC2": [2], "NC3": [3]Attempts:
3 left
💡 Hint
Common Mistakes
Using inputs directly without NOT.
Mixing input variables incorrectly.
✗ Incorrect
Each NC contact state is the NOT of its input signal.
