How to store a WinCC table in an SQL table

userxyz

Member
Join Date
May 2002
Location
any
Posts
2,768
Hi,

As you all know we can work with the recipes in WinCC Advanced/flexible. To build some kinda batch system, this can be done. In the background a recipe file is build (ldf I think) to store the table/records in there.

But let's say I want to store a table visualised on a WinCC Advanced view to an SQL database table as a record. is that the way to do it or am I making thinks weird ?

let's say you have 12 records with parameters like temperature, time in, time out.

Looks like this for example:

unit 1 , 0 , 0 , 0
unit 2 , 0 , 0 , 0
unit 3 , 0 , 0 , 0
unit 4 , 0 , 0 , 0
unit 5 , 0 , 0 , 0
unit 6 , 0 , 0 , 0
unit 7 , 0 , 0 , 0
unit 8 , 0 , 0 , 0
unit 9 , 0 , 0 , 0
unit 10 , 0 , 0 , 0
unit 11 , 0 , 0 , 0
unit 12 , 0 , 0 , 0

If I want to write this in SQL in one trigger, then I have to see each variable as a column, Am I right ? Putting all in one record. I think Recipes of WinCC Adv. works also like this.

How do you guys see this ?

Or should I write each record indiviually so that I see this in a real table like above. What's the most logic way to work and is it done to write a complete batch / table at once to a SQL DB ?

Thanks in advance,

Kind regards,
Gerry
 

Similar Topics

Hello! I lock alarm by push Lock button in WinCC alarm control, but after restart all locks go away. How lock alarm (may be by script) again...
Replies
2
Views
2,239
Hello, On an MP377 we made a recipe screen. All recipes are stored in DB's. A recipe is called by number. This number is used to call the right...
Replies
4
Views
4,955
I'm running into a problem when trying to use the RSLinx Backup Restore Utility where it throws an error when it tries to restore a backup. The...
Replies
6
Views
665
Hi y'all I have a KTP400 connected to a s7-1200. Now i have on my screen the encoder value which comes from my SEW movitrac. under there I have...
Replies
2
Views
425
This was asked in another forum and taken down due to being a 'backdoor', but this has useful info that might be useful to someone in a pinch. I'm...
Replies
6
Views
641
Back
Top Bottom