IAdsRpcInvoke Interface
Interface IAdsRpcInvoke
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version:
7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public interface IAdsRpcInvokeThe IAdsRpcInvoke type exposes the following members.
Methods
|
|
Name |
Description |
|---|---|---|
|
|
InvokeRpcMethodAsync(String, String, Object, CancellationToken) |
Invokes the specified RPC Method asynchronously |
|
|
Invokes the specified RPC Method asynchronously | |
|
|
InvokeRpcMethodAsync(String, String, Object, AnyTypeSpecifier, AnyTypeSpecifier, CancellationToken) |
Invokes the specified RPC Method asynchronously |
|
|
Invokes the specified RPC Method | |
|
|
Invokes the specified RPC Method | |
|
|
Invokes the rpc method. | |
|
|
TryInvokeRpcMethod(String, String, Object, AnyTypeSpecifier, AnyTypeSpecifier, Object, Object) |
Invokes the rpc method. |
Remarks
This interface is used to invoke ADS RPC Method calls. This can be done 'symbolic' via the Method name or the MethodID of the method on the specified symbol. To activate the RPC Access within the PLC environment, its dataType (Structure, FB) must be marked with the PlcAttribute 'TcRpcEnable' to enable RpcMethods.
- IAdsRpcInvoke.InvokeRpcMethodAsync Method (String, String, .Object., CancellationToken)
- IAdsRpcInvoke.InvokeRpcMethodAsync Method (String, String, .Object., .AnyTypeSpecifier., AnyTypeSpecifier, CancellationToken)
- IAdsRpcInvoke.InvokeRpcMethodAsync Method (IRpcCallableInstance, IRpcMethod, .Object., .AnyTypeSpecifier., AnyTypeSpecifier, CancellationToken)
- IAdsRpcInvoke.TryInvokeRpcMethod Method (String, String, .Object., Object.)
- IAdsRpcInvoke.TryInvokeRpcMethod Method (String, String, .Object., .Object.., Object.)
- IAdsRpcInvoke.TryInvokeRpcMethod Method (String, String, .Object., .AnyTypeSpecifier., AnyTypeSpecifier, .Object.., Object.)
- IAdsRpcInvoke.TryInvokeRpcMethod Method (IRpcCallableInstance, IRpcMethod, .Object., .AnyTypeSpecifier., AnyTypeSpecifier, .Object.., Object.)