Hi Friends, I want to communicate with arduino slave from Weintek HMI using modbus rtu protocol over rs485, I am Using Modbus_Master_Slave Libraries basic example.
Max485 ic is used for interfaceing arduino slave to hmi.
but i am unable to communicate with Hmi.
Really not know where the problem is.
Please provide schematics of the connection between the MAX485 chip and the Nano. The chip needs some additional components to work correctly with the Arduino.
Is your HMI really acting as a ModBus master (your Arduino is configured as slave)? What register addresses does it expect? Post a link to the manual of that device!
pylon:
Yes, it does or better the provided configuration byte does it. But parity is only possible on the hardware serial interface(s).
Please provide schematics of the connection between the MAX485 chip and the Nano. The chip needs some additional components to work correctly with the Arduino.
Is your HMI really acting as a ModBus master (your Arduino is configured as slave)? What register addresses does it expect? Post a link to the manual of that device!
User manual for Weintek HMI
or connection are i mention earlier . i use arduino MAX485 Board