Complete the code to represent a normally open contact in ladder logic.
if input [1] True: output = True
In ladder logic, a normally open contact passes power when the input is True, so we check if input == True.
Complete the code to represent a coil output energized when the rung is true.
output = [1]The coil output energizes when the rung condition is True, so output equals rung_condition.
Fix the error in the rung logic that combines two contacts in series.
rung_condition = contact1 [1] contact2Contacts in series require both to be True, so we use 'and' to combine them.
Fill both blanks to create a rung with parallel contacts.
rung_condition = contact1 [1] contact2 [2] contact3
Parallel contacts in ladder logic use 'or' to energize the rung if any contact is True.
Fill all three blanks to build a rung with series and parallel contacts.
rung_condition = ((contact1 [1] contact2) [2] contact3) [3] contact4
The rung has contact1 and contact2 in series, then in parallel with contact3, and finally in series with contact4.
