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
85 views 0 comments
by anonymous

Hello, 

can someone please verify the reading of Modbus TCP holding register 3 (signal strenght) when antenna is disconnected and RSSI is not available on fw TRB1_R_00.07.04.1 or TRB1_R_00.07.04.2 ?

[TCP]>Tx > 14:40:42:973 - 00  2D  00  00  00  06  01  03  00  01  00  01  

[TCP]>Rx > 14:40:42:974 - 00  2D  00  00  00  05  01  03  02  00  00  

[TCP]>Tx > 14:40:47:511 - 00  2E  00  00  00  06  01  03  00  01  00  03  

[TCP]>Rx > 14:40:47:515 - 00  2E  00  00  00  03  01  83  04  

Sys > 14:40:47:515 - Error : Slave device or server failure

I'm getting an error and tcp connection break.

On fw TRB1_R_00.07.03.4 it works as expected.

Thanks,

David

1 Answer

0 votes
by anonymous

Hello,

Do you have a Keep persistent connection option enabled in Services -> MODBUS -> MODBUS TCP slave page?

Does your application have an option to create new connection after every Modbus request?

MODBUS in 7.03.4 would simply return 0 value, when RSSI is not available, such as in your case, when mobile antenna is disconnected.

7.04 returns exception, in your case code 4, which indicates, that requested functionality is supported, but for some reason (disconnected antenna) requested data was not returned.  

Also, how does your application handle exception messages?

Best regards,