Class Tc3ConnectorAdapter
Provides connector adapter for TwinCat3 target system.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Vortex.Adapters.Connector.Tc3.Adapter
Assembly: Vortex.Adapters.Connector.Tc3.dll
Syntax
public class Tc3ConnectorAdapter : ConnectorAdapter
Constructors
Tc3ConnectorAdapter(String, Int32, Boolean, SymbolLoadingMode, SymbolLoadMethod)
Creates an instance of Connector adapter for TwinCat3 target system.
Declaration
Tc3ConnectorAdapter(string amsId, int port, bool consoleOutput, SymbolLoadingMode symbolLoadingMode = SymbolLoadingMode.LoadAndLinkOnTheFly, SymbolLoadMethod symbolLoadingMethod = SymbolLoadMethod.SymbolInfoLoader)
Parameters
Type | Name | Description |
---|---|---|
System.String | amsId | Target system AMS ID |
System.Int32 | port | Target system port |
System.Boolean | consoleOutput | When true outputs information to the console. |
SymbolLoadingMode | symbolLoadingMode | Determines SymbolLoadingMode |
SymbolLoadMethod | symbolLoadingMethod | Determines SymbolLoadMethod |
Methods
Create(Int32, Boolean, SymbolLoadingMode, SymbolLoadMethod)
Creates an instance of Tc3ConnectorAdapter.
Declaration
public static ConnectorAdapter Create(int port, bool consoleOutput = false, SymbolLoadingMode symbolLoadingMode = SymbolLoadingMode.LoadAndLinkOnTheFly, SymbolLoadMethod symbolLoadingMethod = SymbolLoadMethod.SymbolInfoLoader)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | port | Target system port |
System.Boolean | consoleOutput | When true outputs information to the console. |
SymbolLoadingMode | symbolLoadingMode | Determines SymbolLoadingMode |
SymbolLoadMethod | symbolLoadingMethod | Determines SymbolLoadMethod |
Returns
Type | Description |
---|---|
ConnectorAdapter | TwinCat 3 connector adapter. |
Create(String, Int32, Boolean, SymbolLoadingMode, SymbolLoadMethod)
Creates an instance of Tc3ConnectorAdapter.
Declaration
public static ConnectorAdapter Create(string amsId, int port, bool consoleOutput = false, SymbolLoadingMode symbolLoadingMode = SymbolLoadingMode.LoadAndLinkOnTheFly, SymbolLoadMethod symbolLoadingMethod = SymbolLoadMethod.SymbolInfoLoader)
Parameters
Type | Name | Description |
---|---|---|
System.String | amsId | Target system AMS ID |
System.Int32 | port | Target system port |
System.Boolean | consoleOutput | When true outputs information to the console. |
SymbolLoadingMode | symbolLoadingMode | Determines SymbolLoadingMode |
SymbolLoadMethod | symbolLoadingMethod | Determines SymbolLoadMethod |
Returns
Type | Description |
---|---|
ConnectorAdapter | TwinCat 3 connector adapter. |
CreateConnector(String, Int32, Boolean, SymbolLoadingMode, SymbolLoadMethod)
Declaration
static ConnectorAdapter CreateConnector(string amsId, int port, bool consoleOutput = false, SymbolLoadingMode symbolLoadingMode = SymbolLoadingMode.LoadAndLinkOnTheFly, SymbolLoadMethod symbolLoadingMethod = SymbolLoadMethod.SymbolInfoLoader)
Parameters
Type | Name | Description |
---|---|---|
System.String | amsId | |
System.Int32 | port | |
System.Boolean | consoleOutput | |
SymbolLoadingMode | symbolLoadingMode | |
SymbolLoadMethod | symbolLoadingMethod |
Returns
Type | Description |
---|---|
ConnectorAdapter |