Global variables
Function blocks which are invoked by various programs are created as global variables and organised in function block arrays. The individual function block instances are also initialised at this point.
The variables required to supply the visualisations are also created as global variables.