theColonel26
Lifetime Supporting Member
Is it possible to instantiate a VAR_IN_OUT inside the FB?
The VAR_IN_OUT in question is function block that I call inside another function block, but I want to be able to access it outside of the parent FB.
I want to beable to do something like the following at a program level.
or am I just going to have to create an instance of FB_Child outside the FB_A and then pass it into FB_A?
The VAR_IN_OUT in question is function block that I call inside another function block, but I want to be able to access it outside of the parent FB.
I want to beable to do something like the following at a program level.
Code:
FB_A_Instance1.FB_Child.Setpoint := 123.56;
or am I just going to have to create an instance of FB_Child outside the FB_A and then pass it into FB_A?