FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
680 views 13 comments
by

1 Answer

0 votes
by anonymous
Hello,

Could you elaborate more on the issue? Which part shows you this error and what are you trying to accomplish? Also your what is your firmware version?

Regards.
by
When i send a request "system uptime" as shown in example from master it shows this error instead of response from slave router.

I am trying to establsih a modbus TCP connection between two RUT955.

Firmware version is RUT9XX R 99.06.07 in both routers.
by anonymous
I was not able to reproduce the issue, could you make screenshots of your configuration?
by

here screenshot is attached of error

by anonymous
Hello,

Are your devices connected to the same PC when you are trying to test configuration? Also in Modbus TCP slave devices configuration try to use public IP instead of 192.168.1.2

Regards.
by
No my devices are connected with separate PCs.
by anonymous
Then it is natural that you cannot reach them right now. This configuration example is for both routers connected to the same PC. You will need use public IP's to reach them
by

thanks, I have changed slave device to public IP as you said.

and it is now showing "Operation now in progress" consistenty ..

by anonymous

I suggest checking if both routers have access to the outside internet and in slave router configuration check if remote access is enabled:

by
Yes both routers have access to internet and also remote access is enabled in slave router yet it is giving operation in progress.
by anonymous
Hello,

Could you try to get another slave parameters, like hostname, serial number, or anything from this list: https://wiki.teltonika-networks.com/view/RUT950_Modbus

Let me know what is the output when you are trying to get another value.

Regards.
by
HI,
thanks for your help. there was some internal issue causing problem. Now that it is fixed and everything is going fine.  I am requesting certain parameters from master router to slave router like system uptime, temperature, mobile signal strength and all is receiving properly but when i request some text field like router name and system name it returns a values like given below and if i convert it into text( from hex) it returns a garbage value. Can you help converting it?
[21605,27764,28526,26987,24877,21077,21561,13621,11875,28525,0,0,0,0,0,0]
[1381323833,892665856,0,0,0,0,0,0]
by anonymous

Hello,

I just tested your solution myself. You need to change the data type to anything you feel comfortable reading or converting. For this example, I tried to get the System hostname. I selected Hex in the data type field and once I got the result, I used a simple online converter.

Best regards.

by
HI,

How can we define a Modbus slave. I have done the settings for Modbus Serial Master in 1st router (i.e; master) that is RS232 Configuration and RS232 Slave Device's list. But I want to ask do I have to do some configuration in 2nd Router (i.e; slave) or not?

Also is it right to connect RX to TX and TX to RX for RS232 communication.