Alarm systems - Part 7-2: Message formats and protocols for serial data interfaces in alarm transmission systems - Common application layer protocol

Specifies a common application layer protocol (message structure, formats and transmission procedures) to be used at standard interfaces in alarm transmission systems. Should be used at all such interfaces where equipment from one supplier is intended to inter-work with equipment from other suppliers.

Systèmes d'alarme - Partie 7-2: Formats de message et protocoles pour les interfaces de données série dans les systèmes de transmission d'alarme - Protocole de la couche commune d'application

Spécifie un protocole de couche commune d'application (structure de message, formats et procédures de transmission) à utiliser au niveau des interfaces normalisées dans les systèmes de transmission d'alarme. A utiliser au niveau de toutes ces interfaces lorsque le matériel d'un fournisseur est destiné à interagir avec celui d'autres fournisseurs.

Alarm systems - Part 7-2: Message formats and protocols for serial data interfaces in alarm transmission systems - Common application layer protocol

General Information

Status
Withdrawn
Publication Date
31-May-2002
Withdrawal Date
20-Jun-2024
Technical Committee
Current Stage
9900 - Withdrawal (Adopted Project)
Start Date
21-Jun-2024
Due Date
14-Jul-2024
Completion Date
21-Jun-2024

Buy Standard

Standard
IEC 60839-7-2:2002
English language
27 pages
sale 10% off
Preview
sale 10% off
Preview
e-Library read for
1 day

Standards Content (Sample)


2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.Alarm systems - Part 7-2: Message formats and protocols for serial data interfaces in alarm transmission systems - Common application layer protocolSystèmes d'alarme - Partie 7-2: Formats de message et protocoles pour les interfaces de données série dans les systèmes de transmission d'alarme - Protocole de la couche commune d'applicationAlarm systems - Part 7-2: Message formats and protocols for
serial data interfaces in alarm transmission systems - Common application layer protocol35.200Vmesniška in povezovalna opremaInterface and interconnection equipment35.100.70Uporabniški slojApplication layer13.320Alarmni in opozorilni sistemiAlarm and warning systemsICS:Ta slovenski standard je istoveten z:IEC 60839-7-2SIST IEC 60839-7-2:2002en01-junij-2002SIST IEC 60839-7-2:2002SLOVENSKI
STANDARD
NORMEINTERNATIONALECEIIECINTERNATIONALSTANDARD60839-7-2Première éditionFirst edition2001-03Systèmes d'alarme –Partie 7-2:Formats de message et protocoles pourles interfaces de données série dansles systèmes de transmission d'alarme –Protocole de la couche commune d’applicationAlarm systems –Part 7-2:Message formats and protocols for serialdata interfaces in alarm transmission systems –Common application layer protocol Commission Electrotechnique Internationale International Electrotechnical CommissionPour prix, voir catalogue en vigueurFor price, see current catalogue IEC 2001
Droits de reproduction réservés

Copyright - all rights reservedAucune partie de cette publication ne peut être reproduite niutilisée sous quelque forme que ce soit et par aucun procédé,électronique ou mécanique, y compris la photocopie et lesmicrofilms, sans l'accord écrit de l'éditeur.No part of this publication may be reproduced or utilized inany form or by any means, electronic or mechanical,including photocopying and microfilm, without permission inwriting from the publisher.International Electrotechnical Commission3, rue de Varembé
Geneva, SwitzerlandTelefax: +41 22 919 0300e-mail: inmail@iec.ch IEC web site
http://www.iec.chCODE PRIXPRICE CODEUSIST IEC 60839-7-2:2002

60839-7-2 © IEC:2001– 3 –CONTENTSFOREWORD.51Scope.92Normative references.93Definitions.94Abbreviations.115Application layer functions.116Basic data blocks.116.1Application layer header.116.2Basic message.136.3Acknowledgements (ACK).156.4Minimum subset of messages supported.156.5Message decoding.177Common application layer protocol procedure.178Services provided to the application layer.218.1Long messages.218.2Correct order of messages.238.3Transmission errors.238.4Notification of transmission errors.23Annex A (normative)
Basic data blocks.25Annex B (normative)
Alarm channel data blocks.43SIST IEC 60839-7-2:2002

60839-7-2 © IEC:2001– 5 –INTERNATIONAL ELECTROTECHNICAL COMMISSION____________ALARM SYSTEMS –Part 7-2: Message formats and protocols for serial data interfacesin alarm transmission systems –Common application layer protocolFOREWORD1)The IEC (International Electrotechnical Commission) is a worldwide organization for standardization comprisingall national electrotechnical committees (IEC National Committees). The object of the IEC is to promoteinternational co-operation on all questions concerning standardization in the electrical and electronic fields. Tothis end and in addition to other activities, the IEC publishes International Standards. Their preparation isentrusted to technical committees; any IEC National Committee interested in the subject dealt with mayparticipate in this preparatory work. International, governmental and non-governmental organizations liaisingwith the IEC also participate in this preparation. The IEC collaborates closely with the International Organizationfor Standardization (ISO) in accordance with conditions determined by agreement between the twoorganizations.2)The formal decisions or agreements of the IEC on technical matters express, as nearly as possible, aninternational consensus of opinion on the relevant subjects since each technical committee has representationfrom all interested National Committees.3)The documents produced have the form of recommendations for international use and are published in the formof standards, technical specifications, technical reports or guides and they are accepted by the NationalCommittees in that sense.4)
In order to promote international unification, IEC National Committees undertake to apply IEC InternationalStandards transparently to the maximum extent possible in their national and regional standards. Anydivergence between the IEC Standard and the corresponding national or regional standard shall be clearlyindicated in the latter.5)
The IEC provides no marking procedure to indicate its approval and cannot be rendered responsible for anyequipment declared to be in conformity with one of its standards.6)
Attention is drawn to the possibility that some of the elements of this International Standard may be the subjectof patent rights. The IEC shall not be held responsible for identifying any or all such patent rights.International Standard IEC 60839-7-2 has been prepared by IEC technical committee 79: Alarmsystems.This bilingual version (2001-11) replaces the English version.The text of this standard is based on the following documents:FDISReport on voting79/199/FDIS79/209/RVDFull information on the voting for the approval of this standard can be found in the report onvoting indicated in the above table.This publication has been drafted in accordance with the ISO/IEC Directives, Part 3.Annexes A and B form an integral part of this standard.The committee has decided that the contents of this publication will remain unchangeduntil 2004. At this date, the publication will be•reconfirmed;•withdrawn;•replaced by a revised edition, or•amended.SIST IEC 60839-7-2:2002

60839-7-2 © IEC:2001– 7 –IEC 60839-7-2 forms one of a series of publications presented under the general title: Alarmsystems – Part 7: Message formats and protocols for serial data interfaces in alarmtransmission systems.IEC 60839-7-1:GeneralIEC 60839-7-2:Common application layer protocolIEC 60839-7-3:Common data link layer protocolIEC 60839-7-4:Common transport layer protocolIEC 60839-7-5:Alarm system interfaces employing a two-wire configuration in accordancewith ISO/IEC 8482IEC 60839-7-6:Alarm system interfaces employing ITU-T Recommendation V.24/V.28signallingIEC 60839-7-7:Alarm system interfaces for plug-in alarm system transceiversIEC 60839-7-11:Serial protocol for use by digital communicator systems using ITU-TRecommendation V.23 signalling at interfaces with the PSTNIEC 60839-7-12:PTT interfaces for dedicated communications using ITU-T Recommen-dation V.23 signallingIEC 60839-7-20:Terminal interfaces employing ITU-T Recommendation V.24/V.28 signallingSIST IEC 60839-7-2:2002

60839-7-2 © IEC:2001– 9 –ALARM SYSTEMS –Part 7-2: Message formats and protocols for serial data interfacesin alarm transmission systems –Common application layer protocol1 ScopeThis part of IEC 60839 specifies a common application layer protocol (message structure,formats and transmission procedures) to be used at standard interfaces in alarm transmissionsystems. This should be used at all such interfaces where equipment from one supplier isintended to inter-work with equipment from other suppliers, where the underlying systemarchitecture does not impose its own application layer on the interface (for example as in somebus systems).The structure follows the OSI recommendations for a layered protocol to allow flexibility in thechoice and use of lower level transmission media and protocols.The common application layer protocol defined has a minimum subset that should be providedby all equipment which supports this standard, and has defined extensions which may beoffered. The protocol is also designed such that it can be extended beyond the messagesdefined herein in order to provide further facilities and manufacturer specific extensions.This standard applies equally to the transmission of alarms and other messages to/fromintrusion, fire and social alarm systems, and to the transmission of information to/from othersimilar systems.2 Normative referencesThe following referenced documents are indispensable for the application of this document. Fordated references, only the edition cited applies. For undated references, the latest edition ofthe referenced document (including any amendments) applies.IEC 60839-7-1, Alarm systems – Part 7-1: Message formats and protocols for serial datainterfaces in alarm transmission systems – GeneralIEC 60839-7-4, Alarm systems – Part 7-4: Message formats and protocols for serial datainterfaces in alarm transmission systems – Common transport layer protocolISO/IEC 8859-1, Information technology – 8-bit single-byte coded graphic character sets –Part 1: Latin alphabet No. 13 DefinitionsFor the purpose of this part of IEC 60839, the definitions in IEC 60839-7-1 apply.SIST IEC 60839-7-2:2002

60839-7-2 © IEC:2001– 11 –4 AbbreviationsThe definitions in IEC 60839-7-1 apply.5 Application layer functionsThe application layer is responsible for the formatting of the basic messages required totransmit data through the alarm transmission system. It must also respond to basic messagesfrom the remote application layer.The following facilities, protocol, message structure and formats meet the basic requirementsfor serial data interfaces.6 Basic data blocksAlarms and other information to be transmitted shall be formatted into basic data blocks. Theseshall comprise a two or more 8-bit octets. The first octet shall always be the number of octetsin the block following the length octet, and the second shall be a block type descriptor.Details of these basic data blocks are given in annex A. Where a date/time basic data block isincluded it shall refer to the data blocks that follow it in a message (where appropriate) until theend of the message block or until another date/time basic data block is encountered.6.1 Application layer headerEach basic message shall be formatted into an application layer message by it with anapplication layer header, as follows:07bit 0 :bit 1 :1 = Source identity follows0 = No source identity includedbit 2 :1 = Destination identity follows0 = No destination identity includedbit 3 :bit 6 :Reserved
( must be unset (=0) )bit 7 :bit 4 :bit 5 :SEQUENCE NUMBER(FIRST OCTET)SOURCE IDDESTINATION IDAPPLICATION LAYER HEADERBASIC MESSAGE1 = Acknowledge required0 = No Acknowledge required1 = Basic message encrypted0 = Basic message not encryptedFLAGSNOTE
Bit 7 of the first octet is the end of the transport layer header (or a null transport layer – see IEC 60839-7-4)and will be set to 0 to indicate that an application layer header follows.SIST IEC 60839-7-2:2002

60839-7-2 © IEC:2001– 13 –The sequence number may be initialized at any value. It shall be incremented by one for eachsuccessive application layer message transmitted (mod 8). A separate set of sequencenumbers shall be used for each destination and for each direction of transmission.The application layer header may include the source identity, the destination identity, both orneither as defined in the first octet of the header.Where both identities are included the source identity shall always be first.The format of the identity is as follows:743074307430No ofnibbles1stdigit2nddigit3rddigitThe first nibble (bits 4-7 of the first octet) is the number of digits in the address. The actualidentity digits shall be contained in subsequent nibbles in HEX format, starting with the lowernibble of the first octet. The identity shall contain only sufficient octets to include the number ofdigits required. If the number of digits is even, the last nibble (bits 0-3 of the last octet) shall bezero.As an example, if the identity is 1234, this would be transmitted as follows:7430743074300100000100100011010000004 digits12346.2 Basic messageOne or more basic data blocks may be concatenated together to form a basic message,subject to the maximum message length of 228 octets.Within the application layer the basic data block may be further subdivided in order to provideone or more alarm channel data blocks. This is shown below:SIST IEC 60839-7-2:2002

60839-7-2 © IEC:2001– 15 –Alarm Channel DataorLengthDataAlarm ChannelNumber228 octets max.15-222DataDataTypeLength10LengthOptional DataType0-226 octets1-2270-14Length224 octets max.DataType1111Alarm Channel Data BlockAlarm Channel Data BlockBasic Data Block6.3 Acknowledgements (ACK)The application layer may transmit messages not requiring to be acknowledged by the remoteapplication layer provided that the underlying layers and network can accept them.The application layer may request an acknowledgement from the remote application layer foran individual message (either always or as required) by setting bit 0 (acknowledge required) inthe layer message header.Where an acknowledgement is requested, not more than four messages may be transmittedwithout their corresponding acknowledgement having been received (i.e. the
...

Questions, Comments and Discussion

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