Questions tagged [modbus]
Modbus is a serial communications protocol commonly used by PLCs (programmable logic controllers) and other industrial control systems. While originally based on traditional serial communication, many extensions exist to allow communication over other networks such as TCP/IP.
156 questions
0
votes
0
answers
33
views
I'm only able to read registers in groups [closed]
I'm integrating my power meter with the modbus interface with my smart home. I'm trying to read registries to provide data about current power usage, etc.
Is it normal that I'm only able to read ...
2
votes
2
answers
207
views
Trouble connecting RS485 turbidity sensor to a Raspberry Pi
I am trying to connect a Turbidity sensor that operates using Modbus to a Raspberry Pi. The sensor is an industrial-grade device and comes with the needed communication protocols (http://www.sonbus....
0
votes
0
answers
76
views
RS485 Communication Issue with ABB M4M 30 Modbus Using Waveshare RS485 CAN HAT on Raspberry Pi 5
I am using a Waveshare RS232/RS485 CAN HAT with a Raspberry Pi 5 running Raspberry Pi OS (Full, 64-bit) to connect to an ABB M4M 30 energy meter over Modbus RTU via Node-RED.
When I scan for devices ...
2
votes
0
answers
111
views
Modbus RTU Sending 90% Gibberish, 10% Useful Data, & Inconsistent Working Addresses
I'm here looking for advice on 2 issues:
What could be causing the large volume of errors and incorrect responses being sent by an energy metering via RS 485 Modbus RTU to my Windows laptop (...
0
votes
0
answers
41
views
Troubleshooting Inconsistent LoRa-DTU ↔ USB-LoRa Transmission over RS-485
I’m building a long-range wireless link to forward Modbus-RTU data from an MPPT charge controller over LoRa. I’ve wired up one SX1262-LoRa-DTU to the MPPT’s RS-485 bus and one USB-TO-LoRa-xF on my PC, ...
0
votes
1
answer
68
views
Modbus RTU signal diagnosis?
I am trying to use Modbus communication between a PC Client and an arduino UNO R4 Minima server (with a Zihatek modbus shield). The Tx/Rx LEDs on the UNO and RS485 converter flash in sync and I am ...
4
votes
1
answer
280
views
Modbus RTU Interference [closed]
I'm experiencing an issue with Modbus RTU communication and would like to describe the situation in detail.
I have a Modbus slave device from which I'm reading 16 analog inputs (ADC readings) and ...
0
votes
0
answers
88
views
How do I debug Modbus timeout error?
I am an undergraduate researcher trying to connect my PC to a Eurotherm 3508 controller (see Eurotherm 3508 manual here: https://www.eurotherm.com/download/3504-3508-engineering-manual-ha027988-iss-19/...
0
votes
1
answer
173
views
A question about Modbus request response time
In a Modbus RTU the master sends request it receives a response from slave. Im wondering if there is any term for this interval used in PLCs. We can restrict this question for now for one master to ...
1
vote
1
answer
115
views
UART to Isolated RS485 port for modbus causing checksum error
I am trying to create a UART to isolated RS485 port to communicate over Modbus, both Tx and Rx LEDs are glowing together and I am getting checksum errors. The schematic is attached for reference. What ...
0
votes
0
answers
71
views
Should a Modbus exception function code set the MSB or add 0x80?
Suppose a client initiates a transaction, sending a function code in the range 128..255. This function code is invalid, so the server should respond with an exception. However, to me it seems like the ...
4
votes
3
answers
431
views
RS-485 Transmission problem (Modbus RTU)
EDIT: Problem was solved.
The baudrate from the moxa board had a mismatch of 5%, preventing proper transmission. The problem is not electrical but driver related, since by using termios and ioctl to ...
0
votes
0
answers
93
views
Issue with MD02 Temperature and Sensor (MODBUS)
Have an issue with the MD-02 sensor
The sensor was working fine till I "tried" to change the slave address from 0x01 to 0x02 using the command as per the above datasheet.
The command ...
1
vote
0
answers
69
views
Reading Data Using Modbus RTU Over RS-485 [closed]
I would like to receive data from E95-DTU-433L20-485 via Modbus RTU. I could not read data properly. Could you help me figure out what the problem with my configuration is?
...
-1
votes
1
answer
108
views
MODBUS protocol implementation over RS485 for HMI LCD
I am planning to use PICCOLO microcontroller where HMI lcd will be interfaced over RS485 lines. UART lines of microcontroller will be interfaced to LCD via MAX22501 Transceiver.
My query is can we ...