S7-1200 Datalogging example

grnick50

Lifetime Supporting Member
Join Date
Nov 2010
Location
Ptolemaida
Posts
332
Hello all,

A client wanted to datalog 4 analog signals with a sampling rate of 100ms. I wrote a program in V14 that can do the following:

Define the Datalog characteristics (Sampling rate, No of records & No of Logs). Estimate the Datalog size on the memory card. Delete all files on the memory card. Choose up to three DI as conditions to Enable the Datalog.
Setup the analog signals. Select which AI to pass to AQ (customer requirment). Launch the PLC Webserver. A few System settings.
The program is written in V14 and I have a TP700 and Advanced RT integrated in the project.

The file was large and the PLCtalk does not allow me to upload so here is a dropbox link:
https://www.dropbox.com/s/kmu7txn2w1yy0st/myDatalog.zip?dl=0

Regards

Regards.
 

Similar Topics

I have some datalogging set up on an S7-1211. Most basic controller, but 1MB of memory should be enough. A single log is 222 bytes and logs an...
Replies
3
Views
442
Hello, I have a question about an encoder that has absolute measurement. Specifically, it's the Lika SMA5, which I would like to connect...
Replies
2
Views
61
Hello, I have a question about an encoder that has absolute measurement. Specifically, it's the Lika SMA5, which I would like to connect...
Replies
0
Views
37
Hi all, Currently having trouble getting a speed reference to write over modbus to an Omron M1... I can successfully write a run command and...
Replies
6
Views
289
HI i would like to know how to get a variable that will store the amount of times a program has been executed. The issue is I have 3 DBs for 1 FB...
Replies
2
Views
107
Back
Top Bottom