Further Understanding AOI RSLogix

I have noticed that a TON's ACC value increases as long as the input is TRUE. When it reaches the .PRE value, the .DN bit goes true but the .ACC continues to increase. However, a RTO's .ACC value stops increasing once the .DN bit goes TRUE, regardless of the input's state.

The ACCumlator does not continue to accumulate after it reaches the PREset value. Once it reaches the PREset value, it stops.

What you may see is a slight overshoot on the ACC value. But this is due to the way the Timer and the program scan time interact.

If the timer reaches the PREset value before it gets scanned, the ACCumulator will count up a bit more until it is scanned and the Timer is Done. Then it will stop. So you may see, for example, a Timer that is Done with the PREset value of 1000 ms, but the ACCumulator sitting at 1004.

Showshocka, did you find YYY.J_TM used elsewhere in the program? It sounds like somewhere outside the AOI is changing the allowed Jamming time, which is why you are seeing the J_TM value change in your AOI.
 
Last edited:
The Mystery is how is J_TM is moving while the conveyor is running the only other thing that I can think of is that the variations are coming from a VFD output. I see in the definition of the AOI that the set time is 6000 and it goes up or down from there. The Motor does not have an encoder on it so it must be a value coming from a VDF. Maybe, it has to be. My confusion now is whats the difference between and input/output vs an in/out in the AOI?

The definition has absolutely NOTHING to do with the USAGE of the AOI. You have Inputs to the AOI. The Input values REPLACE THE ONES IN THE DEFINITION.

AOI INPUT: Value is passed into the AOI from an external source via a copy, replacing the default value.
AOI OUTPUT: Value is copied from the AOI to an external destination, replacing the external value.
AOI IN/OUT: Value is directly referenced to the actual tag within the AOI. All operations on the tag within the AOI are immediately reflected in the external tag. All changes in the External tag are immediately reflected within an AOI.
 

Similar Topics

Hi all, I'm working on a project monitoring DLR rings using explicit messaging - (Citect SCADA ABCLX driver + 1765-L62 v20.19) Just a few...
Replies
3
Views
1,270
With the help of this forum, I had a plc replacement project signed off today, this is not my day job and haven't done plc stuff for about ten...
Replies
69
Views
19,533
Hello, I am looking for a product to help me better understand logic control systems. I have been working with Allen Bradley PLCs for about 3...
Replies
5
Views
2,479
Hello, I have a question on furthering my education and what you guys think would prepare me for the future in automation. I have a 2yr diploma in...
Replies
11
Views
4,660
I am using Allen Bradley PLC for Ethernet/IP communication. I send any explicit msg request (Get attribute or Set attribute), I observed packet...
Replies
0
Views
77
Back
Top Bottom