AB - ONS and FLL

keshik

Lifetime Supporting Member
Join Date
Jun 2011
Location
Portland, OR
Posts
408
I'm using a CompactLogix L33ER with v24 of Studio 5000. I've been noticing some odd behavior when I trigger a FLL instruction behind an ONS. It looks like the FLL doesn't always fully execute throughout the array.

For example, using a FLL on a DINT[24] to set all values to zero. I still get the odd value ([18] in this example) that doesn't get set to zero.

Any ideas?
 
What are you setting as source and destination for the FLL? I will usually use 0 for source, the array/structure for destination, and a length of 1.
 
If it's always the same value, I'd be looking for other things that might be overwriting the data. Look especially for COP or CPS instructions with an incorrect length.

Create a whole new array of the same length and modify your existing logic to point to that array instead of your existing one. Don't change anything else - just the target array - and then see if the symptoms remain.

I'd be very, very surprised to learn of an FLL not "executing properly".
 

Similar Topics

Hello, I am using studio 5000 pro and am trying to figure out the structured text. Here's my scenario: An operator scans a barcode, the barcode...
Replies
13
Views
73
Two questions for GE/Emerson e.g. PACSystemsRX3i (CPE330): 1. Is it possible to use 2D arrays inside a function as a local member? (I can only...
Replies
0
Views
35
Hello, I have a A.B Compact logix communicating with two fanuc robots via ethernet. The plc also communicates to an automation direct hmi screen...
Replies
2
Views
101
Hello, first of all let me state for the record that I'm not a tech of any kind, I have limited experience with industrial automation devices, so...
Replies
3
Views
66
Hello, I've searched long and hard for this and found a great thread from 2008 about animating pipes and it turned out it was a bit of a flame...
Replies
24
Views
549
Back
Top Bottom