Hi all
in a SCL FB I've decalred some variables like this:
The question is: is there any possibility to declare SFB variables in some kind of array or structure in order to point at them in a while or for loop?
thank you
in a SCL FB I've decalred some variables like this:
Code:
VAR
ShiftRegister:ARRAY [0..100] OF BOOL;
ValvesOutputCMD: ARRAY [0..100] OF BOOL;
Timer_Valve_1:SFB3;
Timer_Valve_2:SFB3;
Timer_Valve_3:SFB3;
END_VAR
The question is: is there any possibility to declare SFB variables in some kind of array or structure in order to point at them in a while or for loop?
thank you