CityGrow CG102RS232 User Manual Download Page 5

 

 

2.

 

Understanding of the product 

 

 

 

 

 

 

Summary of Contents for CG102RS232

Page 1: ...and reliability of the data contained in this publication however CityGrow Energy Systems Limited makes no representation warranty or guarantee in connection with this publication and hereby expressl...

Page 2: ...near water 6 Clean only with dry cloth 7 Do not block any ventilation openings Install in accordance with the manufacturer s instructions 8 Do not install near any heat sources such as radiators heat...

Page 3: ...7 5 7 Check Sum 7 6 ZigBee Device Control Protocol ZDCP 9 6 1 Format of Protocol Data Unit PDU 9 6 1 1 Cmd 10 6 1 2 DeviceID 11 6 1 3 DeviceType 11 6 2 Device Control 12 6 2 1 Device ON OFF Control 13...

Page 4: ...on 1 ZigBee wireless remote control 2 Based on IEEE 802 15 4 3 2 4GHz radio frequency 4 External system interface with CityGrow ZigBee devices through RS232 ZigBee interface 5 High speed and 2 way com...

Page 5: ...3 2 Understanding of the product...

Page 6: ...4 3 Dimension...

Page 7: ...shown in Table 2 1 External System ZBCA TxD TxD RxD RxD GND GND Figure 4 2 RS232 Interface connection between external system and CG102RS232 Table 4 1 Physical characteristics of the UART interface PA...

Page 8: ...d Payload reserved for Protocol Data Unit of ZDCP 1 20 bytes Check Sum Check sum code for error detection 2 bytes 5 1 Sync The 2 byte sync code is used to indicate the start of the data frame The form...

Page 9: ...started from 0 The value of the sequence number is increment by one for each new data frame and it should be reset to 0 after the value is larger than 255 When the data frame is required to be acknowl...

Page 10: ...q 0 Seq No 4 IsAck 0 AckReq 0 Seq No 2 IsAck 0 AckReq 0 Seq No 5 IsAck 0 AckReq 1 Seq No 3 IsAck 1 AckReq 0 Seq No 3 IsAck 0 AckReq 0 Seq No 6 IsAck 0 AckReq 0 Seq No 183 IsAck 0 AckReq 0 Seq No 254 I...

Page 11: ...fied device ID control command and control status through the RS232 interface The CG102RS232 will send the control command to the target ZigBee device through the ZigBee network If the control is acco...

Page 12: ...s is shown in the Table 4 2 Table 6 2 Summary of the command type Cmd Description Parameters Name Code CONTROL_REQ 0x01 Device Control Request ControlCmd ControlStatus Set Dimmer Level Only CONTROL_RE...

Page 13: ...01 A two gang switch device on the HomeNET planner which ID is assigned to 0002 the DeviceID for CG102RS232 of the first gang should be 000201 and the second gang should be 000202 6 1 3 DeviceType The...

Page 14: ...Dimmer only CURTAIN_UP 0x21 Control curtain to move up when curtain is stopped Control curtain stop when curtain is moving CURTAIN_DOWN 0x22 Control curtain to move down when curtain is stopped Contr...

Page 15: ...e Type 1 byte Control Cmd 1 byte 0x02 0x01 Control Result 1 byte 0x01 Figure 6 5 Response PDU of device not found To control device OFF following PDU is required send to CG102RS232 Cmd DeviceID 1 byte...

Page 16: ...immer stop to dim up If the control dimmer stop dim up is accomplished following PDU is expected to be returned from CG102RS232 Cmd DeviceID 1 byte 3 bytes Device Type 1 byte Control Cmd 1 byte 0x02 0...

Page 17: ...atus is required set to the value of 70 0x46 in hexadecimal Cmd DeviceID 1 byte 3 bytes Device Type 1 byte Control Cmd 1 byte 0x01 0x15 Control Status 1 byte 0x46 Figure 6 17 Example of set the dimmer...

Page 18: ...R to send IR signal If the CG102IR is able to send the IR signal following PDU is expected to be returned from CG102RS232 Cmd DeviceID 1 byte 3 bytes 0x02 Control Result 1 byte 0x00 Device Type 1 byte...

Page 19: ...e status 1 byte DeviceID The device ID of response device 3 byte Device Status The status of response device 1 byte In the device status response PDU multiple sets of device status information DeviceI...

Page 20: ...Device Status 1 byte Cmd DeviceID 1 byte 3 bytes 0x04 Result 1 byte No Of Device 1 byte 0x00 0x01 0x00 Figure 6 25 Response PDU of device status OFF If the target dimmer is turning ON at 40 following...

Page 21: ...ce 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...

Page 22: ...d send to CG102RS232 Cmd 1 byte 0xF1 Figure 6 34 Request to enquire the ZDCP version of CG102RS232 If the ZDCP of the CG102RS232 is version 1 2 or above following PDU is expected to be returned from C...

Page 23: ...tem is not recommended to send any request to CG102RS232 within the Operation Period Under normal operation if the target device is reachable by the CG102RS232 directly the CG102RS232 may response to...

Page 24: ...communication ZigBee wireless remote control Based on IEEE 802 15 4 RF frequency 2 4GHZ RS232 Serial interface Standard DB9 female connector RF frequency 2 4GHZ Operating temperature 0 C to 40 C Opera...

Reviews: