Does MATLAB R2026a Industrial Communication Toolbox support custom Modbus function codes?
Afficher commentaires plus anciens
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"?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Modbus Communication dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!