PCMD = 0x00
Sends specified lighting digital interface commands (LDI) command(s) and returns the respective answer(s). The commands are compatible with standard IEC 62386, EC 60929 and IEC 62386 part 103 (aka DALI).
Request
NADR |
PNUM |
PCMD |
HWPID |
0 … 1 |
… |
n × 2 … n × 2 + 1 |
NADR |
0x4A |
0x00 |
0xXXXX |
Cmd #0 |
|
Cmd #n |
Cmd #n The nth Cmd is a LDI command to send. The command is 2 bytes wide and it has the standard format YAAAAAAS + DDDDDDDD (big endian).
Response
NADR |
PNUM |
PCMD |
HWPID |
ErrN |
DpaValue |
0 … 1 |
… |
n × 2 … n × 2 + 1 |
NADR |
0x4A |
0x80 |
0xXXXX |
0 |
? |
Answer #0 |
|
Answer #n |
Answer #n 2 bytes wide answer to the nth LDI command. 1st byte contains the answer status, 2nd byte contains the answer value, if applicable:
1st byte = Answer status |
2nd byte = Value |
||||||||
bit7 |
bit6 |
bit5 |
bit4 |
bit3 |
bit2 |
bit1 |
bit0 |
Status |
|
1 |
x |
x |
x |
x |
x |
0 |
0 |
No answer received |
0 |
1 |
x |
x |
x |
x |
x |
0 |
1 |
Answer received |
Answer value |
1 |
x |
x |
x |
x |
x |
1 |
0 |
unused status combination |
n/a |
1 |
x |
x |
x |
x |
x |
1 |
1 |
Error receiving answer |
0 |
x reserved, equals 0.