Quantcast
Channel: Arduino Forum - Latest topics
Viewing all articles
Browse latest Browse all 15317

Opta Finder with MODBUS RTU

$
0
0

Hi !
I'm currently testing some MODBUS RTU requests using an OPTA FINDER RS485.
I've been using 2 libraries :

#include <ArduinoModbus.h>
#include <ArduinoRS485.h>

Basically the program is a loop : the LED_USER blinks, then the Finder makes a MODBUS query, and so on...And all this is done through the Arduino IDE, using the Opta Finder libraries (the board is properly recognized).

When I let the board connected to the computer, with the Arduino IDE open, I can see the queries on my scope, and the led blinks. When I power the Finder with another source (18V, and even another USB...), or when I shut down the Arduino IDE, the program doesn't work, the board doesn't send queries, the led doesn't blink.

Of course I tested with a simple blink program : it works properly no matter the power source is.

So it seems to be some troubleshooting with the Modbus librairies. As if the Finder couldn't run the program if not linked to the IDE.

Can anyone help me with this ? Thanks

2 posts - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 15317

Trending Articles