[different sections]

Settings for different sections

[different sections] dbgCount

Type
integer
Default
100
Range
>1
Defines how often a debug message will be printed when a managers sends VC (Value Change) messages. Therefore the manager has to be started with the command line option '-dbg 17'. This option is implemented in the Data- and Event Manager as well as all drivers.

[different sections] debugFormat

Type
string
This entry can be used in the section [ctrl] or [ui]. It defines the output format for all Debug(), DebugN(), etc. function calls in CTRL scripts. The string can include the following placeholder texts, which will be replaced during runtime. All other characters will be used literally.
  • %{time} current time in std. WinCC_OA format
  • %{time format} current time in defined format The format string can contain any % placeholders which can be used in the formatTime() CTRL function.
  • %{time delta} time difference to the last Debug() output in this thread
  • %{message} the sum of all formatted arguments, viz. the actual debug output
  • %{line} current line number in the script
  • %{file} script file path or output of module/panel/script
  • %{location} current position e.g. script file path or module/panel/script incl. line number
  • %{function} name of current function inside which Debug() is executed
  • %{stack} current stack trace (see also getStackTrace())
  • \n newline character. Has to be written as \\n
  • \t tab character. Has to be written as \\t

[different sections] ignoreDebug

Type
bool
Default
0
Range
0|1
If this entry is set to 1, all variations of debug statements (DebugN, DebugTN, ..) will be ignored. This entry can be set in the section of all managers which are able to run a script ([general], [ctrl], [ui] or [event]).

[different sections] independentAlertAck

Type
bool
Default
0
Range
0|1
Defines whether alarms can be acknowledged independent of each other (default = no). If this entry is set to 1, alarms can be acknowledged in the AEScreen without the consideration of a sequence (younger before older alarms, WENT before CAME).

[different sections] loadAllCtrlLibs

Type
bool
Default
0
Range
0|1
Can be used in all driver sections and in the sections [event], [ctrl] and [ui].
  • 0: Load only explicitly defined Ctrl libraries (see loadCtrlLibs).
  • 1: Load all files from the scripts/libs directory.
This keyword means that the entries LoadCtrlLibs and UnloadCtrlLibs have no effect. Scripts that are empty or begin with "." will not be loaded!

[different sections] loadCtrlLibs

Type
string
Can be used in all driver sections and in the sections [event], [ctrl] and [ui]. Loads all specified libraries (files names are separated by commas). This entry can be used as many times as required. Example:
 loadCtrlLibs = "std.ctl, libCTRL.ctl, hosts.ctl, va.ctl, archiv.ctl" 
A library loaded by this entry can be removed again by a subsequent UnloadCtrlLibs entry.

[different sections] priorityClass

Type
integer
Default
0
Range
Linux: -20-19 Windows:-1-2
Controls the priority of managers.

Windows:

  • -1: lower than normal
  • 0: Priority normal (Default)
  • 1: higher than normal
  • 2: Priority high

Linux:

  • 1..19: increase priority (the Manager has to be a root process)
  • 0: normal (Default)
  • -20..-1: decrease priority
Can be set in the sections valarch, ui, data, event, ctrl, redu, dist, ascii, oledb, opc and iec.

[different sections] queryFunction

Type
bool
Default
0
Range
0|1

With the config entry queryFunction = 1 a database function is used for dpGetPeriod() instead of a query. Therefore, the limitations such as the number of tables and the length of the SQL statement cease to exist.

With queryFunction = 0, a query is used as so far.

The entry can be used in ValueArchiveRDB and UI sections.

Note: Please note that this entry is not intended for use in regular projects, but can only be used for specific, proprietary database schemas. Use in different projects means that correct functioning can no longer be guaranteed.

[different sections] queryHLBlockedTime

Type
long (milliseconds)
Default
0
Range
0..32767
The entry can be made in the [event], [ctrl] or [ctrl] section. Timerange in milliseconds where the call of the work function from open queries is blocked. After this block time a hotlink is returned with all values within the timerange. CAUTION: queryHLBlockedTime has to be <= 32767[ms], otherwise this config entry is ignored.

[different sections] unLoadCtrlLibs

Type
string
Can be used in all driver sections and in the sections [event], [ctrl] and [ui]. Does NOT load all specified libraries (library names are separated by commas). The keyword can be used as many times as required. Example:
 unloadCtrlLibs = "std.ctl, libCTRL.ctl, hosts.ctl, va.ctl, archiv.ctl"