13.03.2023, 16:32
(13.03.2023, 16:15)Daniel Wrote: mb:readregisters(2104) This is a read command, If you want to test reading you can simply use Read test under modbus tab.
Is yout PLC master or slave?
The PLC is configured as modbus master. Yes, this is a read command and both are working for me (read command and read test), but I want to use the universal Modbus TCP Slave script that you developed because if I use the read command and the write command for a large number of variables the CPU usage increases a lot. My question is why when I use read command or read test I receive a read result but when using the universal script there's no data update?