8/10/2016 10:36 PM | |
Joined: 9/27/2006 Last visit: 9/10/2024 Posts: 12282 Rating:
|
Hello Aziz; It always has been difficult to use the S7-300 for data logging, without external connections. Specially if you would like to timestamp your values the internal datablocks become saturated very quickly. You woiuld need to calculate the number of variables you wan t ot log, the size of ech sample, the frequency of the sampling and the length of time you would like to log, before you determine the minimum size of a DB in the PLC ,memory. and you would need an application to read out htese data to make spaceavailable in the pLC memory at regular time. You could connect your PLC to an external data log holding space; for example an HMI with logging properties, or to a SQL database on a PC, using OPC or TCP/IP. Look at this link for an example: https://www.youtube.com/watch?v=bltsB07DOT0 But unless your project hardware is unchangeable, I would examine the use of a S7-1200 CPU, relatively cheap, with datalogging capacity..It would be much simpler: Sample program: S7-1200 and Datalog https://support.industry.siemens.com/tf/ww/en/posts/57715/ Hope this helps, Daniel Chartier |
Last edited by: dchartier at: 8/10/2016 10:37:20 PMLast edited by: dchartier at: 8/11/2016 8:07:33 PM |
|
This contribution was helpful to
3 thankful Users |
Follow us on