EasyManua.ls Logo

IFM Electronic AS-i DP Series - Page 23

IFM Electronic AS-i DP Series
44 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
device manual AS-i DP - Gateway
Example co
mmand 7, project slave parameters:
Note: The projected parameters can only be changed if the AS-i master is in config mode! Please
refer to command 2.
DP Master Request:
1. Byte: 16#07 (command number)
2. Byte: 16#42 (AS-i Master 1, Slave Nr. 2)
3. Byte: 16#0F (set projected parameters to 16#F)
4. Byte: 16#00 (not used)
DP-Gateway Response:
1. Byte: 16#07 (Copy of request)
2. Byte: 16#42 (Copy of request)
3. Byte: 16#0F (Copy of request)
4. Byte: 16#00 (not used)
Example command 8, read LAS(List of Active Slaves:
DP Master Request:
1. Byte: 16#08 (command number)
2. Byte: 16#42 (AS-i master 1, slave no. 2, corresponds to slaves 1...15 = group 1)
3. Byte: 16#00 (not used)
4. Byte: 16#00 (not used)
DP-Gateway Response:
1. Byte: 16#08 (Copy of request)
2. Byte: 16#42 (Copy of request)
3. Byte: 16#02 (slaves 8..15, that means slave 9 is activated)
4. Byte: 16#04 (slaves 1..7, that means slave 2 is activated)
The answer returns the slave list to which the requested slave belongs.
Group
Slave
Byte 3 Byte 4
1
15a 14a 13a 12a 11a 10a 9a 8a 7a 6a 5a 4a 3a 2a 1a 0 *
2
31a 30a 29a 28a 27a 26a 25a 24a 23a 22a 21a 20a 19a 18a 17a 16a
3
15b 14b 13b 12b 11b 10b 9b 8b 7b 6b 5b 4b 3b 2b 1b res
4
31b 30b 29b 28b 27b 26b 25b 24b 23b 22b 21b 20b 19b 18b 17b 16b
(*) -> LAS and LPS do not contain slave 0, therefore these values are set to 0 by default.
Example command 9, read LDS(List of Detected Slaves):
DP Master Request:
1. Byte: 16#09 (command number)
2. Byte: 16#50 (AS-i master 1, slave no. 16, corresponds to slaves 16...31 = group 2)
3. Byte: 16#00 (not used)
4. Byte: 16#00 (not used)
DP-Gateway Response:
1. Byte: 16#09 (Copy of request)
2. Byte: 16#50 (Copy of request)
3. Byte: 16#02 (Slaves 24..31, that means Slave 25 is detected)
4. Byte: 16#04 (Slaves 16...23, that means Slave 18 is detected)
5-23

Related product manuals