16 809
правок
(Новая страница: «#When changing the value of the register that supports events. #When rebooting the device. This is the only event that occurs immediately after device startup.») |
(Новая страница: «===How does it work?=== 500px|thumb|right|Polling of registers in Fast Modbus and standard protocol 500px|thumb|right|Distribution of event polling time Every 50 ms, the master sends a broadcast request on the bus, which is received by all devices on the bus. If a device generates an event, it sends a response containing the event identifier, its type, and additional data. If there are multiple d...») |
||
Строка 23: | Строка 23: | ||
#When rebooting the device. This is the only event that occurs immediately after device startup. | #When rebooting the device. This is the only event that occurs immediately after device startup. | ||
===How does it work?=== | |||
[[File: | [[File:register_polling_en.png|500px|thumb|right|Polling of registers in Fast Modbus and standard protocol]] | ||
[[File: | [[File:polling_time_en.png|500px|thumb|right|Distribution of event polling time]] | ||
Every 50 ms, the master sends a broadcast request on the bus, which is received by all devices on the bus. If a device generates an event, it sends a response containing the event identifier, its type, and additional data. If there are multiple devices that generate such events, they engage in arbitration, in which the device with a lower Slave ID wins. For more information about arbitration, please refer to [https://github.com/wirenboard/wb-modbus-ext-scanner/blob/main/protocol.md github]. | |||
<div lang="ru" dir="ltr" class="mw-content-ltr"> | <div lang="ru" dir="ltr" class="mw-content-ltr"> |