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

Confirmação secundária do WinCC

2017-03-29View Original

Thread Content

Como criar um botão de confirmação em WinCC? Ao clicar nesse botão, é exibida uma pequena janela com as opções “Confirmar” ou “Cancelar”. Se clicar em “Confirmar”, o motor é acionado; se clicar em “Cancelar”, a janela desaparece! Como fazer sem o script C? Esqueci de pedir a orientação do grande mestre
Reply #22017-03-29
VB: If MsgBox("Deseja iniciar o motor?", vbOKCancel) = vbOK Then PosiçãoDoMotor = 1 Else PosiçãoDoMotor = 0 End If
Reply #32017-03-30
Não sei se há algum pequeno problema, hein… “else …=0” – esse ramo fará com que o motor pare de funcionar, não é? Melhor não usar isso.
Reply #42017-03-30
Botões de partida e parada diferentes: confirmação de ação quando há movimento, sem ação quando não há
Reply #52017-03-31
Lembro que o software tem um botão de confirmação secundária, certo? ? Pode ser chamado por meio das opções

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.