ISumCommand Interface
Interface for SumCommands (Combined commands)
Namespace: TwinCAT.Ads.SumCommand
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 4.3.0.0
Syntax
C#
public interface ISumCommand
VB
Public Interface ISumCommand
The ISumCommand type exposes the following members.
Properties
|
Name |
Description |
---|---|---|
|
Gets a value indicating whether this ISumCommand was already executed. | |
|
Gets a value indicating whether this ISumCommand failed. | |
|
Gets teh AdsErrorCode of the main SumCommand ADS Request | |
|
Gets the sub results of the single Sub Requests. | |
|
Gets a value indicating whether this ISumCommand is succeeded. |
Remarks
ADS offers powerful and fast communication to exchange any kind of information. It's possible to read single variables or complete arrays and structures with each one single ADS-API call. The ADS Sum Command command offers to read with one singale ADS call multiple variables which are not structured within a linear memory. As a result the ADS caller application (like scada Systems etc.) can extremly speed up cyclic polling : Sample :
- Until now : Polling 4000 single variables which are not in a linear area (like array / structure / fixed PLC address ) would cause 4000 single Ads-ReadReq with each 1-2 ms protocol time. As a result the scanning of these variables take 4000ms-8000ms.
- New Ads-Command allows to read multiple variables with one single ADS-ReadReq : 4000 single variables are handled with e.g. 8 single Ads-ReadReq (each call requesting 500 variables) with each 1-2 ms protocol time. As a result the scanning of these variables take just few 10ms.
REQUIREMENTS AND IMPORTANT LIMITATIONS ADS is just a transport layer, but there could be important side effects. So read this requirements and take care on limitations:
|