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
234 views 4 comments
by anonymous

Hi,

We have energy meters with RS485 interface and working IEC62056 protocol, settings are 7E1, 7-bits, even, none. After upgrading firmware from  TRB1_R_00.07.02.7 to TRB1_R_00.07.03.4 communication working not correctly after reboot or power-off and power-on sequence. Only one solution is go to web interface Services->Serial Utilites->Over IP-> rs485 settings and click save & apply button. After reboot or power off-on again procedure. On other devices with 8N1 serial settings looks working correctly. Up to firmware TRB1_R_00.07.02.7 was OK.

Below screenshots: first with OK and second with errors communication

After reboot or power off-on

2 Answers

0 votes
by anonymous
From an old German engineer, who did a lot of serial stuff back in the times, when RS232, RS485 or 20mA were the ways to go for comms: It very looks like, that your unusual port setting 7E1 or line speed is not applied (soon enough) after reboot.

Whereas the usual 8N1 or line speed seem to be defaults for the serial interface.

There should be a work-around to do the correct port setting within /etc/rc.local (or even using a custom /etc/init.d script + appropriate link in /etc/rc.d, to force very early execution of the serial port setting ) , until Teltonika fixes this bug.
0 votes
by anonymous

Hello,

I was not able to replicate the issue locally, thus I would like you to attach a troubleshoot file to your question. Please, make sure the issue is present before generating, then access router's WebUI, go to System -> Administration -> Troubleshoot section and download troubleshoot file from there. 

The logs in the file might provide more insight into the issue.

Could you also login to the router via CLI/SSH and check if the following command recovers proper data reception:

  • /etc/init.d/rs_overip restart 

If it does, it could be inserted to the /etc/rc.local file to be executed after device boot sequence. Some delay may be needed, which can be added with sleep command.

Best regards,

by anonymous

Hi,

Thank you for reply.

1. TRB145 rebooted

2. Settings in web panel are:

After execute command:

root@Teltonika-TRB145:~# /etc/init.d/rs_overip restart                                                                                 

/etc/rc.common: eval: line 41: can't create /sys/class/gpio/rs485_rx_en/value: nonexistent directory                                   

root@Teltonika-TRB145:~#

by anonymous
Troubleshot file PM sent.
by anonymous
The issue should be resolved in 7.4 firmware. It is set to be released in march, maybe even next week, depending on how the testing proceeds.

If the issue is critical, I could provide you with a test firmware version, however, it may be that other device functionalities may not work properly with that firmware.

Best regards,
by anonymous
Thank you for support. I will wait release new firmware.