Modbus slave timeout error

Hi pylon,

#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11);

is to test the softwareSerial port, not related with modbus and I already remove it.

modbus_configure(&Serial1, 9600, SERIAL_8N1, 1, 2, HOLDING_REGS_SIZE, holdingRegs);,initial is using &Serial but my arduino is YUN which same with leonard, need to modify the &Serial to &Serial 1 in order to compile;

I'm using "SimpleModbusSlaveV9"

the configuration at PC simulator and the wiring diagram is in attachment.

Thank you very much.

1.png