Jasondelane
Lifetime Supporting Member
I've got three INT words in RSLogix 5000 Version 12.06. They are Sawset, Sawset1, and Sawset 3. I have three momentary pushbuttons set to assign a decimal number to "Sawset". This is working fine.
I have another pb assigned to move the current INT from Sawset1 to Sawset2, and Sawset to Sawset1.
The problem I'm having is that whatever is currently in Sawset is being moved to both Sawset1 and Sawset2 regardless of how I set it up. I would like it to operate like a shift. It's currently set up
|pb|--ONS---------------MOV Sawset1-Sawset2
................................|- MOV Sawset -Sawset1
The two MOV instructions are branched. How do I get them to work in sequence?
So it would look like Sawset 87 -> Sawset1 86 -> Sawset2 87
...........................Sawset 106 -> Sawset1 87 -> Sawset2 86
...........................Sawset 87 -> Sawser1 106 -> Sawset2 87
Instead right now I'm getting
...........................Sawset 86 -> Sawset1 86 -> Sawset2 86
...........................Sawset 87 -> Sawset1 87 -> Sawset2 87
I get the same results using two COP instructions set to length 7, which is all I need.
I have another pb assigned to move the current INT from Sawset1 to Sawset2, and Sawset to Sawset1.
The problem I'm having is that whatever is currently in Sawset is being moved to both Sawset1 and Sawset2 regardless of how I set it up. I would like it to operate like a shift. It's currently set up
|pb|--ONS---------------MOV Sawset1-Sawset2
................................|- MOV Sawset -Sawset1
The two MOV instructions are branched. How do I get them to work in sequence?
So it would look like Sawset 87 -> Sawset1 86 -> Sawset2 87
...........................Sawset 106 -> Sawset1 87 -> Sawset2 86
...........................Sawset 87 -> Sawser1 106 -> Sawset2 87
Instead right now I'm getting
...........................Sawset 86 -> Sawset1 86 -> Sawset2 86
...........................Sawset 87 -> Sawset1 87 -> Sawset2 87
I get the same results using two COP instructions set to length 7, which is all I need.
Last edited: