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 AVEVA® PI System™, 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.
Tutorials
- Access Data from OPC UA Servers
Create an OPC UA application by retrieving current and historical data. - Access Historical Data
Take a step-by-step approach to interact with OPC HDA servers from MATLAB software. - Get Started with MQTT
This example shows how to connect and communicate with an MQTT broker in MATLAB®. - Read from a PI Data Archive
This example shows you how to read data from specified tags of an AVEVA® PI Data Archive. - Create a Modbus Connection
Create a Modbus object with themodbus
function, to connect to a Modbus interface. - Read Data from a Modbus Server
Use themodbus
object 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.