Hi Guys,
I would apprieciate some advise from the more experienced S7 users with regard to the use of static variables,
I'm looking at a machine program at the moment where static variables are read/written to outside the instance data block they were created in - Would you deem this bad practice or risky?
The strange part is that the FB where the stat is declared, there is no code related to it - whats that about?
Surely a shared datablock would be more suitable?
I would apprieciate some advise from the more experienced S7 users with regard to the use of static variables,
I'm looking at a machine program at the moment where static variables are read/written to outside the instance data block they were created in - Would you deem this bad practice or risky?
The strange part is that the FB where the stat is declared, there is no code related to it - whats that about?
Surely a shared datablock would be more suitable?