Fll instruction in rs logix 5000

turbohamad

Member
Join Date
Jun 2009
Location
Multan
Posts
107
Hi guys;
please guide me how the FLL instruction work?
the example is given below
source=0
destination=PGM_SEQUENCE
LENGTH=1
I AM UNABLE TO UNDERSTAND HOW THIS WORK PLEASE HELP ME ON THIS ISSU
THANKS
 
The matter is for understanding is length.
The destination tag PGM_SEQUENCE have 23 items for example
PGM_SEQUENCE.START,PGM_SEQUENCE.SHUTDOWN and etc;
but the value of length is 1, i can not understand that please help me
 
The length is the number of elements to fill, of the data type given in destination. So if you have an array of 10 ints, then length could be 1 - 10 depending on howmany you want to do.

If the type is a not an array or even a structure / UDT, then the number of items is 1, as it's just an array of 1. It could just as easily be an array of PGM_SEQUENCE, then you could use length > 1 to clear them all in 1 instruction.
 

Similar Topics

Does the FLL instruction operate on a single scan, even if I am doing a fill of a large array 128 SINTs? One would think it should. When the CMP...
Replies
4
Views
3,283
EDIT: Meant FFL not FLL. Hi, I'm struggling to get this instruction to work and I don't know why. I've created an array and a control word and am...
Replies
4
Views
3,795
Hi Guys, Nice easy one for you...I have an array of 150 Analog Inputs. Is there an instruction I can use to move a value into a member of each...
Replies
12
Views
6,113
Good day all. Could someone please explain what an FLL instruction is used for? I have read the AB Reference Manual several times, I just don't...
Replies
6
Views
8,503
I am using a SLC5 and need to set B3:0/2, 3, 4, & 5 to zero. Can I use a FLL command, using my source as 0, destination B3:/2 and length of 4...
Replies
7
Views
1,928
Back
Top Bottom