Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Modbus Communication require enhance stability

Status
Not open for further replies.

alpha91

Full Member level 3
Joined
Sep 23, 2011
Messages
168
Helped
1
Reputation
2
Reaction score
2
Trophy points
1,298
Activity points
2,625
Hi all, I am having a system which using PLC to read 3 weighing indicators with Modbus.
but some times the reading that is send from indicator seems like hanging and causing system to overweight.
The reading hang is only happen to one of the indicator instead of all 3 together.
the baud rate using now is 19200 and we are using shielded cable for Modbus communication.
The total length of looping is not more than 2m.

Is there any recommendation on how I can improve my system?
 

Hi,

The first thing you should do is to debug your system....to find the cause of the problem.

There is:
* the sensor hardware
* the sensor bus
* the bus communication
* the calculation within the microcontroller (several steps)
* the output to the human interface

But you don't give those details, thus we are not able to give detailed assistance.

Klaus
 

Hi,

The first thing you should do is to debug your system....to find the cause of the problem.

There is:
* the sensor hardware
* the sensor bus
* the bus communication
* the calculation within the microcontroller (several steps)
* the output to the human interface

But you don't give those details, thus we are not able to give detailed assistance.

Klaus


Hi Klaus, thanks for your prompt reply
The sensor hardware and sensor bus that you mentioned is input of PLC?
while for the calculation, my PLC is using instruction function to read the modbus, then convert the reading from decimal to hex.

The current issue is that, in my PLC, i can see 3 indicators reading is running, while there is some times which the reading is stuck in PLC register even the indicator display is still running, this only happen to either 1 of the indicator at 1 time.

there is no HMI in this system.

- - - Updated - - -

Hi,

The first thing you should do is to debug your system....to find the cause of the problem.

There is:
* the sensor hardware
* the sensor bus
* the bus communication
* the calculation within the microcontroller (several steps)
* the output to the human interface

But you don't give those details, thus we are not able to give detailed assistance.

Klaus

Modbus.PNG


This is how my connection looks like, the modbus wire is looping between indicator.
 

Hi all, I am having a system which using PLC to read 3 weighing indicators with Modbus.
but some times the reading that is send from indicator seems like hanging and causing system to overweight.
The reading hang is only happen to one of the indicator instead of all 3 together.
the baud rate using now is 19200 and we are using shielded cable for Modbus communication.
The total length of looping is not more than 2m.

Is there any recommendation on how I can improve my system?

Hello,

did you declared exactly the same transmision parameters for three slaves?

What Modbus function is your master using to get values of reading values? What memory addreses your slaves using for returned variables?
One I can reccomend is to use "software Modbus master simulator" instead of your PLC.
BTW: what model and vendor of PLC are you using?

Kind regards
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top