Hello All,
Can you guys share your opinion on code abstraction or OOP for discreet industrial control operation.
My view is that when it is a discreet process ( turning a pump on or off), it is more beneficial to make the process as apparent as possible using a language like ladder or FBD to visually show the process without any abstraction.
As oppose to presenting the same functionality using Structure Text by abstracting away the input, the output, creating an object or function or many function and objects and calling them.
Yes many rungs or function block can be condense in to a handful of ST lines.
What are the pros and cons? our PLC are super powerful nowadays, isn't it better to see the process activating on one ladder or sheet as oppose to having to jump through several function call?
Can you guys share your opinion on code abstraction or OOP for discreet industrial control operation.
My view is that when it is a discreet process ( turning a pump on or off), it is more beneficial to make the process as apparent as possible using a language like ladder or FBD to visually show the process without any abstraction.
As oppose to presenting the same functionality using Structure Text by abstracting away the input, the output, creating an object or function or many function and objects and calling them.
Yes many rungs or function block can be condense in to a handful of ST lines.
What are the pros and cons? our PLC are super powerful nowadays, isn't it better to see the process activating on one ladder or sheet as oppose to having to jump through several function call?