ADSOCXTRANSMODE
ADSTRANS_CLIENTCYCLE = 1
ADSTRANS_SERVERCYCLE = 3
ADSTRANS_SERVERONCHA = 4
Description
Parameter | Description |
---|---|
ADSTRANS_CLIENTCYCLE | The ADS-OCX executes a write / read command cyclically. The cycle time is rounded up to a multiple of 55. The shortest time is 55 ms. The timer that initiates the read / write runs in Windows NT/2000/XP user mode, which means that the time behavior strongly depends on the loading of the system. |
ADSTRANS_SERVERCYCLE | The ADS that has been addressed writes the data cyclically to the ADS-OCX. The smallest possible time is the cycle time of the ADS device; for the PLC, this is the task cycle time. The cycle time can be handled in 1 ms steps. If you enter 0 ms as the cycle time, then the data is sent to the ADS-OCX with every cycle of the ADS device task. |
ADSTRANS_SERVERONCHA | The ADS device that has been addressed then only writes the data to the ADS-OCX if they have changed. The ADS device is sampled at the rate given by the cycle time. The cycle time can be handled in 1 ms steps. If you enter a cycle time of 0 ms, every change in the variables will be sent to the ADS-OCX. A longer cycle time can be used to reduce the number of data transmissions to the ADS-OCX. |
The largest cycle time is 32767 ms.
Attention: too many read / write operations can load the system so heavily that the user interface becomes much slower.
Hint: set the cycle time to the most appropriate values, and always close connections when they are no longer required.