ADD VS. CTU RSlogix

controlconcepts

Lifetime Supporting Member
Join Date
Oct 2008
Location
boston
Posts
300
I found an odd scenario while testing a message routine. Rung 2 the ADD instruction adds all day but the counter wont accumulate at all!!! This was just a test to see that I had my logic for the massage's working. I really don't understand why the counter wont accumulate PUZZLED look on my face. There has to be a reason that I cant figure out!!
Thanks,
Matt

ADD CTU 1.jpg ADD CTU 2.jpg
 
The counter needs a false to true transition to increment.

The add instruction will add every scan as long as the rung condition are true.
 
Last edited:
If you hurry, I deleted mine ;) Edit your post and I'll delete this one. I've been hoggin' the easy ones....

I am amped up waiting for the fights to start (UFC158).
 
Last edited:
WOW Mickey silly me!! I could see the MSG_FLOW_CONTROL.0 flashing on and off not thinking that after that point it is latched on every scan where the counter is. Silly me thanks for the simple answer.
Thanks,
Silly Matt
 

Similar Topics

Hey Guys, I have an installation that has been running for about 3 years and recently some totalizer issues have started creeping up. I have a...
Replies
79
Views
26,916
Dears I have been programming with SLC5/05. Here is an input which freq is almost 5-8c/s and connected with PLC input card 1747-IB32. For count...
Replies
6
Views
2,768
Hi, I have questions. I have Analog Input that need to put into Ignition Designer. But I don't know how to put?
Replies
1
Views
119
I have just installed Studio 5000 V30.11 on my Windows 11 Pro machine. First I had an "Invalid Pointer" error that required me to update Factory...
Replies
2
Views
118
Im trying to create a level indicator for water Tank i have used the ADD function while the pump is on and level increasing everything works...
Replies
33
Views
1,023
Back
Top Bottom