Questions tagged [modbus]

33 questions
1
vote
0 answers

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 the slave. So I'm looking at using another modbus…
mspath
  • 11
  • 2
1
vote
0 answers

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 the GPIO header, or is a usb converter the only…
klonq
  • 111
  • 2
0
votes
1 answer

minimal modbus scaling

Running a simple modbus program; import time import minimalmodbus minimalmodbus.BAUDRATE = 9600 #changed to suit snapper+ default slave = minimalmodbus.Instrument('/dev/ttyUSB0', 1) # port name, slave address (in…
0
votes
0 answers

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 pins as Input/Output is anyone have wiring…
0
votes
1 answer

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 and forecast electricity production in "zero…
Fidel
  • 1