IEC 62386 303 Edition 1 0 201 7 05 INTERNATIONAL STANDARD NORME INTERNATIONALE Digital addressable lighting interface – Part 303 Particular requirements – Input devices – Occupancy sensor Interface d''''[.]
Trang 1Digit al addressable l ght ing int er ace –
Part 303: Part icular requirement s – Input devices – Occupancy sensor
Part ie 303: Ex igences part icul ères – Disposit ifs d'ent rée – Capt eur de présence
Trang 2THIS PUBLICATION IS COPYRIGHT PROTECTED
Copyr ight © 2 17 IEC, Ge e a, Switzer la d
Al rig ts r es r ve Unle s oth rwis s e ifi d, n p rt of this p blc tio ma b r epro u e or uti z d in a y form
or b a y me n , ele tr onic or me h nic l in lu in p oto o yin a d micr ofim, with ut p rmis io in wr itin from
eith r IEC or IEC's memb r Natio al Commite in th c u tr y of th re u ste If y u h v a y q e tio s a o t IEC
c p r i ht or h v a e q ir y a o t o tainin a ditio al ri hts to this p blc tio , ple s c nta t th a dr es b low or
y ur lo al IEC memb r Natio al Commite for ur th r informatio
Dr oits d r eprod ctio ré er vé Sa f in ic tio c ntr aire, a c n p rtie d c te p blc tio n p ut être repro uite
ni uti s e s u q elq e forme q e c s it et p r a c n pro é é, éle troniq e o mé a iq e, y c mp s la p oto o ie
et le micr ofilms, s n la c rd é rit d l EC o d Comité n tio al d l EC d p y d d ma d ur Si v u a e d s
q e tio s s r le c p r i ht d l EC o si v u d sir ez o te ir d s droits s p léme tair es s r c te p blc tio , uti s z
le c ord n é s ci-a r ès o c nta te le Comité n tio al d l EC d v tr ep y d ré id n e
Th Intern tio al Ele trote h ic l Commis io (IEC) is th le din glo al org niz tio th t pr ep res a d p bls e
Internatio al Sta d r ds for al ele tri al ele tr onic a d relate te h olo ie
Abo t IEC p blc tio s
Th te h ic l c nte t of IEC p blc tio s is k pt u d r c n ta t r eview b th IEC Ple s ma e s re th t y u h v th
late t e itio ,a c rr ig n a or a ame dme t mig t h v b e p bls e
IEC Cat alo ue - webst ore.e ch/ cat alo ue
Th st an -alo e a plc t io for c n ultin th e tire
biblo ra hic l informat io o IEC Intern tio al Sta d rd ,
Te h ic l Sp cific tio s, Te h ic l R ep rts a d oth r
d c me ts A v aia le for P , Ma OS, A ndroid Ta let s a d
iPa
IEC p blc t i ns s arch - www ie ch/ se rch u
Th a v an e s arc e a le t o fin IEC p blc t io s b a
variety of crit eria (efere c n mb r, t ext, t ec nic l
c mmitt e,…) It als gives informatio o projec ts, re la e
a d wit hdrawn p blc tio s
IEC Just P blshed - webst ore.e ch/ just pu lshed
St ay u to d te o al n w IEC p blc t io s Ju t Pu ls e
d t ais al n w p blc t io s rele s d A v aia le o ln a d
als o c a mo t h b emai
Ele t ro edia - www ele t ro edia.org
Th world's le din o ln dic t io ary of elec t ro ic a d
ele t ric l t erms c nt ainin 2 0 0 terms a d d finitio s in
En ls a d Fre c , wit h e uiv ale t erms in 16 a dit io al
la g a e A ls k own a t he Int ern t io al Ele trote h ic l
Vo a ulary (IEV ) o ln
IEC Glos ar y - st d.e ch/ glos ary
6 0 0 elec t rot ec nic l t ermin lo y e t rie in En ls a d
Fre c e t ra te fom t he Terms a d Definitio s cla s of
IEC p blc tio s is u d sin e 2 0 Some e t rie h v e b e
c le te fo m e rler p blc t io s of IEC TC 3 , 7 , 8 a d
CISPR
IEC Cust omer Servic Cent re - webst ore.ec ch/ csc
If y ou wis to giv e u your fe d a k o t his p blc tio or
n e furt her a sista c , ple s c nta t t he Cu tomer Serv ic
Ce t re:c c@ie c
A pro os de l'IEC
L Commis io Ele trote h iq e Inter natio ale (IEC) e t la premièr e orga is tio mo diale q i éla or e et p ble d s
Norme internatio ale p ur to t c q i a trait à léle tri ité,à léle tr oniq e et a x te h olo ie a p re té s
A pro os de p blc t i ns IEC
L c nte u te h iq e d s p blc tio s IEC e t c n tamme t rev Ve i e v u a s r er q e v u p s é e lé itio la
plu r éc nte, u c r rig n um o ame d me t p ut a oir été p blé
Cat alo ue IEC - webst ore.e ch/ cat alo ue
Applc t io a t on me p ur c n ult er t ou le re s ig eme t s
biblo ra hiq e s r le Norme intern t io ale ,
Sp cific t io s t ec niq e , R ap ort s te h iq e et a tre
d c me ts d l EC Dis o ible p ur P , Ma OS, t ablett es
A ndroid et iPa
Recherche de p blc t i ns IEC - w ww ie ch/ se rch u
L re h rc e avan é p rmet d t ro ver d s p blc tio s IEC
e uti s nt difére t s crit ère (n méro d référe c , t exte,
c mit é d’ét ud s,…) Ele d n e a s i d s informatio s s r le
projets et le p blc t io s remplac ée o retiré s
IEC Just P blshed - webst ore.e ch/ just pu lshed
R este informé s r le n uvele p blc t io s IEC Ju t
Pu ls e d tai e le n uv ele p blc t io s p ru s
Dis o ible e lg e et a s i u e fois p r mois p r emai
Ele t ro edia - www.ele t ro edia.org
L premier dic t io n ire e lg e d terme éle t ro iq e et
éle triq e I c nt ie t 2 0 0 t erme et d finit io s e a glais
et e fa ç is, ain i q e le t erme é uiv ale ts d n 16
la g e a dit io n le Eg leme t a p lé V oc b laire
Elec trote h iq e Int ern tio al (IEV) e lg e
Glos aire IEC - st d.e c h/ glos ar y
6 0 0 e tré s t ermin lo iq e éle t rot ec niq e , e a glais
et e fa ç is, e traite d s art icle Terme et Définitio s d s
p blc t io s IEC p ru s d p is 2 0 Plu c rt ain s e tré s
a térie re e t rait es d s p blc tio s d s CE 3 , 7 , 8 et
CISPR d l EC
Serv ic Clent s - w ebst ore.e c h/ cs
Si vou d sire n u d n er d s c mme taire s r c tt e
p blc t io o si v ou av ez d s q e t io s c nt ac t ez-n u :
Trang 3Digit al addressable l ght ing int er ace –
Part 303: Part icular requirement s – Input devices – Occupancy sensor
Int er ace d'éclairage adressable numérique –
Part ie 303: Exigences part icul ères – Disposit ifs d'ent rée – Capt eur de présence
W arning! Mak e s re t hat y ou o tain d this publc t ion from a a thorize dist ribut or
Ate t ion! V eui ez vous a s rer qu vou a ez o t en c te publc tion via u distribute r a ré
c olour
inside
Trang 4FOREWORD 4
INTRODUCTION 6
1 Sco e 8
2 Normative ref eren es 8
3 Terms an def i ition 8
4 General 9
4.1 General 9
4.2 Version n mb r 9
4.3 In ulation 9
5 Electrical sp cification 9
6 Inter ace p wer s p ly 9
7 Tran mis ion protocol stru ture 9
8 Timin 10 9 Method of o eration 10 9.1 General 10 9.2 In tan e typ 10 9.3 Input sig al an value 10 9.3.1 General 10 9.3.2 Input sig al ma pin f or movement sen ors 10 9.3.3 Input sig al ma pin f or presen e sen ors 12 9.4 Events 12 9.4.1 Priority u e 12 9.4.2 Bu u age 1
2
9.4.3 En odin 13
9.4.4 Event con g ration 13
9.4.5 Event generation 14
9.4.6 Movement trig er an catc in 14
9.5 Config rin the input device 14
9.5.1 Usin the hold timer 14
9.5.2 Usin the re ort timer 15
9.5.3 Usin the de dtime timer 15
9.5.4 Set in the timers 15
9.5.5 Man al config ration 16
9.6 Ex e tion han l n 16
9.6.1 Ph sical sen or fai ure 16
9.6.2 Man f acturer sp cific er ors 16
9.6.3 Er or value 16
10 Declaration of varia les 17
1 Definition of comman s 18
1 1 General 18
1 2 Overview s e ts 18
1 2.1 General 18
1 2.2 Stan ard comman s 18
1 3 Event mes ages 19
1 3.1 INPUT NOTIFICATION (devic /insta c , event 19
Trang 51 4 Device control in tru tion 19
1 5 Device con g ration in tru tion 19
1 6 Device q eries 19
1 7 In tan e control in tru tion 19
1 7.1 General 19
1 7.2 CATCH MOVEMENT 19
1 7.3 CANCEL HOLD TIMER 19
1 8 In tan e con g ration in tru tion 2
1 8.1 General 2
1 8.2 SET EVENT FILTER (DTR0) 2
1 8.3 SET HOLD TIMER (DTR0) 2
1 8.4 SET REPORT TIMER (DTR0) 2
1 8.5 SET DEADTIME TIMER (DTR0) 2
1 9 In tan e q eries 2
1 9.1 General 2
1 9.2 QUERY INSTANCE ERROR 2
1 9.3 QUERY DEADTIME TIMER 2
1 9.4 QUERY HOLD TIMER 2
1 9.5 QUERY REPORT TIMER 2
1 9.6 QUERY CATCHING 21
1 10 Sp cial comman s 21
Biblogra h 2
Fig re 1 – IEC 6 3 6 gra hical overview 6
Fig re 2 – State diagram for movement b sed sen or 1
Fig re 3 – State diagram for presen e sen or 12 Ta le 1 – Me nin of “in ut Value” 10 Ta le 2 – Oc up n y an vacan y events 13 Ta le 3 – Event fi ter 14 Ta le 4 – Event timer set in 15 Ta le 5 – “ma u lCap bi t yInst anc 3 x” values 16 Ta le 6 – “ nst anc Er orByt e” values 17 Ta le 7 – Declaration of device varia les 1
7
Ta le 8 – Restriction to in tan e varia les def i ed in IEC 6 3 6-10 :2 14 an
IEC 6 3 6-10 :2 14/AMD1:— 17
Ta le 9 – Declaration of in tan e varia les 18
Ta le 10 – Stan ard comman s 18
Trang 6INTERNATIONAL ELECTROTECHNICAL COMMISSION
_
Part 303: Particular requirements – Input devices –
Occupancy sensor
1 Th Intern tio al Ele trote h ic l Commis io (IEC) is a worldwid org niz tio for sta d rdiz tio c mprisin
al n tio al ele trote h ic l c mmite s (IEC Natio al Commite s) Th o je t of IEC is to promote
intern tio al c -o eratio o al q e tio s c n ernin sta d rdiz tio in th ele tric l a d ele tro ic f i ld To
this e d a d in a ditio to oth r a tivitie , IEC p bls e Intern tio al Sta d rd , Te h ic l Sp cif i atio s,
Te h ic l Re orts, Pu lcly Av ia le Sp cif i atio s (P S) a d Guid s (h re f ter refer e to a “IEC
Pu lc tio (s)”) Th ir pre aratio is e tru te to te h ic l c mmite s; a y IEC Natio al Commite intere te
in th s bje t d alt with ma p rticip te in this pre aratory work Intern tio al g v rnme tal a d n n
-g v rnme tal org niz tio s laisin with th IEC als p rticip te in this pre aratio IEC c la orate clo ely
with th Intern tio al Org niz tio f or Sta d rdiz tio (ISO) in a c rd n e with c n itio s d termin d b
a re me t b twe n th two org niz tio s
2) Th f ormal d cisio s or a re me ts of IEC o te h ic l maters e pre s, a n arly a p s ible, a intern tio al
c n e s s of o inio o th rele a t s bje ts sin e e c te h ic l c mmite h s re re e tatio fom al
intere te IEC Natio al Commite s
3) IEC Pu lc tio s h v th form of re omme d tio s f or intern tio al u e a d are a c pte b IEC Natio al
Commite s in th t s n e Whie al re s n ble ef forts are ma e to e s re th t th te h ic l c nte t of IEC
Pu lc tio s is a c rate, IEC c n ot b h ld re p n ible for th wa in whic th y are u e or for a y
misinterpretatio b a y e d u er
4) In ord r to promote intern tio al u if ormity, IEC Natio al Commite s u d rta e to a ply IEC Pu lc tio s
tra s are tly to th ma imum e te t p s ible in th ir n tio al a d re io al p blc tio s An div rg n e
b twe n a y IEC Pu lc tio a d th c re p n in n tio al or re io al p blc tio s al b cle rly in ic te in
th later
5) IEC its lf d e n t pro id a y ate tatio of c nf ormity In e e d nt c rtific tio b die pro id c nformity
a s s me t s rvic s a d, in s me are s, a c s to IEC mark of c nf ormity IEC is n t re p n ible f or a y
s rvic s c rie o t b in e e d nt c rtif i atio b die
6) Al u ers s o lde s re th t th y h v th late t e itio of this p blc tio
7) No la i ty s al ata h to IEC or its dire tors, emplo e s, s rv nts or a e ts in lu in in ivid al e p rts a d
memb rs of its te h ic l c mmite s a d IEC Natio al Commite s f or a y p rs n l injury, pro erty d ma e or
oth r d ma e of a y n ture wh ts e er, wh th r dire t or in ire t, or for c sts (in lu in le al f ee ) a d
e p n e arisin o t of th p blc tio , u e of, or rela c u o , this IEC Pu lc tio or a y oth r IEC
Pu lc tio s
8) Ate tio is drawn to th Normativ refere c s cite in this p blc tio Us of th refere c d p blc tio s is
in is e s ble for th c r e t a plc tio of this p blc tio
9) Ate tio is drawn to th p s ibi ty th t s me of th eleme ts of this IEC Pu lc tio ma b th s bje t of
p te t rig ts IEC s al n t b h ld re p n ible f or id ntifyin a y or al s c p te t rig ts
International Stan ard IEC 6 3 6-3 3 has b en pre ared by s bcommite 3 C: Au i aries
f or lamps, of IEC tec nical commit e 3 : L mps and related eq ipment
The text of this stan ard is b sed on the f ol owin doc ments:
Ful inf ormation on the votin for the a proval of this International Stan ard can b f ou d in
the re ort on votin in icated in the a ove ta le
This doc ment has b en draf ted in ac ordan e with the ISO/IEC Directives, Part 2
Trang 7• Part 101, whic contain general req irements for s stem comp nents;
• Part 10 , whic contain general req irements for control devices
A l st of al p rts in the IEC 6 3 6 series, publ s ed u der the general title: Digital
ad dres a l e l ightin intera e, can b f ou d on the IEC we site
The commite has decided that the contents of this doc ment wi remain u c an ed u ti the
sta i ty date in icated on the IEC we site u der "htp:/ we store.iec.c " in the data related to
IMPORTANT – The 'colour inside' logo on the cov r pa e of this publ c tion in ic te
that it contains colours whic are considere to be us f ul f or the cor e t
understa din of its conte ts Us rs s ould th refore print this doc me t using a
colour printer
Trang 8IEC 6 3 6 contain several p rts, refer ed to as series The 1x series in lu es the b sic
sp cification Part 101 contain general req irements f or s stem comp nents, Part 10
exten s this inf ormation with general req irements f or control ge r an Part 10 exten s it
f urther with general req irements for control devices
The 2x p rts exten the general req irements for control ge r with lamp sp cific exten ion
(mainly for b c ward comp tibi ty with Edition 1 of IEC 6 3 6) an with control ge r sp cific
f eatures
The 3x p rts exten the general req irements f or control devices with input device sp cif i
exten ion des ribin the in tan e typ s as wel as some common f eatures that can b
combined with multiple in tan e typ s
This f irst edition of IEC 6 3 6-3 3 is to b u ed in conju ction with IEC 6 3 6-101:2 14,
IEC 6 3 6-101:2014/AMD1:—, IEC 6 3 6-10 :2014 an IEC 6 3 6-10 :2 14/AMD1:— The
division of IEC 6 3 6 into se arately publ s ed p rts provides for e se of future amen ments
an revision Ad itional req irements wi b ad ed as an when a ne d f or them is
the p rts also in lu e ad itional req irements, as neces ary
Where the req irements of an of the clau es of IEC 6 3 6-1XX are refer ed to in this
doc ment by the senten e “The req irements of IEC 6 3 6-1XX, Clau e “n” a ply”, this
senten e is to b interpreted as me nin that al req irements of the clau e in q estion of
Part 1XX a ply, ex e t any whic are cle rly ina plca le
The stan ardization of the control interace f or control devices is inten ed to ac ieve
comp tible co-existen e an multi-master o eration b twe n electronic control ge r an
l g tin control devices, b low the level of buidin management s stems This doc ment
des rib s a method of implementin oc up n y sen ors
Al n mb rs u ed in this doc ment are decimal n mb rs u les otherwise noted Hexadecimal
IE C
101 General req irements -
Sy tem comp nents
10 General req irements -
Control devices
10 General req irements -
Control ge r
Trang 9the format XXXXXXXXb or in the format XXXX XXXX, where X is 0 or 1; “x” in binary n mb rs
me n “don't care”
The f ol owin typ gra hic expres ion are u ed:
Varia les: “v ria leName” or “v ria leName[ :0]”, givin only bits 3 to 0 of “v ria leName”
Range of values: [lowest, hig est]
Comman : “COMMAND NAME”
Trang 10DIGITA L ADDRESSABLE LIGHTING INTERFA CE –
Part 303: Particular requirements – Input devices –
Occupancy sensor
This p rt of IEC 6 3 6 sp cifies a bu s stem f or control by digital sig als of electronic
l g ting eq ipment whic is in l ne with the req irements of IEC 613 7, with the ad ition of DC
s p l es
This doc ment is only a pl ca le to IEC 6 3 6-10 :2 14 an IEC 6 3 6-10 :2 14/AMD1:—
input devices that delver oc up n y information to the l g tin control s stem throu h
movement or presen e sen in
NOT Re uireme ts for te tin in ivid al pro u ts d rin pro u tio are n t in lu e
The f ol owin doc ments are ref er ed to in the text in s c a way that some or al of their
content con titutes req irements of this doc ment For dated referen es, only the edition
cited a ples For u dated ref eren es, the latest edition of the ref eren ed doc ment (in lu in
, Digit al ad dres a l e l ighting int era e – Part 3 3: Partic lar re uireme ts
for c ntrol d evic s – Man al c nfiguration (e ture type 3 )
• IEC Electro edia: avai a le at ht p:/ www.electro edia.org/
• ISO Onl ne browsin platform: avai a le at ht p:/www.iso.org/o p
Trang 11in ta c
movement or presen e input sig al proces in u it of an input device
[SOURCE: IEC 6 3 6-101:2 14, 3.2 , modified – "movement or presen e input" ad ed]
3.2
mov me t s nsor
in tan e b sed on movement detection only where oc up n y is impl ed by movement an
vacan y is con lu ed f rom the a sen e of movement d rin a sp cif ied amou t of time
Note 1 to e try: Mo eme t s n in is ty ic ly d n u in a p s iv infa-e d te tor c mbin d with Fre n l
o tic
3.3
in tan e b sed on me n other than only movement detection where oc up n y an vacan y
can b con lu ed immediately an where, in some cases, movement can also b detected
Note 1 to e try: Pre e c s n in ma b impleme te u in for e ample c mera b s d s stems
The req irements of IEC 6 3 6-10 :2 14 an IEC 6 3 6-10 :2 14/AMD1:—, Clau e 4 a ply,
with the restriction , c an es an ad ition identif ied b low
4.2 Version number
In 4.2 of IEC 6 3 6-10 :2 14 an IEC 6 3 6-10 :2 14/AMD1:—, “10 ” s al b re laced by
“3 3”, “version n mb r” s al b re laced by “exten ed version n mb r” an “ve sio Numbe ”
s al b re laced by "extended Ve sio Numbe "
4.3 In ulation
Ac ordin to IEC 613 7-1 it mig t b req ired that the input device has at le st
s p lementary in ulation This de en s on the con ected comp nents In this case sp cial
atention s ould b p id with resp ct to the sen or(s) b in u ed
NOT IEC-6 3 6- 0 :2 14 a d IEC6 3 6- 0 :2 14/AMD1:— re uire s stem c mp n nts to h v at le st b sic
in ulatio
5 Ele trical spe if ication
The req irements of IEC 6 3 6-10 :2 14 an IEC 6 3 6-10 :2 14/AMD1:—, Clau e 5 a ply
6 Interf ace power supply
The req irements of IEC 6 3 6-10 :2 14 an IEC 6 3 6-10 :2 14/AMD1:—, Clau e 6 a ply
7 Transmission protocol structure
The req irements of IEC 6 3 6-10 :2 14 an IEC 6 3 6-10 :2 14/AMD1:—, Clau e 7 a ply
Trang 128 Timing
The req irements of IEC 6 3 6-10 :2 14 an IEC 6 3 6-10 :2 14/AMD1:—, Clau e 8 a ply
9 Method of operation
The req irements of IEC 6 3 6-10 :2 14 an IEC 6 3 6-10 :2 14/AMD1:—, Clau e 9 a ply,
with the fol owin restriction an ad ition
Table 1 – Me ning of “inputVal ue”
9.3.2 Input signal mapping f or mov ment s nsors
For movement sen ors, the input sig al s al directly ma onto movement (only) The
in tan e s al c an e “in ut Value” to 0xFF immediately if movement is detected, th s
re ortin an oc upied are state as wel Se Fig re 2
A movement sen or s al s p ort a hold timer, with time ut value T
h ld, whic s al b
(re)started e c time movement is detected A tran ition of “in utValue” to 0x0 s al only
take place at the moment the hold timer expires or is can el ed In s c a case the ‘vacant’
trig er s al b generated
Whi e the are is oc upied, the “in ut Value” s al c an e b twe n 0xFF an 0xAA de en in
Trang 13Fig re 2 – State dia ram f or mov me t ba e s n or
NOT 1 An in ut v lu of 0 5 is n t a plc ble, sin e mo eme t imple o c p n y
IEC
V ac nt Moveme t b s d s n or
'Mov eme t' a d 'Oc cu ie ' t rig er
Hold t imer e pire or c n ele /
0 F : Occu ie a d mov eme t
e try / (R e-t rig er re ort imer,
(R e-trig er h ld timer
No mov eme t d tec t ed /
'No mov eme t ' t rig er
Trang 149.3.3 Input signal mapping f or pre e c s nsors
Presen e sen ors s al re ort the movement state and are state as q ic ly as p s ible If a
presen e sen or is not a le to detect motion, it s al re ort no movement Se Fig re 3
NOT This me n th t th h ld timer in a pre e c s n or wi n v r b starte
Fig re 3 – State dia ram f or pre e c s nsor
9.4 Ev nts
9.4.1 Priority us
The default “ ventPriorit y” s al b priority 4 Sin e the a plcation control er ne d a timeslot
to resp n , “event Priorit y” s ould not b set to 2
9.4.1.2 Periodic e e ts
The p riodic “INPUT NOTIFICATION” mes age to re ort the oc up n y con rmation event
(sti vacant or sti oc upied) s al alway b sent with priority 5
NOT This ma e “e entPriority” in p lc ble f or this e e t o ly
e tr y / Re- rig er rep rt t imer e tr y / Re- rig er rep rt t imer
e tr y / Re- rig er rep rt t imer e tr y / Re- rig er rep rt t imer
0 F : Oc c upie a d mov eme t
Mo eme t d t e e /
'Mo eme t' t rig er
Mo eme t d t e e /
'Mo eme t' t rig er
No mov eme t d tec te /
'No mo eme t ' t rig er
No mov eme t d tec te /
'No mo eme t ' t rig er
Trang 15Mo eme t 0 0 0 - 1b Mo eme t d te te Core p n in trig er is th ‘Mo eme t’ trig er.
Va a t 0 0 0 -0 -b Th are h s b c me v c nt Core p n in trig er is th ‘Va a t’ trig er
Sti v c nt 0 0 0 - 0-b Th are is sti v c nt Th e e t o c rs at re ular interv ls a lo g a
th v c nt c n itio h ld Core p n in trig er is th ‘Re e t’ trig er
Oc u ie 0 0 0 -01 b Th are h s b c me o c pie Core p n in trig er is th ‘Oc u ie ’
trig er
Sti o c pie 0 0 0 - 1 b Th are is sti o c pie Th e e t o c rs at re ular interv ls a lo g a
th o c pie c n itio h ld Core p n in trig er is th ‘Re e t’ trig er
Pre e c s n or 0 0 0 0- b Th c r e t e e t is trig ere b a pre e c b s d s n or
Mo eme t s n or 0 0 0 1 -b Th c r e t e e t is trig ere b a mo eme t b s d s n or
The event s al b re orted in one “INPUT NOTIFICATION” by bitwise OR-in the event
inf ormation values In order to p r orm the OR-in , every bit that is marked with “-“ f or the
l sted event names s al b as umed 0
The information contained in bit 3 can b u ed by the a pl cation control er to determine
whether the sen or alre d a pl ed a hold timer or not (movement b sed sen or)
NOT 2 Ev ry e a le e e t le d toa c mplete e e t, re ortin b th th mo eme t a d o c p n y informatio
9.4.4 Eve t configuration
The a pl cation control er may not ne d al the event trig ers mentioned in 9.4.3 The
in tan e s al al ow the a pl cation control er to set the “eventFit er” (se IEC 6 3
6-10 :2 14 an IEC 6 3 6-10 :2 14/AMD1:—, 9.7.4) to in ibit those event trig ers that the
a pl cation control er do s not ne d For this doc ment, “eventFi t er” s al b red ced to one
byte
NOT In ibitin e e t trig ers in re s s th ef fe tiv b s b n width a aia i ty
Trang 16“QUERY EVENT FILTER 0-7”, se IEC 6 3 6-10 :2 14 an IEC 6 38 -10 :2 14/AMD1:—
f or detais
If the ‘re e t’ event is ena led, on expiration of the re ort timer the ‘sti vacant’ event s al b
sent if the ‘vacant’ event is ena led, an the ‘v sti oc upied’ event s al b sent if the
‘oc upied’ event is ena led
9.4.5 Ev nt ge eration
An event s al b generated on every c an e of “ n ut Value” or when the re ort timer expires
In case a new event oc urs b f ore the c r ent event is b in sent, the new event s al re lace
the c r ent event This could b cau ed for example by bu u avaia i ty or the de dtime
timer
9.4.6 Mov me t trigger a d c tc ing
The event fi ter can b adju ted to ena le or disa le the ‘movement’ event Care s ould b
taken when ena l n the ‘movement’ event, as it is l kely to flo d the bu
If the movement event is disa led the a plcation control er can expl citly as for the event to
b sent on e (set in “cat ching ), u in the comman “CATCH MOVEMENT” Eac “INPUT
NOTIFICATION” s al cle r “cat ching , whic imples that “CATCH MOVEMENT” is a sin l
e-notif i ation req est The in tru tion s al not c an e the event fiter
If the movement event is ena led the “CATCH MOVEMENT” in tru tion s al b ig ored
NOT An th r “C TCH MOVEMENT” h s n eff ect if a c mma d h s n t (y t) le to a n tific tio
The q ery “QUERY CATCHING” can b u ed to verify that no movement notif i ation has b en
sent yet ( catching” has b en set
9.5 Configuring the input de ic
Trang 17Both can elation of the hold timer an expiration of the hold timer s al generate a ’vacant’
trig er
9.5.2 Using the report timer
If the re ort timer is set, it s al generate a ‘re e t’ trig er every T
re orteven if the “ n ut Value”
has not c an ed The re ort timer s al b restarted every time an event is sent
If multiple devices have the re ort timer ena led, they mig t sen out confl ctin data
control n the same control ge r De en in on the a pl cation, care ne d to b taken when
ena l n the re ort timer
9.5.3 Using the de dtime timer
If the de dtime timer is set, the in tan e s al not sen out an event u ti the de dtime timer
has expired The de dtime timer s al b restarted every time an event is sent
NOT Th p rp s of th d a time timer is to in re s th ef fe tiv b s b n width a aia i ty It is n t inte d d
Only on (re-)startin a timer the actual time s al b calc lated b sed on the cor esp n in
varia le This impl es that the times only c an e af ter an ru nin timer has b en retrig ered,
can el ed or expired The toleran e on the time s al b ± %
Only a plc ble for mo eme t b s d s n ors
The input device s al exp se the fol owin o eration to set an o serve the timer
multipl ers:
• “SET HOLD TIMER (DTR0) , “QUERY HOLD TIMER” to set or q ery “ Hold ”;
• “SET REPORT TIMER (DTR0) , “QUERY REPORT TIMER” to set or q ery “ Rep rt ;
• “SET DEADTIME TIMER (DTR0) , “QUERY DEADTIME TIMER” to set or q ery “ Dead time”
“QUERY HOLD TIMER” s al an wer MASK if the hold timer is not implemented, “t Hold ” if it is
implemented
If the hold timer is implemented, “SET HOLD TIMER (DTR0) s al set “t Hold ” to “DTR0”
u les “DTR0” eq als MASK in whic case the comman s al b ig ored The minimum time
in case “ Hold” eq als 0 s al b 1 s
“SET REPORT TIMER (DTR0) s al set “t Rep rt de en in on “DTR0“ If “t Rep rt is set to 0,
Trang 18“SET DEADTIME TIMER (DTR0) s al set “ Deadtime” de en in on “DTR0” If “t Dead time” is
If IEC 6 3 6-3 3 is implemented, the in tan e level varia les ac ordin to Ta le 5 may b
IEC 6 3 6-3 3) s al return the byte as defined in Ta le 5:
Table 5 – “man al Ca a ility nst anc 3x ” v lu s
0 Ma u l c nfig ratio of tRep rt” s p orte “ ” = “Ye ”
2 Ma u l c nfig ratio of tDead time” s p orte “ ” = “Ye ”
If a ph sical sen or f aiure is detected, the in tan e s al set “insta c Er or” to TRUE, fom
the moment the fai ure is detected u ti the faiure is resolved Whi e the er or is detected, no
f urther events s al b sent
9.6.2 Ma uf acturer spe ific er ors
If a man f acturer sp cif i er or other than ph sical sen or f ai ure is detected, the in tan e
s al set “insta c Er or” to TRUE, f rom the moment the er or oc urs u ti the er or is gone
9.6.3 Er or v lue
“inst anc Er or” can b o served via “QUERY INSTANCE STATUS”
Whi e “insta c Er or” is set, “QUERY INSTANCE ERROR” s al return “inst anc Er orByt e”
ac ordin to Ta le 6
Trang 19Table 6 – “inst anc Er orByte” v lu s
4 Ma ufa turer s e ific eror 1? " " = "Ye "
5 Ma ufa turer s e ific eror 2 " " = "Ye "
6 Ma ufa turer s e ific eror 3 " " = "Ye "
If u ed, the me nin of bits [7:4] of “ nsta c Er orByte” s al b doc mented in the
man al/doc mentation The imp ct on event generation s al also b doc mented
10 Declaration of variables
The req irements of IEC 6 3 6-10 :2 14 an IEC 6 3 6-10 :2 14/AMD1:—, Clau e 10
a ply, with the fol owin con ideration
Ta le 7 s ows ad ition to the device varia les
Table 7 – De laration of de ic v riable
Ta le 8 s ows restriction to the in tan e varia les
Table 8 – Re trictions to insta c v riable def ine
Trang 20Table 9 – De laration of insta c v riable
Only a plc ble for a mo eme t b s d s n or, oth rwis “Hold ” is MASK
11 Def inition of commands
1 2.2 Sta dard comma ds
Ta le 10 gives an overview of the ad itional comman s an q eries
Table 10 – Sta dard comma ds
Trang 211 3 Ev nt me s ge
1 3.1 INPUT NOTIFICATION (de ic /inst anc , e ent)
The req irements of IEC 6 3 6-10 :2 14 an IEC 6 3 6-10 :2 14/AMD1:—, 1 3.1 a ply,
with the fol owin ad ition :
“catching s al b set to FALSE if the trig er for the input notification is ‘movement’
Refer to 9.4.3 f or an overview of event values
1 3.2 POWER NOTIFICA TION (devic )
The req irements of IEC 6 3 6-10 :2 14 an IEC 6 3 6-10 :2 14/AMD1:—, 1 3.2 a ply
1 4 De ic control instruction
The req irements of IEC 6 3 6-10 :2 14 an IEC 6 3 6-10 :2014/AMD1:—, 1 4 a ply
1 5 De ic configuration in tructions
The req irements of IEC 6 3 6-10 :2 14 an IEC 6 3 6-10 :2 14/AMD1:—, 1 5 a ply
1 6 De ic querie
The req irements of IEC 6 3 6-10 :2 14 an IEC 6 3 6-10 :2 14/AMD1:—, 1 6 a ply
1 7 Insta ce control instructions
The req irements of IEC 6 3 6-10 :2 14 an IEC 6 3 6-10 :2 14/AMD1:—, 1 7 a ply, with
the fol owin ad ition :
1 7.2 CA TCH MOVEMENT
If the movement event is ena led the” CATCH MOVEMENT” in tru tion s al b ig ored
If the movement event is disa led “catching s al b set to TRUE On e a movement
detected event has b en sent, "catching" s al b reset to FALSE
The event f ilter s al not b modif ied by this in tru tion
Refer to 9.4.6 f or more inf ormation
1 7.3 CANCEL HOLD TIMER
This in tru tion s al b ig ored if the hold timer is not implemented
If the hold timer is implemented an the timer is ru nin , this in tru tion s al cle r the timer
an generate a "vacant" trig er
Trang 221 8 In ta c conf iguration in tructions
The req irements of IEC 6 3 6-10 :2 14 an IEC 6 3 6-10 :2 14/AMD1:—, 1 8 a ply, with
the fol owin ad ition an re lacements:
1 8.2 SET EVENT FILTER (DTR0)
“event Fi te ” s al b set to DTR0 if the value is within the vald ran e Otherwise, the
comman s al b ig ored
1 8.3 SET HOLD TIMER (DTR0)
If the hold timer is implemented, “SET HOLD TIMER (DTR0) s al set “t Hold” to “DTR0”
u les “DTR0” eq als MASK in whic case the comman s al b ig ored
Refer to 9.5.1 f or more inf ormation
1 8.4 SET REPORT TIMER (DTR0)
“ Rep rt s al b set to “DTR0”
Ref er to 9.5.2 f or more information
1 8.5 SET DEADTIME TIMER (DTR0)
“tDeadt ime” s al b set to “DTR0”
Ref er to 9.5.3 for more information
1 9 Insta c querie
The req irements of IEC 6 3 6-10 :2 14 an IEC 6 3 6-10 :2 14/AMD1:—, 1 9 a ply, with
the fol owin ad ition :
1 9.2 QUERY INSTANCE ERROR
The detai ed er or information s al b “ nst anc Er orByt e”
Refer to 9.6.3 f or more information
1 9.3 QUERY DEADTIME TIMER
The an wer s al b “tDead t ime”
Ref er to 9.5.3 for more information
1 9.4 QUERY HOLD TIMER
The an wer s al b MASK if the hold timer is not implemented, “t Hold” if it is implemented
Ref er to 9.5.1 for more information
1 9.5 QUERY REPORT TIMER
Trang 23Refer to 9.5.2 f or more inf ormation.
1 9.6 QUERY CATCHING
The an wer s al b YES if “cat ching eq als TRUE, an NO otherwise
Ref er to 9.4.6 f or more information
1 10 Spe ial comma d
The req irements of IEC 6 3 6-10 :2 14 an IEC 6 3 6-10 :2 14/AMD1:—, 1 10 a ply
Trang 24Bibl ogr aphy
[1] IEC 613 7 (al p rts), L mp c ntrolge r
[2] IEC 613 7-1, L mp c ntrolg ar – Part 1: Ge eral a d safety re uireme ts