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

Новая страница: «If the request cannot be processed by the server device for one reason or another, it sends an error message in response. The error message contains the address o…»
(Новая страница: «=== Modbus Exception codes (errors) ===»)
(Новая страница: «If the request cannot be processed by the server device for one reason or another, it sends an error message in response. The error message contains the address o…»)
Строка 193: Строка 193:
===  Modbus Exception codes (errors)  ===
===  Modbus Exception codes (errors)  ===


В случае, если запрос не может по той или иной причине быть обработан устройством-сервером, то в ответ он отправляет сообщение об ошибке. Соообщение об ошибке содержит адрес Modbus-устройства, код функции, при выполнении которой произошла ошибка, увеличенный на 0x80, код ошибки и контрольную сумму:
If the request cannot be processed by the server device for one reason or another, it sends an error message in response. The error message contains the address of the Modbus device, the code of the function in which the error occurred, increased by 0x80, the error code and the checksum:


[[Special:MyLanguage/Файл:Read_8_Coils_ERR.png|600px|thumb|center|Транзакция завершилась с ошибкой]]
[[Special:MyLanguage/Файл:Read_8_Coils_ERR.png|600px|thumb|center|Транзакция завершилась с ошибкой]]
12 063

правки