Jump to content

Shift a ARRAY in a Data_block


Recommended Posts

Guest Guest_Jan
Posted
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

Posted
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.

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
×
×
  • Create New...