OPC Toolbox

OPC Toolbox

OPC Toolbox

Product catalog summary
Overview: OPC Toolbox™ provides connectivity to OPC DA and OPC HDA servers, enabling access to live and historical data directly from MATLAB® and Simulink®. It supports reading, writing, and logging data from devices compliant with OPC Foundation standards.
Key Features:
  • Supports OPC Foundation Data Access standard v2.05a and Historical Data Access standard v1.20.
  • Allows simultaneous data logging and numerical processing.
  • Enables connections to multiple OPC servers concurrently.
  • Facilitates access to historical data for analysis and statistical processing.
  • Supports synchronous and asynchronous communication with OPC servers.
OPC Data Access Techniques: Users can access live data from OPC DA servers via MATLAB command line, GUI, or Simulink blocks. The toolbox employs a hierarchical object structure for managing server connections and data items.
Simulink Integration: Simulink blocks allow for real-time supervisory control and hardware-in-the-loop testing. The Configuration block in Simulink specifies OPC DA client settings and manages simulation timing.
Data Reading and Writing: Users can perform synchronous or asynchronous read/write operations on OPC DA data. Data can be logged to memory or disk, and Simulink blocks manage server connections and data transmission.
Historical Data Access: The toolbox supports retrieving raw or processed historical data from OPC HDA servers. Users can specify data retrieval parameters and perform preprocessing operations in MATLAB.
Additional Resources: Further information, trial software, sales contacts, and technical support are available through MathWorks' website.
See more

Catalog excerpts

OPC Toolbox-1

OPC Toolbox Read and write data from OPC servers and data historians OPC Toolbox™ provides a connection to OPC DA and OPC HDA servers, giving you access to live and historical OPC data directly from MATLAB® and Simulink®. You can read, write, and log OPC data from devices, such as distributed control systems, supervisory control and data acquisition systems, and programmable logic controllers, that conform to the OPC Foundation Data Access (DA) standard. You can read and analyze data from any data historian that conforms to the OPC Foundation Historical Data Access (HDA) standard. The product includes Simulink blocks that let you model online supervisory control and perform hardware-in-the-loop controller testing. Key Features ▪ OPC Foundation Data Access standard v2.05a support ▪ OPC Foundation Historical Data Access standard v1.20 support ▪ Simultaneous data logging and numerical processing ▪ Simultaneous connections to multiple OPC servers ▪ Access to historical data for analysis and statistical processing ▪ Communication with OPC servers using synchronous or asynchronous operations OPC Data Access Techniques OPC Toolbox lets you discover, access, and read raw and processed data from any data historian compliant with the OPC Historical Data Access standard. You can also access live data from an OPC Data Access server in three ways: ▪ Execute all OPC Toolbox functions directly from the MATLAB command line or incorporate them into your own MATLAB applications ▪ Use the graphical user interface (GUI) to rapidly connect to OPC DA servers; to create and configure OPC Toolbox objects; and to read, write, and log data ▪ Use the Simulink blocks from OPC Toolbox to read and write data to and from an OPC DA server while simulating a system Simulink model created using Simulink blocks from OPC Toolbox. These blocks let you communicate with OPC data directly to and from Simulink and your process system.

 Open the catalog to page 1
OPC Toolbox-2

OPC Data Access Object When used in MATLAB, the toolbox employs an intuitive, hierarchical object structure to help you manage connections to OPC servers and collections of server items, or tags. You create an OPC Data Access Client object to connect to an OPC server. This connection lets you browse the server namespace and retrieve properties of each item stored on the server. You create Data Access Group objects to control sets of Data Access Item objects, which represent server items. The toolbox lets you configure and control all client, group, and item objects by modifying their properties....

 Open the catalog to page 2
OPC Toolbox-3

I Block Parameters: OPC Configura... | g || B ||j Configure pseudo real-time control options, OPC clients to model, and behavior in response to OPC errors and events. Only one of these blocks can be active in a Simulink model. - Error control- Read/write errors: Server unavailable: Pseudo real-time violation: Pseudo real-time simulation— \V\ Enable pseudo real-time si. Output ports— | Show pseudo real-time late.. H OPC Client Manager (BoilerOPCSh... | □ |l B ||j Define and configure OPC clients for use throughout the Add... | | Delete | | Edit... | : Connect | pisconn.. The OPC Configuration...

 Open the catalog to page 3
OPC Toolbox-4

I Block Properties: OPC Read Read data from an OPC server. Reads can be synchronous (from the cache or device) or asynchronous (from the device). The output ports are vectors the same size as the number of items specified in the block. Value is output as a vector of the specified data type. The optional Quality port is a UINT16 vector. The optional Timestamp port Import from Workspace... | Move down Read mode: Synchronous (cache) Value port data tvpe: double \J\ Show quality port \V\ Show timestamp port as: (0) Seconds since start (.') Serial date number The OPC Read block for Simulink. You can...

 Open the catalog to page 4
OPC Toolbox-5

hdaCbj = ope . hda . Client (rr.Server) ; * create HDA Client object hdaCbj.connect * ccnr.ect tc OPC HDA server as = hdaCb j . getNarr.eSpace ^ browse narr.espace itrr.lDs = {'Saw-toothed Waves . Real3 ■ , ... ■ Random. UInt2 ■}; h choose items to retrieve from server data = hdaCbj . readRaw (itrf.lDs, now-1, now) ^ read the data into MATLA3 MATLAB code, used to connect to an OPC HDA server and access historical data for processing. Product Details, Examples, and System Requirements Trial Software Technical Support Online User Community Training Services Third-Party Products and Services Worldwide...

 Open the catalog to page 5

All The MathWorks catalogs and technical brochures

  1. Stateflow

    8  Pages

  2. SimEvents

    7  Pages

  3. SimDriveline

    7  Pages

  4. SimHydraulics

    7  Pages

  5. SimRF

    6  Pages

  6. MATLAB Coder

    5  Pages

  7. SimBiology

    6  Pages

  8. xPC Target

    5  Pages

  9. SimMechanics

    7  Pages

  10. Simscape

    7  Pages

  11. Simulink

    6  Pages

  12. MATLAB®

    6  Pages

*Prices are pre-tax. They exclude delivery charges and customs duties and do not include additional charges for installation or activation options. Prices are indicative only and may vary by country, with changes to the cost of raw materials and exchange rates.