saving values of the variables in simatic step 7

MissKrampus

Member
Join Date
Sep 2009
Location
Ljubljana
Posts
1
Hi!

What is the easiest way to save some particular data (rapidly alternating variables changing with each cycle) in Simatic Step 7 package?

I need to save some of the variables in table every cycle (every 10 ms) to see what exactly is going on in the period of few seconds.
 
Hi!

What is the easiest way to save some particular data (rapidly alternating variables changing with each cycle) in Simatic Step 7 package?

I need to save some of the variables in table every cycle (every 10 ms) to see what exactly is going on in the period of few seconds.
Since no one has answered yet, I'll give it a shot.
Use a 10mSEC block (adjustable from properties) and send the variables to an array.
Make the array as large as you'd want.
Next cycle, index the previous captured variables within the array and store the new captured variables to the starting register.
Repeat the index to fill the array.
Each cycle, new variables come in and shift older variables one position.
Depending on the size of your array, the older variables get over-wriiten by the newer variables.
Hope this helps!
I'm sure someone else will jump in and continue this.
There may be a better/easier way.
 
Here's an example project that will log bool/byte/int/word/dword/dint/real variables.
Each variable is logged to its own db. The size of the DB determines how much data is logged. FB1 contains the instances of each variable you wish to log.
 

Similar Topics

Hello, During runtime I change values of some internal tags (i.e. F_CV of DO tags). And I want them to be saved when I switch runtime off, and...
Replies
10
Views
5,441
hello all, im working with an allen bradley 1769 series plc on an indexing table, I take a picture with a camera and determine whether parts are...
Replies
4
Views
2,057
Hey guys! I would like some help solving a feature regarding calibration. I have a very simple function that allows the technicians to add or...
Replies
3
Views
2,477
Hi guys, I'm wondering if this is possible. I have a machine with two different 3600 count encoders wired into a 1771-VHSC plugged into a PLC...
Replies
13
Views
6,075
i want to store data values (real values) from analogue inputs in step7 using Data block.(hardware s7-300). also how can i monitor these stored...
Replies
2
Views
2,499
Back
Top Bottom