Hi everyone,
I'm new to VTScada and currently working on a project to migrate an existing SCADA application from Schneider Machine SCADA Expert to VTScada.
In the existing SCADA, the operator controls use a momentary push button with feedback from the PLC. When the operator presses and holds the button, a command bit is sent to the PLC. When the button is released, the command bit is reset. The button background color and appearance are then updated based on a separate status/feedback bit from the PLC.
I'm trying to recreate the same behavior in VTScada, but I'm struggling to find a suitable approach. The standard Momentary Button widget seems quite limited:
- I cannot find a way to dynamically change the button background color based on a status tag.
- I cannot find a way to adjust the font size of the button text.
- Overlaying a text object on top of the button does not appear to work because the button is always rendered in front.
Unfortunately, I cannot change the PLC logic or PLC behavior, as this is an existing system and only the SCADA is being replaced. Therefore, the solution needs to be implemented entirely on the VTScada side.
Has anyone implemented something similar before? Is there a recommended widget, custom widget approach, or workaround to create a momentary button with dynamic visual feedback (color, text, status indication, etc.)?
Any suggestions would be greatly appreciated.
Thank you.
Hi everyone,
I'm new to VTScada and currently working on a project to migrate an existing SCADA application from Schneider Machine SCADA Expert to VTScada.
In the existing SCADA, the operator controls use a momentary push button with feedback from the PLC. When the operator presses and holds the button, a command bit is sent to the PLC. When the button is released, the command bit is reset. The button background color and appearance are then updated based on a separate status/feedback bit from the PLC.
I'm trying to recreate the same behavior in VTScada, but I'm struggling to find a suitable approach. The standard Momentary Button widget seems quite limited:
* I cannot find a way to dynamically change the button background color based on a status tag.
* I cannot find a way to adjust the font size of the button text.
* Overlaying a text object on top of the button does not appear to work because the button is always rendered in front.
Unfortunately, I cannot change the PLC logic or PLC behavior, as this is an existing system and only the SCADA is being replaced. Therefore, the solution needs to be implemented entirely on the VTScada side.
Has anyone implemented something similar before? Is there a recommended widget, custom widget approach, or workaround to create a momentary button with dynamic visual feedback (color, text, status indication, etc.)?
Any suggestions would be greatly appreciated.
Thank you.