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
0
votes
0 answers

Incorrect value from .NET DTpicker

I am using a .NET DTPicker in WinCC 7.5 SCADA The result from the DTPicker in incorrect. When I pick 1. March 2023 the return value is 2023-01-03, not what I expect. When I pick 16. March 2023 the return value is 2023-03-16, what I expect. When the…
jthyge
  • 29
  • 4
0
votes
2 answers

How to get Cloud Connector Menu at Wincc 7.4 Explorer

I am new in Siemens Wincc 7.4 Explorer. While when I used WinCC 7.5 there is a option to connect cloud server using MQTT client. While using WinCC 7.4, I am not able to found the option to connect to cloud. Is there is any way as how to get the…
Pokhraj
  • 13
  • 4
0
votes
2 answers

Auto-change IP address in WinCC Professional

I have a project on WinCC professional where Two PLCs (S7-300) are connected to a PC station via Ethernet, one is master and the other one is a Standby. when a switchover happens, the WinCC must change the ip address so it reads from the standby…
EngMu
  • 1
0
votes
0 answers

Browseforfolder window stays underneath

I work with Siemens WinCC and it offers the possibility to run simple VBS code. I have managed to open a folder selection window through "BrowseForFolder" but this window is below the SCADA that executes it, which is also executed full screen and…
SpNav
  • 1
0
votes
0 answers

Upload images to WinCC Unified from database in RunTime

Hello I have a question about uploading images to WinCC Unified V17 from my external db. The database contains the file path of the images. According to the following product, a specific image need to be chosen from the database and will be shown on…
EYI
  • 1
0
votes
1 answer

Writing from a WinCC recordset

I have a working script that reads WinCC DB and writes data into a CSV file with two columns (1 timetag and 1 value). path = "C:\HMI\Report\Report.csv" 'creating csv file Set fso = CreateObject("Scripting.FileSystemObject") If fso.FileExists(path)…
Aleksandr
  • 1
  • 3
0
votes
2 answers

SQL Server (WINCC) does not exist

I'm really in trouble having Wincc RT Professional running on my computer. It has consistently come with an error "Compilation not possible. the "WinCC" SQL instance is either not running or not available" anytime I compile it. I searched that it…
Thanh Nhon
  • 23
  • 1
  • 7
0
votes
1 answer

What may be the cause of the following error on python OPC UA server with SCADA client?

Here is the code for setting up OPC UA Server: import sys from opcua import ua, Server server = Server() server.set_endpoint("opc.tcp://127.0.0.1:4808/") server.set_server_name("ServerOPC") uri = "http://server" idx =…
Victoria
  • 395
  • 3
  • 13
0
votes
1 answer

Can I eliminate VBS duplicated code via a global script?

I'm not overly familiar with VBS and not sure how to best approach this. I've got this basic code to work whereby when a value from a machine >= 100 it send out an email. The WinCC triggers this script whenever the tag value changes. Now, I want to…
Mark Lee
  • 13
  • 5
0
votes
1 answer

How to insert a dynamic view of PLC (As in a IHM Siemens) into Qt (PyQt + Qt Designer)

I'm designing a GUI which will treat data received from a PLC S7-1200 or S7-1500. I Have the STEP 7 v16 License and designed IHM's view for my system (Basically pumps, tanks of water and sensors). I have done this with Qt Designer and PyQt I would…
0
votes
1 answer

Remote connection to SQL Server is not updating data

I have 2 virtual machines for testing purpose. Machine 1 Windows 7 SP1 (Script Machine) has a SW (Siemens TIA v15 to be specific) that runs a VB script and MS SQL Management studio set up. Machine 2 Windows 10 (DB Machine) has MS SQL Server…
Mr.E1987
  • 1
  • 1
0
votes
1 answer

Connecting WinCC OPCUA Server using sign and encryption techniques using free OPCUA Python Client Code & Basic256Sha256

**I am trying to connect a WinCC OPCUA Server enabled with Basic256Sha256 with Sign&Encrpyt. How to generate / get the .der file on / from WinCC and the .pem file from the WinCC ? WinCC OPCUA Server is deployed on AWS Windows EC2 Instance.** What…
0
votes
0 answers

Call of CheckTokenMembership Always Fail (return value always False) - Call from SCADA (WinCC)

I would like to write a function to check if a given user is member of a group, in C language (it is based on a code which I found on stackoverflow How to programmatically figure out if a user account is a member of a particular group in Windows?).…
0
votes
0 answers

Custom solidGauge C# .NET

Specifically, I am trying to build the image on this I am programming in C # .NET and design a graphic in Adobe XD and I can not pass the same to visual studio, keeping the style. Use nuget LiveCharts in WinForm…
0
votes
1 answer

SQL parameterized insert query

I'm trying to use the parameterizartion to prevent SQL injection in one of the textbox in the HMI I working with. Have looked a lot for a solution what I gathered is depending on what SQL syntax there is I can use either ? or @ to tell the system…
Lime3003
  • 123
  • 4
  • 17