8. Modbus protocol
8. 1. Principle
The Modbus protocol is a
| Only one device can transmit on the line at any one time. |
| The master manages the exchanges and only it can take the initiative. |
| It interrogates each of the slaves in succession. |
Master | No slave can send a message unless it is invited to do so. |
| In the event of an error during data exchange, the master repeats the question and declares the interrogated |
| slave absent if no response is received within a given time period. |
| If a slave does not understand a message, it sends an exception response to the master. |
| The master may or may not repeat the request. |
Slave i
Slave j | Slave k |
|
Direct
For
Two types of dialog are possible between master and slaves:
•The master sends a request to a slave and waits for it to respond.
•The master sends a request to all slaves without waiting for them to respond (broadcasting principle).
Note: The Modbus server on the "Controller Inside" card cannot be accessed via the Modbus card.
25