Data Shift

DCM411

Member
Join Date
Jan 2008
Location
Indianapolis
Posts
8
I'm trying to shift floating point data through an array to, in effect, display historical data over a period of 7 days at one hour sample rates. so i'm looking at REAL[168] as my array of data. What I want to do is have REAL[0] be the new fresh live data. From there I'd like to move REAL[0] value to REAL[1] at time of next collection, and REAL[1] to REAL[2] and along down the line. What's the best way to go about this? I've been trying to figure out the FIFO commands, but maybe something like COP would be more applicable. any thoughts?
 
great. that's what i was looking for. it is an ab product, compactlogix talking to panelview 550. i'll try to see if i can get the recommended instructions to work in the post you referred. my other option was to use FLL, FFL, and FFU and reverse the indexing somehow...

Thanks.
 
I'm not familiar with compact logix but it might be easier if you just have a circular queue and keep track of where the latest data is. This is definitely easier on the PLC side but depending on what you need to show in the HMI side could be a pain.
 

Similar Topics

Hi all, is there an easy way to reset a user defined shift register to 0? i have a data type containing 8 bools for an array of 10 and would like...
Replies
12
Views
3,189
Hello all, I am quite new to the Indusoft application. The project I am working on leaves me a little stumped. I need to reset all values to zero...
Replies
0
Views
1,494
I need some help...I'm trying to input a single bit into a bit register (BSR) from another's bit shift (BSR) unload bit . I configured the bit...
Replies
2
Views
6,346
Hi folks, I'm not as accustom with Siemens & WinCC, however I've been asked to increase the amount of data an existing application is logging...
Replies
2
Views
62
Has anyone migrated Proficy Historian data to a new server? I followed the guide to move all the data over, but when I run the utility, it stops...
Replies
0
Views
44
Back
Top Bottom