(1)| 5/14/2021 10:41 AM | |
|
Joined: 10/10/2014 Last visit: 1/21/2026 Posts: 1725 Rating:
|
Hi MikeApp The is no possibility to modify the cycle in your wincc to 100 ms. Best regards schufri |
| 5/14/2021 10:43 AM | |
|
Posts: 7298 Rating:
|
Hello MikeApp, there is an ODK-function "TLGInsertArchivData", which you can use
Georg Berghof AttachmentTLGInsertArchivData.pdf (513 Downloads) |
This contribution was helpful to
|
|
| 5/26/2021 1:59 PM | |
|
Posts: 11 Rating:
|
After some days, I have made the FIFO and the C-Script in WinCC. The FIFO is working nicely, but I have a problem with the script. When I call the function TLGInsertArchiveData I get an error, but when I comment that function, the rest of the code works correctly. My guess is that some parameters that I pass to that function are not correct, but I'm not sure about that. I have attached the code I used (code.txt), an image of the output I get (output.jpg) with an example without TLGInsertArchiveData (so there's no error) and another calling that function (with the error). In the output can be seen the parameters I pass to the function, too. I have also attached ArchivName.jpg and VarName.jpg where my Tag Logging configuration can be found with the signal I am trying to save (for VarName, I have tried both "Process Tag" and "Tag Name", but with the same result). Also, I have attached SQL_Archive.jpg, where it can be seen the signal I want to save in the SQL Table "Archive", where its "ValueName" can be seen. Does anybody have any idea where the error could be? PS: In the end I pass the date and time from the PLC as separated parameters, since I lost the milliseconds as TimeStamp (which is crucial to have in this case). Thanks, Mikel AttachmentTLGInsertArchiveData.zip (279 Downloads) |
Follow us on