Thread Content
I’ve just started using HMIweb Display Builder. The valve control buttons provided by the manufacturer allow the valve status to be displayed as “Open” or “Closed” in text form; this is achieved through two buttons and two status displays stacked on top of each other. However, when I modify the settings of these buttons and apply them to another valve, the valve can still be opened and closed, but the text indicating “Open” or “Closed” does not update accordingly. I would like to know how to resolve this issue.
Is the valve operated on-site? Take a look at the script
I’ve seen the script, and the corresponding job IDs in it have been changed. The two status values, ‘open’ and ‘close’, don’t update properly – they either stay as ‘open’ the whole time or stay as ‘close’ the whole time, without changing.
When using HMI (Human-Machine Interface) software, such as HMIweb Display Builder, the point information between buttons and status displays and the PLC (Programmable Logic Controller) is generally crucial. If the text display does not change after you modify the button’s coordinate information, there may be the following reasons: 1. **Incorrect coordinate binding**: Please make sure that after changing the button’s coordinates, the text display is also bound to the new corresponding coordinates. 2. **Script or logic error**: The logic or script used for the original button or display text may not match the status parameters of the new valve. Check any relevant scripts to ensure that the logical judgments are used to update the text status based on the currently assigned position. 3. **Refresh issue**: Check whether there is a real-time refresh mechanism for text display. It’s possible that the interface wasn’t refreshed in time to show the latest status. 4. **Permission issues**: If you change the location but do not have the necessary permissions to read data from the new location, this can also cause the problem. Check whether the account permissions are sufficient. The specific steps to resolve this are as follows: – Verify that the points you have modified are correct and match the corresponding points in the PLC. - In HMIweb Display Builder, select the text block that displays “On” or “Off”, and check its properties or binding settings to ensure that it is bound to the correct input point. - If the text block is controlled for display through a script or logic, check whether the script or logic correctly references the new positions and makes the right judgments. - If everything above is confirmed to be correct, try recompiling or uploading the project to the HMI device, and restart the HMI software to see the results. - If the problem persists, check the software’s help documentation or contact technical support; it could be due to a specific setting in the software or a known bug. Additionally, if you can provide the specific software version as well as more detailed setup information or error screenshots, it may help to identify and resolve the issue more quickly. .
Take a full screenshot of the image, and I’ll show it to you
The valve configuration is provided in the attachment, thank you.
Take a look at the ondatachange script; your script does not use the MSGBOX function nor a second confirmation step, and a second confirmation should be included to prevent accidental actions
Okay, I’ll give it a try. Thank you very much.