AdsConnection.TryRead Method (UInt32, Memory.Byte., Int32.)
Reads the value synchronously data of the symbol, that is represented by the variable handle into the readBuffer.
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 6.0.328+39e3229
Syntax
C#
public AdsErrorCode TryRead(
uint variableHandle,
Memory<byte> readBuffer,
out int readBytes
)
Parameters
variableHandle |
Type: System.UInt32 |
readBuffer |
Type: System.Memory.Byte. |
readBytes |
Type: System.Int32. |