Recommnedation for Simulink MODBUS interface design

2 views (last 30 days)
Hello there. We are designing a Simulink model that will run on an embedded target and talk MODBUS TCP to other devices. I've been tasked with creating the MODBUS portions and others are writing logic that will sometimes want to read and write (TBD) data to other devices.
I've managed to install MODBUS libraries and create a CMEX SFunction block which can call the library to set up coils and registers and read and write to the network.
However, I'm more used to structured text programming than Simulink programming, and although I am used to setting up useable comm interfaces for others in C or java, I'm not sure what the best way is to set up a flexible/convenient communication interface within Simulink.
Does anyone have any ideas or examples on a good way to set up a comm interface within Simulink for general use? Me, and my associate who is writing actual operational logic that will use my interface, would appreciate any thoughts.
Thanks VERY much.
  2 Comments
saeed sabaee
saeed sabaee on 21 Aug 2013
Dear Chris, I'm working on same project and I was wondering if you keep me informed of your project.
saeed sabaee
saeed sabaee on 21 Aug 2013
Dear Chris, I'm working on same project and I was wondering if you keep me informed of your project.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!