Get Started with Industrial Communication Toolbox
Industrial Communication Toolbox™ provides access to live and historical industrial plant data directly from MATLAB® and Simulink®. You can read, write, and log OPC Unified Architecture (UA) data from devices such as distributed control systems, supervisory control and data acquisition systems, and programmable logic controllers. You can also access plant and manufacturing data directly from OSIsoft® PI servers, and use this data for process monitoring, process improvement, and predictive maintenance applications.
You can work with data from live servers and data historians that conform to the OPC UA, OPC Data Access (DA), and OPC Classic Historical Data Access (HDA) standards. When communicating over OPC UA, you can securely connect to OPC UA servers using a variety of security modes, encryption algorithms, and user authentication methods.
The toolbox includes Simulink blocks that let you model online supervisory control and perform hardware-in-the-loop controller testing. In both MATLAB and Simulink, you can verify algorithms by establishing a secure OPC UA connection to your plant and build connected digital twin models for IIoT applications. The toolbox also supports communication with edge devices and cloud servers over Modbus and MQTT protocols.
- Access Data at the Command Line
Use the toolbox to interact with OPC DA servers from MATLAB software.
- Access Historical Data
Take a step-by-step approach to interact with OPC HDA servers from MATLAB software.
- Access Data from OPC UA Servers
Create an OPC UA application by retrieving current and historical data.
- Create a Modbus Connection
Create a Modbus object with the
modbusfunction, to connect to a Modbus interface.
- Read Data from a Modbus Server
modbusobject to read coil, input, and register data from the Modbus server.
- Use the Modbus Explorer App
You can read and write to coils and registers using the Modbus Explorer app.