create Multi tags di Wonderware.
1. create 2 tag : indBP dengan type Memory message \\nama tag tergantung selera
indbypass dengan type Indirect Discrete \\nama tag tergantung selera
2. create new quick functions dengan script :
indbypass.Name = NewIndirectTagName;
di kolom arguments,deklarasikan "NewIndirectTagName" dengan type "Message"
3. Di kolom function,masukkan tag indBP
4. di tombol button bypass,di "action",masukkan script(on left/key up):
CALL indBP( "bypass"); //tagging yg akan dipanggil
IF indbypass.Value==0
THEN Show "popup - Bypass Confirmation" ;
ENDIF;
IF indbypass.Value==1
THEN Show "Popup - Bypass Remove Confirm";
ENDIF;
Di "Discrete",masukkan tag yg akan dipanggil.
5. popup - bypass confirmation :
tombol yes,masukkan script:
indbypass.Value=1;
HideSelf;
tombol abort,masukkan script:
{IndConfirmation.Name = "" ;}
HideSelf;
6. popup - bypass remove confirm :
tombol yes,masukkan script:
indbypass.Value=0;
HideSelf;
tombol abort,masukkan script:
{IndConfirmation.Name = "" ;}
HideSelf;