SirLightBulb
Member
I am just picking up Siemens Step-7 after years of RsLogix, and I am shocked i cant do the most simple things with arrays. This has screwed up much of my design.
Its so fundemental, I can't believe there is not an answer out there.....so can I crib
I have a 100 element array of Integers.
I want to
copy A[99] to A[100],
copy A[98] to A[99]
down to
copy A[1] to A[2].
HOW?
My "sin" is that I want to mimic product moving down a machine, and tracking any "reject reason" as is moves.
I am looking now at using LAR and pointers, but reference so far is a bit cryptic. I will continue to battle, unless
I was alsoshocked to discover I could not do things like A[x] := y;
Its standard with rsLogix with CPY statement.
Off Topic
In "research" I see SCL is an option (a lovely one, again built into RsLogix). Is this an add on or separate?
Its so fundemental, I can't believe there is not an answer out there.....so can I crib
I have a 100 element array of Integers.
I want to
copy A[99] to A[100],
copy A[98] to A[99]
down to
copy A[1] to A[2].
HOW?
My "sin" is that I want to mimic product moving down a machine, and tracking any "reject reason" as is moves.
I am looking now at using LAR and pointers, but reference so far is a bit cryptic. I will continue to battle, unless
I was alsoshocked to discover I could not do things like A[x] := y;
Its standard with rsLogix with CPY statement.
Off Topic
In "research" I see SCL is an option (a lovely one, again built into RsLogix). Is this an add on or separate?