IMDTouchKnowledge BaseShop main store

Troubleshooting

Why a V700 recipe string repeats on the panel but not remotely

HMI and touchscreens Published 7 min read By IMDTouch engineering team

Short answer

When the V700 panel repeats row 0's recipe string while a remote session shows the right text, the data is fine and the display-refresh request is being erased: several regular coils write the same link bit, and each false rung writes it off in scan order. Replace those regular coils with Set coils; the panel O/S resets the bit itself when it redraws the string.

On this page
  1. Why does the panel repeat one recipe string while a remote session shows the right text?
  2. How do you prove the recipe data and the working string are correct?
  3. What does the string element's refresh link actually do?
  4. Why do several regular coils cancel the refresh request?
  5. How should the ladder drive the refresh bit instead?
  6. How do you verify the fix on the panel?
  7. Questions asked

When a recipe string entered in row 0 reappears in every row you scroll through on the V700 touchscreen, while a Remote Operator or Remote Access session shows the correct text, the recipe table is not corrupt and rebuilding it will not help. The panel's string element is never told to redraw: several regular coils writing the string-refresh bit clear each other's request in scan order, so the bit is off again before the panel's operating system services it. The fix is to replace those regular coils with Set coils and let the O/S reset the bit when it redraws. Below is how to prove which side is stale, the scan arithmetic that causes the repeat, and the bench test that confirms the repair.

Why does the panel repeat one recipe string while a remote session shows the right text? #

The stored recipe rows are almost certainly fine: the remote session proves the controller holds different strings, so the fault sits in the panel's display-refresh path, where competing regular coils erase the request before the string element redraws. Trace it through the three-stage path the string travels: the saved row in the data table, the working operand the element reads (an ML in this application), and the text object that paints that operand on screen. A fault in the last stage makes different rows look identical while their stored contents stay different — which is exactly what the remote session exposes.

In the reported application, a 100-row by 21-column recipe table had one string column linked to an ML 20 characters long. Entry, saving and row navigation all worked, every numeric column updated correctly on the panel, and both remote sessions showed the right strings for every row. Only the panel's string column kept repeating whatever text had last been saved in row 0. The environment was VisiLogic 9.9.0 Build 0 with a V700 O/S 4.12 (38), HDW version A.

The strongest single observation is simultaneous: change a string from the remote session while watching the panel. The remote window shows the new text and the panel keeps the old one during the same controller operation, so the disagreement is inside the display path, not between tests run with different table contents.

How do you prove the recipe data and the working string are correct? #

Monitor the ML operand the string element is linked to while you select rows on the physical panel: if it changes to each row's text while the screen keeps repeating row 0, the data path is proven good and the fault is isolated to the refresh request. Run the check with online monitoring open and the panel in front of you:

  1. Load rows 0 through 3 with visibly different strings, for example MIX-A01, MIX-A02, MIX-A03 and MIX-A04.
  2. Open the online monitor for the ML operand named in the string element's data link.
  3. Select each row in turn on the panel and watch the row-index value change.
  4. Confirm the ML takes the selected row's text after the table read executes.
  5. Write down what the screen shows at that same moment.

Two outcomes end the search in different places. If the operand changes and the screen repeats, go straight to the refresh link and its writers. If the operand does not change, the fault is upstream: check the table read's execution conditions, the row-index operand and the destination operand before touching any display logic.

Keep saves out of the test until you know which side is stale. If the working operand were the stale one, a save would write old text over a good row and turn a display fault into real recipe damage.

The Link field in the string element's properties names an MB bit that the panel's operating system watches: when your logic sets that bit, the O/S redraws the element with the current operand contents and then resets the bit itself. VisiLogic's help documents that O/S reset, so your ladder's only job is the set. Two settings in the element's properties are easy to confuse:

Setting or operand Where it lives What it decides
Data link String element properties Which controller operand the text object reads
Refresh/reset Link String element properties Which MB bit requests the redraw
The link bit's writers Ladder cross-reference and online monitoring Whether the request survives the scan
Table-read rung Recipe navigation logic When the selected row's string reaches the working operand

If the Link field is blank, there is no refresh request to service — bind it to a free MB bit first. In the reported application the link was MB 143 and was already configured; the binding was right and the writers were wrong. If your link names a different bit than your navigation logic writes, correct that binding before anything else. A valid link cannot refresh anything while ladder execution removes the request before the HMI handles it.

Why do several regular coils cancel the refresh request? #

A regular coil writes its rung's result every time it executes, so every inactive event rung also writes 0 to the bit; one true rung cannot keep the request alive past the false rungs that execute after it in the same scan. Three coil types can write one bit, and only one of them is safe here:

  • A regular coil assigns the rung's Boolean result on every execution: true writes 1, false writes 0.
  • A Set coil writes 1 when its rung is true and writes nothing when false.
  • A Reset coil writes 0 when its rung is true and writes nothing when false.

Reading the bit in several places is harmless; writing it is what matters. Run the program cross-reference on the link bit and list every writer — regular coils, Set coils, Reset coils, and any vector or indirect write that can reach it.

Worked example: four event rungs, executed in this order, all regular coils on MB 143, with the row-0 save the only true rung this scan.

Scan order Event Rung result Coil writes Bit after the rung
1 Row 0 string saved true 1 1
2 Row 1 event false 0 0
3 Row 2 event false 0 0
4 Row 3 event false 0 0

The request lives only from rung 1 to rung 2. The O/S samples the link bit on its display cycle, finds 0, and the string element keeps painting row 0's text. Swap in Set coils and the same scan runs differently: rung 1 sets 1, rungs 2 through 4 are false and write nothing, so the end-of-scan value is 1 + 0 + 0 + 0 = 1. The O/S finds 1, redraws with the selected row's text and resets the bit for the next request.

Which rung wins depends on scan order and on which program sections execute, so the symptom can follow particular rows or particular sequences — that inconsistency is itself a sign that writers, not data, are the problem.

How should the ladder drive the refresh bit instead? #

Replace every regular coil on the link bit with a Set coil, leave the reset to the panel O/S, and make sure nothing else still writes 0 to that bit on a false condition. Work through it in this order:

  1. Cross-reference the link bit and list every write to it.
  2. Change each event rung's regular coil to a Set coil.
  3. Delete Reset coils on that bit unless a specific part of the logic must cancel a request; the redraw reset belongs to the O/S.
  4. For a single request point, have the event rungs Set private event bits, then add one rung at the very end of the program that ORs those bits, Sets the link bit once and Resets the event bits. Nothing downstream can then clear the request within the scan.
  5. Download and watch the bit online: 0 at rest, 1 on an event, 0 again after the redraw.

The coil behavior is documented ladder semantics, not a firmware quirk, so the same scan arithmetic applies in any project that drives one link bit from several regular coils.

How do you verify the fix on the panel? #

On the bench, edit and save a string in row 0, then select rows 1 through 3: each must show its own text on the physical panel, and the link bit must pulse to 1 on each change and rest at 0 between requests. Complete the whole list before you trust the machine with it:

  • Select the first four rows in turn; the screen text matches the stored row text every time.
  • Jump to the last row of the table and back; the string follows.
  • Change a string from a remote session while watching the panel; both show the same text at the same time.
  • Change a string, save it, leave the screen, return, and confirm the row holds what you saved.

If every line passes, deploy the change. If the string still repeats, one of two things remains: the Link field is not bound to the bit your logic writes, or the cross-reference is hiding a writer. Recheck both before you touch the table — the recipe data was never the problem.

Questions asked

Why does a remote session show the right strings when the panel does not?

The remote session displays the controller's current operand values without depending on the panel's link handshake, so correct remote text is exactly what you see when the data path is good and only the local refresh is broken. Remote sessions also handle keys and pop-ups differently from the physical unit, so never sign off a screen fix from a remote session alone; confirm it on the panel.

Is MB 143 a fixed refresh bit reserved by the V700?

No. It is simply the bit the reported program entered in the string element's Link field; any free MB bit works the same way. Pick one, note it in the project documentation, and cross-reference it before reusing it anywhere else, because every extra writer to that bit is another chance to recreate this fault.

Should the event rungs also use a negative transition contact?

For keypad and screen-event triggers it helps. A negative transition contact passes logic for one scan after the key is released, which gives the panel time to finish loading the screen before the request is made. Combine it with a Set coil on the link bit: the one-scan pulse sets the request, and inactive rungs still write nothing.

What happens if two Set coils fire in the same scan?

Both write 1, so the request survives and a single redraw picks up both changes; nothing is queued or lost. The O/S resets the bit after the redraw and the next event sets it again. The redraw always paints the operand's current contents, so overlapping requests cost you nothing.

Should you rebuild the recipe table to fix the repeated string?

No. A rebuild is justified only when the stored rows themselves are wrong, and a remote session showing different strings proves they are not. If you ever suspect the table, export or back it up first and compare the saved rows; finding identical text stored where you entered different text is the one condition that justifies rebuilding, and even then fix the refresh logic too.

Keep reading

  • Troubleshooting

    Why a WebIQ Project Link Loads on the PC but Not the HMI Screen

    No universal WebIQ link exists: a browser HMI loads only when the screen has a routed path to the WebIQ server, at http[s]://{SERVER HOSTNAME OR IP}:{LISTENER PORT}/{FOLDER NAME OF PROJECT}/. When the link works on the PC but not the screen, fix the address, subnet, listener binding or routing — in that order.

    HMI and touchscreens

  • Troubleshooting

    Why an HMI sends email in simulation but not from the panel

    Email that leaves from PC simulation but never from the physical panel means the project logic works and the panel's own send path is broken. Work the panel's chain in order: count and send condition, gateway, DNS and mail-server reachability, then the deployed project's email options, changing one option at a time. In the case behind this pattern, one checked option in the panel's email settings was the entire fault.

    HMI and touchscreens

  • How-to

    Displaying a Do-More String on a C-More EA9 Panel

    Use the C-More EA9 Dynamic Text object bound to the Do-More short-string tag, and give it a trigger tag that is on whenever the text should update: ST1, the always-on Do-More system bit, works immediately, while a page C-Bit set on at page open and off at page close in the Event Manager ties the display to the open screen.

    HMI and touchscreens

Show an HMI Button Only When a PLC Bit Is High