Questions tagged [modbus]

Modbus is a simple protocol for serial communication between electronic devices.

Filter by
Sorted by
Tagged with
0
votes
1answer
914 views

Talking to Eurotherm 2416 temperature controller over modbus rs232

I am trying to implement the modbus library written by smarmengol to read process values and to set new setpoints (e.g. temperature) on a Eurotherm controller. The Arduino sketch looks like this: /** ...
0
votes
1answer
4k views

Modbus RTU over TCPip

I have developed my arduino code using below library. I tested code working fine over modbus RTU slave. Now i am planning to use RS485 to wifi instead of wire connection. In order to get data over web ...
2
votes
0answers
1k views

Modbus Protocol RTU

I have simple code working on Serial Communication asn below. With Same data i would impliment Modbus protocol> I have Used Modbus library for arduino earlier which works fine with 9600 baudrate and ...
0
votes
1answer
1k views

Why ModBus RTU Master-Slave Dont Work

I have two mega arduino and want to them communicate with modbus rtu together, i use below link circuit for this : http://www.microcontroller-project.com/rs485-communication-between-arduino-mega-and-...
3
votes
1answer
1k views

Arduino throwing error while using modbus RS485 code

I have been trying to make a communication with my industrial drive. All I want to do is read a few values of drive, like current, voltage etc. For that I am using a library: I don't understand why ...
2
votes
1answer
684 views

Modbus master arduino code is throwing weird errors on upload

I am using the following https://code.google.com/p/simple-modbus/ arduino master library code. In order to communicate with my industrial drive. All seems right but I am getting some weird errors. I ...
5
votes
1answer
2k views

Modbus Communication protocol for Arduino as Slave

I have an Arduino Uno board, with these components: rs-485 Modbus module shield Multiprotocol radio shield board for Arduino In addition I have a level sensor which reads either 1 when it is above ...
9
votes
4answers
7k views

How to interconnect multiple Arduinos with a Rpi to control home-lights/switches

While planning the lightning infrastructure (wall-switches and lights) of my new home (it's still under-construction) I choosed to go through the "automated route" way and due to my background (I'm an ...
1
vote
0answers
242 views

Anyone using ModBus RTU on Galileo gen 2?

I'm trying to communicate with some industrial hardware, on ModBusRTU, from my Intel Galileo Gen2 board. I use this board to convert UART to RS485 http://linksprite.com/wiki/index.php5?title=...
1
vote
2answers
566 views

Communication arduino MODBUS fails on high number of registers

When I try to run the following program it runs ok: #include <modbus.h> #include <modbusDevice.h> #include <modbusRegBank.h> #include <modbusSlave.h> #include <...
2
votes
1answer
641 views

ModbusMaster.h - changing node

I'm using the ModbusMaster.h library on a project, with arduino-uno and a TTL/RS-485 converter, and the function has to identify the slave that it is communicating. The slaves goes from 1 to 16. After ...
0
votes
1answer
1k views

modbus slave ID setting

I have small problem in setting device ID for Mosbus slave arduino. Here is simple example In Modus library; device ID being configure hardcode while program. This code works for Me. Modbus slave(1,...
1
vote
1answer
2k views

Modbus slave data into word

I have simple code. The library downloaded from github:smarmengol/Modbus-Master-Slave-for-Arduino. I wanted to store floating point. In the code blow, I type casted to integer value. As I know ...
0
votes
1answer
3k views

Modbus master slave

I need Help in two thing Here. 1)My main project is i have 23 hallsensors with analog output. There are connected to arduino UNO analog pins using 16:1 Mux or 8:1 mux circuit. The currently i can ...
2
votes
0answers
728 views

Negative value conversion for modbus slave

I have an analog sensor which reads values 0-5v, -75 degrees to 75 degrees. Now I have converted to +75 degrees and -75 degrees format depend on the voltage. From 2.5v to 5v data is read properly (i....
3
votes
1answer
2k views

Response of Modbus Protocol

I have the below code. This code is successfully compiling and uploading, but I am not getting any response from Slave. What do I need to do? Some time data being received from Slave (I get this ...
1
vote
0answers
1k views

MODbus response for configure data

I am not able to receive data. I am able to send data from master but am not getting any response. This program uploaded successfully. I have below setup to monitor data from Modbus. I have included ...

1
2