IAdsRpcInvoke Interface

Interface IAdsRpcInvoke

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

public interface IAdsRpcInvoke

Methods

 

Name

Description

IAdsRpcInvoke Interface 1:

IAdsRpcInvoke Interface 2:

InvokeRpcMethodAsync(String, String, .Object., CancellationToken)

Invokes the specified RPC Method asynchronously

IAdsRpcInvoke Interface 3:

IAdsRpcInvoke Interface 4:

InvokeRpcMethodAsync(IRpcCallableInstance, IRpcMethod, .Object., .AnyTypeSpecifier., AnyTypeSpecifier, CancellationToken)

Invokes the specified RPC Method asynchronously

IAdsRpcInvoke Interface 5:

IAdsRpcInvoke Interface 6:

InvokeRpcMethodAsync(String, String, .Object., .AnyTypeSpecifier., AnyTypeSpecifier, CancellationToken)

Invokes the specified RPC Method asynchronously

IAdsRpcInvoke Interface 7:

IAdsRpcInvoke Interface 8:

TryInvokeRpcMethod(String, String, .Object., Object.)

Invokes the specified RPC Method

IAdsRpcInvoke Interface 9:

IAdsRpcInvoke Interface 10:

TryInvokeRpcMethod(String, String, .Object., .Object.., Object.)

Invokes the specified RPC Method

IAdsRpcInvoke Interface 11:

IAdsRpcInvoke Interface 12:

TryInvokeRpcMethod(IRpcCallableInstance, IRpcMethod, .Object., .AnyTypeSpecifier., AnyTypeSpecifier, .Object.., Object.)

Invokes the rpc method.

IAdsRpcInvoke Interface 13:

IAdsRpcInvoke Interface 14:

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.

Reference

TwinCAT.Ads Namespace