HCBBS Forum (English)
Submit Chemical Projects / Find Solutions
Amplify Your Requirements on a Broader Chemical Platform *Engineering · Technology · Equipment · Solutions*
Submit Request

WinCC secondary confirmation

2017-03-29View Original

Thread Content

In WinCC, how can I create a button for secondary confirmation? When this button is clicked, a small window appears with options for Confirm or Cancel; clicking Confirm starts the motor, while clicking Cancel makes the window disappear How can it be done without a C script? I hope the great master can offer some guidance
Reply #22017-03-29
VB: If MsgBox("Start the motor?", vbOKCancel) = vbOK Then Motor_Start_Position = 1 Else Motor_Start_Position = 0 End If
Reply #32017-03-30
I’m not sure if there’s a small issue here; with else....=0, that branch will cause the motor that was running to stop, so it’s better not to use it.
Reply #42017-03-30
Press the start/stop buttons to confirm whether there is an action; if no action occurs, then there is no response
Reply #52017-03-31
I remember the software comes with a secondary confirmation button, right? ? It can be called through options

Submit a Project

**Looking for Chemical Technology, Equipment & Solutions?** No Registration Required Broader Platform Exposure | Global Chemical Service Provider Connections

Submit Request — Free Consultation

Disclaimer

This is an automated machine translation of the original thread. Some technical terms may have inaccuracies; the original text shall prevail. Click "View Original" at the top right to access the source page, which supports IP-based automatic real-time language translation. Please watch out for contact details and sales inducements to prevent fraud. All content and translations are for reference only, representing solely the poster's personal views. For enquiries, email service@hcbbs.com.