Open riederm opened 11 months ago
Sorry for being pedantic. You're right it is not just a ST compiler anymore, but CFC isn't part of the IEC.
It should be and I think it should replace FBD but it isn't yet.
You're right that CFC is not part of the norm, it is however very similar to FBD. What we are missing from FBD IIRC are networks. The network chain can however be modeled relatively well using CFC execution orders. In fact you can easily convert from FBD into CFC by moving every network to a set of execution orders.
The persistence suggested by the PLC-Open XML for FBD actually describes CFC. I have not checked the 61131-10 yet to see if that's the same but the this is enough I think to consider it at least a semi-official language.
Thanks for the reply.
That is interesting, I will have to read thru the FBD section of the IEC Standard and also OpenPLC XML.
we should start to call this a iec61131-3 compiler, no longer a structured-text compiler.