The OPC .NET Client task/worksheet is to communicate with any system that implements the OPC .NET Server protocol.
OPC .NET 3.0 (WCF) (formerly known as OPC Express Interface (Xi)) is the continued evolution of OPC Foundation native support for Microsoft platforms that previously included: the OPC Foundation Automation Wrapper for Visual Basic 6 and the OPC .NET 2.0 API for VB.NET and C#. It bridges the gap between Microsoft.NET and the world of OPC Classic.
In other words, OPC .NET is intended to be a new version of OPC that leverages Microsoft's latest technologies. For more information, go to the OPC Foundation website.
This name will be displayed in the OPC .Net Connections folder in the Project Explorer, and it is the name you will look for when you configure the OPC .Net Client worksheet.
In most cases, you should select Polling to keep the connection active.
Area / Element | Description | |
---|---|---|
Read actions | Enable subscription | When this value is TRUE (non-zero), the client will
constantly request updates from the server.
Note: This is
enabled by default. If it is disabled, then you must use a read
trigger (see below). |
Maximum group size | The maximum number of tag reads that may be performed
in a single read operation.
For example, if you have 1000 items/rows configured in the worksheet and Maximum group size is set to 100, then 10 read operations will be performed during each scan of the worksheet. |
|
Synchronous read trigger | When the value of this tag/expression changes, the worksheet is scanned and all tag values are read from the server. The project waits for the scan to complete before continuing. | |
Asynchronous read trigger | N/A for OPC .Net Client. | |
Read count | The name of a tag (Integer type) that will receive a count of the number of read operations performed since the project was run. | |
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 | N/A for OPC .Net Client. | |
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 a write
trigger (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 | N/A for OPC .Net Client. | |
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 | N/A for OPC .Net Client. |
You may use indirect tags (e.g., {MyTag}), but if you do, then be sure to configure the Reload trigger option above.
To browse the server's list of items, right-click in this field and then click Browse on the shortcut menu.
The Execution Tasks dialog is displayed.
The Startup dialog is displayed.