Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q 1 Modbus RTU Instead of a second PC and a null modem cable, you can also use virtual null - modem software ( vnullmod

Q1 Modbus RTU
Instead of a second PC and a null modem cable, you can also use virtual null-modem software (vnullmod20- downloadable from the Internet or Eltima or TAL software) and run both RTU master and slave on one machine. Just do not use a COM port that already exists on your machine (such as COM1). This can also be run in the Remote Labs.
Change the slave ID to 4 and set coils 12/13(absolute addressing in decimal) so that your data (bit values) with a read coil command (FC01) becomes 03 hex (i.e.00000011) in the response message.
IMPORTANT: ADDRESS ONLY THESE TWO COILS.
a) Provide screenshots of BOTH the Modbus Poll and Modbus Slave screens showing the requests and responses (DisplayCommunication). Capture a minimum of four Modbus transactions: one with both coils cleared, one with both coils set and one each with either of the coils set.
b) Explain why you have chosen the two specific coils you are reading. This, in turn, will show that you understand the difference between relative and absolute addressing.
c) The correct data returned, with both coils set, will be 03(00000011). Which 1 belongs to which coil? (5 marks)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Statistical And Scientific Database Management International Working Conference Ssdbm Rome Italy June 21 23 1988 Proceedings Lncs 339

Authors: Maurizio Rafanelli ,John C. Klensin ,Per Svensson

1st Edition

354050575X, 978-3540505754

More Books

Students also viewed these Databases questions

Question

5. Have you stressed the topics relevance to your audience?

Answered: 1 week ago