8/29/2023 12:35 PM | |
Joined: 8/8/2022 Last visit: 9/11/2025 Posts: 26 Rating:
|
Having issues with recipe retrieval via WinCC 7.4 and SQL. On the floor I have a HMI A TP1500. When the button is pushed it activates a bit on the PLC which the WinCC 7.4 server monitors when set it calls a VB script which will calls a stored procedure on a SQL server (generates recipe) and read the results and forwards it to the PLC. Up until the other day we were bringing in only a partial recipe due to a missing parameter. I worked with IT and the generated a script to add the missing value. After making the change on SQL if I do a query for the recipe I see the full recipe for the WO on SQL. When I do a recipe request I receive the wrong information now. It brings in the same information for all fields no matter the recipe and it's the incorrect data. It's not what is in the recipe. The one that stands out the most is are the following Borer3_Rec_Qty Borer3_Rec_Dia The original problem was that there wasn't a value for Borer3_Rec_Bor so it would never calculate the Spd and Fd. It does now and the SQL recipe is correct. Now that the recipe is correct now it brings in all the wrong data and it is consistent amongst all machines. Each machine runs it's own script. I am awaiting a chance to reboot the WinCC server to see if that fixes the problem. If it does not I am at a loss of what the issue is. AttachmentPublic Function Borer3Recipe.txt (307 Downloads) |
Follow us on