We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [modbus]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
19 views

Connecting Raspberry pi 4 using RS485 can hat for communication between RPI 4 and 2 temp controller

I have purchased this RPI 4. And also RS485 driver Now i am wondering how to connect the RPI4 with my two temperature controllers which use the RS485 protocol. Kindly guide me in the step by step ...
0
votes
0answers
19 views

mbus to modbus protocol

Im trying to convert mbus protocol to modbus IP protocol with a raspberry. Im new on this, just doing bcs my boss asked. I´ve been searching on all google, but I found nothing. Any help would be ...
0
votes
0answers
101 views

Trying to use pymodbus as a slave but getting error

I have been successful using modbus-tk with an off the shelf modbus master simulator. However, when the real master is wired in (an Automation Direct PLC), the master does not get any response from ...
1
vote
1answer
122 views

Modbus communication

I try to read data from a device by raspberry 3 B+. those two devices are connected via CH340G usb module (USB to Serial (TTL) adapter). Concerning the python code; here's: from pymodbus.client....
0
votes
0answers
279 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
500 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
422 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
287 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 ...
1
vote
0answers
395 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
137 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 ...
1
vote
1answer
749 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 ...
-1
votes
2answers
489 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
423 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
4k 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
136 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
4k 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
511 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
531 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
1k 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
41k 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
16k 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 ...