MATLAB Answers

Modbus RTU Slave TI C2000

15 views (last 30 days)
Hello,
I am programming a DSP model Delfino F28335 using Texas Intruments C2000 tool. I have successfully programmed CAN bus protocol using the embedded coder block. Now I would like to program it as a Modbus RTU slave, or TCP server.
The available blocks for DSP are SCI TX and RX. Is there any tool which help me building the Modbus message, like CAN block?
On the other hand, is it possible to use Modbus Instrument Control Toolbox in Simulink?
Thank you,
Francisco.

Accepted Answer

Antonin
Antonin on 23 Oct 2019
Hi Francisco,
We don't have out-of-the-box support for Modbus.
I think that you could implement it on your own, either with our SCI blocks or by writing S-functions.
It would be a great addition to the file exchange as it's not the first time we hear people interested in Modbus.
Here is a github repo where a user as implemented a modbus slave solution on F28335:
I hope it helps,
Antonin.

More Answers (1)

Community Treasure Hunt

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

Start Hunting!