TcTelecontrol (GVL)
In the Global Variable List, at least one instance of the server session function block, the IED data model function block instance, and optionally one or more GOOSE communication function block instances are instantiated and initialized.
In addition, the code version used during code generation and the version of the TwinCAT Telecontrol Configurator used are also stored there.
Syntax
Definition:
VAR_GLOBAL
ipCreator : I_AcsiCodeCreatorClass := GVL_AcsiVars.Creator.SetCodeRev(codeRev:=2).SetGuiVer(major:=1, minor:=1, build:=94, revision:=1);
fb[IEDName] : FB_IED_[IEDName];
fb[IEDName]Server : FB_iec61850ServerClass := (ipIED:=fb[IEDName], settings:=(bEnable:=TRUE, sLocalHost:='127.0.0.1'));
fb[IEDName]ServerSession1 : FB_[IEDName]ServerSession := (fbConnection:=(ipServer:=fb[IEDName]Server, settings:=(bEnable:=TRUE)));
fb[IEDName]Gse : FB_[IEDName]Gse := (fbAdapter:=(ipIED:=fb[IEDName], settings:=(sMulticastAddr:='01-0C-CD-01-00-00', eDispatchMode:=E_GseDispatchMode.NonPromiscuous)));
END_VAR