Send host & port to client modbus

Hello, I'm trying to send host and port from two inputs usind dashboard ui, I want to stablish a new Modbus Client and read data with FC4, however I have not found a solution to this, I tried modbus-server, modbus-flex-connector and only modbus-read.

Flow for input data here:`

[
    {
        "id": "c3c2e4c9.3c0f88",
        "type": "ui_text_input",
        "z": "1ec350e76f8e7070",
        "name": "IP Input",
        "label": "Modbus IP",
        "tooltip": "",
        "group": "b1fa6f68.1e245",
        "order": 1,
        "width": 0,
        "height": 0,
        "passthru": true,
        "mode": "text",
        "delay": "0",
        "topic": "modbus_ip",
        "x": 200,
        "y": 420,
        "wires": [
            [
                "d391de55.05dff"
            ]
        ]
    },
    {
        "id": "d391de55.05dff",
        "type": "ui_text_input",
        "z": "1ec350e76f8e7070",
        "name": "Port Input",
        "label": "Modbus Port",
        "tooltip": "",
        "group": "b1fa6f68.1e245",
        "order": 2,
        "width": 0,
        "height": 0,
        "passthru": true,
        "mode": "number",
        "delay": "0",
        "topic": "modbus_port",
        "x": 200,
        "y": 480,
        "wires": [
            [
                "16ff5b28.3f77a5"
            ]
        ]
    },
    {
        "id": "16ff5b28.3f77a5",
        "type": "ui_button",
        "z": "1ec350e76f8e7070",
        "name": "Connect Button",
        "group": "b1fa6f68.1e245",
        "order": 3,
        "width": 0,
        "height": 0,
        "passthru": false,
        "label": "Connect",
        "tooltip": "",
        "color": "",
        "bgcolor": "",
        "icon": "",
        "payload": "connect",
        "payloadType": "str",
        "topic": "",
        "x": 210,
        "y": 540,
        "wires": [
            [
                "b9e1674b.a7d4d8"
            ]
        ]
    },
    {
        "id": "b1fa6f68.1e245",
        "type": "ui_group",
        "name": "Default",
        "tab": "2f258f0e.2b0d",
        "order": 1,
        "disp": true,
        "width": "6",
        "collapse": false
    },
    {
        "id": "2f258f0e.2b0d",
        "type": "ui_tab",
        "name": "Home",
        "icon": "dashboard",
        "order": 1,
        "disabled": false,
        "hidden": false
    }
]

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