Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
Does anyone else use Function Blocks Method calls with FBD or Ladder? OOP is a great addition to the traditional PLC-programming, but there still seems to be few problems with it. Atleast when not using Structured Text.
One problem with FBD/LD is that when you make a Method call, you cannot double-click it or use "Go to the definition" to jump directly to the Method's definition (applies both to offline and online situations). Instead it takes you to the frame of Function Block. This is a problem especially when FB is coming from a Library.
With Structured Text there is no problem, as you can right-click either on FB definition part or Mether definition part of e.g. "fbControl.Start()".
This problem doesn't affect how the program is running, but has great impact in development and monitoring (maintanance). Or does someone know how this problem can be "cured"?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Does anyone else use Function Blocks Method calls with FBD or Ladder? OOP is a great addition to the traditional PLC-programming, but there still seems to be few problems with it. Atleast when not using Structured Text.
One problem with FBD/LD is that when you make a Method call, you cannot double-click it or use "Go to the definition" to jump directly to the Method's definition (applies both to offline and online situations). Instead it takes you to the frame of Function Block. This is a problem especially when FB is coming from a Library.
With Structured Text there is no problem, as you can right-click either on FB definition part or Mether definition part of e.g. "fbControl.Start()".
This problem doesn't affect how the program is running, but has great impact in development and monitoring (maintanance). Or does someone know how this problem can be "cured"?