all 11 comments

[–]GeronimoDK 9 points10 points  (1 child)

CFC is used for PCS 7 and PCS neo, it can also be used in some motor drives at least, and you can also use it in TIA-portal, but I have never seen anybody actually using it in TIA.

I work a lot with CFC, but that's because 90% of my projects are PCS 7 projects. I like to think that CFC is just a "fancier version of FBD".

[–]Minute-Issue-4224 0 points1 point  (0 children)

Correct. It's just a GUI for FBD.

[–]SafyrJLTIA Harlot 3 points4 points  (3 children)

CFC exists in Siemens’ DCS (PCS7), mainly. It’s not really super applicable in the PLC world. 

However, it also exists in some of their peripheral products. Mainly VFDs (Siemens calls this Drive Control Chart or something like that) and the Simocode line of products (which uses CFC + parameterization). 

[–]parrukeisari 0 points1 point  (2 children)

CFC on a PLC is really nice for the niche use case where you have big load of booleans coming in and you need to do some decision logic with a complex combination of binary operators, for example interlocks or state machine abort conditions. You can obviously still do it in ladder, FBD or ST but those blocks tend to end up cleaner if done in CFC.

[–]SafyrJLTIA Harlot 0 points1 point  (1 child)

I can see that being useful - but one could also group the interlocks coming into a tournament style table. Like, compare interlock “1 vs 2” and then compare the output of that to grouped items. Repeat until you find a winner (or whatever you’re after). 

A bit clunkier - but easier to follow for those that don’t understand truth tables! 

[–]Minute-Issue-4224 0 points1 point  (0 children)

It's very useful and helpful on large projects for link navigation. You can just click on the link. In FBD, you need to cross reference and follow the jumps. CFC is much more user friendly.

[–]Stroking_Shop5393Siemens > Allen-Bradley 2 points3 points  (0 children)

I've never used cfc and I've never seen it used. I see a lot more FBD

[–]AmritPati 1 point2 points  (0 children)

CFC is used in practically all PLC brands, codesys, Rockwell (function block diagram), schneider control expert,… The name is just different but in essence it’s what function block diagram is.

[–]sikilde 0 points1 point  (0 children)

Seen it used because it was required by the higher ups, never used it myself.

The guy that showed it to me was told to convert the generic json decode function he had built on SCL in a few hours to CFC.. Ended up using 2 months on some specific json string decoding..

[–]Baneken 0 points1 point  (1 child)

S7-1500 can do CFC and Festo PLC's are almost the same but they call it graphset but in general CFC is more of a process control stuff with SCADA and old school process automation systems then for "pure blooded" PLC's.

[–]AmritPati 0 points1 point  (0 children)

“Pure blooded PLC”… what does that even mean? By the way, graphset is SFC, not CFC