Sign in to follow this  
Followers 0
Guest Guest_Jan

Shift a ARRAY in a Data_block

2 posts in this topic

hello, How can I Shift a Array of 6000 lines down. One shift = one puls on I0.0. De latest value on line 6000 is gone en the first value replace to place 2, the value on place 2 to place 3 .......4 to 5.......... Please help me, i want to shift 6000 lines/pulse The Array of 6000 lines consist in a DATA_BLOCK. I speak Dutch for the Belgian people. Jan.hommez@pandora.be

Share this post


Link to post
Share on other sites
Hi, For such kind of operation on arrays you need or SCL language - it permits indexed access to arrays so posible is something like this: ar[n+1]:=ar[n] or you must get familiar with STL, pointers and address registers in S7.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0