Communication with Other Devices Note: IWS's OPC UA Client does not normally use the Triggering Mode that is defined the OPC UA protocol. Instead, it allows any change in any tag/expression to be used as a trigger. If you want to use Triggering Mode, configure one worksheet to read the trigger values and then configure another worksheet that specifies the read values as triggers. 5. Click OK to close the Advanced dialog and return to the worksheet. 6. In the Status box, type the name of a tag (Integer type) that will receive connection status codes during project runtime. 7. In the Status Message box, type the name of a tag (String type) that will receive the corresponding status messages.
8. In the Publish Rate box, type the frequency (in milliseconds) at which the client will request updates from the server. 9. In the Disable box, type a tag/expression. When the value is TRUE (non-zero), the worksheet will not be executed. 10.In the Root node or view box, specify the server node that will serve as the root for all items in the worksheet body. Specifying a root node makes it easier to find items and improves runtime performance. 11.For each row of the worksheet body, specify the following: • Tag Name : The name of a project tag. You may use indirect tags (e.g., {MyTag} ), but if you do, then be sure to configure the Reload trigger option above. • Item :
The server item with which the project tag should be associated. Page 306 InduSoft Web Studio Area / Element Description Status The name of a tag (Integer type) that will receive a status code for the last read operation performed by a trigger. Status message The name of a tag (String type) that will receive the corresponding status message. Maximum aging The maximum age (in milliseconds) of values that will be accepted from the server's cache. If a value is older than this, then the server will be forced to get the latest value from the target device.
Write actions Enable write on tag change When this value is TRUE (non-zero), a write will be automatically performed whenever the value of the project tag changes. Note: This is enabled by default. If it is disabled, then you must use write triggers (see below). Maximum group size The maximum number of tag writes to be performed in a single write operation. For example, if you have 1000 items/rows configured in the worksheet and Maximum group size is set to 100, then 10 write operations will be performed during each scan of the worksheet. Synchronous write trigger When the value of this tag/expression changes, the worksheet is scanned and all tag values are written to the server.
The project waits for the scan to complete before continuing. Asynchronous write trigger When the value of this tag/expression changes, the worksheet is scanned and all tag values are written to the server. The project continues running without waiting for the scan to complete. Write count The name of a tag (Integer type) that will receive a count of the number of write operations performed since the project was run. Status The name of a tag (Integer type) that will receive a status code for the last write operation performed by a trigger. Status message The name of a tag (String type) that will receive the corresponding status message.
Reload trigger Indirect tags (e.g., {MyTag}) configured in the body of the worksheet will be reloaded only when the value of this tag/expression changes. Refresh IDs on startup When this option is selected, the node IDs in the worksheet will be refreshed from the specified item paths every time the project is run. Note: Refreshing IDs like this may cause the project to take longer to start up, so if you select this option, then you should also specify a root node (see below) to limit how much of the server's list of items must scanned.