10.07.2015 Views

Practical Industrial Data Networks:Design, Installation and ...

Practical Industrial Data Networks:Design, Installation and ...

Practical Industrial Data Networks:Design, Installation and ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Modbus overview 1097.4 Troubleshooting7.4.1 Common problems <strong>and</strong> faultsNo matter what extremes of care that you may have taken, there is hardly ever aninstallation that boasts of trouble-free setup <strong>and</strong> configuration. Some common problemsrelated to Modbus installations are listed below. They can be categorized as eitherhardware or software problems.Hardware problems include mis-wired communication cabling <strong>and</strong> faultycommunication interfaces.Software (protocol) related issues arise when the master application tries to access nonexistentnodes or use invalid function codes, address non-existent memory locations inthe slaves, or specify illegal data format types, which obviously the slave devices do notunderst<strong>and</strong>. These issues will be dealt with in detail later under the Modbus Plus protocol,as these issues are common to both the traditional Modbus protocol <strong>and</strong> the Modbus Plusprotocol. They are summarized under software related problems.Note that these issues are also applicable to the latest Modbus/TCP protocol, which isdiscussed in appendix D.7.4.2 Description of tools usedIn order to troubleshoot the problems listed above, you would require the use of a fewtools, both hardware <strong>and</strong> software, to locate the errors. The most important tool of allwould always be the instruction manuals of various components involved.The hardware tools that may be required include EIA-232 breakout boxes, EIA-232 toEIA-485 converters, continuity testers, voltmeters, screwdrivers, pliers, crimping tools,spare cabling tools <strong>and</strong> other similar tools <strong>and</strong> tackle. These would generally be used toensure that the cabling <strong>and</strong> terminations are proper <strong>and</strong> have been installed as per therecommended procedures detailed in the instruction manuals.On the software tools front, you would need some form of protocol analyzer that is in aposition to eavesdrop on the communications link between the master <strong>and</strong> slave modules.These could be either a dedicated hardware protocol analyzer, that is very expensive, orsoftware-based protocol analyzer that could reside on a computer <strong>and</strong> act as theeavesdropping node on the network.Obviously, this second option is more economical <strong>and</strong> also requires the relevanthardware component support in order to connect to the network.Figure 7.12Screenshot of the protocol analysis tool

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!