Hello all, I’m currently using C# to make fucntionblocks, which can be used in IEC. I’ve found an example on github and that works fine. They are visisble in the project. But in my project, and also the github example FB_with_Methods, those methods can’t be dragged to my IEC code. However, when I design a FB in PLCNext Engineer and define a method there, I am able to drag this method to my code… Why is this different? And how am I able to use the methods in IEC? Thanks in advance… Arne
Hi Arne, You are correct about the difference in behaviour between Methods on IEC FBs and Methods on C# FBs. I will report this as a bug to the PLCnext Engineer developers. You can use Methods on C# FBs by typing the name of the FB on the Worksheet, then pressing the „.“ („dot“, „full stop“, „period“) key. You will then see the names of the FB methods, which you can select with the mouse or arrow/enter keys, as demonstrated in the video below. Hope this helps.