differents between FCs and FBs

FC's are best for calculation and logic that require no static memory or worth monitoring. Example: Finding the highest number or average of 3 numbers.
Value1
Value2
Value3

Temp1 = Value1 + Value2
Temp1 = Value3 + Temp1
Result = Temp1/3
Your not interested in the intermediate results etc.
This would be perfect for FC. I only do the simplest stuff in FC's. I use FB's probably 80% of the time.

If you need timers or other static data FB's are best. I do all my larger code sections in FB's. Multi-Instance FB's I use extensively. Very powerful and efficient.
 

Similar Topics

Hi friends, this is my first post in this forum. I am Implementing an application that works like this: I want use the RS-485 interface of...
Replies
15
Views
4,752
Dear All, Currently i'm working with Endress Hauser flowmeter and AB PLC and try to integrate with 2 items. Flow meter spec using is Promass...
Replies
6
Views
191
Something I've never thought about before... maybe you folks have some thoughts or experience. I have a customer that uses a Weidmuller, Modbus...
Replies
3
Views
205
Hello, I am currently in the final week of my internship and I have encountered issues with communication between a PowerFlex 700 variable...
Replies
8
Views
255
I’m attempt to establish a communication between two simulator M580 CPUs, using a READ_VAR, I have two vitalization Windows 10 in VMWare and each...
Replies
4
Views
182
Back
Top Bottom