A numeric input that shows the PLC value but never sends an edit back has no write path. Set the input's binding to TwoWay, or add a value-change handler that writes the edited number to the same PLC variable the display reads, then prove both directions online with 3 clean edits. The display direction is already working: the variable feeds the field, the field renders the number, and that link ends there. The return hop is missing, so the runtime, the server and the controller never see your edit. In TwinCAT HMI the mode lives on the binding itself, in the Edit Binding dialog; there is no project-wide switch that repairs every field at once. The fix is one setting on one control, or one event with one write in it, and the proof is 3 edits in a row.
Symptoms and the hop that fails
Trace the two directions separately and the symptom tells you which hop failed. The read path runs PLC variable → server → runtime → control, 3 hops. The write path runs control → runtime → server → PLC variable, also 3 hops. A field that renders the PLC value has proven the 3 read hops and none of the 3 write hops, so the fault sits in the direction you cannot see. Match what your screen does:
- The value displays and your edits never arrive. The write path is missing: a one-way binding, or a handler full of logic that writes nothing. This is the most common cause, and the first one to fix.
- The PLC changes only after you leave the field. The commit fires on focus-out. That is a design choice rather than a fault; decide whether the delay suits the process.
- Your entry snaps back to the old number. The control checked the entry against its minimum or maximum and refused it before any write started.
- Nothing displays either. The read path is down. Work through the causes of an HMI not communicating with the PLC first; debugging writeback over a dead connection wastes an afternoon.
- The value jumps twice or the screen flickers. Two write paths are fighting on one control, typically a TwoWay binding plus a value-change handler.
If the field shows hash marks instead of a number at all, the problem is formatting rather than data flow; the numeric fields showing hash marks article covers that case.
The causes, in order of likelihood
Work down this list; the first two causes cover most screens with this fault.
- One-way binding on the input. The binding feeds the field but never writes back. In TwinCAT HMI, every built-in I/O field needs its mode set to TwoWay individually. The Edit Binding dialog is where that mode lives; the TE2000 TwinCAT 3 HMI Engineering documentation describes it as the place a binding is configured. There is no project-wide setting that turns every binding TwoWay at once.
- No value-change write. The input exposes .onValueChanged. If nothing in that handler writes the new value to the PLC variable, the edit dies inside the control.
- The write targets a different variable than the display reads. TwinCAT HMI maps PLC variables to controls in 3 ways: MTP library mapping, custom object mapping such as a function block, and direct variable mapping. Whichever you use, the handler must write the same mapped symbol the binding reads; two symbols mean two numbers that drift apart.
- The limit check refuses the entry. The numeric input can test entries against a minimum and a maximum. An entry outside the limits never becomes a write at all.
- The runtime is not running your edited project. The screen behaves like the last build. Apply the changes and restart the runtime before you blame the binding.
- The PLC logic overwrites the value every scan. Your write lands and the program writes straight back. That fix lives in the PLC code, not on the screen.
How to check each cause
Run one edit per check, and watch the PLC variable online while you do each one:
| Cause | What you open | What a healthy screen shows |
|---|---|---|
| One-way binding | The Edit Binding dialog on the property bound to the variable | The mode reads TwoWay |
| No value-change write | The .onValueChanged handler on that input instance | A write of the new value to the PLC variable |
| Wrong variable | The symbol in the handler, beside the symbol in the binding | One identical name in both places |
| Limit refusal | The minimum and maximum set on the numeric input | Your test entry sits between the two limits |
| Stale runtime | The build and start time of the running runtime | The build you just edited |
| PLC overwrite | The rung or block that owns the variable | No unconditional write of that variable every scan |
Treat every test write as a real write: a setpoint that lands will move the process. Prove the path on a trial variable, or on a value the PLC logic clamps, before you send test edits at a live loop.
The fix: TwoWay binding or a value-change write
Set the binding to TwoWay when the field should write back as soon as the edit commits. You set it per field, in the Edit Binding dialog, every time you bind a built-in I/O field. Build the habit into the moment you create the binding, not the day of commissioning.
Add a .onValueChanged handler with a write in it when the platform's binding offers no TwoWay mode, or when logic has to run around the write. Some platforms use the standard pattern here instead: the input reads and writes a local memory tag, and the value-changed event forwards each new value to the PLC variable.
Use the focus-out event (onfocusout in TwinCAT HMI) as the commit when you want checks, conversions or a prompt before the write. While the field keeps focus, the PLC receives nothing; a focus-out-only screen can look frozen to an operator who expects a live number. Choose the timing on purpose.
Keep one authoritative write path per control: the binding for a plain commit, the handler when logic must run around the write, and never both active on the same field. On installations with several stations open at once, a direct binding to the PLC variable pushes each committed value to every open screen, while a local tag updates one screen only.
Working a 0 to 120 °C setpoint input end to end
The case: a TcHmiNumericInput in TwinCAT HMI, bound to a temperature setpoint. The control and its limit check come from the control's documentation; the numbers below are worked-example values, and you replace them with your own variable and limits.
Inputs: PLC variable at 42.0 °C. Operator types 55.0 into the field. Limits on the control: minimum 0 °C, maximum 120 °C.
The rule in words: the entry must pass the limit check, then a write must leave the control through a TwoWay binding or a handler and travel control → runtime → server → PLC variable.
The arithmetic:
- Limit check: 0 °C ≤ 55.0 °C ≤ 120 °C, so the entry passes. The same field handed 130.0 °C fails: 130.0 °C − 120 °C = 10 °C above the maximum, and the control refuses it before any write exists.
- Read path: PLC variable → server → runtime → control is 3 hops, and the 42.0 °C on the display proves all 3.
- Write path: control → runtime → server → PLC variable is 3 hops, and the working display proves 0 of them. With a one-way binding, hop 1 never fires, so hops 2 and 3 carry nothing.
Result: the field shows 55.0 °C and the PLC still reads 42.0 °C. The network, the variable and the server are innocent; the control emitted no write.
Decision: once a valid entry commits, the controller sees the new value on its next scan. If the variable still reads 42.0 °C, set the binding to TwoWay or add the write in .onValueChanged. If an entry above 120 °C snaps back, the limit is working as designed; widen it or type inside it. Prove either fix with 3 edits in a row.
Prove both directions before you sign off
- Read direction. Change the value at the controller, from 42.0 °C to 48.0 °C, and watch the field follow on the screen.
- Write direction. Edit the field from 48.0 °C to 55.0 °C and commit, then watch the PLC variable online: it reads 55.0 °C once the write lands.
- Timing. Repeat the edit 3 times, using the commit the screen will use in service, on change or on focus-out.
- Diagnostics. If the variable stays at 48.0 °C, read the runtime diagnostics for a write error before you change anything else.
- Hand-off. Both directions clean on the bench and still broken on the floor moves the cause off the screen: connection, power or the process logic.
For a field that writes to a serial device rather than a native PLC variable, the same two-direction proof applies one hop further down; the HMI write error over Modbus RTU article works that case on a drive.
Keep writeback working on the next screen
- Set the mode when you bind, in the template or the first build. A screen with 6 numeric inputs carries 6 bindings, and each gets its mode set before the screen is uploaded.
- Record the choice per variable: binding for plain commits, handler where logic runs around the write. One authoritative path per field keeps the diagnostics readable.
- Decide who owns the value across a power failure, the controller or the screen; the setpoints lost after power failure article walks that split.
- On multi-station installations, prefer the direct PLC-variable binding so every open screen shows the committed value.
- Stop debugging the screen when both directions prove clean and the field still misbehaves in service; the cause then sits in the connection, the power or the process logic. Once the data path is settled, the hardware side — housing, sealing and mounting for the display — starts with the HMI enclosures guide.
Catalog dimensions to compare
Compare these catalog dimensions with your component layout. Open each enclosure for its rating, material and usable space, then check those specifications against your application.
| Enclosure | Material | Outside H x W x D / display | Rating |
|---|---|---|---|
| 10.1" HMI enclosure | 304 stainless | 8.72 x 12.66 x 3.48 in | IP65-type front seal with the display installed, manufacturer rated; not UL listed |
| 15.6" HMI enclosure | 304 stainless | 11.69 x 17.64 x 4.13 in | IP65-type front seal with the display installed, manufacturer rated; not UL listed |
| 21.5" HMI enclosure | 304 stainless | 14.69 x 23.03 x 3.86 in | IP65-type front seal with the display installed, manufacturer rated; not UL listed |
Questions
Is there a project-wide setting that makes every binding TwoWay?
The mode belongs to each individual binding: a screen with 12 input fields carries 12 bindings to set, one Edit Binding dialog per field in TwinCAT HMI. There is no global switch, so set each binding to read and write when you create it rather than at commissioning.
Why does the PLC only receive the value after the operator leaves the field?
The commit fires on focus-out, so the PLC receives zero writes while the field keeps focus and one write per committed edit afterwards. That timing suits pre-write checks and conversions; move the write to the value-change event when the process needs the number while the operator is still editing.
The entry snaps back to the old number — is the binding at fault?
Usually the control's limit check refused the entry, which happens on the control before anything crosses to the controller. In the worked example the maximum is 120 °C, so 130.0 °C is refused while 55.0 °C passes. Enter a value inside the minimum and maximum, or widen the limits on the control.
Can a TwoWay binding and a value-change handler run on the same field?
Yes, but that gives two write paths on one control: the PLC can receive the value twice per edit and the diagnostics show duplicate writes. Keep one authoritative path per field — the binding for a plain commit, the handler when logic must run around the write.





