Questions tagged [wincc]

SIMATIC WinCC is a SCADA and HMI system from Siemens that comes with VBScript, VBA and ANSI C programming APIs. Questions should only be tagged if directly related to accessing the WinCC API, ideally including the associated programming language tag to give it context.

SIMATIC WinCC is a supervisory control and data acquisition (SCADA) and human-machine interface (HMI) system from Siemens.

It comes with , and programming APIs.

This tag is specific for questions about the WinCC APIs and should be accompanied by a language specific tag to give the programming language context.

48 questions
3
votes
1 answer

How to get the UTF-8 code from a single character in VBScript

I would like to get the UTF-8 Code of a character, have attempted to use streams but it doesn't seem to work: Example: פ should give 16#D7A4, according to https://en.wikipedia.org/wiki/Pe_(Semitic_letter)#Character_encodings Const adTypeBinary =…
Sarima
  • 749
  • 7
  • 21
2
votes
0 answers

WinCC OLE DB Provider error executing query

So i have been trying to implement a module to access a database which using WiCC OLE DB Provider(Page 22 to 25). I can connect to the database using open method and i also successfully ping the database, but when i execute the query it returns…
Juno
  • 21
  • 2
2
votes
2 answers

Open/Close an external program

Working principle: when a button on HMI (Human Machine Interface) is pressed, it will open an external program. If the same button is pressed again, it will close the program. It works like a flip-flop command. If I use the command "StartProgram",…
2
votes
1 answer

What does Simatic.Simatic.1" mean?

I have the following function in my VBScript which I do not know what the purpose of it is: CreateObject("Simatic.Simatic.1") What does the Simatic.Simatic.1 mean?
Mike
  • 21
  • 2
1
vote
1 answer

How to make nodered opc ua server update its values?

I am trying to use NodeRed OPC UA server on IOT2050 as a gateway between plc and SCADA. I've set up communication to PLC from IOT2050 which gets me values and stores into set node variables. Everything seems to works fine, I've checked with…
Xia Xiue
  • 11
  • 2
1
vote
0 answers

Forcing an open file closed in (ANSI) C

I have a SCADA system (Siemens WinCC Classic 7.5) where there is data exchange between a storage facility and my system, based on text files. Sometimes (very rarely, maybe 1 in 2000) it crashes the connection to the network drives where the files…
mbk
  • 23
  • 3
1
vote
0 answers

wincc advanced rt (v14) to kepware opc server UA via NAT

Kepware opc server (kepware server ex) is running on PC 1. On PC 2 nead to be installed WinCC Advanced RT (v14). PC 1 and PC 2 are not in same network, there is NAT-NAT between it. Which port supposed to be used? tcp udp? Only one port that can be…
petko
  • 11
  • 1
1
vote
1 answer

Cannot loop through array of strings after qsort()

I am slamming my head against the wall with this problem. To summarize: I need to dynamically add strings to an array, sort them, and then check against another string value. This needs to work on a SCADA-system that support C as a scripting…
mbk
  • 23
  • 3
1
vote
2 answers

Need to lookup part data when there are multiple rows of the same part

I have a SQL Table that has parts with their own 2D barcodes. There may be multiple rows of the same part. Each row has a column with the Date_Time stamp. What I need is to get the latest part data and view one of the columns to see if that value is…
TCoopSC
  • 13
  • 4
1
vote
0 answers

WINCC and SQL adding new elemnt in table

I've created a project in WINCC where i create table(examples are at bottom) and then put values of temperature transmiter in it, in cycles of one second. My problem is that after some time new data doesn't go on bottom in table, it goes randomly in…
1
vote
1 answer

Export real-time data from scada wincc to google sheets

Is there a way to connect realtime data from wincc scada to google sheets?
1
vote
3 answers

Siemens WinCC VBscript to Mysql

Wondered if any one can help with the following problem. I am using a Vbscript within Siemens WinCC. When I activate the script and the "lngValue" variable contains a string with letters "BC" it displays an error when trying to insert into…
Stephen Weir
  • 11
  • 1
  • 2
0
votes
0 answers

Set up Reversed Proxy in Internet Information Service to reach Webbrowser on a PLC from WinCC Unified

i need to set up a reversed proxy to reach a Webbrowser of a PLC (Win CC Unified). The problem is that im not able to change Server header rules for "X-Frame". I found a lot ot tutorials but i was not able to set up the reverse proxy…
0
votes
0 answers

WinCC V7.5 runtime key combination

Is there a possibility to find out which WinCC picture (PDL) is shown in WinCC runtime? I tried ctrl-alt-shift but it does not work in my runtime
0
votes
0 answers

How can I fix the 'Some installed products need licenses' error during Siemens TIA Portal STEP 7 Professional V15.1 installation?

I'm trying to install Siemens TIA portal, but get a setup error. The setup states that "Some installed products need licenses", but shouldn't it just work with a trial license? The specific version I have is: TIA Portal STEP 7 Professional V15.1. I…
azafrak
  • 1
  • 1
1
2 3 4