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, My background is IT, and I have very little (effectively zero) understanding of PLCs. I have been tasked with acquiring version 2 of...
Replies
0
Views
9
Hi- I am configuring an alarm and event server to display 1 current alarm at a time on a big display. Having a few issues The alarm doesn't...
Replies
0
Views
14
I know this topic has been brought up a few times, but i had some specific questions. I have installed several 1783-NATR devices and they have...
Replies
4
Views
200
I am creating a project with WinCC Unified v16 Upd6 (PC runtime) with an S7-1200. The communication is good between the PC and the PLC as I can...
Replies
6
Views
182
Hello everyone, I'm new here. First of all I just want to say that you guys are very knowledgeable and reading your posts on here has saved my...
Replies
4
Views
161
Back
Top Bottom