Hello all. So here's my issue:
1) I am using RSLogix 5000
2) I have DINT[256] registers starting at N1[0] - N1[255], and continuing likewise thru N35[0] - N35[256].
3) I need to do a computation to each individual register location within the "integer files" from N1 to N35, EXCEPT for:
Nx[3] thru Nx[12] and Nx[23], Nx[27] thru Nx[36] and Nx[47]
N(x+1)[3] thru N(x+1)[12] and N(x+1)[23], N(x+1)[27] thru N(x+1)[36] and N(x+1)[47].
This pattern will continue throughout all registers up to N(x+34)[3] through N(x+34)[12] and N(x+34)[23], N(x+34)[27] thru N(x+34)[36] and N(x+34)[47].
I would appreciate it greatly if anyone has an idea of how to accomplish this, as my current method requires entirely too many rungs of logic. The N1 - N35 registers must remain in the program as they are because they are being used throughout every routine, and are subject to many cases of indirect addressing, etc. Thank you in advance.
1) I am using RSLogix 5000
2) I have DINT[256] registers starting at N1[0] - N1[255], and continuing likewise thru N35[0] - N35[256].
3) I need to do a computation to each individual register location within the "integer files" from N1 to N35, EXCEPT for:
Nx[3] thru Nx[12] and Nx[23], Nx[27] thru Nx[36] and Nx[47]
N(x+1)[3] thru N(x+1)[12] and N(x+1)[23], N(x+1)[27] thru N(x+1)[36] and N(x+1)[47].
This pattern will continue throughout all registers up to N(x+34)[3] through N(x+34)[12] and N(x+34)[23], N(x+34)[27] thru N(x+34)[36] and N(x+34)[47].
I would appreciate it greatly if anyone has an idea of how to accomplish this, as my current method requires entirely too many rungs of logic. The N1 - N35 registers must remain in the program as they are because they are being used throughout every routine, and are subject to many cases of indirect addressing, etc. Thank you in advance.