![ST METERS AND MORE UM2241 Скачать руководство пользователя страница 15](http://html1.mh-extra.com/html/st/meters-and-more-um2241/meters-and-more-um2241_user-manual_1355487015.webp)
UM2241
Host interface
commands
DocID030767 Rev 1
15/26
2.3
MIB_Write
This command is initiated by the host controller to request a modification on a specific MIB
object, the MIB object index and the expected new value are embedded in the payload of
the .request message, while the .confirm messages carry the information about the
success of the operation. The indication message is issued by the ST75MM modem when
some specific MIB objects change their values due to the internal state and events or
following a request coming from the PLC.
2.3.1
MIB_Write request
Issued by: host controller
Command code: 0x08
Payload size: variable
Payload content:
MIB object index (1 byte)
MIB content (variable)
2.3.2
MIB_Write positive confirm
Issued by: ST75MM
Command code: 0x09
Payload size: 1 byte
Payload content:
MIB object index (1 byte)
2.3.3
MIB_Write negative confirm
Issued by: ST75MM
Command code: 0x0B
Payload size: 1 byte
Payload content:
Error code (1 byte)
2.3.4
MIB_Write indication
Issued by: ST75MM
Command code: 0x0A
Payload size: variable
Payload content:
MIB object index (1 byte)
MIB value (variable)
2.4
MIB_Read
This command is initiated by the host controller to request the current value of a specific
MIB object, the MIB object index is specified in the payload of the .request message, while
the .confirm messages hold the MIB object index and its current value.