![CityGrow CG102RS232 Скачать руководство пользователя страница 21](http://html1.mh-extra.com/html/citygrow/cg102rs232/cg102rs232_user-manual_2611503021.webp)
19
6.4
Auto Update of Device Status
The auto status update is supported by device type of Switch, Socket and Dimmer. Such
function allows the controller (Panel, CG102RS232, etc) to be updated once the status of
device (Switch, Socket or Dimmer) is changed. The command ENABLE_AU_REQ is used to
enable such functionality of a target device and the command DISABLE_AU_REQ is used to
enable such functionality of a target device. When the ENABLE_AU_REQ is sent to a device
from a controller, the controller will be registered to the device memory and the device will
send status response (refer to section 4.3) to the controller automatically when the status
of the device is changed. Please note that, each device (Switch, Socket or Dimmer) is able
to register
maximum EIGHT (8) controller information
. Therefore, please ensure the
number of registered controller (Panel, CG102RS232, etc) of a device is not exceeding
EIGHT for each device.
Following is the example format of the PDU from a CG102RS232 to a device for register the
controller for auto status update:
Cmd
DeviceID
1 byte
3 bytes
Device
Type
1 byte
0x81
Figure 6-28 PDU format to enable a target device for auto status update
If the target device is found and such device is supporting auto status update, following
PDU will be return from the CG102RS232:
Cmd
DeviceID
1 byte
3 bytes
Device
Type
1 byte
0x82
Result
1 byte
0x00
Figure 6-29 Response PDU format for enabling the auto status update successfully
Otherwise, following PDU will be return from the CG102RS232 to indicate the request action
is failed:
Cmd
DeviceID
1 byte
3 bytes
Device
Type
1 byte
0x82
Result
1 byte
0x01
Figure 6-30 Response PDU format when enable the auto status update failed
Following is the example format of the PDU from a CG102RS232 to a device for
deregistering the controller for auto status update:
Cmd
DeviceID
1 byte
3 bytes
Device
Type
1 byte
0x83
Figure 6-31 PDU format to disable a target device for auto status update
Содержание CG102RS232
Страница 5: ...3 2 Understanding of the product...
Страница 6: ...4 3 Dimension...