Study guide

14.1 PLC Hardware Architecture, Sinking/Sourcing I/O & Scan Cycle Operation

Red Seal Industrial Electrician Interprovincial Exam

Track your progress as you read

Finished sections get a check mark.

1 Chapter 1: Electrical Safety, CSA Z462 & Common Occupational Skills

1.1 CSA Z462 Electrical Safety, Lockout/Tagout & Electrically Safe Work Conditions 1.2 Arc-Flash Risk Assessment, Approach Boundaries & PPE Categories 1.3 Electrical Test Instruments, Meter Safety Ratings & Voltage Verification 1.4 Hand Tools, Access Equipment, Rigging & Working at Heights 1.5 Support Systems: Strut, Hangers, Fasteners & Seismic Restraint 1.6 Industrial Drawings, Work Organization & System Commissioning

2 Chapter 2: Services, Metering & Distribution Protection

2.1 Three-Phase Supply Services & Instrument Transformer (CT/PT) Metering 2.2 Overcurrent & Fault Protection: Fuses, Breakers & Protective Relays 2.3 Surge, Overvoltage & Undervoltage Protection Devices 2.4 Low-Voltage Switchgear, Switchboards & Motor Control Centers (MCCs)

3 Chapter 3: Grounding, Bonding & Power Conditioning

3.1 System Grounding vs. Equipment Bonding & CEC Table 16 Sizing 3.2 High-Resistance Grounding (HRG) & Ground-Fault Detection Systems 3.3 Ground-Fault Circuit Interrupters (GFCI) & Arc-Fault Interrupters in Industrial Settings 3.4 Power Factor Correction, Harmonic Mitigation & UPS Systems

4 Chapter 4: Power Generation, DC Systems, High-Voltage Distribution & Transformers

4.1 Standby Generators, Synchronizing & Automatic Transfer Switches (ATS) 4.2 Industrial DC Systems: Rectifiers, Station Batteries & Chargers 4.3 Renewable Generation & Battery Energy Storage Interconnection 4.4 High-Voltage Safety, Isolators & Termination Procedures 4.5 Three-Phase Transformer Configurations & Voltage/Current Calculations 4.6 Transformer Sizing, Impedance, Fault-Current Ratings & Cooling

5 Chapter 5: Raceways, Cables & Conductor Sizing

5.1 Conductor Ampacity Selection, Temperature Ratings & CEC Derating Tables 5.2 Conduit Bending, Raceway Installation & Box Fill Calculations (CEC Section 12) 5.3 Teck90 Armoured Cable & Industrial Cable Tray Systems 5.4 Voltage Drop Calculations & Long-Run Feeder Sizing (CEC Rule 8-102) 5.5 Boxes, Enclosures, Type Ratings & Thermal Management

6 Chapter 6: Hazardous Locations & Branch Circuit Devices

6.1 Hazardous Locations: Zone System, Classes, Divisions & Groups (CEC Section 18) 6.2 Hazardous Location Wiring Methods, Explosion-Proof Enclosures & Conduit Seals 6.3 Industrial Branch Circuits, Disconnects & Industrial Lighting Control

7 Chapter 7: Industrial Environmental, Heating & Specialty Systems

7.1 HVAC Electrical Systems, Chiller Power & Control Interlocks 7.2 Electric Heat Tracing & Industrial Process Heating Systems 7.3 Emergency Lighting, Exit Signs & Unit Equipment 7.4 Cathodic Protection Systems: Galvanic, Impressed Current & Testing

8 Chapter 8: AC & DC Motors: Principles and Characteristics

8.1 Three-Phase Squirrel-Cage Induction Motors: Speed, Slip & Torque 8.2 Wound-Rotor & Synchronous Motors: Construction, Starting & Power Factor 8.3 Single-Phase Motors: Split-Phase, Capacitor-Start, PSC & Shaded-Pole 8.4 DC Motors: Series, Shunt, Compound & Dynamic/Regenerative Braking 8.5 Motor Nameplate Data, Insulation Classes & Megohmmeter Testing

9 Chapter 9: Motor Starters, Control Circuits & Protection

9.1 Full-Voltage Magnetic Starters & Three-Wire Control Circuits 9.2 Motor Control Devices: Pilot Devices, Control Relays & Timers 9.3 Reduced-Voltage Starting Methods: Wye-Delta, Autotransformer & Soft Starters 9.4 Motor Branch Circuit Protection, Overload Sizing & Single-Phasing Prevention (CEC Section 28)

10 Chapter 10: Variable Frequency Drives (VFDs) & Fixed Industrial Equipment

10.1 VFD Architecture: Converter, DC Bus, Inverter & PWM Speed Control 10.2 VFD Parameter Configuration, Dynamic Braking & Harmonic Mitigation 10.3 DC Drives: SCR Converters, Field Control & Regeneration 10.4 Fixed Industrial Equipment: Cranes, Welder Circuits & Solenoids

11 Chapter 11: Fire Alarm, Security & Signaling Systems

11.1 Fire Alarm System Architecture: Initiating Circuits, Notification Appliances & Wiring 11.2 Addressable Fire Alarm Systems, Signaling Line Circuits & Safety Interlocks 11.3 Industrial Security, Access Control & Surveillance Systems

12 Chapter 12: Industrial Communications & Building Automation

12.1 Structured Cabling, Fiber Optics & Industrial Ethernet Networks 12.2 Industrial Paging, Intercom & Two-Way Voice Communication 12.3 Building Automation Systems (BAS), DDC Controllers & Interoperability Protocols

13 Chapter 13: Industrial Process Instrumentation & Sensors

13.1 Discrete Field Devices: Proximity, Photoelectric & Mechanical Switches 13.2 4-20 mA Current Loops, Live Zero & Signal Scaling 13.3 Temperature Measurement: RTD Pt100 vs. Thermocouples & Cold Junction Compensation 13.4 Pressure, Level & Flow Transmitters (DP Cells, Radar, Ultrasonic, Flowmeters) 13.5 Smart Field Instruments, HART Protocol & Calibration Procedures (Zero/Span)

14 Chapter 14: Programmable Logic Controllers (PLCs) & Fluid Power

14.1 PLC Hardware Architecture, Sinking/Sourcing I/O & Scan Cycle Operation 14.2 PLC Ladder Logic: Contacts, Coils, Timers, Counters & Data Manipulation 14.3 PID Control, Loop Tuning & Process Optimization 14.4 Intrinsic Safety Barriers, Zener Diodes & Hazardous Area Automation 14.5 Pneumatic & Hydraulic Systems, I/P Transducers & Control Valve Actuators

14.1 PLC Hardware Architecture, Sinking/Sourcing I/O & Scan Cycle Operation

Key Takeaways Explain This Topic AI

Modern industrial PLCs consist of a modular rack/chassis, regulated power supply, central processing unit (CPU), high-speed backplane bus, and dedicated memory partitions including input/output image tables and status/data files.

Discrete I/O modules utilize optical isolators (infrared LEDs optically coupled to phototransistors) to provide 1,500 V to 2,500 V electrical isolation, preventing industrial field voltage spikes, ground loops, and electrical noise from damaging the microelectronic CPU core.

Under conventional current flow, a sourcing device delivers current out of its terminal from the DC positive rail (+24 V), while a sinking device absorbs current into its terminal toward the DC negative rail (0 V common); pairing requires a sourcing sensor (PNP) to be wired to a sinking input module, and a sinking sensor (NPN) to be wired to a sourcing input module.

Analog I/O modules convert continuous field signals (4-20 mA or 0-10 V) into discrete digital integer counts; a 12-bit unipolar converter provides 4,096 quantization steps (0 to 4,095 counts), whereas a 16-bit converter provides 32,768 discrete steps (0 to 32,767 counts), delivering significantly higher resolution and smaller quantization error.

The PLC operating scan cycle executes four discrete phases sequentially: 1) Physical input scan into the Input Image Table, 2) Ladder logic program execution from top-to-bottom and left-to-right, 3) Internal diagnostics and communications overhead, and 4) Physical output update from the Output Image Table; input pulses shorter than the total scan time (typically 1 to 20 ms) mandate dedicated High-Speed Counter (HSC) modules or interrupt-driven routines.

Last updated: September 2026

14.1 PLC Hardware Architecture, Sinking/Sourcing I/O & Scan Cycle Operation

In modern Canadian industrial facilities—such as automated manufacturing plants, sawmills, petrochemical refineries, mining concentrators, and water treatment operations—the Programmable Logic Controller (PLC) and Programmable Automation Controller (PAC) serve as the primary control engines. Industrial electricians must possess a rigorous understanding of PLC hardware organization, discrete and analog input/output (I/O) interfacing, sinking and sourcing direct current (DC) circuits, and the timing mechanics of the PLC operating scan cycle.

1. Modular PLC Hardware Architecture

An industrial PLC is a specialized, ruggedized solid-state computer designed to survive harsh industrial environments characterized by electrical noise, wide temperature swings, mechanical vibration, and airborne moisture. Modular PLC systems consist of five core hardware assemblies mounted within an equipment rack or chassis: ┌─────────────────────────────────────────────────────────────────────────┐

  • │ MODULAR PLC CHASSIS / RACK │
  • ├──────────────┬──────────────┬──────────────┬──────────────┬─────────────┤
  • │ POWER SUPPLY │ CPU UNIT │ DISCRETE IN │ DISCRETE OUT │ ANALOG IN │
  • │ MODULE │ (PROCESSOR) │ (24VDC SINK) │ (TRANSISTOR) │ (4-20 mA) │
  • │ │ │ │ │ │
  • │ 120/240 VAC │ Run/Rem/Prog │ Status LEDs │ Status LEDs │ Channel LEDs│
  • │ Input Line │ Eth/IP Port │ [Opto-Isol.] │ [Opto-Isol.] │ [ADC Conv.] │
  • │ +5V/+24V Bus │ USB Console │ Screw Term. │ Screw Term. │ Shield Term.│
  • ├──────────────┴──────────────┴──────────────┴──────────────┴─────────────┤
  • │ HIGH-SPEED BACKPLANE DATA BUS │
  • └─────────────────────────────────────────────────────────────────────────┘
  • 1. The Rack / Chassis and Backplane

The chassis provides physical mounting slots and houses the printed circuit board known as the backplane . The backplane carries parallel address, data, and control lines, along with internal low-voltage DC power supply rails (+3.3 V, +5 V, and +24 V DC). It facilitates high-speed, synchronized communication between the Central Processing Unit (CPU) and peripheral I/O modules.

2. The Power Supply Module

The power supply converts incoming industrial AC utility power (typically 120 V AC or 240 V AC single-phase) into clean, tightly regulated low-voltage DC power distributed across the backplane bus. Important engineering considerations include:

Backplane Current Budgeting: Each module plugged into the chassis draws current from the +5 V and +24 V DC backplane rails. Electricians must calculate the total backplane current draw of all planned modules to ensure it does not exceed the power supply's continuous rated capacity (e.g., 5 A or 10 A at 5 V DC).

Field Power Separation: The PLC chassis power supply powers only the internal backplane logic and processor. It does not supply field devices (sensors, limit switches, and solenoid valves). Field devices must be powered from separate external, certified Class 2 industrial 24 V DC power supplies per Canadian Electrical Code (CEC) Section 16.

3. Central Processing Unit (CPU)

The CPU is the computational brain of the PLC. It contains:

Microprocessor / Arithmetic Logic Unit (ALU): Executes ladder logic instructions, arithmetic computations, and complex process algorithms.

Firmware (Operating System): Stored in non-volatile flash ROM, coordinating memory management, communication protocols (EtherNet/IP, Modbus TCP, PROFINET), and diagnostic routines.

User Memory (RAM): Battery-backed or supercapacitor-backed volatile SRAM that stores the user application program and operational data files.

Non-Volatile Memory Card (SD / CompactFlash): Holds a non-volatile backup of the compiled user program and tag database, allowing automatic restoration upon power restoration or processor replacement.

2. Memory Organization and Data File Architecture

The PLC processor structures its internal memory into distinct functional memory partitions, historically organized as tabular data files in legacy systems (such as Allen-Bradley SLC 500 / PLC-5) and mapped as structured memory in modern PACs:

Memory File Type File Designator Bit / Word Structure Functional Purpose

Output Image Table O0: Discrete Bits / Words Stores physical output state data mapped directly to output module screw terminals.

Input Image Table I1: Discrete Bits / Words Stores physical input status sampled from input module screw terminals during input scan.

Status File S2: System Words / Bits Contains processor diagnostics, scan time metrics, math overflow flags, and RTC data.

Binary / Bit File B3: Internal Storage Bits Stores internal memory flags, control logic states, and intermediate logic rungs.

Timer File T4: 3-Word Structure Stores Control bits ( EN , TT , DN ), Preset value ( PRE ), and Accumulated value ( ACC ).

Counter File C5: 3-Word Structure Stores Control bits ( CU , CD , DN , OV , UN ), Preset ( PRE ), and Accumulated ( ACC ).

Control File R6: 3-Word Structure Dedicated management for bit-shift registers, FIFO/LIFO queues, and sequencer instructions.

Integer File N7: 16-Bit Signed Words Stores mathematical data, analog counts, and integer values (-32,768 to +32,767).

Floating Point File F8: 32-Bit IEEE 754 Reals Stores decimal numbers for high-precision engineering calculations (e.g., 101.325 kPa).

3. Discrete Input/Output Modules & Optical Isolation

Discrete I/O modules interface two-state field devices (switches, pushbuttons, pilot lights, motor starters) with the low-voltage microelectronics of the CPU. The fundamental engineering challenge in industrial automation is that field circuits operate in noisy, high-voltage environments prone to inductive kickback, lightning surges, and ground loops. FIELD ENVIRONMENT (24 VDC / 120 VAC) │ PLC INTERNAL ENVIRONMENT (5 VDC)

  • │
  • Field Input ───► [ Bridge ] ──► [ RC Filter ] ──┬──► [ Infrared ] [ Photo- ] ──► CPU Data
  • Switch [ Rect. ] [ Debounce ] │ [ LED ] ~~~ [ Transistor ] Bus Logic
  • │ [ ] [ ] (Input Table)
  • Field Return ─────────────────────────────────┴──► [ Opto-Coupler Isolation ]
  • │ (1500 V - 2500 V Dielectric)
  • Signal Conditioning and Optical Isolation Mechanics

Every industrial discrete input circuit incorporates four primary stages:

Rectification & Voltage Dropping: For 120 V AC inputs, a bridge rectifier converts the AC waveform to DC, and dropping resistors or Zener networks establish a defined threshold voltage (e.g., an input must exceed 79 V AC to register as an ON state, preventing induced cable crosstalk from causing false triggers).

Noise Filtering and Debouncing: A low-pass RC filter circuit delays the signal by 5 to 15 milliseconds. This debouncing delay eliminates mechanical switch contact bounce and suppresses high-frequency voltage transients.

Optical Isolation (Optocoupler): The incoming field current passes through an internal infrared light-emitting diode (LED). The emitted light crosses a transparent dielectric barrier (rated for 1,500 V to 2,500 V AC RMS breakdown ) and impinges on the base of a silicon phototransistor. The phototransistor saturates, passing a clean 5 V DC logic signal to the internal CPU bus.

Status Indication: A panel-mounted LED is illuminated, providing the electrician with visual verification of circuit conduction.

Key Red Seal Principle: Because optical isolation breaks direct galvanic electrical continuity, high-voltage transients on field wiring are harmlessly dissipated, and field ground potential differences cannot circulate destructive ground-loop currents into the PLC processor backplane.

Discrete Output Module Types

Discrete output modules fall into three distinct semiconductor and electromechanical topologies:

Output Module Type Switching Component Electrical Rating Response Speed Life Expectancy & Application

Transistor (DC Output) MOSFET or Bipolar Transistor 24 V DC (0.5 A to 2.0 A per point) Ultra-Fast (<0.5 ms) Virtually unlimited solid-state life; required for high-speed PWM and solenoid pulsing.

Triac (AC Output) Silicon Bidirectional Thyristor 120/240 V AC (0.5 A to 2.0 A per point) Fast (turns off at AC zero cross) Solid-state life; dedicated to AC solenoid valves, contactor coils, and motor starters.

Relay (Dry Contact) Electromechanical Form A/C Relay AC or DC (24 V to 240 V, up to 5 A) Slow (10 ms to 15 ms) Limited mechanical life (100k - 1M cycles); ideal for isolating mixed-voltage field circuits.

4. Sinking vs. Sourcing DC I/O Circuits (NPN vs. PNP)

One of the most frequently tested concepts on the Red Seal Industrial Electrician exam is the distinction between Sinking and Sourcing in 24 V DC solid-state circuits. The engineering definition is strictly based on conventional current flow (current flowing from positive potential + 24 V +24\text{ V} + 24 V toward negative common 0 V 0\text{ V} 0 V ):

Sourcing Device: Provides the electrical power source for the circuit. Conventional current exits the terminal from the + 24 V DC +24\text{ V DC} + 24 V DC supply rail into the load.

Sinking Device: Provides the ground return path for the circuit. Conventional current enters the terminal and drains into the 0 V DC 0\text{ V DC} 0 V DC (negative/common) supply rail. SOURCING SENSOR (PNP) TO SINKING INPUT MODULE:

  • +24 VDC ──┬── [ Brown Wire ] ──► (PNP Sensor Internal Circuitry)
  • │ │
  • │ [ PNP Switch ]
  • │ │
  • │ [ Black Wire ] ───► Terminal In
  • │ │
  • │ [ Opto LED ] (PLC Module)
  • │ │
  • 0 VDC ────┴── [ Blue Wire ] ───────────────────────────────┴──► Common (DC -)

(Current Sinks to 0V) SINKING SENSOR (NPN) TO SOURCING INPUT MODULE:

  • +24 VDC ───────────────────────────────────────────────────┬──► Common (DC +)
  • │ (Current Sources from +24V)
  • [ Opto LED ] (PLC Module)
  • │
  • ┌── [ Brown Wire ] ──► (NPN Sensor Circuitry) │
  • │ │ │
  • │ [ NPN Switch ] │
  • │ │ │
  • │ [ Black Wire ] ◄──────┴──► Terminal In
  • │ │
  • 0 VDC ────┴── [ Blue Wire ] ────────────────┴
  • The Fundamental Pairing Axiom

To establish a complete, functioning electrical circuit through the internal optocoupler LED, one side of the loop must source current, and the other side must sink current: S o u r c i n g S e n s o r ( P N P ) ⟷ S i n k i n g I n p u t M o d u l e ( C o m m o n = 0 V DC ) \mathbf{Sourcing\ Sensor\ (PNP)} \longleftrightarrow \mathbf{Sinking\ Input\ Module\ (Common\ =\ 0\text{ V DC})} Sourcing Sensor ( PNP ) ⟷ Sinking Input Module ( Common = 0 V DC ) S i n k i n g S e n s o r ( N P N ) ⟷ S o u r c i n g I n p u t M o d u l e ( C o m m o n = + 24 V DC ) \mathbf{Sinking\ Sensor\ (NPN)} \longleftrightarrow \mathbf{Sourcing\ Input\ Module\ (Common\ =\ +24\text{ V DC})} Sinking Sensor ( NPN ) ⟷ Sourcing Input Module ( Common = + 24 V DC )

Standard 3-Wire DC Sensor Color Code (IEC 60947-5-2)

Industrial proximity sensors, optical photo-eyes, and ultrasonic sensors utilize standardized conductor insulation coloring:

  • Brown ( BN ): + 24 V DC +24\text{ V DC} + 24 V DC Power Supply (+)
  • Blue ( BU ): 0 V DC 0\text{ V DC} 0 V DC Common Return (-)
  • Black ( BK ): Primary Switched Output Signal (Normally Open or Normally Closed)
  • White ( WH ): Secondary / Complementary Output Signal (in 4-wire sensors)

Field Diagnostic Alert: If an electrician erroneously connects a sourcing (PNP) sensor to a sourcing PLC input module (where the PLC common is strapped to + 24 V DC +24\text{ V DC} + 24 V DC ), the circuit will fail to operate. The sensor will attempt to output + 24 V DC +24\text{ V DC} + 24 V DC to an input terminal that is also pulled up to + 24 V DC +24\text{ V DC} + 24 V DC . With zero electrical potential difference across the optocoupler LED ( Δ V = 24 − 24 = 0 V \Delta V = 24 - 24 = 0\text{ V} Δ V = 24 − 24 = 0 V ), zero current flows, and the PLC input will never turn ON.