RESI®
Titel:
Manual RESI-DALI-ASCII
Datum
Seite
Von
14.02.2015
62
89
.
P
ro
p
ri
e
ta
ry
d
a
ta
,
co
m
p
a
n
y
co
n
fid
e
n
ti
a
l.
A
ll
r
ig
h
ts
re
s
e
rv
e
d
.
C
o
n
fié
à
tit
re
d
e
se
c
re
t
d
'e
n
tr
e
p
ri
s
e
.
T
o
u
s
d
ro
its
r
é
se
rv
é
s
.
C
o
m
u
n
ic
a
d
o
c
o
m
o
se
g
re
d
o
e
m
p
re
sa
ri
a
l.
R
e
se
rv
a
d
o
s
to
d
o
s
o
s
d
ir
e
ito
s.
C
o
n
fid
a
d
o
co
m
o
s
e
cr
e
to
i
n
d
u
s
tr
ia
l.
N
o
s
re
s
e
rv
a
m
o
s
t
o
d
o
s
l
o
s
d
e
re
c
h
o
s
.
.
.
W
e
it
e
rg
a
b
e
s
o
w
ie
V
e
r
v
ie
lf
ä
lt
ig
u
n
g
d
ie
s
e
r
U
n
te
rl
a
g
e
,
V
e
r-
w
e
rt
u
n
g
u
n
d
M
it
te
ilu
n
g
ih
re
s
In
h
a
lt
s
n
ic
h
t
g
e
s
ta
tt
e
t,
s
o
w
e
it
n
ic
h
t
a
u
s
d
r
ü
c
k
lic
h
z
u
g
e
s
ta
n
d
e
n
.
Z
u
w
id
e
rh
a
n
d
lu
n
g
e
n
v
e
r-
p
fl
ic
h
te
n
z
u
S
c
h
a
d
e
n
e
rs
a
tz
.
A
ll
e
R
e
c
h
te
v
o
rb
e
h
a
lt
e
n
,
in
s
b
e
-
s
o
n
d
e
re
fü
r
d
e
n
F
a
ll
d
e
r
P
a
te
n
te
rt
e
il
u
n
g
o
d
e
r
G
M
-E
in
tr
a
g
u
n
g
.
.
Do ENABLE WRITE MEMORY in lamp 47:
#LAMP
ENABLE
WRITE
MEMORY:47
CR
#OK
CR
#255,LEWM:0x2F
CR
#255,OK
CR
7.83
Do QUERY STATUS in a single lamp
This command requests with the DALI command QUERY STATUS the current status of the lamp. The DALI
standard supports 64 lamps.
Host long version:
#LAMP<SP>QUERY<SP>STATUS:<LAMP><CR> or
#<ADR>,LAMP<SP>QUERY<SP>STATUS:<LAMP><CR>
Host short version:
#LQS:<LAMP><CR> or
#<ADR>,LQS:<LAMP><CR>
Answer:
If everything was ok with the command, the converter answers with
#OK:<BYTES>,<RESULTDEC>,<RESULTHEX><CR> or
#<ADR>,OK:<BYTES>,<RESULTDEC>,<RESULTHEX><CR>
If there is no valid answer within 1 second on the DALI bus, the converter answers with:
#OK:9,99,0x63<CR> or
#<ADR>,OK:9,99,0x63<CR>
If the DALI bus has no power, the converter answers with
#ERR:DALI<SP>BUS<SP>ERROR<CR> or #<ADR>,ERR:DALI<SP>BUS<SP>ERROR<CR>
If there is a syntax problem with the command, the converter answers with
#ERR:SYNTAX<SP>ERROR<CR> or #<ADR>,ERR:SYNTAX<SP>ERROR<CR>
<LAMP> represents the affected short address of the lamp according to the DALI standard. The short address
range 0 to 63 is allowed.
<RESULTDEC> is the 8 bit answer value of the DALI bus as decimal number
<RESULTHEX> is the 8 bit answer value of the DALI bus as hexadecimal number
Samples:
Do QUERY STATUS in lamp 47:
#LAMP
QUERY
STATUS:47
CR
#OK:1,36,0x24
CR
The bits of the result value have the following meanings:
Bit 0:
Control gear status:
0=OK, 1=ERROR
Bit 1:
Lamp failure
0=OK, 1=ERROR
Bit 2:
Arc power
0=OFF, 1=ON
Bit 3:
Range check Min-Max
0=OFF or between MIN-MAX, 1=Outside MIN-MAX
Bit 4:
Is Fading active
0=Fading is finished, 1=Fading is active
Bit 5:
Query RESET STATE
0=NO, 1=YES
Bit 6:
Query no short address
0=NO, short address is programmed
1=YES, no short address is programmed
Bit 7:
Query power failure
0=NO,
1=RESET or ARC POWER CONTROL since last
power on
#255,LQS:0x2F
CR
#255,OK:1,36,0x24
CR