Read Di Status; Read Latched Di Status - DAE INSTRUMENT CC1000a06 Reference

Smart lighting control system modbus gateway
Table of Contents

Advertisement

Read DI Status

✦ CC1000 Address 1
✦ LT address 26
➡ Register Address = 26 + 31 = 57
➡ RH = 57 div 256 = 0
➡ RL = 57 mod 256 = 57
Query
CC1000
CC1000
Function
Function
Address
Address
Code
Code
1
3
Reply
CC1000
CC1000
Function
Function
Address
Address
Code
Code
1
3
Byte
Bit #
7
6
0xC
0xC
0xC
0xC
Data
Data
1
1
On
On
Status
16
15
DI

Read Latched DI Status

✦ CC1000 Address 1
✦ LT address 34
➡ Register Address = 34 + 95 = 129
➡ RH = 129 div 256 = 0
➡ RL = 129 mod 256 = 129
Query
CC1000
CC1000
Function
Function
Address
Address
Code
Code
1
3
Reply
CC1000
CC1000
Function
Function
Address
Address
Code
Code
1
3
Byte
Bit #
7
6
0x7
0x7
0x7
0x7
Data
Data
0
1
Off
On
Status
16
15
DI
CC1000 Modbus Reference 2.10e!
Register Address
Register Address
high (RH)
low (RL)
0
57
Read Data
Read Data
Byte
Byte
Count
Count
high (DH)
2
0xCD
High Byte (DH)
High Byte (DH)
High Byte (DH)
High Byte (DH)
High Byte (DH)
High Byte (DH)
High Byte (DH)
High Byte (DH)
5
4
3
2
0xD
0xD
0xD
0xD
0
0
1
1
Off
Off
On
On
14
13
12
11
Register Address
Register Address
high (RH)
low (RL)
0
129
Read Data
Read Data
Byte
Byte
Count
Count
high (DH)
2
0x78
high byte (DH)
high byte (DH)
high byte (DH)
high byte (DH)
high byte (DH)
high byte (DH)
high byte (DH)
high byte (DH)
5
4
3
2
0x8
0x8
0x8
0x8
1
1
1
0
On
On
On
Off
14
13
12
11
Number of Points
Number of Points
high
low
0
1
low (DL)
low
0xEF
173
1
0
7
6
0xE
0xE
0xE
0xE
0
1
1
1
Off
On
On
On
10
9
8
7
Number of Points
Number of Points
high
low
0
1
low (DL)
low
0x9A
26
1
0
7
6
0x9
0x9
0x9
0x9
0
0
1
0
Off
Off
On
Off
10
9
8
7
CRC
CRC
low
high
84
7
CRC
CRC
high
88
Low Byte (DL)
Low Byte (DL)
Low Byte (DL)
Low Byte (DL)
Low Byte (DL)
Low Byte (DL)
Low Byte (DL)
Low Byte (DL)
5
4
3
2
0xF
0xF
0xF
0xF
1
0
1
1
On
Off
On
On
6
5
4
3
CRC
CRC
low
high
212
34
CRC
CRC
high
47
low byte (DL)
low byte (DL)
low byte (DL)
low byte (DL)
low byte (DL)
low byte (DL)
low byte (DL)
low byte (DL)
5
4
3
2
0xA
0xA
0xA
0xA
0
1
1
0
Off
On
On
Off
6
5
4
3
1
0
1
1
On
On
2
1
1
0
1
0
On
Off
2
1
29/122

Advertisement

Table of Contents
loading

Table of Contents