Modbus "Illegal Function" when writing a register

Hi all,
I am having problems trying to write Modbus registers on a RUTX50.
I am able to read whatever register I need, but if I try to write to a register I get the “Illegal function” error.
As example I would like to close the data connection, writing 0 to the 204 register; I use the Write Single Register (0x06) function code and I get the error.
On a previous RUT240 this was working just fine.
Is there any not advertised change to Modbus server with the latest firmware version?
I tried different clients and the result is the same Illegal function error.

Advanced thanks for any help

Hello,

Could you please provide a screenshot showing the error?

Best regards,

Hi Marija,
find below 2 screenshots with the same error; one is from NodeRed, the other from QModMaster.

Hi Marija, have you had a chance to look at the screenshots?

Looking forward to hearing from you
Thank you

Hi, i get the same problem since i updated from 7.14.2 to 7.15.1 Firmware. If i go back to 7.14.x it works fine, but after upgrade to 7.15.1 i can not write any register. (Simcard change or reboot).

@OlafLabitzke I was quite sure it was something due to the latest firmware release, since I remember that previously was working even on the RUTX50.
Which is the procedure to downgrade? I haven’t been able to find it.
They should admit the fault and stopping releasing versions without testing them enough to guarrantee back compatibility.

You easy can download the old firmware from the website and install it manually. BUT attention! ALL configurations are lost thru this! You have to configure new!

Thanks.
I tried the 7.14.3 but still some issues, then loaded the 7.14.2 and now seems to be working.
Unfortunate the fact that you cannot apply the latest backup; you should have one of the same version (or earlier) you are applying.
I would like to see the Teltonika people popping-up and tell us something.

Hi Marija,
any update please?
It’s evident that it is an issue caused by the latest firmware.
Unfortunately I couldn’t stay on the version without the modbus issue, because I haven’t a backup with all the configuration changes I made lately and that could be applied to that version.
Please, I urgently need a fix.
Thank you

Hello @pacman @OlafLabitzke,

I’ve created a ticket for our RnD team regarding this issue. I’ll let you know as soon as I receive any feedback from them.

Thank you for your patience.

Best regards,

1 Like

Hi Marija, any news please?
We are stuck in this limbo for almost two weeks.

Hello,

The fix for this issue will be implemented in the 7.16 firmware version.

We appreciate your patience and understanding.

Best regards,

…and this means?
When is scheduled the 7.16 availability?
Is not nice that consolidated features are hindered by an error introduced in a new release; are non-regression tests not used anymore?

Hello,

We apologize for any inconvenience this issue may have caused.
Unfortunately, I don’t have an exact release date for the 7.16 firmware, but it is expected to be available in the very near future.

As soon as I have more information regarding the release date — or once the firmware is officially released — I will inform you.

Best regards,

Hello @pacman @OlafLabitzke,

Hope you’re doing well!

I wanted to inform you that firmware version 7.16.1 has been released, and it includes a fix for the Modbus issue.
You can download the firmware here: RUTX50 Firmware Downloads - Teltonika Networks Wiki

Please let me know how it goes—whether it resolves the issue or if you have any further questions.

Best regards,

Hi Marija, the illegal function error message is not appearing anymore… but I get very often the “timeout error” and the “invalid data” one when I submit more writes or reads for the registers 204 and 205. See below screenshots.

I also have a considerable number of failed requests I can see on Services-Modbus page.
How can I investigate what’s wrong? I haven’t found any reference to a modbus log.
Would you mind helping, please?

Hello,

Please create a seperate topic for this issue.
Thank you!

Best regards,

Separate topic created, but regarding the errors I get after the latest update, I see no reply.
Looking forward to it, thanks

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.