Forum

1756-L71 bottle cou...
 
Notifications
Clear all

1756-L71 bottle count is exactly double on one line, ONS and ADD, sensor is clean

2 Posts
2 Users
0 Reactions
0 Views
(@valh7)
New Member
Joined: 2 years ago
Posts: 0
Topic starter   [#182]

1756 l71, V30, filler line 6. Bottle count is a routine called Count_Bottles doing ADD Total 1 Total, called by a JSR behind an ONS off the fill head sensor, so it should run once per bottle. Line 6 counts exactly double, every bottle. Lines 4 and 5 have the same routine copied over and they count right.

I scoped the sensor and it's one clean pulse per bottle, so I tried a new sensor and a different input and got the same. Then I swapped the ADD for a CTU and that counted one bottle and never again, so the ADD went back in.

It's counted double since commissioning and the operators just divide by 2. What's different about line 6? The CTU counting one bottle and then never again is the bit that's nagging at me, does that tell anyone anything?


Advertisement

   
Quote
(@rsdave)
New Member
Joined: 2 years ago
Posts: 0
 

Studio version, and how many places is Count_Bottles called from? Go to the routine, right click, Cross Reference, and look at the JSR entries.



   
ReplyQuote
Share: