I have Arduino NANO connected with Domat MarkMMX PLC through the RS485 ( TX1, RX0 ). For data / register reading is in the PLC used Modbus RTU protocol. Is working OK. But when I connect light sensor ( with I2C communication ) and change the code to read value, Modbus RS485 communication hang up that time.
If you were to provide a drawing of how you have wired up the various component parts to your Nano, and share your whole sketch - or a simpler sketch that demonstrates the problem, then you will have a better chance of getting a helpful reply.