Can I communicate through Modbus protocol from MATLAB/Simulink?

20 views (last 30 days)
I want to know if MathWorks offers any products that I can use to communicate through Modbus® protocol.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 14 Sep 2024
Edited: MathWorks Support Team on 14 Sep 2024
Modbus Support from Industrial Communication Toolbox:
Since MATLAB R2022a, modbus functionality (over TCP/IP or Serial RTU) is available from Industrial Communication Toolbox. Prior to that, in MATLAB R2017a to R2021b, modbus was available in Instrument Control Toolbox.
When using the 'modbus' functionality, MATLAB running on your computer acts as a Modbus client, and your equipment acts as a Modbus server. For more information, see:
Starting from R2024b, there are also Modbus Client blocks available for Simulink. For more information, see:
Modbus Support from Simulink Real-Time:
Modbus is also supported with Simulink Real-Time and Speedgoat hardware. Simulink Real-Time is ideal for rapid control prototyping of industrial devices such as programmable logic controllers (PLC) and hardware-in-the-loop simulations for testing industrial equipment such as motor controllers. See also:

More Answers (1)

Vinod
Vinod on 12 Mar 2017
Edited: MathWorks Support Team on 8 Jun 2022
Instrument Control Toolbox added support for MODBUS in R2017a. Take a look at the functionality documented here.

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!