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 > writeregisters for INT
#1
Hi all,

I'm working with Lua scripts to manage a Modbus slave (RS485 mode), but I got errors using
writeregisters(reg,value) when "reg" is an INT (signed 16) one.

No problems with UINT registers, I can read and write with "writeregisters" and "readregisters" instructions.
So... I have a problem !

Could you help me please ?

Many thank's in advance,
Dominique | Sigma Tec
Reply


Messages In This Thread
Modbus > writeregisters for INT - by SigmaTec - 08.11.2018, 08:58

Forum Jump: