plc internal data saved upon tag event

Kataeb

Member
Join Date
Jan 2007
Location
www.livelovelebanon.com
Posts
636
Kindly, we are having a problem on a machine during night shifts, while no engineering tool is online.

So, we were thinking of programming some kind of internal data acquisition, inside the plc, which will save the last hundred or thousand values of some tags, starting from the problem and backward in time.
The plc will keep them in its memory.
Then, when the engineering team arrives in the morning, they can check the data which was saved just before the problem happened.
Ideally they will see it as a trace or trend.

Is this feasible with the following hardware?

6ES7515-2TM01-0AB0 , 6ES7954-8LL03-0AA0 , 6SL3040-1MA01-0AA0 , 6SL3054-0FB01-1BA0-Z F02 , 6FX2001-5QN25 , 6AV2123-2GB03-0AX0 , 6ES7155-6AU01-0CN0
 
You can program this but you can't go back in time...you would need to already be recording the data up to and including the time of the event. The amount of data you can record would be dependent on the data types, the number of points, the sample rate to record, the duration to record, the current use of available memory, etc. Easiest method is to create static arrays large enough to hold the data you need. It looks like you have CF memory cards listed in your parts. There may be a means to periodically write the data to the CF card and reset the arrays to keep them smaller, if memory is an issue. I'm not an S7 guru, so one of the other more esteemed members versed in s7 will chime in.
 
Seeing that this is a Siemens 1500 you could setup a trace that triggers on an event with pre-trigger samples and then save that to the memory card.

I agree. Try to set up a Trace. Just be careful that the PLC memory usage is not close to capacity, because Traces use memory
 
Adding another vote for using the Trace function inside Portal. It triggers in the PLC, saves it in a buffer (or on the memory card), and then Portal can look at it later, with graphs and everything.


you COULD roll your own, but the built in tool is really good, so please don't.
 

Similar Topics

I could use some help programming a red lion HMI. What I am looking to do is have page where a set up guy can insert 10 parameters that would be...
Replies
7
Views
2,367
Alright, I haven't been here for a while (co-op ended, I'm back in classes, and I've been preoccupied with a bunch of other stuff), but I've got a...
Replies
22
Views
11,573
Hello people, I wonder if internal cold junction compensation in Ai card of PLCs (Siemens, AB etc.) means that when using thermocouple, there is...
Replies
1
Views
3,705
Is there a way to find which points are free. Other than doing a global search on each ?? Coz some of the points has no description in the logic...
Replies
12
Views
3,379
If anyone can assist me in my folly I would surely appreciate it. I am creating a program for a small control panel and find that I can't get any...
Replies
4
Views
8,304
Back
Top Bottom