Small Datalogging in S7

PeterJan

Member
Join Date
Dec 2007
Location
Pulle
Posts
3
Hello sirs,
Like I saw on an other place an older but simular tread that was not very clear, I asked you the same of you have an idee or small example how I can on a simple way put data, ex. flow (INT) with DT Timestamp in a DB for ex. 24h.
After 24h I will call with ex. a modem from an other place to read/empty the DB.
Thanks and have a good day.
 
Here's another logger. I've created 31 DBs so the data will be logged in DB1 for the 1st of the month, DB2 for the 2nd etc. so you can leave the data logging and retrieve it within a month.

FB1 uses a 1 minute timer to call FB2 every minute and the integer to be sampled is stored in the relevant DB along with the time stamp in decimal format. I've not used the DT data type in the DB because you cannot monitor it in the DB view when testing. When a new DB is detected, the DB is filled with zeros after which the sampled data is filled in.
 

Similar Topics

...and I agree. Context: TIA Portal/HMI = KTP1200 (12" screen) In the attached redacted image, the values in the white boxes are entered by the...
Replies
10
Views
714
Hi all, I’m new to programming and want to write a simple routine. Push start button, turns on sensor. 2 second delay before anymore logic read...
Replies
1
Views
330
Hi! I'm wondering if PLCs are used for small-scale production. I've got four machines doing different things with textiles, and I'm exploring the...
Replies
16
Views
1,339
I am looking at an application where I will need to detect small hairline cracks in stamped metal parts. The sensing will need to be done in the...
Replies
10
Views
1,142
Anyone know what the little green triangle on SCREEN 3 means ? See picture Thanks
Replies
2
Views
457
Back
Top Bottom