GlobalConfiguration Class
Global configuration object
Inheritance Hierarchy
SystemObject
TwinCAT.AdsGlobalConfiguration
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version:
7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public static class GlobalConfigurationThe GlobalConfiguration type exposes the following members.
Properties
|
|
Name |
Description |
|---|---|---|
|
|
Gets the ams router configuration section. | |
|
|
Gets or sets the configuration. | |
|
|
Gets or sets the logger Factory |
Methods
|
|
Name |
Description |
|---|---|---|
|
|
Dumps the global configuration. | |
|
|
Dumps the ams router configuration. | |
|
|
Dumps the specified configuration section |
Remarks
The static GlobalConfiguration object is used to configure the Ads behaviour. It can be used to change the parametrization of the processes ADS behaviour from a custom application. E.g
- Forcing the Local AmsNetId by application configuration including environmental variables
- Parametrization of routes via IConfiguration/Environment variables
- Forcing Channel protocols (usage of AMS and/or MQTT)
- Parametrization of MQTT authentication
- Activation and change of logging levels