Arduino Modbus

Hello pylon,

Thanks for your support.
In fact i found the solution... But i still with doubts... The only change in the code that i made was:

{Mb.R[0] = 0x4241;}
{Mb.R[1] = 0x4443;}
{Mb.R[2] = 0x4645;}
{Mb.R[3] = 0x5847;}
{Mb.R[4] = 0x5858;}

instead of:

Mb.R[0] = 0x4241;
Mb.R[1] = 0x4443;
Mb.R[2] = 0x4645;
Mb.R[3] = 0x5847;
Mb.R[4] = 0x5858;

and the result is what i was trying... for example "ABCDEFGXXX" in the same tag....

So, for me it's done, but if someone can explain me what is the difference between " {Mb.R[0] = 0x4241;} and "Mb.R[0] = 0x4241;" i will appreciate it.

Thanks a lot for your availability.
And as it is the goal of the forum, i'm sharing with you all my tests and results.

Thanks.