Digital addressable lighting interface - Part 306: Particular requirements - Input devices - General purpose sensor (IEC 62386-306:2023)

IEC 62386-306:2023 is applicable to input devices that provide sensor information or measurements to the lighting control system.
This document is only applicable to input devices complying with IEC 62386-103.

Digital adressierbare Schnittstelle für die Beleuchtung - Teil 306: Besondere Anforderungen - Eingabegeräte - Sensor für allgemeine Zwecke (IEC 62386-306:2023)

Interface d'éclairage adressable numérique - Partie 306 : Exigences particulières - Dispositifs d'entrée - Capteur à usage général (IEC 62386-306:2023)

L'IEC 62386-306:2023 s'applique aux dispositifs d'entrée qui fournissent des informations ou des mesures de capteurs au système de commande d'éclairage.
Le présent document s'applique uniquement aux dispositifs d'entrée conformes à l'IEC 62386‑103.

Digitalni naslovljivi vmesnik za razsvetljavo - 306. del: Posebne zahteve - Vhodne naprave - Senzor za splošno uporabo (IEC 62386-306:2023)

Ta del standarda IEC 62386 se uporablja za vhodne naprave, ki sistemu za krmiljenje razsvetljave zagotavljajo senzorske informacije ali meritve.
Ta dokument se uporablja samo za vhodne naprave, ki so skladne s standardom IEC 62386-103.

General Information

Status
Published
Public Enquiry End Date
28-Feb-2023
Publication Date
24-Jan-2024
Current Stage
6060 - National Implementation/Publication (Adopted Project)
Start Date
24-Jan-2024
Due Date
30-Mar-2024
Completion Date
25-Jan-2024
Standard
SIST EN IEC 62386-306:2024 - BARVE
English language
42 pages
sale 10% off
Preview
sale 10% off
Preview
e-Library read for
1 day

Standards Content (Sample)


SLOVENSKI STANDARD
01-marec-2024
Digitalni naslovljivi vmesnik za razsvetljavo - 306. del: Posebne zahteve - Vhodne
naprave - Senzor za splošno uporabo (IEC 62386-306:2023)
Digital addressable lighting interface - Part 306: Particular requirements - Input devices -
General purpose sensor (IEC 62386-306:2023)
Digital adressierbare Schnittstelle für die Beleuchtung - Teil 306: Besondere
Anforderungen - Eingabegeräte - Sensor für allgemeine Zwecke (IEC 62386-306:2023)
Interface d'éclairage adressable numérique - Partie 306 : Exigences particulières -
Dispositifs d'entrée - Capteur à usage général (IEC 62386-306:2023)
Ta slovenski standard je istoveten z: EN IEC 62386-306:2024
ICS:
29.140.50 Instalacijski sistemi za Lighting installation systems
razsvetljavo
29.140.99 Drugi standardi v zvezi z Other standards related to
žarnicami lamps
35.200 Vmesniška in povezovalna Interface and interconnection
oprema equipment
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.

EUROPEAN STANDARD EN IEC 62386-306

NORME EUROPÉENNE
EUROPÄISCHE NORM January 2024
ICS 29.140.50; 29.140.99
English Version
Digital addressable lighting interface - Part 306: Particular
requirements - Input devices - General purpose sensor
(IEC 62386-306:2023)
Interface d'éclairage adressable numérique - Partie 306 : Digital adressierbare Schnittstelle für die Beleuchtung - Teil
Exigences particulières - Dispositifs d'entrée - Capteur à 306: Besondere Anforderungen - Eingabegeräte - Sensor
usage général für allgemeine Zwecke
(IEC 62386-306:2023) (IEC 62386-306:2023)
This European Standard was approved by CENELEC on 2024-01-10. CENELEC members are bound to comply with the CEN/CENELEC
Internal Regulations which stipulate the conditions for giving this European Standard the status of a national standard without any alteration.
Up-to-date lists and bibliographical references concerning such national standards may be obtained on application to the CEN-CENELEC
Management Centre or to any CENELEC member.
This European Standard exists in three official versions (English, French, German). A version in any other language made by translation
under the responsibility of a CENELEC member into its own language and notified to the CEN-CENELEC Management Centre has the
same status as the official versions.
CENELEC members are the national electrotechnical committees of Austria, Belgium, Bulgaria, Croatia, Cyprus, the Czech Republic,
Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, the
Netherlands, Norway, Poland, Portugal, Republic of North Macedonia, Romania, Serbia, Slovakia, Slovenia, Spain, Sweden, Switzerland,
Türkiye and the United Kingdom.

European Committee for Electrotechnical Standardization
Comité Européen de Normalisation Electrotechnique
Europäisches Komitee für Elektrotechnische Normung
CEN-CENELEC Management Centre: Rue de la Science 23, B-1040 Brussels
© 2024 CENELEC All rights of exploitation in any form and by any means reserved worldwide for CENELEC Members.
Ref. No. EN IEC 62386-306:2024 E

European foreword
The text of document 34/1132/FDIS, future edition 1 of IEC 62386-306, prepared by IEC/TC 34
"Lighting" was submitted to the IEC-CENELEC parallel vote and approved by CENELEC as
The following dates are fixed:
• latest date by which the document has to be implemented at national (dop) 2024-10-10
level by publication of an identical national standard or by endorsement
• latest date by which the national standards conflicting with the (dow) 2027-01-10
document have to be withdrawn
Attention is drawn to the possibility that some of the elements of this document may be the subject of
patent rights. CENELEC shall not be held responsible for identifying any or all such patent rights.
Any feedback and questions on this document should be directed to the users’ national committee. A
complete listing of these bodies can be found on the CENELEC website.
Endorsement notice
The text of the International Standard IEC 62386-306:2023 was approved by CENELEC as a
European Standard without any modification.
Annex ZA
(normative)
Normative references to international publications
with their corresponding European publications
The following documents are referred to in the text in such a way that some or all of their content
constitutes requirements of this document. For dated references, only the edition cited applies. For
undated references, the latest edition of the referenced document (including any amendments)
applies.
NOTE 1 Where an International Publication has been modified by common modifications, indicated by (mod), the
relevant EN/HD applies.
NOTE 2 Up-to-date information on the latest versions of the European Standards listed in this annex is available
here: www.cencenelec.eu.
Publication Year Title EN/HD Year
IEC 62386-101 2022 Digital addressable lighting interface - Part EN IEC 62386-101 2022
101: General requirements - System
components
IEC 62386-103 2022 Digital addressable lighting interface - Part EN IEC 62386-103 2022
103: General requirements - Control
devices
IEC 62386-333 2018 Digital addressable lighting interface - Part EN IEC 62386-333 2018
333: Particular requirements for control
devices - Manual configuration (feature
type 33)
IEC 62386-306 ®
Edition 1.0 2023-12
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside
Digital addressable lighting interface –

Part 306: Particular requirements – Input devices – General purpose sensor

Interface d'éclairage adressable numérique –

Partie 306: Exigences particulières – Dispositifs d'entrée – Capteur à usage

général
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
INTERNATIONALE
ICS 29.140.50, 29.140.99 ISBN 978-2-8322-7954-0

– 2 – IEC 62386-306:2023 © IEC 2023
CONTENTS
FOREWORD . 5
INTRODUCTION . 7
1 Scope . 9
2 Normative references . 9
3 Terms and definitions . 9
4 General . 10
4.1 General requirements . 10
4.2 Version number . 10
4.3 Insulation . 10
5 Electrical specification . 10
6 Bus power supply . 10
7 Transmission protocol structure . 10
8 Timing . 11
9 Method of operation . 11
9.1 General . 11
9.2 Instance type . 11
9.3 Input signal and value . 11
9.3.1 Input value . 11
9.3.2 Sensor start-up and invalid measurements . 12
9.3.3 Input signal range . 12
9.3.4 Minimum and maximum input values. 12
9.3.5 Measurement accuracy . 12
9.4 Events . 13
9.4.1 Priority use . 13
9.4.2 Bus usage . 13
9.4.3 Encoding . 13
9.4.4 Event configuration . 15
9.4.5 Event generation . 15
9.5 Configuring the input device . 19
9.5.1 Using the report timers . 19
9.5.2 Using the deadtime timer . 19
9.5.3 Setting the timers . 19
9.5.4 Setting the hysteresis . 20
9.5.5 Setting the alarm type . 21
9.5.6 Querying alarm status . 21
9.5.7 Setting the alarm levels . 21
9.5.8 Setting the alarm hysteresis . 24
9.5.9 Query sensor type . 24
9.5.10 Setting magnitude . 25
9.5.11 Manual configuration . 25
9.6 Exception handling. 25
9.6.1 Physical sensor failure . 25
9.6.2 Manufacturer-specific errors . 25
9.6.3 Error value . 25
10 Declaration of variables . 26
11 Definition of commands . 27

IEC 62386-306:2023 © IEC 2023 – 3 –
11.1 General . 27
11.2 Overview sheets . 28
11.2.1 General . 28
11.2.2 Standard commands . 28
11.3 Event messages . 28
11.3.1 INPUT NOTIFICATION (device/instance, event) . 28
11.3.2 POWER NOTIFICATION (device) . 28
11.4 Device control instructions . 28
11.5 Device configuration instructions . 28
11.6 Device queries . 29
11.7 Instance control instructions . 29
11.8 Instance configuration instructions . 29
11.8.1 General . 29
11.8.2 SET EVENT FILTER (DTR1:DTR0) . 29
11.8.3 SET REPORT TIMER (DTR0) . 29
11.8.4 SET ALARM REPORT TIMER (DTR0) . 29
11.8.5 SET HYSTERESIS (DTR0) . 29
11.8.6 SET DEADTIME TIMER (DTR0) . 29
11.8.7 SET HYSTERESIS MIN (DTR0). 29
11.8.8 SET ALARM TYPE (DTR0) . 29
11.8.9 SET MAGNITUDE (DTR0) . 30
11.8.10 SET ALARM (DTR2,DTR1,DTR0). 30
11.8.11 SET ALARM HYSTERESIS (DTR2,DTR1,DTR0) . 30
11.9 Instance queries . 30
11.9.1 General . 30
11.9.2 QUERY DEADTIME TIMER . 30
11.9.3 QUERY INSTANCE ERROR . 30
11.9.4 QUERY REPORT TIMER . 30
11.9.5 QUERY ALARM REPORT TIMER . 30
11.9.6 QUERY HYSTERESIS . 30
11.9.7 QUERY HYSTERESIS MIN . 30
11.9.8 QUERY MEASUREMENT VARIABLE (DTR0) . 31
11.10 Special commands . 32
Annex A (normative) Units of measure and quantity names . 33
A.1 Units of measure . 33
A.2 Quantity names . 34
Annex B (informative) Guidance on the design of application controllers . 35
B.1 Calculating input values, event values and measurements . 35
B.2 Example 1 – 6-bit measurement resolution . 35
B.3 Example 2 – 12-bit measurement resolution . 37
Bibliography . 39

Figure 1 – IEC 62386 graphical overview . 7
Figure 2 – Example of "measuredValue" changes and resultant hysteresis bands . 16
Figure 3 – Example of "measuredValue" changes and alarm levels . 18

Table 1 – Measurement and alarm events . 14
Table 2 – Event filter . 15

– 4 – IEC 62386-306:2023 © IEC 2023
Table 3 – "alarmType" . 17
Table 4 – "alarmIsActivated" . 17
Table 5 – Example alarm event messages . 18
Table 6 – Timer settings . 20
Table 7 – Default and reset values for "hysteresisMin" . 21
Table 8 – Set alarm . 22
Table 9 – "alarmX" value versus resolution examples . 23
Table 10 – Set alarm disable values . 24
Table 11 – "manualCapabilityInstance3xx" values . 25
Table 12 – "instanceErrorByte" values. 26
Table 13 – Declaration of device variables . 26
Table 14 – Restrictions and modifications to instance variables defined in
IEC 62386-103:2022 . 26
Table 15 – Declaration of instance variables . 27
Table 16 – Standard commands . 28
Table 17 – DTR reference . 31
Table A.1 – "unitOfMeasurement" values . 33
Table A.2 – "quantityName" values . 34
Table B.1 – Calculating input values and event values from measurements . 36
Table B.2 – Calculating measurements from event values . 36
Table B.3 – Calculating input values and event values from measurements . 37
Table B.4 – Calculating measurements from event values . 38

IEC 62386-306:2023 © IEC 2023 – 5 –
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
DIGITAL ADDRESSABLE LIGHTING INTERFACE –

Part 306: Particular requirements – Input devices –
General purpose sensor
FOREWORD
1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising
all national electrotechnical committees (IEC National Committees). The object of IEC is to promote international
co-operation on all questions concerning standardization in the electrical and electronic fields. To this end and
in addition to other activities, IEC publishes International Standards, Technical Specifications, Technical Reports,
Publicly Available Specifications (PAS) and Guides (hereafter referred to as “IEC Publication(s)”). Their
preparation is entrusted to technical committees; any IEC National Committee interested in the subject dealt with
may participate in this preparatory work. International, governmental and non-governmental organizations liaising
with the IEC also participate in this preparation. IEC collaborates closely with the International Organization for
Standardization (ISO) in accordance with conditions determined by agreement between the two organizations.
2) The formal decisions or agreements of IEC on technical matters express, as nearly as possible, an international
consensus of opinion on the relevant subjects since each technical committee has representation from all
interested IEC National Committees.
3) IEC Publications have the form of recommendations for international use and are accepted by IEC National
Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC
Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any
misinterpretation by any end user.
4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications
transparently to the maximum extent possible in their national and regional publications. Any divergence between
any IEC Publication and the corresponding national or regional publication shall be clearly indicated in the latter.
5) IEC itself does not provide any attestation of conformity. Independent certification bodies provide conformity
assessment services and, in some areas, access to IEC marks of conformity. IEC is not responsible for any
services carried out by independent certification bodies.
6) All users should ensure that they have the latest edition of this publication.
7) No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and
members of its technical committees and IEC National Committees for any personal injury, property damage or
other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and
expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any other IEC
Publications.
8) Attention is drawn to the Normative references cited in this publication. Use of the referenced publications is
indispensable for the correct application of this publication.
9) IEC draws attention to the possibility that the implementation of this document may involve the use of (a)
patent(s). IEC takes no position concerning the evidence, validity or applicability of any claimed patent rights in
respect thereof. As of the date of publication of this document, IEC had not received notice of (a) patent(s), which
may be required to implement this document. However, implementers are cautioned that this may not represent
the latest information, which may be obtained from the patent database available at https://patents.iec.ch. IEC
shall not be held responsible for identifying any or all such patent rights.
IEC 62386-306 has been prepared by IEC technical committee 34: Lighting. It is an International
Standard.
The text of this International Standard is based on the following documents:
Draft Report on voting
34/1132/FDIS 34/1146/RVD
Full information on the voting for its approval can be found in the report on voting indicated in
the above table.
The language used for the development of this International Standard is English.

– 6 – IEC 62386-306:2023 © IEC 2023
This document has been drafted in accordance with the ISO/IEC Directives, Part 2, and
developed in accordance with ISO/IEC Directives, Part 1 and ISO/IEC Directives, IEC
Supplement, available at www.iec.ch/members_experts/refdocs. The main document types
developed by IEC are described in greater detail at www.iec.ch/standardsdev/publications.
This document is intended to be used in conjunction with:
• IEC 62386-101, which contains general requirements for system components;
• IEC 62386-103, which contains general requirements for control devices.
A list of all parts in the IEC 62386 series, published under the general title Digital addressable
lighting interface, can be found on the IEC website.
The committee has decided that the contents of this document will remain unchanged until the
stability date indicated on the IEC website under webstore.iec.ch in the data related to the
specific document. At this date, the document will be
• reconfirmed,
• withdrawn, or
• revised.
IMPORTANT – The "colour inside" logo on the cover page of this document indicates
that it contains colours which are considered to be useful for the correct understanding
of its contents. Users should therefore print this document using a colour printer.

IEC 62386-306:2023 © IEC 2023 – 7 –
INTRODUCTION
The IEC 62386 series specifies a bus system for control by digital signals of electronic lighting
equipment and contains several parts, referred to as series. The IEC 62386-1xx series includes
the basic specifications. IEC 62386-101 contains general requirements for system components,
IEC 62386-102 extends this information with general requirements for control gear and
IEC 62386-103 extends it further with general requirements for control devices. IEC 62386-104
and IEC 62386-105 can be applied to control gear or control devices. IEC 62386-104 gives
requirements for wireless and alternative wired system components. IEC 62386-105 describes
firmware transfer. IEC 62386-150 gives requirements for an auxiliary power supply which can
be stand-alone, or built into control gear or control devices.
The IEC 62386-2xx series extends the general requirements for control gear with lamp specific
extensions (mainly for backward compatibility with Edition 1 of IEC 62386) and with control gear
specific features.
The IEC 62386-3xx series extends the general requirements for control devices with input
device specific extensions describing the instance types as well as some common features that
can be combined with multiple instance types.
This first edition of IEC 62386-306 is intended to be used in conjunction with IEC 62386-101
and IEC 62386-103. The division into separately published parts provides for ease of future
amendments and revisions. Additional requirements will be added as and when a need for them
is recognized.
The setup of the standards is graphically represented in Figure 1 below.

Figure 1 – IEC 62386 graphical overview
When this part of IEC 62386 refers to any of the clauses of the parts of the IEC 62386-1xx
series, the extent to which such a clause is applicable is specified. The other parts also include
additional requirements, as necessary.
All numbers used in this document are decimal numbers unless otherwise noted. Hexadecimal
numbers are given in the format 0xVV, where VV is the value. Binary numbers are given in the
format XXXXXXXXb or in the format XXXX XXXX, where X is 0 or 1, "x" in binary numbers
means "don't care". Where a variable is referred by a bit number, bit 0 is the least significant
bit.
– 8 – IEC 62386-306:2023 © IEC 2023
The following typographic expressions are used:
Variables: "variableName" or "variableName[3:0]", giving only bits 3 to 0 of "variableName";
Range of values: [lowest, highest];
Command: "COMMAND NAME".
IEC 62386-306:2023 © IEC 2023 – 9 –
DIGITAL ADDRESSABLE LIGHTING INTERFACE –

Part 306: Particular requirements – Input devices –
General purpose sensor
1 Scope
This part of IEC 62386 is applicable to input devices that provide sensor information or
measurements to the lighting control system.
This document is only applicable to input devices complying with IEC 62386-103.
2 Normative references
The following documents are referred to in the text in such a way that some or all of their content
constitutes requirements of this document. For dated references, only the edition cited applies.
For undated references, the latest edition of the referenced document (including any
amendments) applies.
IEC 62386-101:2022, Digital addressable lighting interface – Part 101: General requirements –
System components
IEC 62386-103:2022, Digital addressable lighting interface – Part 103: General requirements –
Control devices
IEC 62386-333:2018, Digital addressable lighting interface – Part 333: Particular requirements
for control devices – Manual configuration (feature type 33)
3 Terms and definitions
For the purposes of this document, the terms and definitions given in IEC 62386-101 and
IEC 62386-103 and the following apply.
ISO and IEC maintain terminology databases for use in standardization at the following
addresses:
• IEC Electropedia: available at http://www.electropedia.org/
• ISO online browsing platform: available at http://www.iso.org/obp
3.1
instance
sensor signal processing unit of an input device
[SOURCE: IEC 62386-101:2022, 3.29, modified – "sensor" has been added, narrowing the
definition to a sensor.]
3.2
strictly monotonic
either entirely increasing or decreasing without repeating values

– 10 – IEC 62386-306:2023 © IEC 2023
3.3
unit of measurement
real scalar quantity, defined and adopted by convention, with which any other quantity of the
same kind can be compared to express the ratio of the second quantity to the first one as a
number
Note 1 to entry: A sensor detecting a temperature of 26 °C would have a unit of measurement designated as
degrees Celsius.
[SOURCE: IEC 60050-112:2010, 112-01-14, modified – Note 1 to entry has been deleted and
Notes 2, 3 and 4 to entry have been replaced by a new Note 1 to entry.]
3.4
quantity name
term designating a property of a phenomenon, body, or substance, where the property has a
magnitude that can be expressed by means of a number and a reference
Note 1 to entry: A sensor detecting a temperature of 26 °C would have a quantity name defined as temperature.
[SOURCE: IEC 60050-112:2019, 112-01-01 and 112-01-02, modified – The two definitions have
been combined and the Notes to entry have been replaced with a new Note 1 to entry.]
4 General
4.1 General requirements
The requirements of IEC 62386-103:2022, Clause 4 apply, with the restrictions, changes and
additions identified below.
4.2 Version number
In IEC 62386-103:2022, 4.2, "103" shall be replaced by "306", "version number" shall be
replaced by "extended version number" and "versionNumber" shall be replaced by
"extendedVersionNumber".
4.3 Insulation
According to applicable safety standards, it can be required that the input device has at least
supplementary insulation to accessible parts. This depends on the connected components. In
this case special attention should be paid with respect to the sensor(s) being used.
NOTE IEC 62386-103:2022 requires system components to have at least basic insulation.
5 Electrical specification
The requirements of IEC 62386-103:2022, Clause 5 apply.
6 Bus power supply
The requirements of IEC 62386-103:2022, Clause 6 apply.
7 Transmission protocol structure
The requirements of IEC 62386-103:2022, Clause 7 apply.
NOTE Subclause 9.4 provides detailed event information applicable to instances.

IEC 62386-306:2023 © IEC 2023 – 11 –
8 Timing
The requirements of IEC 62386-103:2022, Clause 8 apply.
9 Method of operation
9.1 General
The requirements of IEC 62386-103:2022, Clause 9 apply, with the following restrictions and
additions.
9.2 Instance type
The instance type ("instanceType") shall be equal to 6.
9.3 Input signal and value
9.3.1 Input value
The measured input signal shall be scaled and an offset applied for bipolar inputs, with
"measuredValue" containing the result with a precision of "resolution" bits. "measuredValue" shall
be encoded in "inputValue" as described in IEC 62386-103:2022, 9.8.2.
NOTE 1 "measuredValue" has "resolution" bits, whereas "inputValue" has a multiple of 8 bits. For example if
"resolution" = 27 then "measuredValue" will be a 27-bit value and "inputValue" will be a 32-bit value.
The input signal shall be scaled by the variable "magnitude":
"magnitude" − 127
scaled input signal = input signal/10
An offset, K, is added to the scaled input signal, depending on the range of the input signal
(see 9.3.3). K shall be calculated as follows:
"resolution" − 1
• for bipolar input signals: K = 2 – 1,
• in all other cases: K = 0.
This gives:
"magnitude" − 127
"measuredValue" = input signal/10 + K
The resulting "measuredValue" shall be a strictly monotonic function of the input signal. Units of
measure are listed in Clause A.1, and quantity names are listed in Clause A.2.
NOTE 2 The measured value can be a relative value, depending on the quantity and unit of measure.
EXAMPLE The following example demonstrates the encoding: A sensor has "resolution" = 5, "magnitude" = 128 and
measures input voltages that can extend to negative values. An input signal of −50 V is measured. Scaled input
128 − 127
signal = −50/10 = −5. Offset K = 15 is added to this, giving a "measuredValue" of 10 (01010b). This has a
resolution of 5, so these 5 bits make up the top 5 bits of the 1-byte "inputValue" and are repeated in the 3 least
significant bits of "inputValue", resulting in 82 (01010010b). When encoding into a 9-bit measurement event (Table 1),
this will be encoded as 512 + 165 (1010100101b) (Bit 9 = 1 indicating a measurement event.)
Annex B gives guidance for application controller developers in calculating the measured signal
from the "inputValue" and other variables.

– 12 – IEC 62386-306:2023 © IEC 2023
9.3.2 Sensor start-up and invalid measurements
After the receiver start-up, it can take the sensor some time before valid measurements are
obtained. During this time, "inputValue" shall be MASK. After the first valid measurement is
obtained, "inputValue" shall not be MASK, except in the case of physical sensor failure (see
9.6.1). When "inputValue" is MASK, "measuredValue" shall not change, meaning it shall stay at
the power-on value, or the last valid measured value.
The following are examples of "inputValue" MASK values and highest valid values, for several
values of "resolution":
• "resolution" = 4: "inputValue" is a 1-byte value
– MASK is 0xFF, resulting in a QUERY INPUT VALUE reply of 0xFF.
– After applying the scale and offset, the highest possible "measuredValue" is 0xE, which
results in the 1-byte "inputValue" of 0xEE.
• "resolution" = 9: "inputValue" is a 2-byte value
– MASK is 0xFFFF, resulting in a QUERY INPUT VALUE reply of 0xFF and a QUERY
INPUT VALUE LATCH reply of 0xFF.
– After applying the scale and offset, the highest possible "measuredValue" is 0x1FE, which
results in the 2-byte "inputValue" of 0xFF7F.
• "resolution" = 18: "inputValue" is a 3-byte value
– MASK is 0xFFFFFF, resulting in a QUERY INPUT VALUE reply of 0xFF and replies of
0xFF for each of the two QUERY INPUT VALUE LATCH commands sent after QUERY
INPUT VALUE.
– After applying the scale and offset, the highest possible "measuredValue" is 0x3FFFE,
which results in the 3-byte "inputValue" of 0xFFFFBF.
9.3.3 Input signal range
To indicate an input signal that can extend into negative values as well as positive values, a
Boolean factory programmed instance variable "inputSignalSigned" shall be maintained by the
instance.
• if the input signal can be negative or positive, "inputSignalSigned" = 1 (TRUE), and K > 0;
• if the input signal can be positive only, "inputSignalSigned" = 0 (FALSE), and K = 0;
where K is the offset described in 9.3.1.
"inputSignalSigned" can be queried via QUERY MEASUREMENT VARIABLE (DTR0).
9.3.4 Minimum and maximum input values
On each change of "measuredValue", the following shall be recalculated:
• If "measuredValue" > "maxMeasuredValue", then "maxMeasuredValue" shall be set to
"measuredValue".
• If "measuredValue" < "minMeasuredValue", then "minMeasuredValue" shall be set to
"measuredValue".
Querying of "maxMeasuredValue" and "minMeasuredValue" is described in 11.9.8.
9.3.5 Measurement accuracy
Measurement accuracy is manufacturer-specific and shall be stated in the product documents.

IEC 62386-306:2023 © IEC 2023 – 13 –
9.4 Events
9.4.1 Priority use
9.4.1.1 General
The default "eventPriority" is shown in Table 14.
NOTE Application controllers can avoid setting "eventPriority" to 2, to help ensure they have a timeslot to respond.
9.4.1.2 Periodic events
The periodic "INPUT NOTIFICATION" messages of the following types shall be sent with the
priority as shown:
• triggered by the report timer that reports the measurement event: priority 5,
• triggered by the alarm report timer that reports the alarm event: priority 5.
9.4.1.3 Alarm events
The "ALARM EVENT" message triggered by an alarm activation or deactivation shall be sent
with priority "eventPriority".
9.4.1.4 Measurement events
The measurement event message triggered by a change in "measuredValue" outside of the
hysteresis band, shall always be sent with priority 4.
9.4.2 Bus usage
9.4.2.1 Instance level
Multiple events from an instance shall not be sent in a transaction. There is a configurable delay
T that shall be taken into account. See 9.5.2 for more information.
deadtime
9.4.2.2 Device level
At the device level, events from different instances may be sent in a transaction.
9.4.3 Encoding
Measurement and alarm events shall be encoded as shown in Table 1.

– 14 – IEC 62386-306:2023 © IEC 2023
Table 1 – Measurement and alarm events
Event name Event information Description
9 8 7 6 5 4 3 2 1 0
Measured value A measured value report, passing the 9 most significant bits of
1 "measurementEvent"
report "inputValue".
"alarmIsActivated[0]" is 0 and has not changed at any time since the
Alarm 0 0 0 - - - - - - 0 0
last alarm event transmission.
0 0 - - - - - - 0 1 "alarmIsActivated[0]" is 1 and has not changed at any time since the
last alarm event transmission.
0 0 - - - - - - 1 0 "alarmIsActivated[0]" is 0 and has changed at least once since the
last alarm event transmission.
0 0 - - - - - - 1 1 "alarmIsActivated[0]" is 1 and has changed at least once since the
last alarm event transmission.
Alarm 1 0 0 - - - - 0 0 - - "alarmIsActivated[1]" is 0 and has not changed at any time since the
last alarm event transmission.
0 0 - - - - 0 1 - - "alarmIsActivated[1]" is 1 and has not changed at any time since the
last alarm event transmission.
0 0 - - - - 1 0 - - "alarmIsActivated[1]" is 0 and has changed at least once since the
last alarm event transmission.
0 0 - - - - 1 1 - - "alarmIsActivated[1]" is 1 and has changed at least once since the
last alarm event transmission.
Alarm 2 0 0 - - 0 0 - - - - "alarmIsActivated[2]" is 0 and has not changed at any time since the
last alarm event transmission.
0 0 - - 0 1 - - - - "alarmIsActivated[2]" is 1 and has not changed at any time since the
last alarm event transmission.
0 0 - - 1 0 - - - - "alarmIsActivated[2]" is 0 and has changed at least once since the
last alarm event transmission.
0 0 - - 1 1 - - - - "alarmIsActivated[2]" is 1 and has changed at least once since the
last alarm event transmission.
Alarm 3 0 0 0 0 - - - - - - "alarmIsActivated[3]" is 0 and has not changed at any time since the
last alarm event transmission.
0 0 0 1 - - - - - - "alarmIsActivated[3]" is 1 and has not changed at any time since the
last alarm event transmission.
0 0 1 0 - - - - - - "alarmIsActivated[3]" is 0 and has changed at least once since the
last alarm event transmission.
0 0 1 1 - - - - - - "alarmIsActivated[3]" is 1 and has changed at least once since the
last alarm event transmission.
01xxxxxxxxb Reserved
An alarm event is indicated by clearing bits 8 and 9. The remaining bits are calculated by bitwise
OR-ing the alarm status bits. In order to perform the OR-ing, every bit that is marked with "-"
shall be assumed 0.
A measurement event is indicated by setting bit 9. The measurement event shall be encoded
as follows:
• if "resolution" ≤ 9: "measurementEvent" shall be calculated from "measuredValue" such that the
resulting event information is a 9-bit value, according to IEC 62386-103:2022, 9.8.2;
• in all other cases: "measurementEvent" shall provide the 9 most significant bits of
"measuredValue".
NOTE The measured value is an offset binary value. "measurementEvent" indicates the magnitude of the reading as
a proportion of full scale. To determine the original value, the application controller can consider "resolution". To
obtain full-resolution values when "resolution" > 9, an application controller can query the input value via QUERY
INPUT VALUE and QUERY INPUT VALUE LATCH.

IEC 62386-306:2023 © IEC 2023 – 15 –
9.4.4 Event configuration
Events shall be enabled or disabled according to the value of "eventFilter". For this document,
"eventFilter" shall be reduced to two bytes.
NOTE Inhibiting events increases the effective bus bandwidth availability.
The "eventFilter" shall have the definition as given in Table 2.
Table 2 – Event filter
Bit Description Value Default
0 Measured value report event enabled? "1" = "Yes" 1
1 Alarm 0 activated event enabled? "1" = "Yes" 0
2 Alarm 0 deactivated event enabled? "1" = "Yes" 0
3 Alarm 1 activated event enabled? "1" = "Yes" 0
4 Alarm 1 deactivated event enabled? "1" = "Yes" 0
5 Alarm 2 activated event enabled? "1" = "Yes" 0
6 Alarm 2 deactivated event enabled? "1" = "Yes" 0
7 Alarm 3 activated event enabled? "1" = "Yes" 0
8 Alarm 3 deactivated event enabled? "1" = "Yes" 0
9 to 15 Reserved 0 0
The filter can be set via SET EVENT FILTER (DTR1:DTR0) and be queried using
QUERY EVENT FILTER 0-7 and QUERY EVENT FILTER 8-15, see IEC 62386-103:2022 for
details.
9.4.5 Event generation
9.4.5.1 General
Two types of events shall be generated. The measurement event provides a report of
"inputValue" and the alarm event provides the status of each alarm.
9.4.5.2 Measurement event
The measured value report event is a report of the "measuredValue". In order to avoid flooding
the system with too many events triggered by small measurement changes, a hysteresis band
is introduced. This hysteresis b
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.

Loading comments...