I have an APROL 4.2-07 project
In my project, I have a Warning on my controller that I have declared variables within a Task that is not used.
This task is setup for a SFC program. I want to remove them to get rid of the Warning, but I can not find where they are declared.
The errors are as follows: Directory /home/engineering/ENGIN/PROJECTS/{ProjectName}/TARGETS/{Cntrl}/Logical/SQ/ACT not emtpy, do not delete
\home\engineering\ENGIN\PROJECTS\{ProjectName}\TARGETS\{Cntrl}\Logical\SQ\SQ.var (Ln: 195) : warning 5874 : Variable zzSFCDbg_18__T25 is declared but not used in the current configuration -s SQ
\home\engineering\ENGIN\PROJECTS\{ProjectName}\TARGETS\{Cntrl}\Logical\SQ\SQ.var (Ln: 128) : warning 5874 : Variable zzSFCDbg_06__T26 is declared but not used in the current configuration -s SQ
\home\engineering\ENGIN\PROJECTS\{ProjectName}\TARGETS\{Cntrl}\Logical\SQ\SQ.var (Ln: 103) : warning 5874 : Variable zzSFCDbg_03__T27 is declared but not used in the current configuration -s SQ
\home\engineering\ENGIN\PROJECTS\{ProjectName}\TARGETS\{Cntrl}\Logical\SQ\SQ.var (Ln: 20) : warning 5874 : Variable SFCEnableLimitC is declared but not used in the current configuration -s SQ
Any advice on where to find these variables to remove them?
I have a SFC instance withing my project structure.
The SQ is the TaskClass created on the controller specifically for the sequence (Like “Task: test@PLC0” in your picture).
I have used all the variables I created within then program.
But the variables I am getting the error on is not in my list.
I don’t know where that information for the variable is coming from
{Are variables zzSFCDbg_18__T25, zzSFCDbg_06__T26, zzSFCDbg_03__T27, and SFCEnableLimitC local or project variables?}
I didnt create these variables. I dont know where they are to change, Link or delete them.
Even looking at the Control Variables, I dont have a SFCEnableLimit created.
Last thing that comes to my mind is to ‘synchronize’ variables. In the variables tab, right-click on your mouse and select Synchronize from the toolbar. Otherwise, please contact your local office or support.