I'm a Japanese young engineer who's started learning CODESYS thesedays.
I wanna know how prevalent OOP with PLC is in the world.
Actually, it's still common to only use ladder logic with (and a little bit ST and FB provided vendors) without OOP in Japan.
I'm expecting and hoping that OOP with PLC will get prevalent also in Japan and that's why I started learning CODESYS.
In your country, how prevalent is OOP? And is the PLCs other than CODESYS equipped with OOP fanction?
I'm wondering if my choice of the way to learning OOP with PLC is right.
And I'm reading "PLCopen Software Creation Guidelines:Creating PLCopen Compliant Libraries".
I feel the Architecture in CODESYS libraries are a little more complex than the Guidlines, for example "Common Behavior Models".
In CODESYS Library, CBM is fllowed by a lot of Methods and Properties and I'm struggling to learn them.
How do you think that we need to implement these methods when creating FBs.
I'm happy if I could hear many thoughts from foreign engineers with advanced technology.
Learning OOP is always good!
Slowly the entire industry is shifting towards using a combination of Procedural / OOP style code. This going on since 2012 or so. Mostly usage is a matter of being used to it or "we have always done it like this, why would we change that?".
A good shift in reasoning would be to ask yourself "what is in it for us/me?".
Using OOP will help you in avoid writing duplicate code in a structured manner, so costs and readability/maintainability will benefit from using OOP in a good way.
Now this is where CODESYS V3 is very strong, you can mix procedural with OOP, so for the maintenance man you can do the IO in Ladder (or any other visual language) but any higher decision code can be written in ST with or even without OOP.
Thank you for your reply aliazzz!
Okay, I'll try to keep learning OOP with CODESYS, thank you.
How do you think about CODESYS's market share?
I heard Siemence and Rockwell are leading vendors in the world market.
But in Japan, they are rarely chosen and I don't know whether the market share PLCs with CODESYS are growing or not.
Do you have any thoughts and feeling about it?
EDIT after remark of E.Kislov (not yet => slowly being)
Both Siemens and Rockwell are leading vendors in the world market.
Being a world market leader also means you are less flexible, so it very much depends on how you define "leading". ;-)
Software design wise they are certainly less leading and more conservative. OOP as defined within in CODESYS as in part of IEC61131-3 third edition norm (2012) is slowly being supported with these vendors. OOP will eventually become available widespread with them, as it is part of the current IEC61131-3 edition 3 norm unless they chose not to comply to this norm.
PS what brands are usually chosen in Japan?
OOP as defined within in CODESYS as in part of IEC61131-3 third edition norm (2012) is not yet available with these vendors
It's not quite true, Siemens support OOP - check book "Object-Oriented Programming in SIMOTION"
I am glad to hear that they are beginning to support it!
Personally, I haven't seen support for PCS7 or TIA portal yet, but it will soon I hope.
Hmm I see.
Then CODESYS is the first PLC with OOP and it has advantage about OOP, right?
In Japan, Mitsubishi's PLC is the most popular, and the second, OMRON or KEYENCE.
But they don't have OOP or even enough IEC61131-3 programming.
I'm working at kinda advanced software house with industrial software, but its PLC members still only use ladder logic.
I'm wondering if I should leave it...
Mitsubishi Q series support programming in CODESYS.
Really? I haven't heard that ever.
I googled about it but I could get no information.
Can you show me any information??
Well, for example:
OMG I didn’t know that at all.
Those models of Q Series is called not PLC but “C Lang Controller” in Japan.
I searched for the information about C Lang Controller with CODESYS right now in Japanese but there was no information.
Maybe it’s because Japanese PLC engineers don’t desire the OOP.
Anyway, I appreciate you.
I’m glad to know that a leading vendor in Japan support CODESYS, thank you!
Log in to post a comment.