modbus与lora网关通信

Forum Home Forums Communicating with Devices Modbus modbus与lora网关通信

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #16406
    tontongtong
    Participant

    Hi

    I have multiple devices that support modbus protocol communication. They cannot actively report data and there are a large number of them. Therefore, I consider using a lora gateway to collect the data of these devices. After lora collects the data, can rapid scada poll and collect the data of multiple devices of the gateway? Is this function a paid module? How can I configure the gateway information in scada so that scada can discover the information of multiple devices collected by the gateway.

    Please help.
    thanks in advance

    #16407
    manjey73
    Participant

    If the devices are modbus, just poll them less frequently by setting the appropriate period.
    Lora is not supported in Scada.

    #16408
    manjey73
    Participant

    Or are your devices still lora?
    And do you want to apply a modbus gateway to them, which you will then poll?

    • This reply was modified 1 month ago by manjey73.
    #16410
    Mikhail
    Moderator

    Hi,
    Lora is a very common name. You should check the documentation of your Lora gateway and find information how it can provide data for the SCADA software. May be it can work in transparent mode so you could receive data in Modbus format.

    #16411
    tontongtong
    Participant

    Hi,
    The LoRa gateway is capable of transmitting data from multiple devices to MQTT, after which MQTT forwards the data to RAPID. Alternatively, the LoRa gateway can directly convert the monitoring data into Modbus format. I would like to inquire about which solution enables RAPID to automatically parse data from multiple devices while preserving their hierarchical relationships upon reception. For instance, if LoRa collects data from 10 devices, it should be able to automatically identify the 10 devices and one gateway device within the communication lines.
    Please help.
    thanks in advance

    #16412
    manjey73
    Participant

    If applied to a gateway in Modbus, isn’t the gateway configurable and places the values from each specific device in a specific register? The same probably applies to MQTT, each variable has its own subscription ID.
    You create several d Rapid Scada devices, with their own variables, even the same tags, etc. if necessary (the same tags are allowed in different devices)
    , Place them on the same communication line for the gateway. You set up a survey template for each device.

    It would probably be a little slower if it were a single “Gateway 1” device, but probably more correct.

    #16413
    Mikhail
    Moderator

    Hi,
    Rapid SCADA supports both Modbus and MQTT. Device polling is configured manually. If it’s needed to automatically recognize new devices, you should develop some additional module for Rapid SCADA.

    #16414
    tontongtong
    Participant

    Hi,
    I received the mqtt topic using rapid scada and reported an error of having no file permissions. I started it using the root user and the opt permission was 755

    error:
    2025-05-22 23:59:53 Receive /scada/data = {“value”:{“temperat…
    Subscribed devices: 3
    Error: Access to the path ‘/opt/scada/Scadacomm/Connfig/’is denied

    centos file infomation:
    [root@localhost scada]# pwd
    /opt/scada
    [root@localhost scada]# ll
    total 40
    drwxr-xr-x. 6 root root 54 May 22 20:48 Archive
    drwxr-xr-x. 2 root root 4096 May 22 23:58 BaseDAT
    drwxr-xr-x. 2 root root 37 May 22 20:48 Config
    -rwxr-xr-x. 1 root root 603 May 22 20:48 make_executable.sh
    -rw-r–r–. 1 root root 90 May 22 23:58 Project.txt
    drwxr-xr-x. 7 root root 4096 May 22 20:48 ScadaAgent
    drwxr-xr-x. 8 root root 4096 May 22 20:48 ScadaComm
    drwxr-xr-x. 8 root root 4096 May 22 20:48 ScadaServer
    -rwxr-xr-x. 1 root root 151 May 22 20:48 scadastart.sh
    -rwxr-xr-x. 1 root root 150 May 22 20:48 scadastop.sh
    drwxr-xr-x. 8 root root 4096 May 22 20:48 ScadaWeb
    -rw-r–r–. 1 root root 17 May 22 20:48 Version.txt
    drwxr-xr-x. 3 root root 24 May 22 23:58 Views
    [root@localhost scada]# ll ScadaComm/
    total 13700
    drwxr-xr-x. 2 root root 6 May 22 21:31 Cmd
    drwxrwxrwx. 2 root root 95 May 22 23:58 Config
    drwxr-xr-x. 3 root root 4096 May 22 20:48 Drv
    -rwxr-xr-x. 1 root root 445440 May 22 20:48 Esprima.dll
    -rwxr-xr-x. 1 root root 6656 May 22 20:48 FileStorage.dll
    -rwxr-xr-x. 1 root root 833024 May 22 20:48 Jint.dll
    drwxr-xr-x. 2 root root 118 May 22 20:48 Lang
    Please help.
    thanks in advance

    #16415
    Mikhail
    Moderator

    Hi,
    This topic is related to Modbus. Please ask about MQTT in a proper topic.

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.