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
1answer
39 views

How to increase data through put of RS485 RTU?

I am using 20 sensor nodes, each has mpu9250 i2c, Arduino atmega328 MCU 8MHz and max485 chip in it, each slave has a unique id program. I have Arduino due as Modbus master with max485 chip, I hope ...
3
votes
2answers
62 views

Wrong output using SN75HVD10 (RS485)

Designing a modbus master using a STM32F030CCT6 and a SN75HVD10 (3.3V). This is the schematic When i send the following message from the UART: 01 03 00 00 00 06 c5 c8 I see the following scopes (...
2
votes
1answer
60 views

Using CANbus cable for RS-485

I have a question regarding an application with a Modbus RTU network. I would like to know if it's possible to use a CANbus cable instead of an RS-485 cable? Here is a picture of the cable:
3
votes
1answer
36 views

Is there some kind of standard of modbus input register?

As the title said, based on your experience, is there a such thing? If no, which are the most commonly used? for example in a sensor, the input registers as follows: ...
0
votes
0answers
135 views

RS485 Pull-up, Pull-down and single termination resistor

Currently I use for Modbus RTU via RS485 with a shielded cable length of about 5 meters and a bitrate of 19.200 bit/s. Wired are 680 Ohm pull-up (A->+5V) and pull-down (B->GND) resistors near to the ...
0
votes
3answers
104 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
77 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
230 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
23 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....
2
votes
1answer
52 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
120 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
45 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
1answer
77 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
74 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
86 views

Modbus slave firmware development

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
824 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
231 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
134 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
538 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
64 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
70 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
45 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
211 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
499 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
1k 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
659 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
70 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
325 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
85 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
48 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
66 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 ...
2
votes
1answer
336 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. ...
3
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
309 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
410 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
138 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
5k 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
444 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
146 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
2k 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
279 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
693 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
218 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
194 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
514 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
54 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
677 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 ...