FFL Instruction, use without having to toggle it's EN bit?

jds8086

Member
Join Date
Jan 2020
Location
Kansas
Posts
42
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 require its EN to have to toggle between true/false for it to load the next value? I have it in a subroutine that runs conditionally (logging events that are to be read via OPC and stored in a DB). Each "log-able" condition is checked in another subroutine that runs unconditionally, when a condition is met, JSR -> FFL subroutine, then it returns to continue checking other log-able conditions. It is important that each condition is checked every scan and stored in the buffer if true (hence why it's in it's own subroutine so that I can JMP to and return to continue evaluating other conditions).
 
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 require its EN to have to toggle between true/false for it to load the next value?


No, but that doesn't mean you can't reset the .EN to 0 on a rung or branch before each FFL execution, and then execute the FFL unconditionally.
 
No, but that doesn't mean you can't reset the .EN to 0 on a rung or branch before each FFL execution, and then execute the FFL unconditionally.

šŸ™ƒ Ever spend hours on a problem, give up and ask, then when you get the answer you just want to hide :ROFLMAO:

Thank You!
 
That's actually similar to a problem posed to a colleague of mine who went through RA PLC programming training. How can you make a single, standard counter instruction count the number of PLC scans with one rung of code?
Code:
|
|                         +-----CTU------+  My_Ctr.EN
|-------------------------+ CTU   My_Ctr +----( U )---|
|                         + PRE 99999999 +
|                         + ACC        0 +
|                         +--------------+
 
šŸ™ƒ Ever spend hours on a problem, give up and ask, then when you get the answer you just want to hide :ROFLMAO:

I'd answer that, but I am busy hiding just now.

P.S. I know you got it, but I already found an example using BSR (similar to FFL i.e. uses Control R-file element).
Untitled.png
 

Similar Topics

We are converting an RSLogix5 PLC code to Siemens S7. Looking for the S7 instruction that replaces RSLogix5 FFL instruction.
Replies
5
Views
2,324
Could someone please show me how AB FFL/FFU works in RSlogix 500. I can get data in the FFL just can`t get it out.:shock:A small sample of code...
Replies
3
Views
12,808
I've been reading a LOT of the past topics, and A-B Knowledgebase, on the FFL/FFU instructions, but I still don't understand a couple of things...
Replies
9
Views
6,705
I'm having trouble finding the control block length for the FFL instruction, and I'm really not sure how to find it. On the component it lists...
Replies
2
Views
4,111
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
Back
Top Bottom