Assign HMI function keys to four numeric entries on one screen

6 min read · Published November 15, 2026

Assign one Numeric Entry object to each value, give each object its own function key from F1 to F4 in the Numeric Entry set-up menu, and set Object Style 2 so the key opens that value's adjustment menu. F5 stays on the screen change. Two keys per value no longer fit: four values need 8 keys against the 5 in use.

You can give each of the four values its own key. Put one Numeric Entry object on the screen for each value. Assign each object its own function key from F1 to F4 in the Numeric Entry set-up menu, then set Object Style 2 on that menu so the key opens the value's adjustment menu. Keep F5 on the screen change. The old arrangement of one Up key and one Down key per value stops fitting here: it uses 2 keys per value, and four values would need 8 keys against the 5 in use. If the operators must keep shared Up and Down keys, build the pointer-and-scratch-pad scheme in the PLC instead. Both are below.

What you need

  • The HMI project open in its programming software, with the screen that shows the four values.
  • The four PLC data point addresses behind those values. In this setup the panel talks to a C0-01AR-D CLICK PLC over Port 2.
  • Five function keys in use, F1 to F5, with F5 already toggling to the next screen.
  • The simulator in the programming software, so you can test the keys with the PLC out of the picture. Plan 15 minutes in it before you touch the live panel.

Put one Numeric Entry object on each value

  1. Add a Numeric Entry object to the screen for the first value.
  2. Open the object's properties and point it at that value's PLC data point.
  3. In the Numeric Entry set-up menu, on the left below Frame Style, assign the object F1.
  4. Repeat for the other three values, with F2, F3 and F4.
  5. Walk the four objects one by one and confirm each one writes to a different data point.

The key is what selects the value: pressing the key assigned to an object activates that object's adjustment menu. Give each object its own key, or the one-key-one-value certainty is gone. While you are on this screen, check the numbers read at the working distance. The common planning figure is 30 ft of viewing distance per inch of letter height, so values read from 6 ft want capitals of at least 0.2 in. The layout lands like this:

Key Job
F1 Numeric Entry object 1, first value
F2 Numeric Entry object 2, second value
F3 Numeric Entry object 3, third value
F4 Numeric Entry object 4, fourth value
F5 Change to the next screen

Set Object Style 2 on each object

The key assignment and the object style are two separate settings. The style is the one that turns the key press into an edit.

  1. Select the first Numeric Entry object and open the Numeric Entry set-up menu.
  2. On the bottom right of that menu, in Object Style, choose 2. This style uses the function keys for editing the value.
  3. Confirm the function-key assignment on the left is still the key you set.
  4. Repeat on the other three objects and save the project.
  5. In the simulator, press F1 through F4 one at a time and confirm each key opens the adjustment menu for its own value.

If your operators will type the new value on a pop-up keypad driven by the keys, non-touch numeric entry with keypad style 2 covers that side of the setup.

Keep F5 on the screen change

Leave the screen change on F5 and keep F1 to F4 for the four entries. Two kinds of assignment can claim a key number: the per-object assignment you just made, and the screen-level function key assignment that changes screens. When a press does the wrong job, one of those two claims sits on the wrong key. Function key screen navigation covers the screen-level side. Test both directions in the simulator: F1 through F4 open menus, F5 changes the screen, and nothing does both.

Shared Up and Down keys: a pointer and a scratch pad

Some interfaces must keep one Up key and one Down key for whichever value is selected. Build that in the PLC:

  1. Add a pointer tag to the PLC project that names which of the four data points is selected.
  2. Add a scratch-pad tag that holds the value being adjusted.
  3. Let F1 raise the scratch pad and F2 lower it.
  4. Add ladder logic that copies the scratch pad into the data point the pointer names.
  5. Give the pointer its own way to step through the four points, from a spare key or an on-screen selection.

This is the same indexed idea as saving each numeric entry to the next word of an indexed PLC table, with the pointer choosing the word. Every edit runs through the PLC copy before it lands, so test that the delay feels right to the operators. A copy that lands within one PLC scan of about 10 ms feels instant; a slower one does not. The scratch pad can stay off screen, but showing it while a point is selected keeps the operator from editing blind. Enforce the working range of every value on the PLC side; enforcing increment and decrement limits in PLC logic shows the ladder pattern.

Example: a filler panel with four setpoints and five keys

Picture a filling machine whose HMI screen shows four adjustable setpoints. The operator stands 6 ft from the panel, so the capitals for each value need at least 0.2 in of letter height to read clearly. The panel has five function keys in use, F1 to F5. F5 is reserved for the screen change. The old scheme used one Up key plus one Down key per value, which is 2 keys per value.

The rule in words: paired increment and decrement takes 2 keys per value, a Numeric Entry object with its own key takes 1 key per value, and the screen change takes 1 key.

The arithmetic, in keys on the panel:

  • Old screen, two values: 2 values x 2 keys per value = 4 keys, plus 1 key for F5 = 5 keys. The 5 keys in use were exactly full, which is why it worked.
  • Four setpoints, paired keys: 4 values x 2 keys per value = 8 keys, plus 1 key for navigation = 9 keys. The panel has 5 keys in use, short by 4 keys.
  • Four setpoints, one key each: 4 values x 1 key per value = 4 keys on F1 to F4, plus 1 key for F5 = 5 keys. Full again, with nothing spare.

The result: at four values, one key per value is the only one of the two schemes that fits with navigation kept on F5.

Recommendation: Use one Numeric Entry object per value on F1 to F4 with Object Style 2, and keep F5 on the screen change, whenever the panel has a spare key for every value. Above four editable values the five keys in use run out. At five values, either move one to a second screen or switch to the shared Up and Down scheme, which serves any number of points with F1, F2 and a selection step.

How to check it worked

Run these with the PLC connected and the machine in a state where test writes are safe. The five checks below take about 10 minutes on the floor:

  1. Record the four values as the HMI shows them and as the PLC holds them. They should match before you start.
  2. Press F1, change the first value through its adjustment menu, and confirm the matching data point moved.
  3. Confirm the other three points did not move. Four keys, four checks, one point moved each time.
  4. Repeat for F2, F3 and F4.
  5. Press F5, confirm the next screen opens, come back, and confirm the four values still match the PLC.

If a key opens the wrong value, that object's data point assignment is wrong. If a key opens nothing, recheck its function-key assignment and its Object Style 2 in the set-up menu. If a press changes the screen when it should open a menu, a screen-level assignment holds that key number; clear it and retest.

When the same numbers also matter to people who never touch the HMI, post the standing targets and instructions on a separate shop-floor notice screen beside the panel. Leave the live values on the HMI where the keys are.

Questions

How many values can one screen edit this way?

One per key you can spare. With F5 kept for the screen change, the five keys in use carry four values. A fifth value would need 6 keys, so move it to a second screen or share two keys with the pointer and scratch-pad scheme, which serves any number of points with F1 as Up, F2 as Down and one selection step.

A value's key changes the screen instead of opening the menu. What went wrong?

A screen-level function key assignment has claimed that key number. HMI software commonly lets a function key act on one screen only or globally, and a global screen-change key takes the number away from the object. Move the screen change back to F5, clear the competing claim, and retest in the simulator.

Do the limits still need enforcing in the PLC?

Yes. The adjustment menu accepts what the operator types, and the shared Up and Down scheme has no entry limits of its own. Clamp each of the four values in ladder logic so a mistyped entry or a held key cannot push a data point past its working range.

Planning information, not legal or engineering advice. Rules differ by place: check codes and permits with your local authority and your licensed trades.

Keep reading

Build your signAsk for a quote