Objective. Students will construct, wire, and power up the physical system following approved schematics, apply all required lockout/tagout and guarding before any energized work, and write a working PLC program in at least two IEC 61131-3 languages that controls all actuators, reads all sensors, handles timers and counters, processes analog signals, and displays real-time status on an HMI.
⚠ Pending professional review
This lesson, its worked examples and its practice questions has not yet been verified by a licensed engineer or certified journey-level tradesperson or by a certification or approval body. It is a study draft and may contain errors. Do not use it as instructions for work on a job site or on live equipment. Always follow your instructor, your supervising professional, and current official references and regulations.
VoTechWorks program approval and accreditation are still in progress. Credentials are issued only by the certifying bodies named in each program, after their own exams.
System Build, Wiring, and PLC/HMI Programming
This lab brings every skill from the program together into one working system. You will mount hardware, pull and label wire, write production-quality PLC code in two IEC 61131-3 languages, configure an HMI, and commission the system using the same documented process used on real industrial floors.
Safety Before You Touch Anything
No energized work begins until all lockout/tagout (LOTO) requirements under OSHA 29 CFR 1910.147 are met and documented. Each team member applies a personal padlock to the hasp at the energy-isolation point. Tags are filled out completely — no blank fields. The group's LOTO log is signed before the instructor witnesses first power-up.
Before energizing, perform a pre-energization checklist:
Continuity check on every home run to confirm correct termination.
Spot-check insulation resistance with a megohmmeter between conductors and between phase and ground.
Visually verify every wire is landed on the terminal called out in the schematic.
Any deviation from the approved schematic must be redlined on the drawing — pencil changes that are not documented are wiring errors, not corrections.
Machine guarding follows OSHA 1910.212, and robot safeguarding follows ANSI/RIA R15.06 / ISO 10218. Guards must be physically installed and verified before the robot or any actuator is allowed to move under power. Electrical safety during wiring follows NFPA 70E: verify absence of voltage at the work point with a calibrated meter, even after LOTO is applied — test before you touch. Refer to NFPA 79 for acceptable wire types, routing, and marking requirements for industrial machinery.
Mounting and Wiring the Panel
Mount all components — PLC, I/O modules, power supply, terminal blocks, and drives — on DIN rail inside the enclosure or on the work panel per the approved layout drawing. Route conductors in wire duct; keep AC power wiring separated from low-voltage DC signal wiring to reduce noise. Strip conductors to the depth shown on the terminal data sheet, crimp a wire ferrule on each stranded end before landing it in a cage-clamp or screw terminal, and pull-test each termination. Label both ends of every conductor with the wire number shown on the schematic. A wire with one unlabeled end is an unfinished wire.
Sensor wiring follows the color code on the device data sheet. For a 4–20 mA two-wire loop-powered transmitter, the PLC analog input module supplies 24 V DC; the transmitter sits in series and modulates current. For a 0–10 V device, the module provides the reference voltage and reads the signal lead directly. Land shield drain wires at one end only — typically at the panel ground bus — to prevent ground loops.
Writing the PLC Program
The program must use at least two IEC 61131-3 languages. Use ladder diagram (LD) for the main sequential logic — conveyor start/stop, robot cell enable, safety interlock rungs — because LD is easy to trace during I/O checkout. Add at least one routine in function block diagram (FBD) or structured text (ST) for analog scaling, timer/counter logic, or drive speed reference, where those language styles offer clarity or reuse.
Analog scaling (4–20 mA example): A pressure transducer with a range of 0–150 psi outputs 4 mA at 0 psi and 20 mA at 150 psi. The PLC analog input converts the signal to a raw integer — confirm the module's count range from the hardware manual (commonly 0–32767 or 6242–31208 for 4–20 mA spans). Use a linear scaling instruction or write a ST expression:
Tag every variable with a descriptive name and a comment. Unnamed tags are a maintenance hazard.
Configure the industrial network (EtherNet/IP, PROFINET, or Modbus per lab availability) to connect the PLC to the robot controller or variable-frequency drive. In the software, add the target device by its IP address, set the correct I/O data sizes, and verify the connection status tag goes to "Connected" before forcing any outputs. Map robot I/O registers to PLC tags in the network configuration table and record the mapping in the documentation package.
Configuring the HMI
The HMI must include at minimum:
1. A Run / Stop / Reset control screen with hardwired-style button objects linked to PLC output coils.
2. A real-time numeric display of at least one analog engineering-unit value (pressure, temperature, flow, or position).
3. A fault indicator for each major alarm, color-coded (green = normal, red = fault) and linked to the corresponding PLC alarm bit.
4. A manual jog screen for maintenance mode that is only accessible when the physical key-switch or software mode tag is in Manual — never allow jog commands when the system is in Auto.
Set the HMI polling rate fast enough to show process changes in real time, but do not poll faster than the network and PLC scan can support — 100–500 ms is typical for status displays.
I/O Checkout and Commissioning
Conduct the structured I/O checkout with a partner: one person forces each input or output in the PLC software; the other physically confirms the field device responds correctly. Log every point in the commissioning sheet as Pass or Fail. A failed point is corrected and retested before you move on — do not skip and come back. The completed, signed commissioning sheet becomes part of the project documentation package alongside the redlined schematic, the tag database export, and the HMI screen printouts.
The instructor witnesses the live checkout and signs the sheet. Zero unresolved wiring errors, zero missing guards, and 100% of I/O points verified are the pass criteria. Anything less is corrected in the same session.
Key terms10
Wire ferruleA crimp sleeve placed on the stripped end of a stranded conductor before landing it in a terminal block, preventing strand splaying and reducing resistance at the connection point.
Redline drawingA marked-up copy of an approved schematic that documents every field deviation made during installation; must be completed before energizing any circuit that differs from the original drawing.
4–20 mA current loopAn analog signaling standard in which 4 mA represents the minimum process value and 20 mA represents the maximum; the loop is relatively immune to electrical noise and wire-resistance variation.
IEC 61131-3The international standard that defines five PLC programming languages: ladder diagram, function block diagram, structured text, sequential function chart, and instruction list.
EtherNet/IPAn industrial Ethernet network protocol using the Common Industrial Protocol (CIP) over standard TCP/IP hardware; widely used to connect PLCs, drives, and robot controllers on the same network.
Pre-energization checklistA documented series of tests — continuity, insulation resistance, termination inspection, and LOTO verification — that must be completed and signed off before applying power to a newly wired panel.
Analog scalingThe mathematical conversion of a raw PLC integer count from an analog input module into an engineering-unit value such as psi, °F, or gpm using a linear equation.
Commissioning sheetA structured checklist used during I/O checkout to record the test result — pass or fail — for every wired input and output, then signed by both the technician and a witness before the system is placed in service.
ANSI/RIA R15.06 / ISO 10218The American and international safety standards governing industrial robot system design, safeguarding, installation, and collaborative operation.
Insulation resistance testA spot-check performed with a megohmmeter (megger) that applies a DC voltage between conductors or between conductor and ground to verify that wire insulation has not been damaged during installation.
Worked examples4
1. A pressure transducer outputs 4–20 mA over a range of 0–150 psi. The PLC analog input module scales the 4–20 mA span to raw counts 6242–31208. The module currently reads a raw count of 18725. What is the pressure in psi?
Identify the knowns: Raw = 18725, Raw_Min = 6242, Raw_Max = 31208, EU_Min = 0 psi, EU_Max = 150 psi.
Apply the linear scaling formula: Eng_Value = ((Raw − Raw_Min) / (Raw_Max − Raw_Min)) × (EU_Max − EU_Min) + EU_Min.
Apply the cylinder force formula: Force = Pressure × Area.
Force = 80 psi × 3.1416 in² = 251.3 lb.
Answer: Approximately 251 lb of extend force (theoretical, before accounting for seal friction losses).
3. A three-phase AC induction motor is connected to a 60 Hz supply. The motor nameplate shows 4 poles. What is the synchronous speed, and if the full-load slip is 3%, what is the actual rotor speed?
Apply the synchronous speed formula: Ns = 120 × f / P = 120 × 60 / 4 = 1800 RPM.
Answer: Synchronous speed is 1800 RPM; actual full-load rotor speed is 1746 RPM.
4. You are scaling a 0–10 V analog signal from a position sensor. The sensor range is 0–24 inches. The PLC module maps 0 V to a raw count of 0 and 10 V to a raw count of 32767. The module currently reads 16384. What is the position in inches?
Identify the knowns: Raw = 16384, Raw_Min = 0, Raw_Max = 32767, EU_Min = 0 in, EU_Max = 24 in.
In class: Teams mount components to a work panel or base frame, run and label all conductors per the approved schematic using wire ferrules and terminal blocks, install machine guards and robot safeguarding as specified in the JHA, and perform a pre-energization checklist (continuity check, insulation resistance spot-check, verify LOTO hardware is in place and documented) before the instructor witnesses first power-up; any wiring deviation from the schematic must be redlined on the drawing before energizing. · Students write the PLC program in ladder diagram for the main sequential logic and add at least one routine in function block diagram or structured text for analog signal scaling (4-20 mA or 0-10 V sensor), timer/counter logic, or motor-drive speed reference; they configure the industrial network (EtherNet/IP, PROFINET, or Modbus as available) to link the PLC to the robot controller or drive, then verify all I/O points are correctly mapped by forcing each input and confirming each output physically actuates as designed. · Students configure the HMI with at minimum: a run/stop/reset control screen, a real-time numeric display of at least one analog value, a fault indicator for each major alarm, and a manual jog screen for maintenance mode; they conduct a structured I/O checkout with a partner acting as a second set of eyes, logging each test point pass/fail in a commissioning sheet that becomes part of the documentation package. Materials: PLC trainer (Allen-Bradley ControlLogix or CompactLogix, or Siemens S7-1200 per lab availability), PLC programming software (Studio 5000 or TIA Portal), HMI (PanelView or KTP series), motor drive with speed reference wiring, pneumatic or hydraulic bench with actuators, sensor suite (inductive, capacitive, photoelectric, pressure transducer), wire stripper/crimper, multimeter, clamp meter, terminal blocks, DIN rail, wire duct, LOTO kit (padlocks, hasp, tags, lockout station), machine guarding panels, commissioning checklist template, NFPA 79 reference Check: Instructor witnesses a live I/O checkout: every input listed in the BOM activates the correct PLC bit and every output energizes the correct field device within one scan; the HMI displays correct analog values; all guards are installed; LOTO procedure is demonstrated on request; the commissioning sheet is signed by both student and instructor; pass = zero unresolved wiring errors, zero missing guards, and 100% of I/O points verified; any failed point is corrected same session before the next lesson begins.
Practice check8
Answer each question, then check it. Nothing is recorded; this is your own practice.
Safety — LOTO / OSHA 29 CFR 1910.147
1. Before applying power to a newly wired panel for the first time, which action is required by OSHA 29 CFR 1910.147?
Wiring Practices / Documentation
2. A technician finds that a wired conductor is landed on terminal 14 but the approved schematic shows it should be on terminal 16. What must happen before the circuit is energized?
PLC Programming — IEC 61131-3 / PMMI PLC
3. Which IEC 61131-3 language is most commonly used for main sequential logic in a PLC program because it visually resembles relay ladder rungs and is easy to trace during I/O checkout?
Analog Signals / PMMI Industrial Electricity
4. A 4–20 mA pressure transducer has a range of 0–200 psi. If the loop current is 12 mA, what is the pressure reading?
Industrial Networks / PMMI PLC / FANUC CERT
5. When configuring an EtherNet/IP connection between a PLC and a robot controller, which step confirms that the network link is active and data is being exchanged correctly?
Safety — NFPA 70E / Electrical Safety
6. According to NFPA 70E, after LOTO is applied to a panel, a technician must still perform which action before touching internal conductors?
7. A student configures the HMI jog screen so that manual jog buttons are always accessible regardless of the system mode. Why is this a safety problem?
Troubleshooting / PLC I/O / PMMI PLC
8. During I/O checkout, a student forces Output Q0.3 in the PLC software but the corresponding solenoid valve does not energize. After confirming the wiring at the terminal block is correct, the next logical step is to:
Record this lesson on my transcript.Sign in with your key and enrollment email to record lessons (enroll free if you have no key). This page stays open to read and practise.
A free tech program — complimentary, as our commitment to get America working. Help us build VoTechWorks. Tell us what works, what doesn’t, and what you want to learn.