Troubleshooting
Why a WP231 weight field shows blank on the HMI
Short answer
The blank field is a symptom, not a display fault: the HMI output field only mirrors the ASCII weight string in DR34 of the WP231 instance DB. Check DR_NO and DR_LEN online — the fault showed 5 and 40 where the documented defaults are 34 and 26 — and confirm the data-record exchange repopulates DR34; a PLC reset cleared the symptom for a few days and then the fault returned.
On this page
- Why does the weight field show blank instead of zero?
- Where does the HMI weight value come from?
- Which data-record values decide whether DR34 fills?
- What should you do when other data records also fail?
- Why did all four WP231 modules fail the same way?
- Does resetting the PLC fix the blank weight?
- How do you verify the fix and catch the next recurrence?
- Questions asked
A blank weight on a KTP 400 fed by a SIWAREX WP231 is not a screen fault and not a load-cell fault: the HMI output field mirrors only the ASCII weight string in DR34 of the WP231 instance DB, and when that string is empty the panel has nothing to render. The reported case — an S7-1212 DC/DC/DC with a WP231, a KTP 400 and TIA Portal V15 — weighed correctly after calibration, went blank after a few days, recovered on a PLC reset and came back on the same rhythm again and again. The deciding values sat wrong in the instance DB online, and correcting them is the whole fix; the load cell and the module were already proven healthy, so work from the DB outward.
Why does the weight field show blank instead of zero? #
The field goes blank because the HMI has nothing to render: the ASCII weight string in DR34 of the WP231 instance DB sits empty between its quotation marks, so even a healthy zero weight cannot appear until that string repopulates.
The symptom pattern is specific. Commissioning on a ready-to-use SIWAREX program, calibration with test weights, several days of correct weighing, then a field that shows nothing at all — no digits, no zero, no unit. The online view of the PLC showed the same emptiness at the source: where the weight string belongs, the monitor displayed two quotation marks with nothing between them. With the load cell and the WP231 module both tested good, the measuring side is eliminated and the data path remains.
Where does the HMI weight value come from? #
The KTP 400 field reads one thing only: the ASCII weight string inside DR34 of the WP231 instance DB, filled by the WP231 over the data-record exchange, so a value absent at the DB is a value the display can never show.
The chain runs load cell, WP231 module, data-record exchange, DR34 in the instance DB, HMI tag, output field, and diagnosis follows it in that order. The first empty link was DR34, which clears everything downstream of it by construction. A blank field over healthy communications is a platform classic, the same decision as in why a PanelView 550 shows nothing but the PLC communicates. The converse is a different failure — a string populated in the controller that never reaches the display — covered in why Citect strings read empty from an S7-1500 in Ignition.
Which data-record values decide whether DR34 fills? #
Two: DR_NO must hold the documented default 34 and DR_LEN must hold 26, while the recurring fault kept DR_NO at 5 and DR_LEN at 40 — a selection that aims the exchange away from the weight record and leaves DR34 empty no matter what the load cell reads.
DR_NO selects which data record the exchange addresses, and DR_LEN carries the transfer length used with it; both sit at the interface of the WP231 instance DB and read out in the online view. The WP231 documentation lists those two defaults, and the vendor support path for this fault instructs returning the online values to them before anything else. Check the same two tags in the offline project as well, so the next download cannot reinstall the fault.
| Tag | Value in the fault | Documented default | Decision |
|---|---|---|---|
| DR_NO | 5 | 34 | Set the online value to 34 so the exchange addresses the weight record |
| DR_LEN | 40 | 26 | Set the online value to 26 to match the weight record length |
| DR34 weight string | Two empty quotation marks | Populated weight characters | Judge the panel only after this string repopulates |
Worked example — the reported fault. Online monitoring showed DR_NO at 5 against the required 34, and DR_LEN at 40 against the required 26. The arithmetic is two comparisons: 5 - 34 = -29, so the exchange addressed a record 29 positions below the weight record, and 40 - 26 = 14, so the declared length ran 14 above the documented value. With both online values returned to the defaults and the exchange re-triggered, DR34 repopulated and the panel displayed weight again, the outcome the case record confirms.
What should you do when other data records also fail? #
Treat every failed record as one fault: if reads or writes of records other than the weight record also fail, the problem is the PLC-to-module data-record exchange itself, and no amount of panel or load-cell work will fix it.
Test it rather than assume it. Point DR_NO at a different valid record with its own proper length, run the same read, and watch the return. If the other record comes back empty or errors too, the exchange itself — block call conditions, module handshake, bus wiring — is the fault surface, and the panel and load cell stay out of scope until it passes. If only the weight record misbehaves, the suspicion narrows to the handling of DR34, and the weight variables on an S7-1200-class CPU have a dedicated walkthrough in resolving SIWAREX WP231 weight variable issues on S7-1215C CPUs.
Why did all four WP231 modules fail the same way? #
Because they run the same program: four WP231 units blanking on the same schedule is one replicated parameter error travelling with every download, not four independent hardware failures, so correct the values once and roll them to all four sites.
The hardware exonerations line up with that reading: the load cell tested good, the module tested good, and the symptom, the empty string and the wrong record values repeated identically on all four units. A component fault does not clone itself across four separate installations on the same clock; a downloaded parameter does. Treat every WP231 on this program as carrying the same wrong online values until a check proves otherwise, verify one unit past the old recurrence window, and only then release the rest.
Does resetting the PLC fix the blank weight? #
Only briefly: a reset restored the weight and the fault returned after a few days on every cycle, so treat a reset as a diagnostic that proves the system restarts healthy, never as the remedy, and record the exchange values before you touch the power.
A reset reinitializes the exchange, which is why the weight reappears, but nothing in a power cycle repairs the value that went wrong — and this fault rode through repeated reset cycles. The case ended solved, but with data logging still unused, so the record never shows what rewrote the values between commissioning and each failure; the correction of the record values remains the only documented fix and the one consistent with the evidence. Enable logging now so the next occurrence leaves a timestamped trail. Safety note: a reset on a running line stops whatever that CPU controls, so schedule the downtime and keep people clear of anything the restart moves.
How do you verify the fix and catch the next recurrence? #
Verify at the DR34 string, not at the panel: with the corrected record number and length online, the string must repopulate with weight characters and stay populated past the few-day window in which the fault used to return, or the exchange fault is still alive.
Run the verification as a fixed sequence:
- Watch the record number and length tags online across a full production week, including shift changes and power cycles, so whatever rewrites them is caught in the act.
- Read a second data record through the same exchange and confirm it returns populated, proving the exchange beyond the weight string.
- Apply a known test weight and confirm DR34 changes and the panel follows within one refresh cycle.
- Keep data logging enabled from the moment the machine returns to production; this case ran without it, which is why the cause was never identified.
- Prove the panel itself against live values, as set out in testing HMI simulation against a live PLC, before trusting the screen as the indicator.
The decision for this case: return DR_NO and DR_LEN to their documented defaults online, confirm DR34 repopulates and stays populated past the old few-day window, keep logging on, and treat any new blank field as an exchange fault to be captured — never reset away.
Questions asked
The WP231 function block is password protected, so how can I diagnose the empty weight string?
You never need to open the block. The ready-to-use SIWAREX project ships with its block protected, and DR34 sits in the instance DB as data, not inside the protected code. Watch the instance DB online and read DR34 and its weight string directly, the same values the vendor support path checks, leaving the delivery protection untouched.
What does a healthy DR34 weight string look like online?
Weight characters between the quotation marks, not two empty quotes. The WP231 documentation defines the unit of weight as a string of up to four characters, such as kg, t or lbs, and the DR34 weight display is an ASCII string built around that unit. While the fault was active the string sat empty even though the load cell and the module both tested healthy.
What should I capture before resetting the PLC when the weight goes blank again?
Four observations, each with a time stamp: the online DR_NO value, the online DR_LEN value, whether DR34 holds characters or empty quotes, and whether a read or write of any other data record still succeeds. The reported case reset first and logged nothing, so the event that rewrites those values was never identified and the fault kept returning.
Can the HMI project blank the weight field on its own?
No. An output field renders whatever its tag holds and has no way to empty DR34 inside the PLC, so this fault cannot originate at the panel. The useful converse runs the other way: if DR34 shows characters while the field stays empty, the tag mapping, the transfer or the HMI runtime is the suspect, and the field link needs checking, not the weighing module.