🚧 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 › Industrial Maintenance › Programmable Logic Controllers for Industrial Maintenance › Lesson 8
MFG-INDU16-06 · Lesson 8 · 13 clock hours · demo

Human-Machine Interface Basics

Objective. Students create a basic HMI screen containing a start/stop pushbutton, a numeric display linked to an analog tag, and an alarm indicator, and demonstrate the screen communicating live with the PLC trainer.

⚠ 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 a Human-Machine Interface?

A Human-Machine Interface (HMI) is a touchscreen panel, operator terminal, or software display that lets a person monitor and control a PLC-based machine without touching the PLC directly. Instead of reading raw indicator lights on a control panel, an operator sees graphic pushbuttons, numeric readouts, trend charts, and alarm banners on a single screen. HMIs are standard equipment on assembly lines, pump stations, HVAC systems, and marine propulsion consoles.

The HMI does not run the machine logic — the PLC does. The HMI simply reads PLC memory and writes to it. When an operator presses a graphic Start button, the HMI writes a 1 to the PLC bit assigned to that button. The PLC ladder program sees that bit and starts the motor. The HMI is a messenger, not the brain.

How HMI and PLC Communicate

Most modern HMIs connect to the PLC over Ethernet using an industrial protocol such as EtherNet/IP (common with Allen-Bradley), Modbus TCP, or a manufacturer-specific driver. Older setups use a serial RS-232 or RS-485 cable. In the lab you will use either an Ethernet patch cable or a USB programming cable depending on the hardware available.

The HMI configuration software requires you to define a driver (the communication protocol) and a device (the PLC's IP address or node number). Once the connection is configured, you can browse PLC tags by name or enter addresses manually — for example, `O:0/0` for a discrete output bit or `N7:0` for an integer register in older Allen-Bradley systems, or named tags in newer Studio 5000 projects.

Tags and the Tag Database

A tag is a named variable linked to a specific PLC memory location. In the HMI editor you create a tag database — a list that maps a friendly name such as `Motor_Run` to the actual PLC address. Every screen object is bound to one tag. When the PLC writes 1 to `Motor_Run`, every HMI object subscribed to that tag updates instantly.

For analog values the tag holds a raw integer from the analog input module. A scaled temperature reading might arrive as a raw count (for example 0–32,767) that the PLC has already scaled to engineering units (for example 0.0–250.0 °F) and stored in a floating-point or scaled integer tag. Your numeric display reads that scaled tag and shows the operator a real temperature value.

Building the Four Required Screen Objects

Start and Stop Pushbuttons — In the HMI editor, insert a Momentary or Maintained button object. Set the Write tag to the PLC address for the start coil (Start) or stop coil (Stop). Set the button action to Write 1 while pressed (momentary) or to toggle between 0 and 1 (maintained), matching how your PLC ladder is written.

Run-Status Pilot Light — Insert a pilot-light or indicator object. Set it to Read the `Motor_Run` status bit. Choose two states: State 0 = gray (off), State 1 = green (running). The light reflects what the PLC output is actually doing, not just what the operator requested.

Numeric Display — Insert a numeric display or numeric input object set to Read only. Link it to the scaled temperature tag. Set the display format to match engineering units (for example, one decimal place, degrees F). Confirm the min/max range matches the expected process range so the display does not clip.

Alarm Indicator — Insert an indicator or alarm object linked to a PLC bit that the ladder program sets whenever the temperature tag exceeds the setpoint. Configure State 1 to display red with the text "TEMP HIGH." Many HMI packages also have a built-in Alarm Summary screen; for this lesson a simple indicator is sufficient.

Downloading and Testing

After building the screen, compile the project (sometimes called Validate or Build). Errors such as missing tags or unsupported data types appear in an error log — fix all errors before downloading. Connect to the terminal or launch the simulator, then transfer the project file. Put the PLC in RUN mode. Test each object in sequence:

1. Press Start — verify the PLC output energizes and the Run indicator turns green.

2. Press Stop — verify the output de-energizes and the indicator turns gray.

3. Observe the numeric display — confirm it tracks the analog value as you change the PLC input simulation.

4. Force or simulate a temperature value above the setpoint — confirm the alarm indicator turns red.

Document your results on the exercise specification sheet.

Safety Points

Key terms8

HMI (Human-Machine Interface)A display terminal or software screen that allows an operator to monitor and control a PLC-based system through graphic objects such as buttons, indicators, and numeric displays.
TagA named variable in the HMI or PLC that maps a friendly label to a specific memory address; screen objects are bound to tags to read or write PLC data.
DriverThe communication protocol module configured in HMI software that defines how the HMI talks to a specific PLC brand or model — for example, EtherNet/IP or Modbus TCP.
Numeric DisplayAn HMI screen object that shows the current value of a linked tag in engineering units, such as temperature in degrees Fahrenheit or pressure in PSI.
Pilot Light (Indicator)An HMI object that changes color or text based on the 0 or 1 state of a linked PLC bit, mimicking a physical panel indicator lamp.
Alarm IndicatorAn HMI object that alerts the operator to an out-of-range or fault condition by changing state — typically turning red and displaying a message — when a PLC alarm bit is set.
Download (HMI)The process of transferring a compiled HMI project file from the configuration computer to the HMI terminal's internal memory so it can run independently.
SetpointA defined process value stored in the PLC program; the program compares the live process value to the setpoint and sets an alarm bit if the process value exceeds or falls below the limit.
In class: Instructor demonstrates HMI configuration software (e.g., FactoryTalk View ME, Weintek EasyBuilder, or similar available in lab), creating a screen from scratch and linking a numeric display to an existing PLC tag while students observe and take notes. · Students create their own HMI project, place a start button, stop button, run-status pilot light, and a numeric display for the scaled temperature tag from the previous lesson, then configure tag addresses matching the PLC program. · Students download the HMI project to a panel-view terminal or HMI simulator, run the PLC in RUN mode, and test every screen object — verifying pushbuttons toggle outputs, the numeric display updates with the analog value, and the alarm indicator responds to an out-of-range condition.
Materials: HMI terminal or HMI simulation software on laptop, Ethernet or USB connection cable, PLC trainer, HMI configuration software, short HMI exercise specification sheet
Check: All four HMI objects (start button, stop button, run indicator, numeric display) must function correctly during a 3-minute live demonstration to the instructor — all four must pass; alarm must trigger when simulated temperature exceeds setpoint.

Practice check8

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

NCCER Industrial Maintenance — Instrumentation and Control
1. What is the primary role of an HMI in a PLC-based control system?
NCCER Industrial Maintenance — Instrumentation and Control
2. An operator presses a graphic Start button on the HMI but the motor does not start. The Run indicator stays gray. Which is the MOST logical first diagnostic step?
NCCER Industrial Maintenance — Instrumentation and Control
3. A numeric display on the HMI is linked to a scaled temperature tag stored as a floating-point value. The operator reports the display reads 0.0 °F at all times even though the process is clearly hot. Which condition is MOST likely?
MSSC CPT — Safety
4. Before connecting an Ethernet cable between the HMI configuration laptop and the PLC trainer that controls live outputs, the correct safety action is to:
NCCER Industrial Maintenance — Instrumentation and Control
5. In HMI configuration software, a 'driver' is best described as:
NCCER Industrial Maintenance — Instrumentation and Control
6. A pilot-light object on an HMI shows green even though the motor contactor is known to be de-energized. Which of the following is the MOST likely cause?
NCCER Industrial Maintenance — Instrumentation and Control
7. Which action BEST describes what happens when an HMI project is 'downloaded' to a panel-view terminal?
NCCER Industrial Maintenance — Instrumentation and Control
8. During the live demonstration check, a student's alarm indicator does not turn red when the simulated temperature is forced above the setpoint. The numeric display IS updating correctly. Which is the MOST likely cause of the alarm failure?
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.