I have a big trouble in save a Tag value to csv format in WinCC 5.0 SP2 . The case is : I use WinCC 5.0 SP2 connect to a S7-400 by industrial Ethernet . I have a Tag ( DB100.DW0) which is in raw datatype. Now when I change the tag value in WinCC, S7 can receive this change well . Now I want to save this Tag value in csv format , and want later load it back to WinCC , expect it should update the tag value (DB100.DW0) with the saved value.
Now problem occur, because I think all changes will update the WinCC Sybase .db database file, so I create an application by PowerBuilder 9.0 to read the Tag value and save it to csv.
But then I discover that WinCC will only update the db when the tag name change, not when the tag process value change. So my application is no use, because I get information from the .db / RT.db of WinCC, if the database is not updated, then all the save information are wrong.
Now I find some inform about creat an OPC client (Excel) to record the tag value from OPC Server (WinCC). I follow the script showed in "OPC.chm " file of WinCC, but it doesnot work.
"Dim MyOPCGroupColl As OPCGroups" <--- say line not define
Can any WinCC Expert help me urgently ?
Please contact me [email protected] / or [email protected], for more detail.
Now problem occur, because I think all changes will update the WinCC Sybase .db database file, so I create an application by PowerBuilder 9.0 to read the Tag value and save it to csv.
But then I discover that WinCC will only update the db when the tag name change, not when the tag process value change. So my application is no use, because I get information from the .db / RT.db of WinCC, if the database is not updated, then all the save information are wrong.
Now I find some inform about creat an OPC client (Excel) to record the tag value from OPC Server (WinCC). I follow the script showed in "OPC.chm " file of WinCC, but it doesnot work.
"Dim MyOPCGroupColl As OPCGroups" <--- say line not define
Can any WinCC Expert help me urgently ?
Please contact me [email protected] / or [email protected], for more detail.