Reading values from Gateway Component
-
- Posts: 11
- Joined: 07 Apr 2020, 16:34
Reading values from Gateway Component
Does anyone know why I cant read values from my Gateway Modbus TCP, using QModMaster?
- Attachments
-
- pq.png (279.3 KiB) Viewed 8181 times
Re: Reading values from Gateway Component
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.
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.
-
- Posts: 11
- Joined: 07 Apr 2020, 16:34
Re: Reading values from Gateway Component
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
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
Perhaps I can help;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
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:
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
Thank you David I could not explain it better.
The only option to set the IP to an other network is to
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.
-
- Posts: 11
- Joined: 07 Apr 2020, 16:34
Re: Reading values from Gateway Component
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
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.
The QModMaster has to be set to the IP address of your modular gateway.
-
- Posts: 11
- Joined: 07 Apr 2020, 16:34
Re: Reading values from Gateway Component
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?
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
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".
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".