Fehler ist wieder aufgetreten und das Skript hat nun perfekt funktioniert
DANKE
modbus.1 2020-06-02 14:52:38.964 info (23726) Connected to slave 192.168.178.82
modbus.1 2020-06-02 14:52:38.480 info (23726) starting. Version 3.0.0 in /opt/iobroker/node_modules/iobroker.modbus, node: v12.17.0, js-controller: 3.1.4
modbus.1 2020-06-02 14:51:37.356 info (18246) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
modbus.1 2020-06-02 14:51:37.354 info (18246) terminating
modbus.1 2020-06-02 14:51:37.347 info (18246) Got terminate signal TERMINATE_YOURSELF
modbus.1 2020-06-02 14:51:37.282 warn (18246) Poll error count: 1 code: {"err":"timeout"}
modbus.1 2020-06-02 14:51:37.280 error (18246) Client in error state.
modbus.1 2020-06-02 14:51:37.279 error (18246) Request timed out.
modbus.1 2020-06-02 14:51:37.277 warn (18246) Error: undefined
javascript.0 2020-06-02 14:52:37.306 info (1665) script.js.common.Neustart_nach_Fehler_Modbus: modbus wieder aktiviert
javascript.0 2020-06-02 14:51:37.300 info (1665) script.js.common.Neustart_nach_Fehler_Modbus: modbus deaktiviert
host.raspberrypi 2020-06-02 14:52:37.340 info "system.adapter.modbus.1" enabled
host.raspberrypi 2020-06-02 14:51:37.885 info instance system.adapter.modbus.1 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
host.raspberrypi 2020-06-02 14:51:37.340 info stopInstance system.adapter.modbus.1 send kill signal
host.raspberrypi 2020-06-02 14:51:37.336 info stopInstance system.adapter.modbus.1 (force=false, process=true)
host.raspberrypi 2020-06-02 14:51:37.332 info "system.adapter.modbus.1" disabled