Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [modbus]

The tag has no usage guidance.

0
votes
0answers
20 views

Read registers of Power Meter w/ RPi using Pymodbus TCP

I'm trying to monitor the power usage of multiple devices and store that data in a database using Python. I am connecting my RPi 3 to the power meter via an Ethernet cable and using Modbus TCP. To use ...
0
votes
1answer
60 views

Multithreading Python Raspberry Pi 3 B+

My Raspberry Pi 3 b+ is reading by Modbus the values of an irradiation sensor, processing all the data, showing it in a plot and showing some warnings (if the irradiation ramp is higher than 5%). I ...
1
vote
1answer
137 views

pymodbus on Raspberry Pi 3B and Energy Meter

Followed this thread on enabling the serial console on the Raspberry Pi 3B. Checked the functionality using this code: dmesg | grep tty Which produced these results: ... console [tty1] enabled ......
0
votes
0answers
114 views

Connect raspberry pi3 to PLC with switch

I want to connect RPi3 to PLC with network switch to communicate by modbus protocol (RPi as a server and PLC as a client). without network switch the connection works fine, but when a network switch ...
0
votes
0answers
186 views

Raspberry PI HMI

Is it possible to make a Raspberry Pi 3 into a functional HMI for an instrument or set of PLC devices(I usually control remote devices through TCP unless I build the HMI into the unit's case)? I would ...
0
votes
0answers
296 views

Modbus test UI software for Raspberry Pi

I have a Modbus connected over ttyUSB0 in raspberry pi 3. I have to write a python code to interface it but before that I was just wondering is there any test ui software just like modbus-master ...
1
vote
0answers
285 views

Connect multiple sensors on a single USB to RS485 adapter

On tindie I bought a RS485 soil moisture sensor with a USB to RS485 dongle. I want to add more sensors for monotorring multiple plants. Since RS485 is a bus system, it seems basically possible to ...
0
votes
1answer
115 views

Raspberry Pi 24/7 Modbus Rtu proyect

the conpany i work for is making a proyect, we made Modbus RTU connection using raspberry pi 3 as a gateway, and saving the data to Mysql. this proyect have to be 24/7 and running forever, im ...
0
votes
0answers
121 views

Modbus TCP server populated with values from NRF24L01+

I currently have the Raspberry Pi 3 collecting data from different sensors using a network based in Arduino Nanos and NRF24L01+. Raspberry being the master and the Nanos being the slaves. All of this ...
1
vote
1answer
560 views

Serial USB-RS485 failing to read on Pi but not on Ubuntu laptop?

I am reading values from a Battery Management System using two, serial USB-RS485 adaptors (ftdi). I am doing this over MODBUS using the minimal modbus library and python: # Bank A # port name, slave ...
0
votes
0answers
1k views

Modbus TCP/IP communication with PC

I am trying to communicate my PC with RPi via Modbus TCP/IP. I want my Raspberry Pi as client and server (not at the same time). I am accessing RPi through VNC. What should be my host and port number? ...
-1
votes
2answers
410 views

Raspberry Pi instead of PLC

Good morning, I am PLC engineer I have worked with PLC many years but I have plan to use raspberry pi instead of PLC because its less expensive than PLC. I plan to use it in Building Management ...
0
votes
1answer
297 views

minimal modbus scaling

Running a simple modbus program; import time import minimalmodbus minimalmodbus.BAUDRATE = 9600 #changed to suit snapper+ default slave = minimalmodbus.Instrument('/dev/...
0
votes
1answer
3k views

Reading registers through pymodbus

I have been trying to use pymodbus to read registers from a power meter and searching around here I found a useful code from the question I attach in the end of this post. So I wrote/copied the next ...
0
votes
0answers
118 views

Enable Rs485 using timer555

I'm looking for some help with a PCB design i'm doing, i want to connect a power analyzer thar requites Modbus protochol, using 485 halfduplex For that to work i need to enable a disable the rs485 ...
1
vote
1answer
3k views

How do I program a Raspberry Pi obtain information from PLC's registers using Modbus TCP/ICP?

I am trying to extract data from programmable logic controller's registers using Raspberry PI module and then display it on screen. I have installed pymodbus package on my Rpi. I am quite unsure how ...
1
vote
0answers
483 views

ModBus RS485 adapter for GPIO

I have just purchased my first Raspberry Pi 2B. We plan on using it to develop a standalone application with a very high reliability requirement (isolated locations). Is it possible to connect it to ...
3
votes
0answers
502 views

Modbus on Raspberry Pi

I am quite new to Raspberry Pi and Modbus. I am going to implement a Modbus RTU on Raspberry Pi using libmodbus. I followed this totorial as a simple Modbus test, but when I compile the bandwidth-...
1
vote
2answers
762 views

Error in reading data with pymodbus

I have been trying to read data from a modbus slave device using pymodbus. After much research I found this code on internet. It is a straight forward code. I am able to read the data on windows but ...
1
vote
0answers
2k views

Is there a modbus rtu tester for Raspberry PI?

I need a tester much like modpoll but one that runs on Raspbian OS. I need to check if my Raspberry Pi is able to communicate with my modbus slaves.
2
votes
1answer
4k views

For communicating with a modbus rtu slave using rs485 to usb converter, does Raspberry Pi require any configuration?

I have a modbus slave device and a rs485 to usb converter. I used the converter and successfully read data from the slave device with my laptop but when I try to use it with the Raspberry Pi I am ...
5
votes
5answers
36k views

pymodbus rtu RS-485 communication

I have this little device for communication, and I can see the dongle after lsusb, and it is attached to ttyUSB0 (output from dmesg). Since the module has its driver that is installed to Raspberry Pi, ...
3
votes
2answers
15k views

RS-485 and Raspberry Pi

How does RS-485 communication between Raspberry Pi and various sensors work? Note: I would like to use it with Pyhton 2.7. Can I connect ADM485 to the UART (Tx, Rx) of Raspberry Pi? I want to use ...