FBD on CodeSys
I am learning and about to start working on AC500, PS501.
I am working well previously on FBD on AC800M, Control Builder tool for coding.
So, my query is:
I should opt which language in Codesys , which is related same to FBD of Control builder programming of AC800M.
Should I use CFC or FBD ?
which language is most preferred on Codesys ?
Thanks in advance !!
Thats not really a question anyone but you can answer. Choose the language most approriate for your application.
FBD on the AC500 is organized into "steps" or "rungs" which forces the program layout to have a definite style that looks different from the AC800M that you are used to - but it still works the same way.
CFC looks more familiar to you if you have used FBD on the AC800M but might not layout the code in an easy-to-read way.
The "most preferred" language is the one most appropriate for the function you are writing. Just like AC800M, you can mix and match languages for different parts of your application.
Whichever way you choose, you still need to pay attention to code layout and readability. There is no substitute for simple code and good comments.