Bird
Raised Fist0
PLC Programmingscripting~10 mins

Output addressing scheme in PLC Programming - Step-by-Step Execution

Choose your learning style10 modes available
Concept Flow - Output addressing scheme
Start PLC Program
↓
Identify Output Device
↓
Assign Output Address
↓
Write Output Command
↓
PLC Sends Signal to Output
↓
Output Device Activates
↓
End or Loop Back
The PLC program assigns a specific address to an output device, sends a command to that address, and activates the output device.
Execution Sample
PLC Programming
OUT Q0.0
OUT Q0.1
OUT Q0.2
This code turns on outputs at addresses Q0.0, Q0.1, and Q0.2 one by one.
Execution Table
StepInstructionOutput AddressActionOutput State
1OUT Q0.0Q0.0Send ON signalQ0.0 = ON
2OUT Q0.1Q0.1Send ON signalQ0.1 = ON
3OUT Q0.2Q0.2Send ON signalQ0.2 = ON
4End of instructions-No more outputsAll outputs ON
💡 All specified outputs have been activated; program waits or ends.
Variable Tracker
Output AddressInitial StateAfter Step 1After Step 2After Step 3
Q0.0OFFONONON
Q0.1OFFOFFONON
Q0.2OFFOFFOFFON
Key Moments - 2 Insights
Why does each output have a unique address like Q0.0 or Q0.1?
Each output device is assigned a unique address so the PLC knows exactly which device to control, as shown in the execution_table where each step targets a different address.
What happens if two instructions try to control the same output address?
The last instruction will determine the output state because the PLC updates the output each time it processes an instruction, as seen in the variable_tracker where states change step by step.
Visual Quiz - 3 Questions
Test your understanding
Look at the execution table, what is the state of Q0.1 after step 2?
AOFF
BUndefined
CON
DError
💡 Hint
Check the 'Output State' column for step 2 in the execution_table.
At which step does Q0.2 change from OFF to ON?
AStep 2
BStep 3
CStep 1
DNever
💡 Hint
Look at the variable_tracker row for Q0.2 and see when it changes state.
If the instruction 'OUT Q0.1' is removed, what will be the state of Q0.1 after step 3?
AOFF
BToggled
CON
DError
💡 Hint
Without the instruction to turn it ON, Q0.1 remains OFF as shown in variable_tracker.
Concept Snapshot
Output Addressing Scheme in PLC:
- Each output device has a unique address (e.g., Q0.0).
- Use OUT instruction to send ON/OFF signals.
- PLC activates output at given address.
- Addresses ensure precise control.
- Last command sets output state.
Full Transcript
In PLC programming, outputs are controlled by assigning each output device a unique address like Q0.0 or Q0.1. The program uses instructions such as OUT Q0.0 to send signals to these addresses. Each instruction turns the output ON or OFF. The PLC processes these instructions step by step, activating the outputs accordingly. The variable tracker shows how each output's state changes after each instruction. This addressing scheme ensures the PLC controls the correct device without confusion. If an output instruction is missing, that output remains OFF. Understanding this flow helps beginners see how PLC outputs are managed clearly and visually.

Practice

(1/5)
1. What does the output addressing scheme in a PLC primarily specify?
easy
A. Which physical output device the PLC controls
B. The input device connected to the PLC
C. The programming language used in the PLC
D. The power supply voltage for the PLC

Solution

  1. Step 1: Understand output addressing purpose

    Output addressing tells the PLC which output device to activate or control.
  2. Step 2: Differentiate from inputs and other settings

    It does not specify inputs, programming language, or power supply.
  3. Final Answer:

    Which physical output device the PLC controls -> Option A
  4. Quick Check:

    Output addressing = physical output device [OK]
Hint: Output addressing points to the device PLC controls [OK]
Common Mistakes:
  • Confusing output with input addressing
  • Thinking it defines programming language
  • Mixing it with power supply details
2. Which of the following is a correct format for output addressing in a PLC?
easy
A. I:3/7
B. O:2/5
C. M:1/0
D. T:4/2

Solution

  1. Step 1: Identify output address format

    Output addresses usually start with 'O' followed by module and point numbers, e.g., O:2/5.
  2. Step 2: Recognize other prefixes

    'I' is for inputs, 'M' for memory bits, 'T' for timers, so they are incorrect for output addressing.
  3. Final Answer:

    O:2/5 -> Option B
  4. Quick Check:

    Output address starts with 'O' [OK]
Hint: Output addresses start with 'O:' followed by module/point [OK]
Common Mistakes:
  • Choosing input or memory addresses as output
  • Mixing timer addresses with outputs
  • Ignoring the prefix letter
3. Given the output address O:1/3, which physical output does it refer to?
medium
A. Module 1, output point 3
B. Module 3, output point 1
C. Input module 1, point 3
D. Memory bit 1, point 3

Solution

  1. Step 1: Parse the output address format

    O:1/3 means output module 1, point 3 (the third output on module 1).
  2. Step 2: Exclude other interpretations

    It is not a memory bit, not an input module, and the format is module/point (not point/module).
  3. Final Answer:

    Module 1, output point 3 -> Option A
  4. Quick Check:

    O:1/3 = module 1, point 3 [OK]
Hint: Format is O:module/point, read left to right [OK]
Common Mistakes:
  • Swapping module and point numbers
  • Confusing output with input addresses
  • Ignoring the prefix 'O:'
4. Identify the error in this output address: O:2-4
medium
A. Output point cannot be 4
B. Module number cannot be 2
C. Incorrect separator; should use '/' instead of '-'
D. Prefix 'O' is invalid

Solution

  1. Step 1: Check the separator in the address

    Output addresses use a slash '/' to separate module and point, not a dash '-'.
  2. Step 2: Validate other parts

    Module 2 and point 4 are valid numbers, and 'O' prefix is correct for output.
  3. Final Answer:

    Incorrect separator; should use '/' instead of '-' -> Option C
  4. Quick Check:

    Use '/' between module and point [OK]
Hint: Use '/' not '-' between module and point [OK]
Common Mistakes:
  • Using dash instead of slash
  • Thinking module or point numbers are invalid
  • Misunderstanding the prefix letter
5. You have a PLC with 3 output modules. Module 0 has 8 points, module 1 has 8 points, and module 2 has 4 points. Which output address correctly refers to the last output point of module 2?
hard
A. O:1/7
B. O:2/4
C. O:3/0
D. O:2/3

Solution

  1. Step 1: Understand module points numbering

    Points start at 0, so module 2 with 4 points has points 0,1,2,3.
  2. Step 2: Identify last point of module 2

    The last point is 3, so address is O:2/3. O:2/4 is invalid (point 4 does not exist).
  3. Step 3: Exclude other options

    O:3/0 is invalid (module 3 does not exist). O:1/7 is last point of module 1, not module 2.
  4. Final Answer:

    O:2/3 -> Option D
  5. Quick Check:

    Last point = points - 1 = 3 [OK]
Hint: Last point = total points minus one [OK]
Common Mistakes:
  • Counting points starting at 1 instead of 0
  • Using invalid module numbers
  • Confusing module and point numbers
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