Does MATLAB R2026a Industrial Communication Toolbox support custom Modbus function codes?
이전 댓글 표시
I used the Modbus explorer to read data from an HMP110 sensor from Vaisala. I can read data from my device without any issues, but I also need to read the device identification information.
To do this, instead of sending a decimal "03" function code to read data from a specific register, I need to send a function code of "43" with the subfunction code "14" based on the data sheet of this device. However, I don't know how to do this. The "read" function should be a decimal "03" function code according to the Modbus interface documentation.
Does MATLAB R2026a Industrial Communication Toolbox have a function where I can build a string of commands to make a custom Modbus request so I can read the "Device Identification Objects"?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Modbus Communication에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!