Before reading the value with the ReadVal method,AddTagThe tag must be registered using the method.
DataSource When set to "0", the value is obtained from the client cache.
DataSource When set to "1", the value is obtained from the server cache.
When DataSource is "2", the value of the PLC device is obtained.
For details, see "Client Cache and Server Cache".
|