Ffl slc500

roxusa

Lifetime Supporting Member
Join Date
Nov 2008
Location
NJ
Posts
994
I have a FFL stack 20 integers long to record the data of the last 20 mixes made. Do I need a FFU to empty it. It seems as if I do as it was filled then stopped. If I do need a FFU would I need a counter to only unload once FFL is full or is there something I could do with the status bits.
Or should I change the whole thing to a string of COP files
As of now the mix has 23 steps that were already recorders in an integer file.
the last step being the mix pumped out. All the integers are reset to 0 on step 1 when a new batch is started. I made a FFL for steps 2-22 with a length of 20
That would go true with a one shot on step 23
Any Thoughts, Thanks
 
Do I need a FFU to empty it.
Yes.
If I do need a FFU would I need a counter to only unload once FFL is full or is there something I could do with the status bits.
You can use the DN bit of the control word to trigger the FFU. Note: the same control word is used for FFL & FFU instructions. Also, make sure the FFU executes in a rung/branch before the FFL instruction.
 
Last edited:
Thanks for the quick reply, I didn't get to test using the DN bit I made a counter that would only enable the FFU after the FFL was fired 20 times, They are only on the 9th load today so I am monitoring from my office.
 
No need to complicate things with FFL/FFU.

If you can suffer the data being in reverse order, i.e. newest at the highest address, you can use a single COP to shift the "stack", then insert the new data into the last address.

Logic500:-

COP Nxx:1 Nxx:0 19 , MOV {New_Data} Nxx:19

Logix5000:-

COP Stack[1] Stack[0] 19 , MOV New_Data Stack[19]


If your data must be newest to oldest, use an intermediate buffer to do the COPies.

Logic500:-

COP Nxx:0 Nyy:0 19 , COP Nyy:0 Nxx:1 19 , MOV {New_Data} Nxx:0

Logix5000:-

COP Stack[0] Buffer[0] 19 , COP Buffer[0] Stack[1] 19 , MOV New_Data Stack[0]
 

Similar Topics

I have a project that is loading pallets into 10 test bays and then unloading them when the test is complete. I am using an array to store which...
Replies
3
Views
170
EDIT: I suppose i should mention, RSLogix 500 V8.40, SLC 5/04 (1747-L542C) Is there is a way to use the FFL instruction in a way that doesn't...
Replies
4
Views
862
So once again i am trying to create a program in unity pro from an Ab program. i have an FFL and FFU in rslogix 500 and need to use something like...
Replies
2
Views
2,213
Hello everyone. Quick Newbie FFL question. As far as I understand from YouTube etc. FFL should be energized by True condition from the left...
Replies
5
Views
1,801
For those who may recall I had posted previously about the FSC instruction, and while I have a better understanding of how to use it I find myself...
Replies
1
Views
1,377
Back
Top Bottom