Skip to content

Globals/Parameters

Parameters

Parameters_XTS

Parameter Type Default Description
ALLOW_UNLINKED_MOVER_NC_AXES BOOL FALSE Allows internal FB_XTS_Mover FBs to skip checking for linked NC axes during initialization
ENABLE_DEBUG_TRACING BOOL FALSE Allow debug messages to be emitted to trace log
STATIONCOLOR_DEFAULT_GETMOVERS E_Colors_ARGB E_Colors_ARGB.Yellow XTS Viewer station color during GetMovers state
STATIONCOLOR_DEFAULT_INPROCESS E_Colors_ARGB E_Colors_ARGB.Red XTS Viewer station color during InProcess state
STATIONCOLOR_DEFAULT_RELEASEMOVERS E_Colors_ARGB E_Colors_ARGB.Green XTS Viewer station color during ReleaseMovers state

XPU generates a lot of trace messages

FB_Component_XPU generates a great deal of trace messages when ENABLE_DEBUG_TRACING is TRUE. Eventually (after many thousands of messages) this can cause instability in XAE/Visual Studio due in part to the Errors List window also receiving these messages.

These trace messages are very helpful for debugging systems but should be disabled in production.

GVLs

XTS

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
{attribute 'qualified_only'}
VAR_GLOBAL
    Environment              : Tc3_XTS_Utility.FB_TcIoXtsEnvironment;
    XTSEnvironmentConfig     : ST_XtsEnvironmentConfiguration := (bEnableInitXPU := TRUE, bEnableInitCaGroup := TRUE, bEnableInitInfoServer := TRUE);
    InitializationInProgress : BOOL;
    InitializationComplete   : BOOL;
    XPUCount                 : UINT;
    XPUOIDs                  : REFERENCE TO ARRAY[1..TcIoXtsEnvironmentParameterList.MaxXtsProcessingUnits] OF OTCID;
    InfoServerCount          : UINT;
    InfoServerOIDs           : REFERENCE TO ARRAY[1..TcIoXtsEnvironmentParameterList.MaxXtsInfoServer] OF OTCID;
    InfoStationCounts        : ARRAY[1..TcIoXtsEnvironmentParameterList.MaxXtsInfoServer] OF UDINT;
    ipInfoServer             : ARRAY[1..TcIoXtsEnvironmentParameterList.MaxXtsInfoServer] OF I_TcIoXtsInfoServer;
    ipInfoStations           : ARRAY[1..TcIoXtsEnvironmentParameterList.MaxXtsInfoServer, 1..TcIoXtsEnvironmentParameterList.MaxXtsInfoStation] OF I_TcIoXtsInfoServerInfoStation;
    CAGroupCount             : UINT;
    CAGroupOIDs              : REFERENCE TO ARRAY[1..TcIoXtsEnvironmentParameterList.MaxXtsCaGroup] OF OTCID;
END_VAR

Do not modify these variables!

The variables in the XTS GVL are used internally by FB_Component_XPU. Changing the values of any of these variables will only end in disaster or at best instability.