OPC Toolbox™ 2.1.1
Product Description
- Introduction and Key Features
- Working with the OPC Toolbox
- Using the Hierarchical OPC Data Access Object
- Reading and Writing OPC Data
- Logging OPC Data
- Creating Callback Functions
Reading and Writing OPC Data
Once you create a group object containing item objects, you can read from or write to individual items or all the items in the group simultaneously. In MATLAB, read and write operations can occur either synchronously (MATLAB execution is blocked until the operation is complete) or asynchronously (MATLAB can continue processing while the operation is in progress).
In Simulink, read and write blocks retrieve and transmit data synchronously or asynchronously to and from the OPC server. The blocks contain a client manager that lets you specify and manage the OPC server, select items, and define block sample times.
![]() | The OPC Read Block for Simulink lets you choose items from an OPC server and read online plant data directly into your Simulink model. Click on image to see enlarged view. |
Store
