javaninger
Member
See attached image.
I am looking for a way to copy based on the count. I have an example shown, if the value .ACC value is 1, I want to copy from position 1, if the .ACC value is 2, I want to copy from position 2. I know this seems simple, but I want a few hundred of these, and do not want to have hundreds of rungs. I tried an FAL instruction, but that does not seem to be the best way. Any help?
I am looking for a way to copy based on the count. I have an example shown, if the value .ACC value is 1, I want to copy from position 1, if the .ACC value is 2, I want to copy from position 2. I know this seems simple, but I want a few hundred of these, and do not want to have hundreds of rungs. I tried an FAL instruction, but that does not seem to be the best way. Any help?