This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Huawei - Input Register not working
#28
Enable and configure RTU 1 in Modbus tab. Use Read test to check the communication first. Then try this script, change slave id (2) as needed:

Code:
mbproxy = require('mbproxy') mb = mbproxy.new() mb:setslave(2) res, err = mb:writeregisters(40120, 300) if res then   log('write ok') else   log('write failed', err) end
Reply


Messages In This Thread
RE: Huawei - Input Register not working - by admin - 03.09.2026, 11:42

Forum Jump: