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 TCP Slave
#3
Replace with tonumber (val) and error message is :
Resident script:20: bad argument #1 to 'rshift' (number expected, got nil)
stack traceback:
[C]: in function 'rshift'
Resident script:20: in function 'update_registers'

I tried with 0 no error but no communication.
B.R.
Reply


Messages In This Thread
ModBus TCP Slave - by Gadjoken - 20.11.2019, 16:09
RE: ModBus TCP Slave - by admin - 20.11.2019, 16:23
RE: ModBus TCP Slave - by Gadjoken - 20.11.2019, 16:45
RE: ModBus TCP Slave - by admin - 20.11.2019, 17:06
RE: ModBus TCP Slave - by Gadjoken - 21.11.2019, 07:03
RE: ModBus TCP Slave - by admin - 21.11.2019, 07:44

Forum Jump: