Single instruction to OR two arrays in RSLogix5000

Salman S.

Member
Join Date
Oct 2016
Location
Malaysia
Posts
41
Is there a single instruction or a simple way of OR'ing two arrays together? I want to avoid looping a bitwise OR, as it would require me to create unnecessary for loop routine.

e.g If I have a tag 'Array' with two elements and another tag 'Array2' with two elements, I want the resultant Array[0] or Array2[0] and Array[1] or Array2[1] to be saved in a destination array tag.

Obviously the above example is trivial enough to repeat the instruction but when there are 100+ elements, loop is the only practical option.

Any suggestion will be greatly appreciated.
 

Similar Topics

Hello; I am working for programing of a Fatek FBs-20MA PLC. I have a data in a single register (in given picture, its R0), to ADD the values of...
Replies
0
Views
951
Hello all. I've been looking into sequencer blocks on RSLogix 500 and am planning to rewrite a sequence based program that I originally wrote in...
Replies
4
Views
6,930
Hello all. I've been looking into sequencer blocks on RSLogix 500 and am planning to rewrite a sequence based program that I originally wrote in...
Replies
1
Views
5,386
Hey all, I am working on a project and i want to use Allen Bradley Micro850 controllers. This model has ethernet ip functionality. So the project...
Replies
8
Views
88
Hello Everyone Im Trying to Study a PLC programm of a Pet Blower machine, it is programmed in Simatic Manager Step 7 in STL/AWL Lenguage in a part...
Replies
4
Views
111
Back
Top Bottom