How-to
Set a pump speed setpoint in WinCC with an I/O field
Short answer
Create one external WinCC variable that points at the PLC address receiving the pump's manipulated value, assign it to an I/O field, and set the field's entry limits to the numeric range the PLC accepts, 0 to 100 here. If a bar draws but never moves, confirm the tag changes at runtime, then align the bar's value range with the tag's scale.

On this page
The fix is three objects and one match: create one external WinCC variable that points at the PLC address or variable receiving the pump's manipulated value, assign it to an I/O field on the screen, and set that field's entry limits to the numeric range the controller accepts, 0 to 100 on this machine. When a bar afterwards draws but never moves, the cause is almost never the bar object itself: first confirm the tag actually changes in runtime, then bring the bar's value range down to the tag's scale so the change is large enough to see. The steps below use classic WinCC naming; WinCC Unified handles the same tags and I/O fields with slightly different property paths.
Create the external variable for the pump setpoint #
In classic WinCC, open tag management, select the communication channel of the connected PLC, and create the variable in your variable list, linked to the PLC variable or address that receives the speed setpoint. An internal WinCC variable holds a number but never reaches the controller; only an external tag maps a storage location in the PLC, and its data type must be one that connected PLC supports. In WinCC Unified you can also create the tag where you use it: select the I/O field and click "Add new" in the object list, as the TIA Portal documentation describes, then complete the PLC connection, address and data type.
Assign the variable to an I/O field #
- Open the screen where the operator should enter the speed and place an I/O field on it.
- In the field's properties, assign the external variable you created as its tag.
- Set the input and output format to match the tag, for example a plain integer pattern when the tag stores percent as an integer.
- Enter the field's limits: 0 as the minimum and 100 as the maximum for a percent tag.
- Save, load the project into runtime, and test one entry before handing the screen to an operator.
Match the entry limits to the pump scale #
If the tag already stores percent directly as an integer, enter 0 as the field's minimum and 100 as its maximum and use an integer format; the written value then lands on the PLC unchanged. The machine's 100 to 0 wording only reverses the direction of travel: confirm in the PLC program whether a written 100 means full speed or stop, but the numeric limits stay 0 and 100 either way.
If the controller instead stores the speed as a raw analog count, keep the tag type identical to the PLC variable, match the field limits to that count range, and let the existing program scaling do the conversion; the article on scaling a PLC integer into an HMI display value covers that conversion in detail (article:how-to-scale-a-plc-integer-into-an-hmi-display-value). Where the scaling lives in ladder logic on the controller side, our companion guide to assigning V-memory values and scaling an analog signal in ladder logic walks through that half of the path.
Make the bar move #
A bar that renders but shows no graphical movement has one of two causes, in this order. First, confirm the process variable assigned to the bar is a tag that actually changes at runtime; a bar wired to a static or unconnected tag will draw its frame and nothing else, and the fault sits in the external-tag definition or the communication channel, not in the bar.
Second, compare the bar's configured value range with the tag's scale. Worked example: the bar's range is still set to a raw analog span of 0 to 27648 while the tag holds percent. The pump moves from 48 to 60 percent, a change of 12 units, so the bar fills by 12 / 27648, about 0.04 percent of its length — a few pixels on a full-width bar, invisible to an operator. Set the same bar's range to 0 to 100 and the same 12-unit change moves the graphic by 12 / 100, one eighth of the bar's length. The tag, the field and the PLC did nothing wrong; the range was hiding the change.
If the tag genuinely runs 100 down to 0, enter 100 as the bar's range start and 0 as its end so the graphic reads in the same direction as the pump. In WinCC Unified, the documented bar property lives under Properties, Miscellaneous, Process value indicator - mode, and the division count can only be changed when automatic scaling is switched off.
Verify the write path end to end #
Take the pump to a safe state for the test, then enter 60 from the I/O field, open an online watch table on the PLC, and confirm the manipulated-value tag follows the entry. Run the pump and confirm the speed command tracks later entries, then watch the bar through the same changes and confirm the graphic sweeps the full configured range. If the field will not display or write the value at all, suspect the external tag definition or the communication channel; the WinCC V8.0 documentation describes checking a tag through the "System Info" channel in tag management. When the value reaches runtime but still looks wrong, the article on diagnosing whether the driver, the tag or the screen binding is at fault separates the three cases (article:is-it-the-driver-the-tag-or-the-screen-diagnosing-hmi-values).
Questions asked
Can one I/O field control two pumps?
No. An I/O field writes exactly one WinCC variable, and that variable maps one storage location in the PLC. To control a second pump, copy the field, create a second external variable bound to the second pump's setpoint address, and assign it to the copied field. Keep each field's entry limits matched to that pump's own scale, because a shared setpoint variable would write the same speed command to both pumps.
What data type should the pump setpoint tag use?
The type must be one the connected PLC supports, because an external tag maps a storage location in that PLC. For a setpoint stored directly as percent, a 16-bit signed integer is the usual choice and matches the integer the PLC program expects. If the controller stores the speed as raw analog counts instead, keep the tag type identical to the PLC variable and do the percent conversion where the machine's program already does it.
Can I create the tag directly on the I/O field?
Yes, in WinCC Unified. Select the I/O field on the screen and click Add new in the object list; the TIA Portal documentation describes creating external tags at the location of use this way. The tag still needs the correct PLC connection, address and data type, so creating it in the tag table first and assigning it afterwards remains the clearer route when several screens share the same setpoint tag.
Why does the field show the right value but the pump ignores it?
The write path works, but the PLC logic does not use the written value the way you expect. Check that the program reads the exact address the variable points to, that no other write overwrites it every cycle, and that the direction convention matches: on a machine described as 100 down to 0, a written 60 may command the opposite of what you assume. Confirm the response with one small step change before trusting the field.
