Expected Behavior
If I insert a Function or Function Block, for example, TON, I expect that all its internal variables (i.e. PT, ET, Q) are accessible on my program
Current Behavior
Variables are not listed in autocomplete and can't even be added to contacts or coils
Steps to Reproduce
- Create a project using LD
- Create a new rung
- Insert a TON block and name its variable TON0
- Create another rung
- Add a contact
- Try to associate TON0.Q to the contact (the editor won't let you do it)
Possible Solution (Not obligatory)
Map all blocks variables into the list of possible variables for the autocomplete and editor check. For example, TON0.Q is a BOOL and can be added to contacts and coils.
Context
It is very practical to check, for example, TON0.Q to know if a timer has expired anywhere in the program.
Your Environment
- App version : 4.0.3-beta
- Branch : main
- Operating System and version : MacOS Sequoia 15.4.1 Intel-based
Expected Behavior
If I insert a Function or Function Block, for example, TON, I expect that all its internal variables (i.e. PT, ET, Q) are accessible on my program
Current Behavior
Variables are not listed in autocomplete and can't even be added to contacts or coils
Steps to Reproduce
Possible Solution (Not obligatory)
Map all blocks variables into the list of possible variables for the autocomplete and editor check. For example, TON0.Q is a BOOL and can be added to contacts and coils.
Context
It is very practical to check, for example, TON0.Q to know if a timer has expired anywhere in the program.
Your Environment