Adding previous totalizer value into current - Logix 5000 FBD

TimD

Lifetime Supporting Member
Join Date
Aug 2007
Location
New Hampshire
Posts
235
Hello All,

I can't seem to insert a flow totalizer value into my function block. I can only place values into the OldTotal Register.

I want my function block to output what my flow meter display says. Must I add these values and create a new totalized tag?

Thanks
 
Try writing directly to TotTag.Total with an Add instruction from either Ladder, FB, or ST.

TotTag.Total := TotTag.Total + SomeValue

If using FB then connect the ADD destination output to a reference to TotTag.Total instead of trying to wire it to the TotTag.Total output tab.

Make sure the ADD is controlled by a one shot or other logic necessary to keep undesired multiple adds from occurring.
 

Similar Topics

Hello all! So I have one project with a S7-1214 and a MTP1500 "Project1" and one project with another S7-1214 "Project2". Both of these PLC:s need...
Replies
6
Views
90
Hi Everyone, Currently we have three plants running with Controllogix PLCs (L72, L73, L74). In each of these plants we have 2 FTView SE...
Replies
0
Views
79
Hello, Im building project with 1756-L82ES controller and 1756-IB16S card but i cant find it when trying to add the card to IO configuration...
Replies
3
Views
151
Hello, I have a pair of redundant 1756-L71 controllers rev 24. These controllers currently have produced and consumed tag interfaces to 3 other...
Replies
2
Views
178
I'm adding an IAI Gateway with 2 axes connected to it. To an ethernet network on my PLC. So, I think the math is correct on the Input and Output...
Replies
0
Views
153
Back
Top Bottom