beckhoff TS6120 — 6.1.1.3 Automatic Cache Update

Configuration The main advantage of this version is seen when a number of OPC clients are working at the same time with TwinCAT OPC server. In that case, each OPC client is given its own OPC server for its "personal use". Each OPC client then has its own independently operating OPC channel to the TwinCAT devices. Most advantage will be noticed for write-requests via OPC-Server into ADS-device. NOTICE When using Windows 7 and a OPC-Client which runs as a Windows Service, you need to disable User Account Control (UAC) for the OPC-Server to run properly. Activating the TwinCAT OPC server as an out-of-process server (EXE) Select "Server Mode" "Out-of-Process (EXE)" and press "Apply". Result :

The TwinCAT OPC server now operates as an EXE program, and each OPC client works with the single, shared instance of the OPC server. In this version the TwinCAT OPC server is visible as an independent process in the task manager. If a number of OPC clients are working at the same time with the TwinCAT OPC server, all the queries are handled by a single instance of the OPC server. This single instance eliminates or minimize double requests of variables for one single ADS device. DCOM: 1. We do not advise the use of DCOM connections. 2. If, however, a DCOM connection is essential, it is implemented with the type "Out-of-process" OPC server.

6.1.1.3 Automatic Cache Update The following information applies to the OPC server running on a PC platform. This information is not relevant when running on a CE platform This option causes the OPC Server to automatically update its cache after write operations. According to OPC Specification an OPC Server shall not update its cache automatically after writing a new value. After a successful write operation the cached value remains the same and is not updated until the next scan cycle. As this behaviour causes problems in some applications the Beckhoff OPC Server provides an option to change this behaviour.

This option is turned off by default, so that the Beckhoff OPC Server operates correctly according to OPC Specification. To change the cache update behaviour start the TwinCAT OPC Configurator, Open the "OPC Server Settings" tab and check "AutoUpdateWriteCache" TS6120 15 Version: 1.2.0