4felo 0 Posted June 1, 2017 Finally got multiple arduino slaves being monitored and controlled by Daqfactory. I've been working on this for the past 2 weeks and found no documentation available. I'm able to read analog inputs registers, write to and monitor PWMs registers, read & write to digital pin registers. Communication is through two wire modbus RTU. It's simply fascinating, i can literally monitor an control any of my inputs/outs in real time using cheap arduino unos. Stuff that is done by some really expensive PLCs out there. I'm still making some documentation, but if any of you need assistance post in the forum. Share this post Link to post Share on other sites
AzeoTech 0 Posted June 1, 2017 I'm assuming the no documentation comment is about the Arduino side? Share this post Link to post Share on other sites
svego 0 Posted February 8, 2018 please share arduino code with others...what board did you use ? Share this post Link to post Share on other sites
4felo 0 Posted February 14, 2018 Sorry it took long, forgot about it. arduino code and daqfactory sample program are attached bellow. Just follow the Readme.txt MAX485_TO_arduino_TO_DAQfactory.rar (Works with MAX 485 and arduino Uno) 1. Download Daq Factory Express and load the DAQFactory Document. 2. Load "SimpleModbs_DEMO' to the arduino, make sure to check for slave ID. 3. Double check the configuration settings in Daq factory. Especially the ***PORT NUMBER.*** There are multiple working libraries for implementing modbusRTU on arduino. 1. ModbusMaster ----- Works with only one slave and Master, modification may be needed to implement multiple nodes.http://playground.arduino.cc/Code/ModbusMaster 2.SimpleModbus (current) 3. Modbusino---- Modification of the simpleModbus Libhttps://github.com/stephane/modbusino 4. Modbus-Master-Slave-for-Arduino ---- Single library that contains code for both master and slave.https://github.com/smarmengol/Modbus-Master-Slave-for-Arduino Share this post Link to post Share on other sites
Aditya 0 Posted June 11, 2020 can you please share circuit diagram for multiple slaves Share this post Link to post Share on other sites