Questions tagged [modbus]
The modbus tag has no usage guidance.
17
questions with no upvoted or accepted answers
3
votes
0
answers
611
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
0
answers
463
views
Pi4 RTS pin big delay
I am trying to use modbus with RS485 on my Pi4. I'm using modbus_tk with pySerial library, and I managed to get controllig RTS pin while transmitting data, but I cant get it running faster - when TX ...
1
vote
0
answers
1k
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
0
answers
845
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 ...
1
vote
0
answers
595
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 ...
1
vote
0
answers
4k
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.
0
votes
0
answers
49
views
how can i connect raspberry pi with pico H via modbus RTU?
i want to run raspberry pi as master and i need 10 Pico H as slaves via modbus RTU/serial communication and i don't know the code to i just want to run openplc in master and want to use slaves GPIO ...
0
votes
0
answers
1k
views
Attribute: 'ModbusIOException' object has no attribute 'registers'
I try to follow exactly this video https://www.youtube.com/watch?v=ZlHqEOmvW6M
You can have a look what I do : https://drive.google.com/file/d/1LenDiJVxT8wQUOlMbdDZ_VkIzqLvHmLJ/view?usp=sharing
I will ...
0
votes
1
answer
143
views
Third party solar monitoring system
Dear Raspberry Pi community,
I’m a total newbie when it comes to Raspberry Pi and such devices. I have a task at my university to perform an analysis of the use of artificial intelligence to manage ...
0
votes
0
answers
770
views
Raspberry Pi Pico socket module error when trying to use Modbus in micropython
I want to use Modbus library in Pico. First of all, I just try ModbusTCP then ModbusSerial. I am trying to use this https://github.com/techbase123/micropython-modbus GitHub source.
When I run the ...
0
votes
0
answers
92
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
1
answer
981
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
0
answers
439
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
0
answers
158
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 ...
0
votes
1
answer
553
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/...
-1
votes
1
answer
7k
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 ...
-1
votes
2
answers
701
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 ...