Good morning,
i have a problem with an FB, i create VAR inside the block but outside i can't reach them, i can reach only IN/OUT/IN-OUT VAR, do you know which could be the problem?
Regard
That is normal. https://help.codesys.com/webapp/_cds_obj_function_block;product=codesys;version=3.5.17.0
How can i access to the variable in the FB from outside without put them in the in/out?
u can use internal variables by passing it thru setter/getter. thats the way to go. for that add it by rightclick on fb and create propertie
Log in to post a comment.
Good morning,
i have a problem with an FB, i create VAR inside the block but outside i can't reach them, i can reach only IN/OUT/IN-OUT VAR, do you know which could be the problem?
Regard
That is normal.
https://help.codesys.com/webapp/_cds_obj_function_block;product=codesys;version=3.5.17.0
How can i access to the variable in the FB from outside without put them in the in/out?
How can i access to the variable in the FB from outside without put them in the in/out?
u can use internal variables by passing it thru setter/getter.
thats the way to go. for that add it by rightclick on fb and create propertie