OPC Toolbox

OPC DA Data Reading and Writing

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). You can log data to memory or disk.

In Simulink, OPC Read and OPC Write blocks retrieve and transmit data synchronously or asynchronously to and from the OPC DA server. The blocks contain a client manager that lets you specify and manage the OPC DA server, select items, and define block sample times.

The OPC Read block for Simulink.

The OPC Read block for Simulink. You can choose items from an OPC server and read online plant data directly into your Simulink model.

Next: OPC Historical Data Access

Try OPC Toolbox

Get trial software

Access and Organize Data with MATLAB

View webinar