Hello,I am pretty new to this and a quick have a question.
Got a fairly simple question, On RSLogix 5000 I want to move an analog sample to an array every second for 10s. I have written a solution but it takes up several lines of code.
Basically I have my code going that every second, A counter goes increments and i move the accumulator value into a pointer. and then i move the analog data into an array (the element is the pointer value). I have run into a few issues with resetting the counter and the code gets pretty sloppy.
I really want to know if there is any instructions that i am unaware of that could do this easily and cleanly. I just do not know enough about different instructions.
Any help would be greatly appreciated.
Got a fairly simple question, On RSLogix 5000 I want to move an analog sample to an array every second for 10s. I have written a solution but it takes up several lines of code.
Basically I have my code going that every second, A counter goes increments and i move the accumulator value into a pointer. and then i move the analog data into an array (the element is the pointer value). I have run into a few issues with resetting the counter and the code gets pretty sloppy.
I really want to know if there is any instructions that i am unaware of that could do this easily and cleanly. I just do not know enough about different instructions.
Any help would be greatly appreciated.