HMI Engineering · Technical Blog

HMI I/O Fields and Setpoint Entry: Scaling, Units and Input Limits

Numbers on a panel are only useful when they carry the right format, the right units and the right limits. This lesson covers output fields for process values, input fields for setpoints, and the validation that keeps a mistyped number out of the machine.

2,500+ engineers trained 4.9/5 Google rating 21+ years, Chinchwad, Pune Next batch: contact for dates
Quick answer

Use an output field for read-only process values and an input field for setpoints. Set the display format and decimal places to match the measurement resolution, add the unit as a separate text object, and configure high and low input limits on the tag so the panel rejects out-of-range entries before the value reaches the PLC.

  • Display more decimal places than the instrument can measure and the operator will chase noise that is not real.
  • Input limits belong on the HMI tag and are checked again in the PLC; the panel is convenience, the PLC is protection.
  • A setpoint that is written directly into the running control logic can cause a step change; transfer it deliberately.

Output Fields for Process Values

An I/O field in TIA Portal has three modes: Output for display only, Input for entry only, and Input/output for both. Process values coming from the PLC should almost always use Output mode, so a stray touch cannot overwrite a measured value.

Three properties decide whether the number is readable:

  • Display format: decimal, hexadecimal, binary or string. Process values are decimal.
  • Format pattern: the number of digits before and after the decimal point, for example 999.9 for a temperature.
  • Field length: wide enough for the largest expected value plus a sign, so the field never shows a row of asterisks.

Match the decimal places to the real resolution of the measurement. A temperature transmitter accurate to half a degree should not be displayed to three decimal places. The extra digits are noise, and operators quickly learn to distrust a display that never stops moving.

The value must arrive already scaled from the PLC. Scaling on the panel duplicates logic that belongs in the controller and breaks as soon as a second HMI or a SCADA station is added. See PLC analog input scaling in TIA Portal.

Input Fields and Setpoint Entry

Set the I/O field mode to Input for a setpoint. When the operator touches the field, the panel opens its numeric keypad, and the entered value is written to the connected tag when the entry is confirmed.

Units and labels

Place a separate text object next to the field for the unit rather than building it into the format string. The label stays readable, the field stays purely numeric, and multilingual projects can translate the unit text independently.

Data types

Match the HMI tag data type to the PLC tag exactly. A REAL setpoint written into an INT tag truncates silently, and an INT written into a REAL displays values the operator never entered. Type mismatches are the single most common cause of setpoints that appear to change on their own.

Hidden input for security

The Hidden input property replaces typed characters with asterisks. It is intended for passwords and access codes, not for process setpoints.

Input Limits and Validation

Every HMI tag has an optional upper and lower limit. When they are set, the panel refuses an entry outside the range and displays a message instead of writing the value. This is the first line of defence against a mistyped setpoint.

LayerWhat it doesWhere it is configured
HMI tag limitsRejects the entry at the keypadHMI tag properties, Range section
PLC range checkClamps or rejects the value in program logicFunction block that copies setpoint to the working tag
Controller output limitsRestricts what the actuator can doPID_Compact configuration or drive parameters
Alarm on out-of-rangeTells the operator why the entry was refusedAnalog alarm on the setpoint tag

Never treat the panel limits as sufficient on their own. A SCADA station, an engineering laptop or a second panel can write the same tag, so the PLC must repeat the check. The panel prevents mistakes; the PLC prevents damage.

Learn HMI configuration on live hardware

Practical Siemens HMI sessions with KTP panels, PLC connection and real process signals.

Book a Free Demo Class

Transferring Setpoints to the PLC Safely

Writing a setpoint straight into the tag the control logic uses causes an instant step change. On a slow process that is usually harmless. On a fast one it produces a pressure spike or a mechanical shock.

Use a two-tag pattern instead:

  1. The operator enters a value into Setpoint_Request.
  2. An Accept button sets a transfer bit.
  3. The PLC validates the value, clamps it to the allowed range and copies it into Setpoint_Active.
  4. The panel displays Setpoint_Active in a separate output field so the operator can confirm what the machine is actually using.

For processes that must not be shocked, ramp Setpoint_Active towards the requested value over a few seconds rather than jumping to it.

Where several parameters change together, the same discipline scales up into recipe handling; see HMI recipe management in TIA Portal.

Hands-On Lab: Build a Setpoint Entry Screen with Limits

Hands-on
Before you start
  • TIA Portal with WinCC Comfort and a panel or panel simulation
  • PLC tags for process value, setpoint request and setpoint active
  • Test with internal tags only, no live actuator
  • Estimated time: 30 minutes
1

Add a process value output field

Insert an I/O field in Output mode, link it to the scaled process value and set the format to one decimal place with a separate unit label.

The field shows the value with correct units and cannot be edited by touching it.
2

Add a setpoint input field

Insert a second I/O field in Input mode linked to Setpoint_Request with a matching data type.

Touching the field opens the numeric keypad and the entered value reaches the PLC tag.
3

Set input limits

Configure upper and lower limits on the HMI tag and try to enter a value outside the range.

The panel refuses the entry and displays a limit message instead of writing the tag.
4

Add the accept transfer

Add an Accept button that sets a transfer bit; in the PLC, validate and copy the request into Setpoint_Active.

Setpoint_Active changes only when Accept is pressed, and never takes a value outside the allowed range.
5

Display the active setpoint

Add an output field for Setpoint_Active next to the request field.

The operator can see the requested value and the value actually in use at the same time.
Checkpoint—how to know you did it right

Process values are read-only, the setpoint respects limits at both the panel and the PLC, the active value updates only on Accept, and data types match end to end.

Frequently asked questions

Where should analog values be scaled, in the PLC or on the HMI?

In the PLC. Scaling once in the controller means every panel, SCADA client and archive sees the same engineering value, and there is only one place to correct if a transmitter range changes.

What happens if the HMI tag data type does not match the PLC tag?

Values are truncated or misinterpreted. A REAL written into an INT loses the decimal part, and mismatched types often show as setpoints that appear to change by themselves.

Are HMI input limits enough to protect the machine?

No. They stop mistyped entries at the keypad, but other clients can write the same tag. The PLC must repeat the range check before the value is used by the control logic.

Why should a setpoint use a request tag and an active tag?

So the operator can enter a value without immediately disturbing the process. The PLC validates the request, then transfers or ramps it into the active tag on a deliberate command.

Reviewed by Bhawesh Kumar SinghIndustrial Automation Trainer and Industry 4.0 Consultant · Softwell Automation · 21+ years industry experience

Get the full syllabus + free demo class

Share your details—a Softwell training advisor will contact you with batch dates, fees and hardware-practice options.

No spam. Used only to share course details for this enquiry.

Learn with practical industrial examples

Join live online, Pune classroom or corporate in-plant automation training.

Request Course Details
Verified learning pathway

Discuss HMI I/O Fields and Setpoint Entry

Explore practical curriculum, software, hardware and batch options for this technology.

Content reviewed: 09 September 2026

Siemens PLC & TIA Portal Learning Path

Continue with the related Siemens PLC tutorials in this practical learning series.

  1. SCL vs Ladder Logic
  2. Upload PLC Program
  3. TIA Selection Tool
  4. Analog Input Scaling
  5. PLC Counters
  6. PLC Timers
  7. Addressing & Data Types
  8. Hardware & PLC Tags
  9. OB, FB, FC & DB
☎ Call WhatsApp ✉ Email Enquire Now