🚧 Under construction — VoTechWorks is being built. A free tech program — complimentary, as our commitment to get America working.
voTechWorksGrade 13 · a vocational technology learning center, by urbanicity
newSchoolWorks.com › VoTechWorks › Manufacturing & Marine › Robotics / Mechatronics › Programmable Logic Controllers for Mechatronics › Lesson 10
MFG-MECH15-02 · Lesson 10 · 14 clock hours · lab

HMI Configuration and Operator Interface

Objective. Students will configure a basic HMI screen containing a numeric display, a status indicator, and a momentary pushbutton, linked to live PLC tags, and will demonstrate the screen operating correctly on the physical or software 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.

What Is an HMI and Why Does It Matter?

A Human-Machine Interface (HMI) is the screen-based panel or software that lets operators monitor and control a PLC-based system without touching wires or ladder rungs. In a mechatronics cell — a conveyor, a robot work-envelope, a fluid-power station — the HMI is how a technician watches a tank level rise, sees an alarm flash red, or presses a virtual button to open a valve. Configuring an HMI correctly is a core industrial skill and is tested in the Siemens SMSCP Level 1, PMMI Mechatronics, and FANUC CERT programs.

Common HMI platforms you will encounter include Allen-Bradley PanelView (configured in FactoryTalk View ME or SE), Siemens comfort panels (configured in TIA Portal WinCC), and standalone touchscreen units such as Weintek (EasyBuilder Pro). Regardless of brand, the workflow is the same: create a project, define the PLC communication path, map PLC tags to screen objects, design the screen, download, and test.

Communication Path and IP Addressing

Before placing a single button on screen, you must tell the HMI software how to reach the PLC. For EtherNet/IP (Allen-Bradley) or PROFINET (Siemens), you enter the PLC's IP address in the HMI project settings. A common lab subnet is 192.168.1.x with a subnet mask of 255.255.255.0. The HMI itself must be on the same subnet — for example, PLC at 192.168.1.10 and HMI at 192.168.1.20.

Always use a dedicated industrial Ethernet switch or a direct Ethernet cable between the HMI and the PLC trainer. Verify connectivity by pinging the PLC from a laptop on the same network before you begin screen development. A wrong IP address is the single most common reason an HMI download succeeds but no live data appears.

Three Core Screen Objects

Numeric Display — shows a real-time PLC tag value as a number. You link it to a tag (for example, `Tank_Level_PV`, a REAL or INT value representing inches or percent). Set the format (fixed decimal, integer), minimum and maximum display range, and engineering unit label. In this lesson the tag is the tank-level analog value you scaled in Lesson 6 using 4–20 mA mapping.

Indicator Lamp — a colored shape (circle or rectangle) whose fill color changes based on a Boolean (bit) tag. Link the lamp to the high-level alarm bit (`Tank_High_Alarm`, a BOOL). Program: color = green when the bit is 0 (normal), color = red when the bit is 1 (alarm). This gives the operator instant visual status without reading a number.

Momentary Pushbutton — sends a momentary 1 to a Boolean tag while the operator presses the touchscreen. Link it to the inlet valve output tag (`Inlet_Valve_CMD`, a BOOL). Momentary action means the bit goes high only while the finger is on the button — exactly like a physical normally-open pushbutton wired to a PLC input. In the HMI this action is called "momentary" or "press and hold" depending on the platform.

Downloading and Testing

After building the screen, compile the project (look for zero errors in the output log), then download to the physical HMI panel or launch the PC-based simulator. With the PLC program running from Lesson 6:

1. Watch the numeric display update as the simulated tank level changes.

2. Force the high-level alarm bit ON in the PLC (using the programmer's online monitor); verify the lamp turns red.

3. Press the momentary pushbutton on the HMI; verify the PLC output bit energizes and the inlet valve indicator in the PLC program turns ON.

Never force outputs on live machinery without permission from the instructor and without confirming that the physical actuator is in a safe, unloaded condition.

Alarm Banner Configuration

An HMI alarm system does more than flash a color — it records the time the alarm occurred, the time an operator acknowledged it, and the time it cleared. You configure alarms in a separate alarm list or alarm group within the HMI software. For this lesson:

When the bit goes TRUE the message appears in the alarm banner at the bottom of the screen. The operator acknowledges it by pressing the ACK button — this confirms they have seen the alarm. The alarm clears from the active list only when both conditions are met: it has been acknowledged AND the trigger bit has returned to FALSE. Document in your lab log the exact time the alarm appeared, the time you acknowledged it, and the time it cleared. Response time (alarm appearance to acknowledgment) is a metric used in real plants to evaluate operator performance.

Safety Notes for HMI Work

Key terms8

HMI (Human-Machine Interface)A touchscreen panel or software display that lets operators monitor PLC tag values and send commands to a control system without programming the PLC directly.
TagA named memory location in a PLC (such as Tank_Level_PV or Inlet_Valve_CMD) that HMI objects are linked to for reading or writing data.
Numeric DisplayAn HMI screen object that shows the real-time numeric value of a linked PLC tag, with configurable format, range, and engineering units.
Indicator LampAn HMI object whose displayed color changes based on the state of a linked Boolean (bit) PLC tag, giving operators instant visual status of a condition.
Momentary PushbuttonAn HMI touchscreen button that sets a linked Boolean PLC tag to 1 only while the operator is pressing it, then returns the tag to 0 on release — equivalent to a physical normally-open pushbutton.
Alarm AcknowledgmentThe operator action of confirming (via an ACK button) that an active alarm has been seen; the alarm clears from the active list only after acknowledgment AND the trigger condition returns to false.
Communication PathThe HMI project setting that specifies the protocol (EtherNet/IP, PROFINET, Modbus TCP) and the IP address used to reach the target PLC at runtime.
Subnet MaskA 32-bit number (commonly 255.255.255.0 in lab settings) that defines which portion of an IP address identifies the network, ensuring the HMI and PLC are on the same local network segment.
In class: HMI software introduction: instructor demonstrates PanelView or Weintek/TIA Portal HMI editor; students create a new project, set the correct PLC communication path and IP address, and add a numeric display object linked to the tank-level tag from Lesson 6. · Screen design lab: students add a green/red indicator lamp (linked to the high-level alarm bit) and a momentary pushbutton (linked to the inlet valve output tag); download to a physical HMI panel or run in simulation; test all three objects by cycling the PLC program. · Alarm banner exercise: students configure one alarm message in the HMI alarm list tied to the high-level bit; trigger the alarm and acknowledge it; document the acknowledge procedure and response time in the lab log.
Materials: HMI software (FactoryTalk View ME/SE, TIA Portal WinCC, or equivalent), HMI panel or PC simulation, Ethernet cable, PLC trainer running Lesson 6 program, lab log
Check: All three HMI objects (numeric display, indicator, pushbutton) operate correctly during live instructor demonstration; alarm acknowledges and clears correctly; lab log entry complete.

Practice check8

Answer each question, then check it. Nothing is recorded; this is your own practice.

Programmable Logic Controllers — HMI and Industrial Networks
1. A student sets the PLC IP address to 192.168.1.10 and the HMI IP address to 192.168.2.20, both with a subnet mask of 255.255.255.0. After downloading, the numeric display shows dashes instead of a live value. What is the most likely cause?
Programmable Logic Controllers — HMI Configuration
2. In the HMI alarm configuration, a student sets the trigger tag to Tank_High_Alarm (BOOL). The alarm message appears on screen when the bit goes TRUE. The student presses ACK, but the alarm message does not disappear from the active alarm list. What additional condition must be met before the alarm clears?
Programmable Logic Controllers — HMI Screen Objects
3. A momentary pushbutton on the HMI is linked to the PLC tag Inlet_Valve_CMD (BOOL). Which behavior correctly describes how a momentary button differs from a maintained (latching) button?
Programmable Logic Controllers — HMI Screen Design
4. A student wants an indicator lamp to display green when the Tank_High_Alarm bit is 0 and red when it is 1. In the HMI software, where is this color mapping defined?
Safety — Lockout/Tagout and Electrical Safety
5. Before a technician opens a live control panel to connect an Ethernet cable between the HMI and PLC, which standard most directly requires applying lockout/tagout?
Programmable Logic Controllers — IEC 61131-3 Languages
6. Which IEC 61131-3 PLC programming language uses a graphical representation of relay logic symbols (contacts and coils) and is the most common language used when teaching HMI tag-to-PLC integration in US vocational programs?
Programmable Logic Controllers — Analog Signals and Troubleshooting
7. A numeric display on the HMI is linked to the tank-level tag, which holds a 4–20 mA analog input scaled to 0–100% in the PLC. The display shows 0% even though the physical sensor reads a mid-level. After checking the IP address and tag link, the next best diagnostic step is to:
Safety — Machine Guarding and Robot Safety
8. When testing HMI pushbutton commands that will energize a physical actuator (such as the inlet valve in this lesson), what must happen before any operator presses the HMI button?
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.