Modbus Slave Driver Registers from varios slaves

Forum Home Forums Communicating with Devices Modbus Modbus Slave Driver Registers from varios slaves

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #10821
    cooldjmc
    Participant

    Hi, recently purchased Modbus Slave Driver and i don`t understand how can i create a virtual device that recompile varios registers from real slaves and then responds to anoter master.
    Ex: Rapid Scada Modbus Master – 4 tcp slaves
    create virtual modbus slave with 2 values from each tcp slave
    virtual device (8 registers) -> Modbus Slave Driver -> plc modubus master reading only 8 registers

    Can this be achived or is not that how it works Modbus Slave Driver ?

    #10829
    Mikhail
    Moderator

    Hi,
    In the Modbus Slave driver of version 5.x I strongly recommend to provide fully the same registers as they are. Providing only particular registers may be too tricky. We will simplify driver settings in the 6 version, so you can choose registers when it is ready.

    You should add 4 Modbus Slave devices. Specify for them the same Modbus template that you use for master, and set Data source device equal to master devices’ IDs (> 0).
    https://rapidscada.net/doc/content/latest/en/modules/kp-modbus-slave-files/device_props_en.png

    #10830
    Mikhail
    Moderator

    However, if you have to provide only 2 registers per device as Modbus Slave, I will help you. In this case you should create a new Modbus template, and add a bunch of channels of the Calculated type to make a device mapping.

    • This reply was modified 8 months, 3 weeks ago by Mikhail.
    #10832
    cooldjmc
    Participant

    Thanks for response,

    This is what i did, i have created a new modbus template and from this template i have created the input channels (calculated type) of the device, now my problem is to map values from the input channels of real devices to the input channels of the device created.

    • This reply was modified 8 months, 3 weeks ago by cooldjmc.
    #10835
    Mikhail
    Moderator

    Channel formula example for the calculated channel:
    Val(101); Stat(101)
    where 101 is the source input channel

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