ResultWriteControl.CreateFailed Method (AmsAddress, AdsErrorCode, AdsStateCommand, AdsState, AdsState)
Creates a failed ResultWriteControl object.
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229
Syntax
C#
public static ResultWriteControl CreateFailed(
AmsAddress address,
AdsErrorCode errorCode,
AdsStateCommand requested,
AdsState original,
AdsState reached
)
Parameters
address |
Type: TwinCAT.Ads.AmsAddress |
errorCode |
Type: TwinCAT.Ads.AdsErrorCode |
requested |
Type: TwinCAT.Ads.AdsStateCommand |
original |
Type: TwinCAT.Ads.AdsState |
reached |
Type: TwinCAT.Ads.AdsState |