Hello,
i want to use one Mega2560 as inputs only which should be 66pins.
I have changed the pins accordingly
![[203128%2F9404133%2Fmceclip0]](https://d28lcup14p4e72.cloudfront.net/203128%2F9404133%2Fmceclip0.png)
The Communication is set to RTU:
![[203128%2F9404134%2Fmceclip0]](https://d28lcup14p4e72.cloudfront.net/203128%2F9404134%2Fmceclip0.png)
I compiled the blank_Project to the MEGA.
on the Pi runtime i set up the slave device :
As i changed the standard Pin Mapping for the MEGA i uses generic Modbus RTU Device:
I have second Mega Connected on USB0 with the standard MEGA Pin Mapping but both devices fail to connect
OpenPLC Runtime starting...
Interactive Server: Listening on port 43628
Device MegaXB1 is disconnected. Attempting to reconnect...
Persistent Storage is empty
Connected to MB device MegaXB1
Modbus Read Discrete Input Registers failed on MB device MegaXB1: Connection timed out
Issued start_modbus() command to start on port: 502
Server: Listening on port 502
Server: waiting for new client...
Issued stop_dnp3() command
Issued start_enip() command to start on port: 44818
Server: Listening on port 44818
Server: waiting for new client...
Issued stop_pstorage() command
Issued start_snap7() command
Snap7: 2025-07-21 09:22:49 Server started
Modbus Write Coils failed on MB device MegaXB1: Connection timed out
Modbus Read Input Registers failed on MB device MegaXB1: Connection timed out
Modbus Write Holding Registers failed on MB device MegaXB1: Connection timed out
Device MEGA_XA is disconnected. Attempting to reconnect...
Connected to MB device MEGA_XA
Server: Client accepted! Creating thread for the new client ID: 11...
Server: waiting for new client...
Server: Thread created for client ID: 11
Modbus Read Discrete Input Registers failed on MB device MEGA_XA: Connection timed out
Modbus Read Discrete Input Registers failed on MB device MegaXB1: Connection timed out
Modbus Write Coils failed on MB device MegaXB1: Connection timed out
Modbus Read Input Registers failed on MB device MegaXB1: Connection timed out
Modbus Write Holding Registers failed on MB device MegaXB1: Connection timed out
Modbus Read Discrete Input Registers failed on MB device MEGA_XA: Connection timed out
Modbus Read Discrete Input Registers failed on MB device MegaXB1: Connection timed out
Modbus Write Coils failed on MB device MegaXB1: Connection timed out
Modbus Read Input Registers failed on MB device MegaXB1: Connection timed out
Modbus Write Holding Registers failed on MB device MegaXB1: Connection timed out
Modbus Read Discrete Input Registers failed on MB device MEGA_XA: Connection timed out
Modbus Read Discrete Input Registers failed on MB device MegaXB1: Connection timed out
Modbus Write Coils failed on MB device MegaXB1: Connection timed out
Did i miss something to set up this custom device?
What i dont understand is my the other MEGA with standard mapping is failing to which had worked before