Command object
Index 2000 ASI Command
You can send commands to AS-i slaves with index 2000. This is possible both during the offline phase (no other commands on the AS-i bus) and during the management phase. In the management phase, however, you can address only AS-i slaves that are not activated.
|
Index (hex) |
Name |
Meaning |
Data type |
Flags |
Default |
|---|---|---|---|---|---|
|
2000:0 |
ASI Command |
Max. subindex |
UINT8 |
RO |
0x03 (3dec) |
|
2000:01 |
Request |
Slave address (see table below) |
OCTET-STRING[4] |
RW |
{0} |
|
Bit |
Value |
Description |
|---|---|---|
|
0 - 4 |
0 - 255 |
Command sequence number |
|
8 - 15 |
1 |
reserved |
|
2 |
reserved | |
|
3 |
reserved | |
|
4 |
AS-i command write parameter | |
|
5 |
reserved | |
|
6 |
reserved | |
|
7 |
AS-i command addressing call | |
|
8 |
reserved | |
|
12 |
AS-i command change extended ID code | |
|
16 - 23 |
0 - 63 |
Address of the AS-i slave to which the command is to be sent (32 is not permitted) |
|
24 - 31 |
0 - 31 |
AS-i command data:
|
Index 2000 ASI Command
|
Index (hex) |
Name |
Meaning |
Data type |
Flags |
Default |
|---|---|---|---|---|---|
|
2000:02 |
Status |
(see following table) |
UINT8 |
RO |
0x00 (0dec) |
|
Bit |
Value |
Description |
|---|---|---|
|
0 - 7 |
0 |
ASI_COMMAND_READY (command object ready for operation, index 0x2000:01) |
|
1 |
ASI_COMMAND_BUSY | |
|
2 - 255 |
reserved |
Index 2000 ASI Command
|
Index (hex) |
Name |
Meaning |
Data type |
Flags |
Default |
|---|---|---|---|---|---|
|
2000:03 |
Response |
(see following table)
For acknowledgement of AS-i command (AS-i command value bit 7 set): addressing call |
OCTET-STRING[4] |
RW |
{0} |
|
Bit |
Description |
|---|---|
|
0 - 7 |
Command sequence number from the request |
|
8 - 14 |
Corresponding to bits 8 to 15 of the command call. |
|
15 |
Error bit: |
|
16 - 23 |
Address of the AS-i slave to which the command was sent. |
|
Bit |
Value |
Description |
|---|---|---|
|
24 - 31 |
0x00 |
Address modification was successful. |
|
0x11 |
No slave exists with an address that was specified as the old address. | |
|
0x22 |
Address 0 is currently assigned to another slave. In order to change the address of an AS-i slave, the EL6201 must first assign the address 0 to the slave in order to address it again afterwards from there. | |
|
0x36 |
A slave with the address that was specified as the new address already exists. | |
|
0x47 |
After deleting the old address, no slave with address 0 exists. | |
|
0x58 |
After deleting the old address, an error is generated during reading of the extended ID code 1 of slave 0. Address changes for A/B slaves also require the extended ID code 1. | |
|
0x69 |
After writing of extended ID code 1, no slave with address 0 exists. | |
|
0x6B |
After writing of the new address, the slave with the new address is not available during reading of the ID code. | |
|
0x6C |
After writing of the new address, the slave with the new address is not available during reading of the status. | |
|
0x7D |
The address could not be saved permanently (non-volatile). | |
|
0x7E |
The extended ID code of an A/B slave could not be saved permanently (non-volatile). | |
|
0x7F |
ID code 1 is invalid for A/B slaves | |
|
0x83 |
The new address is a B address. | |
|
0x84 |
The new address is a B address. | |
|
0x85 |
The new address is an A address. |
Index 2010 AS-i string command
Object 0x2010 can be used to send string commands to the AS-i slaves (analog slaves with profile 7.4 and CTT2 slaves with M4 profile). This is only possible if the AS-i master is already in the data exchange phase and the "Data Exchange Active" bit in AS-i control is set.
|
Index (hex) |
Name |
Bit |
Value |
Meaning |
Data type |
Flags |
Default |
|---|---|---|---|---|---|---|---|
|
2010:0 |
ASI Command |
- |
- |
Max. subindex |
UINT8 |
RO |
0x03 (3dec) |
|
2010:01 |
Request |
0 - 7 |
0 - 255 |
Command sequence number |
OCTET-STRING[256] |
RW |
{0} |
|
8 - 15 |
0, 1, 3 - 9 |
reserved | |||||
|
2 (0x2) |
Write CTT2 Parameter String | ||||||
|
10 (0xA) |
Write Parameter String | ||||||
|
11 (0xB) |
Read Parameter String | ||||||
|
12 (0xC) |
Read Diagnosis String | ||||||
|
13 (0xD) |
Read ID String | ||||||
|
14 - 255 |
reserved | ||||||
|
16 - 23 |
0 - 31 |
Address of the AS-i slave to which the command is to be sent | |||||
|
24 - 31 |
0 - 31 |
Command length (number of subsequent command bytes/string data) – only CTT2 | |||||
|
32 - 63 |
- |
reserved | |||||
|
64 - 2047 |
xxxx |
String data | |||||
|
2010:02 |
Status |
0 - 7 |
Bit 0 = 0 |
ASI_STRING_COMMAND_READY (command object ready for operation, index 0x2010:01) |
UINT8 |
RO |
0x00 (0dec) |
|
Bit 0 = 1 |
ASI_STRING_COMMAND_BUSY (command object not ready for operation, index 0x2010:01) | ||||||
|
Bit 1 - 5 |
Reserved | ||||||
|
Bit 6 |
Data exchange not active | ||||||
|
Bit 7 |
PWR fail | ||||||
|
2010:03 |
Response |
0 - 7 |
Command sequence number from the request |
OCTET-STRING[256] |
RO |
{0} | |
|
8 - 14 |
Corresponding to bits 8 to 15 of the command call. | ||||||
|
15 |
Error bit: | ||||||
|
16 - 23 |
Address of the AS-i slave to which the command was sent. | ||||||
|
24 - 31 |
If the error bit (bit 15) is set, bits 31 to 24 contain an error code. | ||||||
|
0x00 |
Command was successfully executed. | ||||||
|
0x10 |
Slave is not an analog slave | ||||||
|
0x20 |
Slave does not support slave profile 7.4 | ||||||
|
0x40 |
String transfer is already active | ||||||
|
0x80 |
Data exchange is not active | ||||||
|
0x08 |
Command is not supported | ||||||
|
32 - 63 |
- |
reserved | |||||
|
64 - 2047 |
xxxx |
String data | |||||