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 communications many extensions exist to allow communication over other networks such as TCP/IP.

Filter by
Sorted by
Tagged with
0
votes
3answers
83 views

Why lines A and B are HIGH when idle (rs485)

I'm using modbus RTU over RS485 for a project. I use a RaspberryPI as master and Arduino Pro Mini as slaves. My problem is the following : I plug a sensors on the bus and it returs its value. I plug ...
1
vote
2answers
71 views

Please help me understand modbus communications

I'm just starting out with understanding how modbus works over a rs485 protocol. I've received a communication protocol document from a company that makes solar inverters. I want to send a command ...
0
votes
1answer
129 views

Isolated Modbus (RS485) ground and UART noise

I build an isolated RS485 (Modbus) interface board for a sensor. I use ADM2682 as transceiver and VAQE6W-Q24-S12-D as isolated DC-DC converter. All is managed my a STM32L412. There is 2 interesting ...
0
votes
1answer
22 views

Can I use solid state output and relay output with the same components?

So I have a OTB1E0DM9LP Schinder Electric I/O distributed module and I want use it'output to control some 24v electro-valve's and some 24V contactors. The module have 2 Solid-state outputs of 24V 0....
1
vote
1answer
43 views

Modbus: Sensors timed out when plugging another sensor

I have created an hydroponic system using modbus to communicate between a RaspberryPI server and plug&play arduino sensors. It works but as soon as I plug a sensor on the bus (physically), all the ...
0
votes
1answer
55 views

RS232 Modbus to USB wiring

I have a RS232 device that sends data following the modbus protocol. I have problems communicating with it and I think my wiring is wrong. Since most modbus devices work over RS485 it is hard to find ...
0
votes
0answers
36 views

Comunicating with Servo Driver using MODBUS

I am very new to MODBUS and am having trouble connecting to my Servo Motor Driver. I am using a Yun Duan A2 that I purchased from Aliexpress so I could learn about controlling Servo Motors using ...
0
votes
0answers
45 views

Modbus RTU over RS232 link

I am designing a convertor board that will interface three device with Modbus RTU RS232 port to a Modbus RTU RS485 network. Slaves supports Modbus RTU, but their ports is different from master port. ...
0
votes
0answers
57 views

Trouble connecting to temperature controller using MODBUS,RS485 and MATLAB

I am trying to communicate with a temperaturature controller ATR-401 using MATLAB but i am having trouble just connecting to it and reading temperature data.I have set baud rate, data bits, parity and ...
0
votes
4answers
66 views

Detecting Communication Frames

I am sending data between a master and several slaves with RS485 with bytes (8 bit) messages with a very simple frame inspired on Modbus ASCII: ...
1
vote
1answer
51 views

Modbus Slave Firmware Deelopment

I'm developing a simple RS485 based MODBUS slave application on a Microchip PIC micro-controller and need to know best practices to follow on its application side. I can guide myself to get the ...
0
votes
1answer
607 views

Implementing Modbus RTU on a UART device

I have a particle counter HPMA115S0 which has a UART communication interface. I bought a TTL UART to RS485 Converter Module to make it work with a PLC over Modbus RTU protocol. I usually work with ...
0
votes
1answer
207 views

Why is there no reponse from ModbusRTU slave using converter?

There are two devices: Eaton EM20/M (~like Northern Design Cube 400) Volison ADM-5850G Connected them like: Trying to get data from EM20/M which supports ...
2
votes
0answers
120 views

RS485 registers for calculating total power consumption (kwh)

I have an energy meter (OHIO A2000) which has been now discontinued by the manufacturer. Anyway, I'm following the manual for extracting energy parameters through Modbus RS485 communication. I'm ...
0
votes
1answer
449 views

ModBus Timeout Error

Anyone very experienced with Modbus & RS-485??? My task is to control a DC motor using micro PIC24. The motor setting like the angle, delay, start/stop, duty cycle, etc will be sent from PC using ...
1
vote
0answers
63 views

Looking for data sheet of the following Modbus Sensors #updated

I'm a noob in this area, please ignore any stupidity and lack of info and any help is appreciated and I'm ready to provide all clarification on the post if by chance any info is missing. So i have ...
0
votes
1answer
64 views

RS485 Functionality difference

I would like to major difference between these ICS. Max 485 Low power Slew rate limited SN75176 :Differential Bus Transceiver ADM 2483 Differential Bus Transceiver ADM 2483 is Isolated type power ...
0
votes
1answer
43 views

Interface PID temperature control module using Arduino

I need to interface a modular type temperature controller using Arduino. This is the datasheet of temperature controller The datasheet mentioned like this, My questions are, How can I interface( ...
0
votes
1answer
181 views

Mega2560 master on RS485 bus stops communicating with VFD when I add another RS485 module

I’m doing a project where I’m building a control panel for a VFD (inverter/variable frequency drive). I’m connecting the two over half duplex RS485 and use Modbus RTU. As a master I use a Arduino Mega ...
0
votes
0answers
461 views

Modbus RTU for FPGA

I need to implement Modbus RTU in FPGA (Cyclone 3). Basically I see two ways to do that. The first one is to hardcode it in VHDL and it doesn't seem to be that hard at the begining. But I have looked ...
0
votes
1answer
897 views

Modbus RTU Implementation to Automate Temperature through PIC Microcontroller

I would like some help about implementing the Modbus RTU communications protocol in an automated system that I am trying to develop. I am confused about how to generally set up my network because I ...
0
votes
1answer
558 views

Detect Modbus RTU start of frame and end of frame

I have implemented Modbus RTU slave in PIC12F1840. My problem is I have not implemented detection of start of message in the slave device. Any guidance on how to implement it?
0
votes
1answer
67 views

A question about “Modbus compatibility”

This is the first time in my life I need to try "Modbus RTU", and as a master I need a RS485 to USB converter which will establish connection to the PC. I have found some converters in the market ...
1
vote
1answer
276 views

Read multiple modbus devices information by multiple PLC

The requirement is to read many different Modbus devices by different masters. Since this can't be done through RS485, so the following image is the solution coming to me. My questions are: 1.Is it ...
0
votes
1answer
79 views

Suitable 12VDC Communication protocol for untwisted unshielded long-ish wire length?

What would be a reliable and simple tranceiver interface/protocol for board to board serial communication at about 100ft. [9600bps or lower is fine.] The two-lead communication wiring cannot be ...
0
votes
0answers
46 views

running modbus using cat-5e structured cable plant [duplicate]

We're looking to install some temperature/humidity monitoring in an existing facility. Installing new cabling would be very expensive because of the nature of the plant. Using the existing cat-5e ...
0
votes
1answer
64 views

way to display the data from a multi function meter [closed]

I have a multi function meter and i want to collect the data and display it. My idea was to create a api for serial communication?? will the idea work or is there any other better way?? the meter uses ...
1
vote
1answer
327 views

Is there a fieldbus with more than 250 nodes per segment?

We plan to realize a sensor cable several 1000m long which has ideally every 1-2m a magnetic field sensor on a small 10x30mm platine with microprocessor/FPGA for DSP and I2C on chip communication. ...
2
votes
1answer
1k views

Besides address is there other limit on max nodes via RS485 Modbus-RTU

Since there is 1byte for nodes' address in Modbus frame, the limit should be around 256.But some say there is some limit on this scenario (RS485, Modbus-RTU) base on chips and wire. Chips support ...
0
votes
0answers
290 views

libmodbus modbus_read_bits() returns illegal function

It is all okay when it comes to read registers with: modbus_read_registers(ctx,0,32,destination); It gives me values of 32 different registers. But when it comes ...
1
vote
3answers
367 views

RS485: Where to connect the cable shield in a battery-powered system?

I have implemented a Modbus with the RS-485 bus. The length of the bus is about 80 meters and I have connected the master and 10 slaves. The system is battery-powered and will be outdoor. My question ...
2
votes
1answer
127 views

My 3-node serial crossover bus works but I don't understand why

I have a three-node serial bus, wired into what I thought would be a master/slave configuration, but nodes that I didn't think would be able to receive data are receiving data. In other words, it's ...
1
vote
2answers
4k views

RS485 without flow control

Is it possible to send/recieve on RS485 without flow control. I am working on stm32f4 platform with a MAX3160 multiprotocol transceiver(supports RS232 and RS485). The UART lines form STM32F4 are ...
0
votes
2answers
423 views

Modbus communication between Arduino and Unitronics Jazz2 PLC

I am trying to connect Unitronics Jazz2 PLC (JZ20-R16) and an Arduino Uno using Modbus protocol, over RS232 interface. I've got all the required connectors for both Arduino (TTL-RS232 MAX3232 ...
-1
votes
2answers
143 views

Modbus c terminal [closed]

I have to communicate with a device. There are A,B,C Terminals. A and B are standard. But What is The C Terminal? Is it ground?
0
votes
2answers
1k views

Difference between PuTTY Serial and Modbus

I am trying to communicate with a PM810 power meter using Modbus-RTU protocol with the RS-485 standard over 175 meters of CAT5e STP cable. It's less than ideal, but it's the situation I'm working with....
0
votes
1answer
270 views

modbus extra byte at the end error

I'm working with MODBUS interface, based on a usb dongle which converts usb to RS485, then, in my board the rs485 half duplex is passed to max3362, as shown. The data is passed to NXP K64 controller. ...
0
votes
3answers
584 views

How to mount a DB-9 adapter to an enclosure

I have a DB-9 connector that needs to be mounted to an electronics enclosure. This hole for the DB-9 connector will be manually cut out. Question: How can the DB-9 connector be secured to the ...
0
votes
0answers
216 views

Modbus RS485 trouble

I'm trying to connect a power meter (http://www.ebay.co.uk/itm/272572704122) with Modbus over a RS485-USB converter (http://www.ebay.co.uk/itm/231570466384) The converter looks like a serial port (<...
0
votes
2answers
3k views

Difference between Multidrop and daisy chain topology

I want ton know how multidrop differ from daisy chain topology? I am using RS 485 standard and modbus protocol for communication. So which topology is best for my requirement ?
-1
votes
1answer
189 views

Memory location of data table for modbus TCP [closed]

I have a modbus tcp connection between two unit.. Lets say that PLC_A (Master ) <-> PLC_B (Slave) Since they are using a modbus tcp connection one can write to a certain coil address and the ...
-1
votes
2answers
333 views

Standard cables for modbus protocol

What are the standard cables I can use for modbus protocol? lease add the price details if anybody knows
0
votes
1answer
53 views

Does FT232RLMG support RS-485?

I have the FT232RLMG device and a device that uses the RS-485 connection standard. I would like to know if I can connect the TX and RX pins of the FT232RLMG to the device that uses RS-485 directly or ...
1
vote
0answers
634 views

watchdog timer on PLC

I've currently set my PLC as a modbus slave, and written some python code which connect to it and act as a modbus client. I am having some problems with the modbus server sometime terminating the ...
1
vote
2answers
7k views

How to connect RS485 Device to computer in Modbus RTU

How to physically connect a voltage monitoring meter device(ND20) with RS485 out, to a computer with Modbus RTU? Should I use a converter to RS232 and connect to serial COM port of computer? Should I ...
3
votes
1answer
279 views

Is the information in MODBUS function code 16 redundant?

MODBUS function code 16 is "Write Holding Registers". The function command structure is: ...
1
vote
1answer
192 views

Get line to line values from line to neutral reading

My device can provide reading of Line to neutral values through Modbus , I'm requested to provide Line to Line readings which is not available in our Modbus table for the device. Is it possible to get ...
-1
votes
2answers
10k views

Termination resistor creating communication problem in RS485 MODBUS/TCP

In RS485 communication, what is the role of termination resisotor. Is it mandatory? I have been working on a project with MODBUS/TCP over RS485 where upto 32 slaves are there in some links, out of ...
0
votes
1answer
2k views

Difficulty in reading values Modbus application in Python(Pyserial) On Energy meter (EM6400)

I am trying to read energy meter(EM6400) voltage values in python by using modbus protocol. But there are issues when I am reading values. I think the issue is with,...
0
votes
1answer
2k views

How to connect Arduino Uno to an energy meter

How do I connect an energy meter, such as the L&T (Larsen & Toubro) Quasar Intelligent meter (datasheet,) which uses Modbus RTU protocol with RS485 communication to an Arduino Uno? I am ...