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.

Modbus - Writing with bitmask
#4
You can use modbus proxy from scripts to write values to devices: https://forum.logicmachine.net/showthrea...53#pid1953

If you have a fixed addressing rules for multiple units you can use once script with tagged objects. By using source object address you can calculate output addresses etc.

From your profile example it looks like you need scripts anyway. Fan control bits should be exclusive, so only one mode can be set at a time.

On the other hand, if the register does not contain any usable configuration bits you can use register value as is and map it to custom values (off/low/medium/high/auto). This way you don't need additional script at least for fan control.
Reply


Messages In This Thread
Modbus - Writing with bitmask - by iJAF - 19.02.2019, 12:07
RE: Modbus - Writing with bitmask - by admin - 19.02.2019, 12:19
RE: Modbus - Writing with bitmask - by iJAF - 19.02.2019, 12:32
RE: Modbus - Writing with bitmask - by admin - 19.02.2019, 12:53
RE: Modbus - Writing with bitmask - by iJAF - 19.02.2019, 15:06
RE: Modbus - Writing with bitmask - by admin - 20.02.2019, 07:30

Forum Jump: