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'm trying to delve a little into rs-485 communications for a couple projects of mine. Until now I've been using a delta vfd and a delta...
Replies
1
Views
13
Greetings All, I recently decided to start freelancing in Controls and Automation part time, most of my experience has been with Rockwell...
Replies
2
Views
55
Hi all, I am having an issue where some of my HMI push Buttons and Indicators go in to error when I navigate to a new screen. I am using a...
Replies
16
Views
308
Hi PLC Gurus - I am new to the PLC programming and configuration world (coming into the space after several years in the energy management system...
Replies
1
Views
99
Hello, I am new to Codesys, and am trying to learn about it for a project we're developing. I've got a couple questions, but first a little...
Replies
1
Views
72
Back
Top Bottom