Control by web

Forum Home Forums Communicating with Devices Modbus Control by web

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #10705
    mrexpert
    Participant

    Has anyone ever successfully connected to control by web products?
    The x-401, or the x-410. They support modbus, but I’m not sure if I’m going down the right path trying to connect to it from rapid SCADA.
    For the most part, I simply want to read and put outputs as they occur into rapid SCADA and have them flow into mysql database. They have demo pages where you can log into their admin from their website and you can see the mod bus communication under advanced Network.
    I really like the looks of this software so far, and how powerful it is, so I’m really hoping I can take advantage of connecting the two together.
    Any advice would be appreciated.

    • This topic was modified 1 year, 7 months ago by Mikhail.
    #10709
    Mikhail
    Moderator

    Hello,
    I suggest using this instruction to resolve your task.

    #10759
    mrexpert
    Participant

    Thank you for the link. After going thru it a few times, I was able get a connection.

    I was able to get connected, and to start reading from the device for the inputs and relays, on the IO#’s 0-14, but unable to get the rest of the output from the device, IO’s 16-22.
    (As you can see in Rapidoutput.png in google drive link I have shared) it is working for those.

    Scada Images

    I have tried as many different settings as I can figure out, but still no data from the remaining Modbus outputs.
    I have included the modbus table from the device, instructions from the manufacturer regarding modbus (PDF) and an image of the result with two of the different settings (Outputs.png)
    Can you tell me what I might be doing wrong?
    Once I can get through it once, then I can use it as a template for the next devices to add to the software.
    Thank you.

    #10762
    Mikhail
    Moderator

    According to the screenshots, the registers starting from R1 are not bound to input channels. You can see that Channel cells for them are empty. You need to create input channels in the Input channels table with proper Signal field (9…18).

    When you create channels using the wizard, all channels will be created. If you need to add a few channels, you can do it manually.

    A screenshot of the Input channel table may be helpful.

    #10763
    Mikhail
    Moderator

    As I understand, you read the registers correctly, right?

    #10875
    mrexpert
    Participant

    I was unable to get the info from the remaining channels to display the values, but at the moment, i have what I need to present proof of concept for a project.
    If the project gets approved, I will request a paid service/remote assistance from you, to clean up a few things that I am unclear on.
    Thank you for your help on getting me this far!

    #10881
    Mikhail
    Moderator

    If you have questions for now, be free to ask.

    #12082
    mrexpert
    Participant

    Hi, after playing around with this some more, I am able to read the discreet inputs as on/off from the devices. so that part has been a success.
    The next item I am trying to read the values from the Holding registers, which need to be read as 32-bit floating point and the word order needs to be Low word first.
    How to I set the modbus driver to read with those two settings?
    Thank you.

    #12087
    Mikhail
    Moderator

    Hi,

    In the Modbus template, set the element’s type and byte order like displayed here https://ibb.co/bPpwmnv
    The order of bytes is chosen experimentally. Possible values are empty or 45670123. The default byte order also can be set for the entire template.

    • This reply was modified 1 year, 2 months ago by Mikhail.
    • This reply was modified 1 year, 2 months ago by Mikhail.
Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.