My modbus receives data but doesn't send data

Hi, I'm tying to get data from modbus tcp but I get error:

I'm using Waveshare rs485 to eth(b) connected to Eastron sdm630 modbus v2.
I have read the manuals and the connection of the cables is ok.

This is my Waveshare configuration:

This is my simple flow just to receive data:

[
    {
        "id": "a3de20922655e292",
        "type": "tab",
        "label": "Flow 1",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "f59e084ca18cde41",
        "type": "inject",
        "z": "a3de20922655e292",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 200,
        "y": 100,
        "wires": [
            [
                "8f9226772e8e20e7"
            ]
        ]
    },
    {
        "id": "30b93a5cf40f42a9",
        "type": "debug",
        "z": "a3de20922655e292",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 610,
        "y": 140,
        "wires": []
    },
    {
        "id": "8f9226772e8e20e7",
        "type": "modbus-getter",
        "z": "a3de20922655e292",
        "name": "",
        "showStatusActivities": false,
        "showErrors": true,
        "logIOActivities": false,
        "unitid": "",
        "dataType": "InputRegister",
        "adr": "0",
        "quantity": "72",
        "server": "ccc8899221dfcc7e",
        "useIOFile": false,
        "ioFile": "",
        "useIOForPayload": false,
        "emptyMsgOnFail": false,
        "keepMsgProperties": false,
        "x": 400,
        "y": 120,
        "wires": [
            [],
            [
                "30b93a5cf40f42a9"
            ]
        ]
    },
    {
        "id": "ccc8899221dfcc7e",
        "type": "modbus-client",
        "name": "RS485",
        "clienttype": "tcp",
        "bufferCommands": true,
        "stateLogEnabled": false,
        "queueLogEnabled": false,
        "tcpHost": "10.166.106.63",
        "tcpPort": "4196",
        "tcpType": "DEFAULT",
        "serialPort": "/dev/ttyUSB",
        "serialType": "RTU-BUFFERD",
        "serialBaudrate": "9600",
        "serialDatabits": "8",
        "serialStopbits": "1",
        "serialParity": "none",
        "serialConnectionDelay": "100",
        "serialAsciiResponseStartDelimiter": "0x3A",
        "unit_id": "1",
        "commandDelay": "1",
        "clientTimeout": "1000",
        "reconnectOnTimeout": true,
        "reconnectTimeout": "500",
        "parallelUnitIdsAllowed": true
    }
]

I don't know what to do.

Try to change the quantity to a lower value e.g. 4
Are you sure unitid is 1?

Yeah, it is.
I configured it in Eastron device.
I tried change quantity value too but doesn't work.

Waveshare - Work mode - Tcp Server

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