Bird
Raised Fist0
PLC Programmingscripting~20 mins

Parallel logic (OR condition) in PLC Programming - Practice Problems & Coding Challenges

Choose your learning style10 modes available
Challenge - 5 Problems
🎖️
Parallel Logic Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate
2:00remaining
Output of OR condition in ladder logic
Given the following ladder logic snippet where inputs I1 and I2 control output Q1 with an OR condition, what is the output Q1 when I1 = 0 and I2 = 1?
PLC Programming
NETWORK 1
|---[ I1 ]---|
|            |---( Q1 )
|---[ I2 ]---|
AQ1 = Undefined
BQ1 = 0
CQ1 = Error
DQ1 = 1
Attempts:
2 left
💡 Hint
Remember OR means output is true if any input is true.
🧠 Conceptual
intermediate
1:30remaining
Understanding parallel branches in PLC ladder logic
In PLC ladder logic, what does it mean when two input contacts are placed in parallel before an output coil?
AEither input being ON will energize the output
BBoth inputs must be ON for the output to energize
CThe output will never energize
DThe output energizes only if both inputs are OFF
Attempts:
2 left
💡 Hint
Think about how OR logic works in electrical circuits.
🔧 Debug
advanced
2:30remaining
Identify the error in this OR logic ladder diagram
The following ladder logic is intended to energize output Q1 if either I1 or I2 is ON. What is the error in the code? NETWORK 1 |---[ I1 ]---[ I2 ]---( Q1 )
PLC Programming
NETWORK 1
|---[ I1 ]---[ I2 ]---( Q1 )
AThe inputs are in series, not parallel, so output energizes only if both inputs are ON
BThe output coil is missing
CThe inputs should be normally closed contacts
DThere is no error; the logic is correct
Attempts:
2 left
💡 Hint
Check how the inputs are connected: series or parallel?
🚀 Application
advanced
3:00remaining
Design OR logic for a safety stop circuit
You need to design a PLC ladder logic to stop a motor if either the emergency stop button (EStop) or the safety gate switch (GateSwitch) is activated. Which ladder logic arrangement correctly implements this?
AEStop contact in series with GateSwitch contact in parallel controlling the motor stop coil
BEStop and GateSwitch contacts in parallel controlling the motor stop coil
CEStop and GateSwitch contacts in series controlling the motor stop coil
DEStop and GateSwitch contacts in parallel controlling the motor start coil
Attempts:
2 left
💡 Hint
Stopping the motor if either condition is true means OR logic.
📝 Syntax
expert
2:00remaining
Correct symbolic representation of OR logic in PLC structured text
Which of the following structured text code snippets correctly implements an OR condition for inputs I1 and I2 to set output Q1?
AQ1 := I1 XOR I2;
BQ1 := I1 AND I2;
CQ1 := I1 OR I2;
DQ1 := NOT (I1 OR I2);
Attempts:
2 left
💡 Hint
OR means output is true if either input is true.

Practice

(1/5)
1. In PLC programming, what does a parallel logic (OR condition) do?
Input1 ---| |---+---(Output)
Input2 ---| |---+
easy
A. Output never activates regardless of inputs
B. Output activates only if both Input1 and Input2 are ON
C. Output activates if either Input1 or Input2 is ON
D. Output activates only if Input1 is OFF and Input2 is ON

Solution

  1. Step 1: Understand parallel logic in PLC

    Parallel contacts represent an OR condition, meaning output activates if any input is ON.
  2. Step 2: Analyze given inputs

    Since Input1 and Input2 are in parallel, output activates if either Input1 or Input2 is ON.
  3. Final Answer:

    Output activates if either Input1 or Input2 is ON -> Option C
  4. Quick Check:

    Parallel logic (OR) = Output ON if any input ON [OK]
Hint: Parallel contacts mean OR condition: any input ON activates output [OK]
Common Mistakes:
  • Thinking parallel means AND condition
  • Assuming output needs both inputs ON
  • Confusing series and parallel contacts
2. Which of the following is the correct ladder logic syntax for an OR condition between two inputs Start and Reset to control Motor?
easy
A. Motor := Start AND Reset;
B. Motor := Start XOR Reset;
C. Motor := NOT(Start OR Reset);
D. Motor := Start OR Reset;

Solution

  1. Step 1: Identify OR operator syntax

    In PLC structured text, OR is written as 'OR' between conditions.
  2. Step 2: Match correct expression

    Motor := Start OR Reset; uses 'Start OR Reset' which correctly represents OR condition for Motor.
  3. Final Answer:

    Motor := Start OR Reset; -> Option D
  4. Quick Check:

    OR operator syntax = Motor := Start OR Reset [OK]
Hint: Use 'OR' keyword to combine inputs for parallel logic [OK]
Common Mistakes:
  • Using AND instead of OR
  • Using XOR which is exclusive OR
  • Negating the OR condition incorrectly
3. Given the following ladder logic snippet:
---[ ]---+---( )---
  Start  |  Motor
---[ ]---+
  Stop   

Where [ ] is a normally open contact and ( ) is the coil, what is the output state of Motor if Start is OFF and Stop is ON?
medium
A. Motor is ON
B. Motor is OFF
C. Motor toggles ON and OFF rapidly
D. Motor state is undefined

Solution

  1. Step 1: Understand parallel contacts behavior

    Motor coil energizes if either Start or Stop contact is closed (ON).
  2. Step 2: Check input states

    Start is OFF (open), Stop is ON (closed), so current flows through Stop contact to Motor coil.
  3. Final Answer:

    Motor is ON -> Option A
  4. Quick Check:

    Parallel OR logic = Motor ON if any input ON [OK]
Hint: If any parallel input is ON, output coil energizes [OK]
Common Mistakes:
  • Assuming both inputs must be ON
  • Confusing normally open with normally closed contacts
  • Ignoring parallel wiring effect
4. Identify the error in this ladder logic snippet intended to implement an OR condition:
---[ ]---[ ]---( )---
  Input1  Input2  Output
medium
A. Contacts are in series, not parallel, so it's an AND condition
B. Output coil is missing
C. Input2 contact is normally closed instead of normally open
D. No error, logic is correct

Solution

  1. Step 1: Analyze contact arrangement

    Contacts are placed one after another (series), which means both must be ON for output.
  2. Step 2: Compare with OR condition requirement

    OR requires parallel contacts, so this is an AND condition, not OR.
  3. Final Answer:

    Contacts are in series, not parallel, so it's an AND condition -> Option A
  4. Quick Check:

    Series contacts = AND, parallel contacts = OR [OK]
Hint: OR needs parallel contacts, series means AND [OK]
Common Mistakes:
  • Confusing series and parallel wiring
  • Ignoring contact types
  • Assuming output coil is missing
5. You want to design a PLC rung that turns ON an alarm if any of three sensors (SensorA, SensorB, SensorC) detect a fault. Which ladder logic arrangement correctly implements this parallel OR condition?
hard
A. Use NOT contacts for all sensors in series feeding the alarm coil
B. Place all three sensor contacts in parallel feeding the alarm coil
C. Place all three sensor contacts in series feeding the alarm coil
D. Use XOR contacts between sensors feeding the alarm coil

Solution

  1. Step 1: Understand alarm activation logic

    Alarm should activate if any sensor detects fault, so OR condition is needed.
  2. Step 2: Choose correct contact arrangement

    Parallel contacts represent OR logic, so placing sensors in parallel activates alarm if any sensor is ON.
  3. Final Answer:

    Place all three sensor contacts in parallel feeding the alarm coil -> Option B
  4. Quick Check:

    Parallel contacts = OR = Alarm ON if any sensor ON [OK]
Hint: Use parallel contacts for multiple inputs triggering one output [OK]
Common Mistakes:
  • Using series contacts which require all sensors ON
  • Using NOT contacts incorrectly
  • Using XOR which only activates if exactly one sensor is ON
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard