How to use tags in WinCC script

Prince

Member
Join Date
Jun 2002
Posts
284
I am trying to insert some Wincc tags value into a SQL server. for this I firstly defined an sql connection and I've tested inserting rough values with a simple SQL tag like:

strSQL = "INSERT IGNORE INTO Test (T1,T2) Values (3,4)"

I saw that I can use variables in this SQL cmd

const d = 5
strSQL = "INSERT IGNORE INTO Test (T1,T2) Values (" & d & ",4)"

how should I use Wincc Tags instead of this variable.
 

Similar Topics

Greetings I have a problem, my system is the following: wincc v8.0 (demo), logo8.3, abb m2m analyzer. I created some pages to display the...
Replies
0
Views
63
Need to add new tags to some recipe inside a Wincc Tia Hmi . Do we have an option to download the recipe , with the newly added elements ...
Replies
0
Views
244
Hello, I just started learning WinCC V8.0 3 days ago, so I'm still new to how everything works in this program. I've created a pop-up with a...
Replies
2
Views
682
Hello, I would like to add some tags to a working project but I cannot see the tags displayed on the runtime. The first two are of type float...
Replies
2
Views
2,313
Hello all, I am trying to connect an existing Siemens WinCC SCADA to a new machines S7-1200 PLC. I have connected anpther 1200 and a 1500...
Replies
2
Views
2,876
Back
Top Bottom