Can I get some help on this. This is driving me bonkers and it's probably to simple to be true.
I am working in ladder logic RS5000. Want to MOV a analog value A from a input to destination tag B when a done bit is set. Also would like to take value B each time and create a tag or address say X with a cumulative value of what was in B plus the next B and so on or keep adding B to it each time. I've marked it up on paper but the MOV and ADD instructions the way i have them set don't appear to do this. I have a DN bit in front of a MOV instruction moving A to B. Next ladder I have a ADD instruction A added to B = C. Next ladder with ADD instruction A added to C = X. Can someone give me a hint. What is normally done to accumulate values. Yes I feel rather stupid at this point but I am determined to learn. Thanks
I am working in ladder logic RS5000. Want to MOV a analog value A from a input to destination tag B when a done bit is set. Also would like to take value B each time and create a tag or address say X with a cumulative value of what was in B plus the next B and so on or keep adding B to it each time. I've marked it up on paper but the MOV and ADD instructions the way i have them set don't appear to do this. I have a DN bit in front of a MOV instruction moving A to B. Next ladder I have a ADD instruction A added to B = C. Next ladder with ADD instruction A added to C = X. Can someone give me a hint. What is normally done to accumulate values. Yes I feel rather stupid at this point but I am determined to learn. Thanks