Page 1 of 1

Reading values from Gateway Component

Posted: 04 Sep 2020, 13:21
by melissamariab
Image

Does anyone know why I cant read values from my Gateway Modbus TCP, using QModMaster?

Re: Reading values from Gateway Component

Posted: 07 Sep 2020, 08:59
by dirk
Hi the have a look at the user manual in the downlods section. Have a look at chapter 5 Configuration. Have a look at the FAQ for the Modular Gateway modules.
Check that the Power LED is green. Check the IP address of the DIP switches. Open http://IP of the device. Can you ping it? Chapter 5.3 shows the Modbus register addresses.

Re: Reading values from Gateway Component

Posted: 07 Sep 2020, 13:14
by melissamariab
I have seen the 5.3 section, but I do not know the address of my gateway component.
My default gateway has the IP address "192.168.88.1". So I believe that my gateway component has the IP "192.168.88.x"? but how can I found out x?
Also, how can I know the IP addresses of the DIP switches?

Thank you very much

Re: Reading values from Gateway Component

Posted: 07 Sep 2020, 13:56
by D.Costa
melissamariab wrote: 07 Sep 2020, 13:14 I have seen the 5.3 section, but I do not know the address of my gateway component.
My default gateway has the IP address "192.168.88.1". So I believe that my gateway component has the IP "192.168.88.x"? but how can I found out x?
Also, how can I know the IP addresses of the DIP switches?

Thank you very much
Perhaps I can help;

First of all, look to the 5.2 point of the manual. The default fix IP adress is 192.168.0.X, and you must define the X using the DIP switch, for example:

Set_IP_DIP_Switch.jpg
Set_IP_DIP_Switch.jpg (19.16 KiB) Viewed 4343 times
Now you can access to the configuration web server using http://192.168.0.20

Note: You must be in the same IP range.

Re: Reading values from Gateway Component

Posted: 08 Sep 2020, 09:34
by dirk
Thank you David I could not explain it better.
The only option to set the IP to an other network is to
  • switch DIP swtiches to DHCP
  • and configure your DHCP server to assign the MAC address of the device the IP address you want.

Re: Reading values from Gateway Component

Posted: 09 Sep 2020, 12:08
by melissamariab
8e89bf6679ea54c3-photo-full.jpg
8e89bf6679ea54c3-photo-full.jpg (504.34 KiB) Viewed 4274 times
Hello, thank you so much for helping me!

So for example, in this case, since my IP is 192.168.88.x,
I have 192.168.88.16 ?

Unfortunately I still couldnt access the website.

And about the QModMaster, in the TCP section, should I put the gateway component IP? Or should I change the IP of my gateway component to the same one as my RevPi?

Re: Reading values from Gateway Component

Posted: 09 Sep 2020, 14:26
by dirk
Hi so if you switch the DIP Switches NOT to DHCP your IP address is 192.168.0.X -> in your case 192.168.0.16
The QModMaster has to be set to the IP address of your modular gateway.

Re: Reading values from Gateway Component

Posted: 14 Sep 2020, 12:49
by melissamariab
I think my QModMaster is not reading values because the gateway component is in one network "192.168.0.X"
and my RevPi is in another "192.168.88.X"

So, I decided to change the IP of my router automatically to the 192.168.0.X range, I thought that after that, I would have a new IP for my RevPi but it did not happen. Does anyone know why?

Re: Reading values from Gateway Component

Posted: 15 Sep 2020, 08:28
by dirk
Dear melissamariab, the pictures you posted show me that the position of the Modular Gateway does not match the PiCtory configuration.
You can check the configuration status with the command "piTest -d".
So please just open PiCtory and switch the Gateway to the left position.
Then "File-> Save as default configuration" and "Tools-> Reset Driver".