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
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?
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