Study guide
14.2 PLC Ladder Logic: Contacts, Coils, Timers, Counters & Data Manipulation
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.2 PLC Ladder Logic: Contacts, Coils, Timers, Counters & Data Manipulation
Key Takeaways Explain This Topic AI
IEC 61131-3 defines the five standardized PLC programming languages, with Ladder Diagram (LD) remaining the most prevalent industrial standard; fundamental instructions include Examine If Closed (XIC), Examine If Open (XIO), Output Energize (OTE), Output Latch (OTL), and Output Unlatch (OTU).
Fail-safe industrial safety design mandates that field Emergency Stop and Stop pushbuttons be wired physically Normally Closed (N.C.) and programmed as Examine If Closed (XIC) in ladder logic, guaranteeing that broken conductors, loose terminals, or power loss immediately de-energize the circuit.
Industrial timers track elapsed time using three internal registers (Control bits EN/TT/DN, Preset PRE, and Accumulated ACC); On-Delay (TON) timers count when the rung is true, Off-Delay (TOF) timers count when the rung transitions from true to false, and Retentive On-Delay (RTO) timers retain accumulated time through rung loss or power cycles until cleared by an explicit Reset (RES) instruction.
Bidirectional counting pairs Count-Up (CTU) and Count-Down (CTD) instructions referencing the same counter tag/address to manage automated inventory, queue tracking, or accumulator positioning.
Modern Programmable Automation Controllers (PACs) utilize user-defined, tag-based alphanumeric memory structures with scope levels (Controller vs. Program) and User-Defined Data Types (UDTs), superseding legacy rack/slot/word/bit hardware-dependent addressing.
Last updated: September 2026
14.2 PLC Ladder Logic: Contacts, Coils, Timers, Counters & Data Manipulation
Programmable Logic Controllers execute user control logic modeled after traditional electromechanical relay schematics. The international standard IEC 61131-3 formalizes five industrial programming languages: Ladder Diagram (LD), Function Block Diagram (FBD), Structured Text (ST), Instruction List (IL), and Sequential Function Chart (SFC). Among these, Ladder Diagram remains the foundational language evaluated on the Red Seal Industrial Electrician examination.
1. IEC 61131-3 Fundamental Bit Instructions
A ladder logic program consists of two vertical power rails representing power and neutral/ground, with horizontal rungs positioned between them. Rung continuity is evaluated based on binary bit conditions in memory: Left Power Rail Right Power Rail
- │ │
- Rung ├───[ XIC ]───────[ XIO ]─────────────────────────────────( OTE )──────┤
- 0 │ I:1/0 I:1/1 O:2/0 │
- │ Start PB Stop PB Motor Starter │
- │ │
- ├───[ XIC ]───────┘ │
- │ O:2/0 │
- │ Seal-In │
- Bit Instruction Mechanics
Instruction Name Graphic Symbol Memory Test Condition Rung Continuity Behavior
Examine If Closed (XIC) ---| |--- Tests bit for 1 (True / ON) Evaluates TRUE if referenced memory bit is 1 (energized); evaluates FALSE if bit is 0 .
Examine If Open (XIO) ---|/|--- Tests bit for 0 (False / OFF) Evaluates TRUE if referenced memory bit is 0 (de-energized); evaluates FALSE if bit is 1 .
Output Energize (OTE) ---( )--- Sets bit to 1 or 0 If rung is TRUE, writes 1 to bit; if rung is FALSE, writes 0 to bit. Non-retentive.
Output Latch (OTL) ---(L)--- Retentive Set to 1 If rung goes TRUE, writes 1 to bit; bit remains 1 even when rung goes FALSE.
Output Unlatch (OTU) ---(U)--- Retentive Reset to 0 If rung goes TRUE, writes 0 to bit; the only instruction that can clear an OTL bit.
Critical Programming Warning (Duplicate Destructive Coils): An industrial electrician must never program two OTE coils referencing the exact same memory address (e.g., two ( OTE ) O:2/0 instructions on different rungs). Because the PLC solves ladder rungs sequentially from top to bottom, the status written by the final rung will overwrite all preceding rungs during the output scan, resulting in erratic, unpredictable machine behavior.
2. Fail-Safe Hardwiring vs. Ladder Logic Programming
A cornerstone of Canadian electrical safety (CSA C22.1, CSA Z432, and ISO 13849-1) is the principle of fail-safe design . A control system must default to a safe, de-energized state whenever an external component fails, a wire breaks, or control power is lost.
The Field Wiring vs. Ladder Instruction Paradox
Apprentices and electricians frequently struggle with the configuration of field Stop buttons and Emergency Stop (E-Stop) circuits: PHYSICAL FIELD WIRING (FAIL-SAFE HARDWIRED): PLC MEMORY & LADDER PROGRAM:
- +24 VDC ───[/]───[ N.C. E-Stop ]───► Terminal I:1/0 │ Input Table: Bit I:1/0 = 1 (Energized)
- (Closed Contact in Field) │
- │ Ladder Logic: I:1/0
- │ ───────[ XIC ]───────( Run Coil )
- │ True (1)
- Why Field Devices Must Be Normally Closed (N.C.)
Physical Field State: The Emergency Stop and field Stop pushbuttons are wired with physical Normally Closed (N.C.) contacts in series. Under normal conditions (pushbutton released and healthy), + 24 V DC +24\text{ V DC} + 24 V DC continuously energizes the PLC input terminal.
PLC Input Table State: Because current is flowing through the optocoupler, the CPU writes a binary 1 into the Input Image Table ( I:1/0 = 1 ).
Ladder Instruction Selection: In the ladder logic program, the programmer uses an Examine If Closed (XIC ---\| \|--- ) instruction addressing I:1/0 . Because the bit in memory is 1 , the XIC instruction evaluates TRUE , allowing rung power flow to start and run the equipment.
The Failure Mode Analysis
Broken Conductor / Severed Wire: If a forklift severs the field conduit or a wire vibrates loose from the screw terminal, current drops to 0 mA. The input bit immediately transitions to 0 . The XIC instruction evaluates FALSE , instantly opening the ladder rung and de-energizing the motor starter coil.
What If Wired Normally Open (N.O.) and Programmed XIO ( ---\|/\|--- )? If an electrician improperly installed a physical N.O. field contact and programmed it with an XIO instruction, a broken wire would permanently leave the input bit at 0 . The XIO instruction would evaluate TRUE continuously—and the operator pressing the Stop button would be completely unable to stop the machine! This constitutes a lethal, non-fail-safe failure mode.