Hmi and arduino mega 2560

Hey guys,I am working on a prototype of a bike wash machine which consists of HMI DOP B series here's the link to the manual Delta DOP-B05S111 DOP-B Series HMI Touchscreen - Buy Delta AC Drives, VFDs and Download Delta Manuals Online and interfacing to arduino mega 2560.The Hmi would consist GUI in the form of buttons,user would select which wash he wants to opt,the arduino is controlling motors and reading data from sensors to send it to the HMI which will be displayed on the screen,so my doubts are as follows

1.Who will be the slave and master?
2.Which modbus library should i use (would be working with boolean value(coil) and register(holding register)?
3.Is arduino faster than plc?
Thank you, :slight_smile:

Guys please anyone a little help please?

The Arduino is by far faster than a PLC, but it lacks the debugging tools, ease of programming, and industrial strength.

The Arduino will be the slave and the HMI will be the Master.

There are a couple Modbus libraries out there for Arduino.

Search "Arduino AdvancedHMI" and you will find several examples where others have used a Modbus library on the Arduino and AdvancedHMI software with the ModbusRTU driver.