Forum Home › Forums › Communicating with Devices › Modbus › Control by web
Tagged: 32-bit floating, Cbw, control by web. Low Word first
- This topic has 8 replies, 2 voices, and was last updated 4 months ago by Mikhail.
September 11, 2022 at 4:47 pm #10705
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.
September 12, 2022 at 8:41 am #10709
- This topic was modified 9 months ago by Mikhail.
I suggest using this instruction to resolve your task.September 14, 2022 at 10:04 pm #10759
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.
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.September 15, 2022 at 9:25 am #10762
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.September 15, 2022 at 9:26 am #10763
As I understand, you read the registers correctly, right?September 22, 2022 at 1:26 am #10875
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!September 22, 2022 at 10:16 am #10881
If you have questions for now, be free to ask.February 8, 2023 at 4:15 am #12082
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.February 8, 2023 at 9:54 am #12087
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.
- You must be logged in to reply to this topic.