smitsavaliya
OpenPLC Runtime starting...
Interactive Server: Listening on port 43628
Device My Arduino Mega is disconnected. Attempting to reconnect...
Warning: Persistent Storage file not found
Connected to MB device My Arduino Mega
Modbus Read Discrete Input Registers failed on MB device My Arduino Mega: 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 start_pstorage() command with polling rate of 10 seconds
Creating Persistent Storage file
Reply 0 0
thiagoralves
I'm pretty sure it is working. Check if the RX/TX leds are constantly blinking. Write a program to blink the built in led on the Arduino board to test. Sometimes depending on which bootloader you have, your arduino board can take a little longer to boot and respond to commands. This delay makes it miss the first one or two modbus requests. If you see only one or two errors like that on the log, but your RX/TX leds are still blinking, then you're probably fine.
Reply 0 0
Reply