Modbus RTU RS485 to ESP8266 autonics MT4W

please follow the forum how to and post your code in code tags.
It is described here:

You can edit your first post and put the code in code tags.

Error Code 226 (in hex 0xE2) means the device is not responding - you might have a wrong connection.

provide following missing information:

  • upload a schematic so we can see how you want to connected your components
  • upload pictures so we can see what you have connected in reality
  • link to the datasheet of the "MT4W" so we can check the supported modbus functions and addresses