Hi, as allways, thank you so much for your attention and time taken to explore this issue further. Did some of that too.
Regarding your comment about warnings in the verbose output it is there on the one sent ealier, it is just Spanish:
ATENCIÓN: la librería ArduinoRS485 pretende ejecutarse sobre arquitectura(s) samd, mbed_portenta, mbed_opta y puede ser incompatible con tu actual tarjeta la cual corre sobre arquitectura(s) avr.
ATENCIÓN: la librería ArduinoModbus pretende ejecutarse sobre arquitectura(s) megaavr, samd, mbed_nano, mbed_portenta, mbed_opta y puede ser incompatible con tu actual tarjeta la cual corre sobre arquitectura(s) avr.
Further, I had some share on upgrading libraries generating headaches after, several times, just to mention a larger home control monster for my own using IR control for my air conditioners, was working quite well, after library upgrade became a nightmare and is still on my desk to have my attention after heavy downgrading library versions.
In any case, I did some digging on the involved libraries anf found following in the RS485.h file:
#ifdef __AVR__
#define RS485_DEFAULT_DE_PIN 2
#define RS485_DEFAULT_RE_PIN -1
Two comments about this:
I would, instinctive ways, question myself what the compiler may do if a pin definition is done with a minus sign. I will try if after edition of that file things become better in some sense.
Regarding the "#ifdef AVR" statement, may, perhaps the culprit in this issue, triggering the "INCOMPATIBLE" thing, as it takes no considerations on the amount of serial ports all avr boards may have. Without doubt, running this library on Uno and similar boards having just one serial port will be problematic without adding some software serial library, keeping whatever an RS485 link may do, away from the only serial port allowing programming and monitoring whatever one may be trying to do with the device. Perhaps some "#elif AVR2560" or similar statement may solve the issue, don't know if it exists. Somebody into where these definitions could be, may be able to correct the library in this sense.
Using the ArduinoModbus + AduinoRS485 libraries for Ethernet will work ok anyway, even on single serial port boards, as questions regarding serial ports are completely left out while data is streamed directly to the Ethernet interface available.
Hope all said helps to correct whatever may not be going the right way, best regards.