×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Recommnedation for Simulink internal MODBUS interface design

Recommnedation for Simulink internal MODBUS interface design

Recommnedation for Simulink internal MODBUS interface design

(OP)
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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources