Consider an example where <inst1>, <inst2>, .....<instn> are declared instances of function block FUB</instn></inst2></inst1>
FUNCTION_BLOCK FUB
{
.......
}
VAR GLOBAL
inst1, inst2, inst3 : FUB
END_VAR
Is it possible that a POU executing under PLC_PRG (main task) can detect and deliver all the names (STRING) of instances of Type "FUB" ?
Is there some method like __isinstance() or anything similar?
Regards,
Rahul.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Consider an example where <inst1>, <inst2>, .....<instn> are declared instances of function block FUB</instn></inst2></inst1>
FUNCTION_BLOCK FUB
{
.......
}
VAR GLOBAL
inst1, inst2, inst3 : FUB
END_VAR
Is it possible that a POU executing under PLC_PRG (main task) can detect and deliver all the names (STRING) of instances of Type "FUB" ?
Is there some method like __isinstance() or anything similar?
Regards,
Rahul.
Anyone guys?
I would appreciate some help.