Set Group On/Off; Activate Pattern - DAE INSTRUMENT CC1000a06 Reference

Smart lighting control system modbus gateway
Table of Contents

Advertisement

Set Group On/Off

Example 1 - Set Group to On
✦ CC1000 Address 1
✦ Set Group 27 To On
➡ Register Address = 27
➡ RH = 27 div 256 = 0
➡ RL = 27 mod 256 = 27
➡ Group On
➡ DH = 255
Query and Reply
CC1000
CC1000
Function
Function
Address
Address
Code
Code
1
5
Example 2 - Set Group to Off
✦ CC1000 Address 1
✦ Set Group 63 To Off
➡ Register Address = 63
➡ RH = 63 div 256 = 0
➡ RL = 63 mod 256 = 63
➡ Group Off
➡ DH = 0
Query and Reply
CC1000
CC1000
Function
Function
Address
Address
Code
Code
1
5

Activate Pattern

✦ CC1000 Address 1
✦ Activate Pattern 7
➡ Register Address = 7 + 63 = 70
➡ RH = 70 div 256 = 0
➡ RL = 70 mod 256 = 70
➡ Activate Pattern
➡ DH = 255
Query and Reply
CC1000
CC1000
Function
Function
Address
Address
Code
Code
1
5
CC1000 Modbus Reference 2.10e!
Starting Register
Starting Register
high (RH)
low (RL)
0
27
Starting Register
Starting Register
high (RH)
low (RL)
0
63
Starting Register
Starting Register
high (RH)
low (RL)
0
70
Force Data
Force Data
high (DH)
low
255
0
Force Data
Force Data
high (DH)
low
0
0
Force Data
Force Data
high (DH)
low
255
0
CRC
CRC
low
high
252
61
CRC
CRC
low
high
253
198
CRC
CRC
low
high
109
239
36/122

Advertisement

Table of Contents
loading

Table of Contents