Is it possible to use MATLAB on slave computer/device for communication to host computer via serial MODBUS (RTU)

조회 수: 4 (최근 30일)
Can I communicate with the host/master via serial port (MODBUS ASCII/RTU) using MATLAB on the slave computer, i.e. I need to wait for a request from the host/master, receive it when it comes and send back the requested data to the host. I found how this can implemented for MODBUS TCP/IP, but I did not find how to implement that for MODBUS ASCII/RTU (RS232, RS485). All MATLAB functions for serial port communication seem to be for the case when the code runs on the host computer. My MATLAB code runs on the slave device (processor/computer which controls the analytical instrument) and I need it to send the data when requested to the host (SCADA).
  댓글 수: 3
Raimundas Steponavicius
Raimundas Steponavicius 2021년 2월 11일
Hello Bambos,
Thank you very much for your comment. Frankly speaking, I have already lost hope to get one :).
Did you find a solution ?
li
li 2025년 1월 8일
Hello Raimundas,
How to simulate a Modbus Server via TCP/IP using MATLAB on the slave computer? Good luck.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Modbus Communication에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by