Translations:Fast Modbus/11/en: различия между версиями

Материал из Wiren Board
(Новая страница: «===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...»)
 
(нет различий)

Текущая версия на 16:05, 29 декабря 2023

Определение сообщения (Fast Modbus)
===Как это работает?===
[[File:register_polling.png|500px|thumb|right|Опрос регистров в Быстром Modbus и стандартном протоколе]]
[[File:polling_time.png|500px|thumb|right|Распределение времени опроса событий]]
Мастер каждые 50 мс отправляет в шину широковещательный запрос, который получают все устройства на шине. Если устройство сгенерировало событие оно отправляет ответ содержащий идентификатор события, его тип и дополнительные данные. Если таких устройств несколько, они устраивают арбитраж, в котором побеждает устройство у которого Slave ID меньше. Подробнее про арбитраж читайте на [https://github.com/wirenboard/wb-modbus-ext-scanner/blob/main/protocol.md github].

How does it work?

Polling of registers in Fast Modbus and standard protocol
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 github.