[ { "id": "d9747e06.74827", "type": "inject", "z": "509a396e.0b7cc8", "name": "[0,1,0,1,0,0,0,0]", "topic": "", "payload": "[0,1,0,1,0,0,0,0]", "payloadType": "bin", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 240, "y": 140, "wires": [ [ "dacad41d.009c88" ] ] }, { "id": "1e820c4.6c97bf4", "type": "inject", "z": "509a396e.0b7cc8", "name": "[1,0,1,0,0,0,0,0]", "topic": "", "payload": "[1,0,1,0,0,0,0,0]", "payloadType": "bin", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 240, "y": 180, "wires": [ [ "dacad41d.009c88" ] ] }, { "id": "3f50eb6d.14d5ac", "type": "inject", "z": "509a396e.0b7cc8", "name": "[0,0,0,0,0,0,0,0]", "topic": "", "payload": "[0,0,0,0,0,0,0,0]", "payloadType": "bin", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 240, "y": 220, "wires": [ [ "dacad41d.009c88" ] ] }, { "id": "8f44d4b0.3aca48", "type": "debug", "z": "509a396e.0b7cc8", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "x": 630, "y": 160, "wires": [] }, { "id": "dacad41d.009c88", "type": "modbus-write", "z": "509a396e.0b7cc8", "name": "", "showStatusActivities": false, "showErrors": false, "unitid": "2", "dataType": "MCoils", "adr": "0", "quantity": "8", "server": "2f8849f.ee24736", "x": 460, "y": 200, "wires": [ [ "8f44d4b0.3aca48" ], [ "df682529.015ea" ] ] }, { "id": "df682529.015ea", "type": "modbus-response", "z": "509a396e.0b7cc8", "name": "", "registerShowMax": 20, "x": 650, "y": 260, "wires": [] }, { "id": "d7d2a5e.f115ed8", "type": "inject", "z": "509a396e.0b7cc8", "name": "[1,1,1,1,0,0,0,0]", "topic": "", "payload": "[1,1,1,1,0,0,0,0]", "payloadType": "bin", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 240, "y": 260, "wires": [ [ "dacad41d.009c88" ] ] }, { "id": "1f3d2bdf.5dafac", "type": "modbus-read", "z": "509a396e.0b7cc8", "name": "", "topic": "", "showStatusActivities": false, "showErrors": false, "unitid": "2", "dataType": "Input", "adr": "0", "quantity": "8", "rate": "1", "rateUnit": "h", "delayOnStart": false, "startDelayTime": "", "server": "2f8849f.ee24736", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "x": 240, "y": 340, "wires": [ [ "8f44d4b0.3aca48" ], [ "df682529.015ea" ] ] }, { "id": "21bb4fc1.29f0d8", "type": "inject", "z": "509a396e.0b7cc8", "name": "", "topic": "", "payload": "47", "payloadType": "num", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 230, "y": 440, "wires": [ [ "e67d35f3.082f88" ] ] }, { "id": "2869630f.6987cc", "type": "inject", "z": "509a396e.0b7cc8", "name": "", "topic": "", "payload": "60007", "payloadType": "num", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 230, "y": 480, "wires": [ [ "e67d35f3.082f88" ] ] }, { "id": "e67d35f3.082f88", "type": "modbus-write", "z": "509a396e.0b7cc8", "name": "", "showStatusActivities": true, "showErrors": true, "unitid": "2", "dataType": "HoldingRegister", "adr": "1", "quantity": "1", "server": "2f8849f.ee24736", "x": 380, "y": 460, "wires": [ [ "8f44d4b0.3aca48" ], [ "df682529.015ea" ] ] }, { "id": "2f8849f.ee24736", "type": "modbus-client", "z": "", "name": "Escriptura", "clienttype": "simpleser", "bufferCommands": true, "stateLogEnabled": false, "tcpHost": "127.0.0.1", "tcpPort": "502", "tcpType": "DEFAULT", "serialPort": "/dev/ttyUSB0", "serialType": "RTU", "serialBaudrate": "9600", "serialDatabits": "8", "serialStopbits": "1", "serialParity": "none", "serialConnectionDelay": "100", "unit_id": 2, "commandDelay": 1, "clientTimeout": 1000, "reconnectTimeout": 2000 } ]