Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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.
IMPORTANT: 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 one 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?

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

MongoDB Applied Design Patterns Practical Use Cases With The Leading NoSQL Database

Authors: Rick Copeland

1st Edition

1449340040, 978-1449340049

More Books

Students also viewed these Databases questions