romeo
I successfully uploaded my program and my arduino is connected to the right com port on slave devices, but I keep getting connection timeouts when trying to run the PLC.

OpenPLC Runtime starting...
Interactive Server: Listening on port 43628
Device Please connect is disconnected. Attempting to reconnect...
Connected to MB device Please connect
Modbus Read Discrete Input Registers failed on MB device Please connect: Connection timed out
Modbus Write Coils failed on MB device Please connect: Connection timed out
Issued start_modbus() command to start on port: 502
Modbus Server: Listening on port 502
Modbus Server: waiting for new client...
Issued start_dnp3() command to start on port: 20000
Modbus Read Input Registers failed on MB device Please connect: Connection timed out
Modbus Write Holding Registers failed on MB device Please connect: Connection timed out
Modbus Read Discrete Input Registers failed on MB device Please connect: Connection timed out
Modbus Write Coils failed on MB device Please connect: Connection timed out
Modbus Read Input Registers failed on MB device Please connect: Connection timed out
Modbus Write Holding Registers failed on MB device Please connect: Connection timed out
Modbus Read Discrete Input Registers failed on MB device Please connect: Connection timed out
Modbus Write Coils failed on MB device Please connect: Connection timed out
Modbus Read Input Registers failed on MB device Please connect: Connection timed out
Modbus Write Holding Registers failed on MB device Please connect: Connection timed out
Modbus Read Discrete Input Registers failed on MB device Please connect: Connection timed out
Modbus Write Coils failed on MB device Please connect: Connection timed out
Modbus Read Input Registers failed on MB device Please connect: Connection timed out
Modbus Write Holding Registers failed on MB device Please connect: Connection timed out
Modbus Read Discrete Input Registers failed on MB device Please connect: Connection timed out
Modbus Write Coils failed on MB device Please connect: Connection timed out
Modbus Read Input Registers failed on MB device Please connect: Connection timed out
Modbus Write Holding Registers failed on MB device Please connect: Connection timed out
Modbus Read Discrete Input Registers failed on MB device Please connect: Connection timed out
Modbus Write Coils failed on MB device Please connect: Connection timed out
Modbus Read Input Registers failed on MB device Please connect: Connection timed out
Modbus Write Holding Registers failed on MB device Please connect: Connection timed out
Modbus Read Discrete Input Registers failed on MB device Please connect: Connection timed out
Reply 0 0
thiagoralves
Did you upload the OpenPLC firmware to your Arduino board as per instructions on the website?
Reply 0 0
romeo
Yes I did that as well
Reply 0 0
thiagoralves
Are the Rx/Tx LEDs on your Arduino board blinking constantly? Try using Radzio Modbus to connect to your Arduino and check if you can read some registers and coils.
Reply 0 0
EngrRhon
please help me with this..

OpenPLC Runtime starting...
Interactive Server: Listening on port 43628
Device Nano is disconnected. Attempting to reconnect...
Connected to MB device Nano
Warning: Persistent Storage file not found
Modbus Read Discrete Input Registers failed on MB device Nano: Connection timed out
Issued start_modbus() command to start on port: 502
Server: Listening on port 502
Server: waiting for new client...
Issued start_dnp3() command to start on port: 20000
Issued start_enip() command to start on port: 44818
Server: Listening on port 44818
Server: waiting for new client...
Issued stop_pstorage() command
Modbus Write Coils failed on MB device Nano: Connection timed out
Reply 0 0
thiagoralves
Did you upload the OpenPLC firmware to your Arduino board as per instructions on the website?
Reply 0 0
EngrRhon
Yes, i already upload the frimware to my arduino nano.
Reply 0 0
thiagoralves
What does your slave device config looks like?
Reply 0 0
EngrRhon
fdsfdsfsdf.png 
Reply 0 0
thiagoralves
You’re missing the COM port
Reply 0 0
EngrRhon
its have a COM port when i put my arduino nano...

in that time my nano is disconnected... 
Reply 0 0
EngrRhon
i always check the COM port with device manager
Reply 0 0
EngrRhon
problem solve.... im use %IX100.0 instead of %IX0.0
Reply 0 0
Reply