Modbus TCP/IP for Raspberry PI
1 次查看(过去 30 天)
显示 更早的评论
I've been trying to build a Modbus TCP communication link between a Raspberry PI and my Victron CCGX system. As a result, Raspberry Pi should work as a Master in order to read data from the Victron system.
As such, I want to use Raspberry PI "Modbus TCP/IP Master Read" block in Simulink and automatically generate the code. It turns out that this block does not allow user to specify Unit_ID parameter of the Modbus TCP/IP protocol which is required by Victron devices.
Does anyone know if this parameter can be specified within the extarnal code of Modbus TCP/IP block in one of the Raspberry PI libraries? Is it possible to assign it according to my requirements?
Best Regards,
Bartosz
3 个评论
Akshay Jankee
2023-2-2
Hi Bartosz,
THanks for the response. Would you mind sharing an example or resources?
Kind regards,
Akshay
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Run on Target Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!