SIMATIC WinCC
C-script to VB-script Help
Thread Starter: ch0k0pe Started: 6/1/2012 8:59 PM Replies: 1

6/1/2012, 8:59 PM
|
Joined 10/20/2011
Last visit: 5/22/2013
Posts: 19
Rating:
(1)
|
(0)
|
I need help converting this C-script to VB-script.
if(GetTagBit("M700_3_2")==1) SetTagBit("M700_0_2",0), SetTagBit("M700_4_2",1);
Im not very good with VB-script, i tried many ways but i keep getting syntax error. If somebody can help me with this code or sending me a link with a manual for this.
Thanks
|
|
|
|

6/4/2012, 9:45 AM
|
Joined 10/11/2006
Last visit: 5/23/2013
Posts: 1741
Rating:
(77)
|
(0)
|
Hi,
see the WinCC online help chapter Working with wincc > VBS for creating procedure and actions > Exaamples of VBScript > Examples in WinCC > Example: Writing tag valus
|
|
|
|
Actions