159
Is
s
u
e
d
a
te
:
7
.6
.2
0
1
3
AS-i 3.0 Command Interface
Command Interface Examples
No result because toggle bit = 0.
Set the toggle bit:
The single slave configuration for the 16-bit module is written.
This command must be repeated for all 31 A-slaves and all 31 B-slaves. If you
don't connect a slave to an address, write F
hex
for ID, IO, ID1, ID2.
3. Write new list of projected slaves.
Write the complete LPS of your AS-i circuit.
Every bit in the LPS corresponds to one slave after the following scheme:
byte0/Bit 0: slave 0/0A - can not be set!
byte1/Bit 1: slave 1/1A
...
byte3/Bit 7: slave 31/31A
byte4/Bit 0: slave 0B - can not be set!
byte4/Bit 1: slave 1B
...
byte7/Bit 7: slave 31B
The slave is projected if the bit is set.
request: SET_PCD
byte 1
0C
hex
(SET_PCD)
byte 2
80
hex
(T = 1, master 1, single master)
byte 3
04
hex
(slave address to write to master)
byte 4
EF
hex
(ID + IO to configurate)
byte 5
37
hex
(ID + IO to configurate)
byte 6
00
hex
…
…
byte 12
00
hex
Tab. 5-317.
response
byte 1
25
hex
byte 2
80
hex
(T = 1, result = 0)
byte 3
00
hex
(or old values)
byte 4
00
hex
(or old values)
…
…
byte 12
00
hex
(or old values)
Tab. 5-318.
Содержание AS-I 3.0
Страница 1: ...AS I 3 0 COMMAND INTERFACE FACTORY AUTOMATION MANUAL...
Страница 177: ......