Reinicio de flujo para reconexión de servidor Modbus TCP/IP - Flow restart for Modbus TCP/IP server reconnection

Buenas tardes comunidad, tengo un inconveniente con la reconexión del servidor modbus tcp/ip, estoy utilizando un adquisidor de datos con node red incluido, pero a la hora que el equipo(maquina de dosificar sobres) que cuenta con el servidor modbus se apaga y luego se vuelve a encender, el node red ya no lo vuelve a conectar.. lo que hasta hoy en día me resulta es darle de vuelta Deploy y se vuelve a reconectar..

Me estoy iniciando en el mundo de Node Red y les agradecería la ayuda ...


Good afternoon community, I have a problem with the reconnection of the modbus tcp/ip server, I am using a data logger with a network node included, but when the equipment (envelope dosing machine) that has the modbus server is turned off and then it turns on again, the network node no longer reconnects it... what to this day works for me is to turn Deploy back on and it reconnects...

I'm getting started in the world of Node Red and I would appreciate the help...

[{"id":"b68b27a7.e177f","type":"modbus-read","z":"c4213470.ebab7","name":"Ensobradora N2","showStatusActivities":true,"unitid":"","dataType":"HoldingRegister","adr":"0","quantity":"2","rate":"1","rateUnit":"s","server":"c3fbdd48.9e59f8","x":420,"y":120,"wires":[["288fedd0.d5e54a","85535688.b0ef28"],[]]},{"id":"288fedd0.d5e54a","type":"debug","z":"c4213470.ebab7","name":"","active":false,"console":"false","complete":"false","x":790,"y":100,"wires":[]},{"id":"85535688.b0ef28","type":"modbus-write","z":"c4213470.ebab7","name":"","showStatusActivities":false,"unitid":"","dataType":"MHoldingRegisters","adr":"5","quantity":"2","server":"e9cce030.25a51","x":760,"y":160,"wires":[["43ce10ee.f8fea8"],[]]},{"id":"43ce10ee.f8fea8","type":"debug","z":"c4213470.ebab7","name":"","active":false,"console":"false","complete":"false","x":970,"y":140,"wires":[]},{"id":"fffc69e6.c13008","type":"modbus-read","z":"c4213470.ebab7","name":"Reactor CTM Temp","showStatusActivities":false,"unitid":"","dataType":"HoldingRegister","adr":"2","quantity":"2","rate":"1","rateUnit":"s","server":"a674e938.c84658","x":430,"y":320,"wires":[["4429f3ec.fd073c"],[]]},{"id":"4429f3ec.fd073c","type":"modbus-write","z":"c4213470.ebab7","name":"","showStatusActivities":false,"unitid":"","dataType":"MHoldingRegisters","adr":"8","quantity":"2","server":"e9cce030.25a51","x":740,"y":360,"wires":[["49dfea92.a2bb0c"],[]]},{"id":"49dfea92.a2bb0c","type":"debug","z":"c4213470.ebab7","name":"","active":false,"console":"false","complete":"false","x":970,"y":320,"wires":[]},{"id":"2c3dd2a.4a63bae","type":"modbus-read","z":"c4213470.ebab7","name":"Reactor CTM ","showStatusActivities":true,"unitid":"","dataType":"HoldingRegister","adr":"0","quantity":"1","rate":"1","rateUnit":"s","server":"a674e938.c84658","x":410,"y":220,"wires":[["4dfe0169.ad2ad","73647c4f.2c0bc4"],[]]},{"id":"73647c4f.2c0bc4","type":"modbus-write","z":"c4213470.ebab7","name":"","showStatusActivities":false,"unitid":"","dataType":"MHoldingRegisters","adr":"7","quantity":"1","server":"e9cce030.25a51","x":760,"y":220,"wires":[["fcdfac3f.d217c8"],[]]},{"id":"fcdfac3f.d217c8","type":"debug","z":"c4213470.ebab7","name":"","active":false,"console":"false","complete":"false","x":970,"y":240,"wires":[]},{"id":"4dfe0169.ad2ad","type":"debug","z":"c4213470.ebab7","name":"","active":false,"console":"false","complete":"false","x":750,"y":300,"wires":[]},{"id":"82ea3598.ed5b88","type":"modbus-server","z":"c4213470.ebab7","name":"Modbus Server for ADAM-6700","logEnabled":true,"serverPort":"502","responseDelay":100,"delayUnit":"ms","coilsBufferSize":"20","holdingBufferSize":"30","inputBufferSize":"20","x":710,"y":40,"wires":[[],[],[]]},{"id":"88cb0699.4bf668","type":"inject","z":"c4213470.ebab7","name":"","topic":"","payload":"","payloadType":"date","repeat":"10","crontab":"","once":false,"x":467,"y":60,"wires":[["82ea3598.ed5b88"]]},{"id":"c3fbdd48.9e59f8","type":"modbus-client","z":"","name":"","clienttype":"tcp","bufferCommands":true,"stateLogEnabled":false,"tcpHost":"192.168.7.147","tcpPort":"502","tcpType":"DEFAULT","serialPort":"/dev/ttyAP1","serialType":"RTU-BUFFERD","serialBaudrate":"9600","serialDatabits":"8","serialStopbits":"1","serialParity":"even","serialConnectionDelay":"100","unit_id":"1","commandDelay":"1","clientTimeout":"100","reconnectTimeout":"100"},{"id":"e9cce030.25a51","type":"modbus-client","z":"","name":"","clienttype":"tcp","bufferCommands":true,"stateLogEnabled":false,"tcpHost":"127.0.0.1","tcpPort":"502","tcpType":"DEFAULT","serialPort":"/dev/ttyUSB","serialType":"RTU-BUFFERD","serialBaudrate":"9600","serialDatabits":"8","serialStopbits":"1","serialParity":"none","serialConnectionDelay":"100","unit_id":1,"commandDelay":1,"clientTimeout":1000,"reconnectTimeout":2000},{"id":"a674e938.c84658","type":"modbus-client","z":"","name":"Reactor CTM","clienttype":"tcp","bufferCommands":true,"stateLogEnabled":false,"tcpHost":"192.168.7.110","tcpPort":"502","tcpType":"DEFAULT","serialPort":"/dev/ttyUSB","serialType":"RTU-BUFFERD","serialBaudrate":"9600","serialDatabits":"8","serialStopbits":"1","serialParity":"none","serialConnectionDelay":"100","unit_id":"1","commandDelay":"5000","clientTimeout":"6000","reconnectTimeout":"6000"}]

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.