This doesn't appear to be a duplicate of the existing issues.
The default sketch does not compile, with the error following. I assume that the RS485 class definition isn't treated as hardware serial any longer, likely due to industrial shields updating it. That is simply a guess on my part.
Switching out the RS485 reference for Serial, Serial1 etc. compiles successfully.
ModbusRTUSlave:57:32: error: no matching function for call to 'ModbusRTUSlave::ModbusRTUSlave(RS485Class&, int)'
ModbusRTUSlave modbus(RS485, 31);
^
In file included from \arduino_modified_sketch_598571\ModbusRTUSlave.ino:19:0:
\Arduino\libraries\arduino-Tools40-master\src/ModbusRTUSlave.h:10:3: note: candidate: ModbusRTUSlave::ModbusRTUSlave(HardwareSerial&, uint8_t)
ModbusRTUSlave(HardwareSerial &serial, uint8_t addr);
^~~~~~~~~~~~~~
\Arduino\libraries\arduino-Tools40-master\src/ModbusRTUSlave.h:10:3: note: no known conversion for argument 1 from 'RS485Class' to 'HardwareSerial&'
\Arduino\libraries\arduino-Tools40-master\src/ModbusRTUSlave.h:8:7: note: candidate: constexpr ModbusRTUSlave::ModbusRTUSlave(const ModbusRTUSlave&)
class ModbusRTUSlave : public ModbusSlave {
^~~~~~~~~~~~~~
\Arduino\libraries\arduino-Tools40-master\src/ModbusRTUSlave.h:8:7: note: candidate expects 1 argument, 2 provided
\Arduino\libraries\arduino-Tools40-master\src/ModbusRTUSlave.h:8:7: note: candidate: constexpr ModbusRTUSlave::ModbusRTUSlave(ModbusRTUSlave&&)
\Arduino\libraries\arduino-Tools40-master\src/ModbusRTUSlave.h:8:7: note: candidate expects 1 argument, 2 provided
Multiple libraries were found for "RS485.h"
Used: \AppData\Local\Arduino15\packages\industrialshields\hardware\avr\1.1.38\libraries\RS485
Not used: \Arduino\libraries\ArduinoRS485
Multiple libraries were found for "Ethernet.h"
Used: \AppData\Local\Arduino15\packages\industrialshields\hardware\avr\1.1.38\libraries\Ethernet
Not used: \Arduino\libraries\Ethernet
Using library RS485 at version 1.0 in folder: \AppData\Local\Arduino15\packages\industrialshields\hardware\avr\1.1.38\libraries\RS485
Using library SoftwareSerial at version 1.0 in folder: \AppData\Local\Arduino15\packages\industrialshields\hardware\avr\1.1.38\libraries\SoftwareSerial
Using library arduino-Tools40-master at version 1.0.0-beta in folder: \Arduino\libraries\arduino-Tools40-master
Using library Ethernet at version 2.0.0 in folder: \AppData\Local\Arduino15\packages\industrialshields\hardware\avr\1.1.38\libraries\Ethernet
Using library SPI at version 1.0 in folder: \AppData\Local\Arduino15\packages\industrialshields\hardware\avr\1.1.38\libraries\SPI
exit status 1
no matching function for call to 'ModbusRTUSlave::ModbusRTUSlave(RS485Class&, int)'