Industry Online Support
Technical Forum
8/30/2010 9:20 PM | |
Joined: 3/21/2006 Last visit: 4/25/2024 Posts: 10228 Rating: (1181) |
Hello, My suggestions are Online Data Acquisition and Offline Data Analysis Best regards, Hristo Mihalev |
8/30/2010 9:24 PM | |
Joined: 9/27/2006 Last visit: 5/26/2024 Posts: 12257 Rating: (2668)
|
Hello danac; A lot will depend on the power and memory range of your CPU; you are using the smallest compact CPU offered by Siemens (S7-312C) so you might be stretching the capacity of your PLC a bit... Basically, I would create a DB specifically to register the values cyclically, and treat it as a FIFO stack. Use a cyclic OB (OB35, set at 100ms) to capture the value you want, and place it at the top of the FIFO DB (look at the table functions FIFO-Load, for example, in the TI-S7 conversion library. Then whenever your FIFO DB is full, copy the whole DB (with SFC20 BLKMOV) to a Source DB createdfor OPC exchanges, and use OPC to connect to Excel.You will need to connect using a CP 5611 card (or something in that order) and load the Simatic Net OPC server driver. Here are a few OPC FAQs that should show you how it is done: http://support.automation.siemens.com/WW/view/en/23485970 Then erase the contents of the FIFO DB (using SFC21 FILL)and start over again. See how much memory you have left at this time in your CPU, and understand that what you are asking is memory-intensive, and ressource intensive. It might very well be impossible to do with your machine. Hope this helps, Daniel Chartier |
Last edited by: dchartier at: 8/30/2010 9:26 PM |
|
Follow us on