Посмотрите вот эту страницу:
https://support.mps-soft.ru/ModbusHe...mw_rabotw.html