ebook img

IS 10767-2: Programmable Measuring Instruments -- Interface System for (Byte Serial, Bit Parallel), Part 2: Codes, Format, Protocols and Common Commands PDF

286 Pages·2001·14.3 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview IS 10767-2: Programmable Measuring Instruments -- Interface System for (Byte Serial, Bit Parallel), Part 2: Codes, Format, Protocols and Common Commands

इंटरनेट मानक Disclosure to Promote the Right To Information Whereas the Parliament of India has set out to provide a practical regime of right to information for citizens to secure access to information under the control of public authorities, in order to promote transparency and accountability in the working of every public authority, and whereas the attached publication of the Bureau of Indian Standards is of particular interest to the public, particularly disadvantaged communities and those engaged in the pursuit of education and knowledge, the attached public safety standard is made available to promote the timely dissemination of this information in an accurate manner to the public. “जान1 का अ+धकार, जी1 का अ+धकार” “प0रा1 को छोड न’ 5 तरफ” Mazdoor Kisan Shakti Sangathan Jawaharlal Nehru “The Right to Information, The Right to Live” “Step Out From the Old to the New” IS 10767-2 (2001): Programmable Measuring Instruments -- Interface System for (Byte Serial, Bit Parallel), Part 2: Codes, Format, Protocols and Common Commands [LITD 8: Electronic Measuring Instruments, Systems and Accessories] “!ान $ एक न’ भारत का +नम-ण” Satyanarayan Gangaram Pitroda ““IInnvveenntt aa NNeeww IInnddiiaa UUssiinngg KKnnoowwlleeddggee”” “!ान एक ऐसा खजाना > जो कभी च0राया नहB जा सकता हहहहै””ै” Bhartṛhari—Nītiśatakam “Knowledge is such a treasure which cannot be stolen” IS 10767( Part 2 ) :2001 IEC 60625-2( 1993) —-- Electronic Measuring Instruments, Systems and Accessories Sectional Committee, LTD 21 -+ ..-. ..— ~.A NATIONAL FOREWORD ~ p “, ThisIndianStandard(Part2)(FirstRevision)whichisidenticalwithIEC60625-2 (1993) ‘Programmable %, ‘ measuring instruments — interface system ( byte serial, bit parallel ) — Part 2 : Codes, formats, ‘\; protocolsand common commands’ issued by the International Electrotechnical Commission ( IEC ) was adopted by the Bureau of Indian Standards on the recommendation of Electronic Measuring Instruments, Systems and Accessories Sectional Committee and approval of the Electronics and Telecommunication Division Council. Thisstandard(Part2)specifiesasetofcodes,formatsandcommunicationprotocolsforprogrammable measuring instruments. This standard was first published in 1983 and was identical to IEC 60625-2 ( 1980 ) ‘An interface system for programmable measuring instruments ( byte serial, bit parallel ) — Part 2: Code and formatconventions’. IEC60625-2 ( 1980) hassincebeen revisedin1993. Inviewofthetechnological advances atthe internationallevel,thisstandardisbeingrevisedtoalignitwiththe latest internatior@ practices. * The textofthe IEC hasbeen.approvedassuitableforpublicationasIndianStandardwithoutdeviations. Certainconventionsare, however,notidenticaltothoseusedinIndianStSndards.Attentionisparticularly drawn to the following: a) Wherever the words ‘InternationalStandard’ appear referringtothisstandard, they shouldbe read as ‘Indian Standard’. .— b) Comma (,) has been usedas adecimal markerwhile inIndianStandards, the current practice 1 is to use a point (.) as the decimal marker. . CROSS REFERENCES Intheadoptedstandard,reference appearstocertainInternationalStandardsforwhichIndianStandards also exist. The corresponding Indian Standards which are to be substituted intheir place are listed below along with their degree of equivalence for the editions indicated: International Corresponding Degree of Standard Indian Standard Equivalence IEC60625-1 ( 1993 ) Programmable IS 10767 ( Part1) :2001 Programmable Identical measuring instruments— Interface measuring instruments — Interface ,’ system( byteserial,bitparallel) — system ( byte serial, bit parallel ) — Part 1 : Functional, electrical and Part 1 : Functional, electrical and mechanical specifications, system mechanical specifications, system applications and requirements for applications and requirements for the the designer and user designer and user ( first revision ) lSO/lEC 646 ( 1991 ) Information IS 10315:1997 ISO 7-bit coded do ?echnology — ISO 7-bit coded character set for information character set for information interchange interchange ISO 2955 ( 1983 ) Information IS 11366:1985 Representation of S1 do processing — Representation of and other unitsin systems with limited S1and other units in systems with character sets for information limitedcharacter sets processing (i) IS 10767( Part 2 ): 2001 IEC 60625-2( 1993) The concerned Technical Committee responsible for preparation of this standard has reviewed the provisionsofthe followingInternationalpublicationsand hasdecided thatthey are acceptable foruse in conjunctionwith this standard: IEC 60559 ( 1989 ) Binary floating-point arithmetic for microprocessorsystems i ISO 6093 ( 1985 ) Information processing — Representation of numerical values in character stringsfor informationinterchange Only the English language text of the International Standard has been retained while adopting it in this Indian Standard. /,_ /- / ,./ , (ii) IS 10767( Part 2) :2001 IEC 60625-2( 1993) Page SECTION 1:GENERALCONCEPTS C18use 1 General .............................................................................................................................. 11 1.1 scope ..................................................................................................................... 11 1.2 Objectives .............................................................................................................. 12 1.3 Notation .................................................................................................................. 12 2 Normative references ....................................................................................................... 12 3 System considerations ..................................................................................................... 13 3.1 Definitions ............................................................................................................... 13 3.2 System message traffk ......................................................................................... 13 3.3 Functional layers .............................4...................................................................... 15 SECTION 2:DEVICE RELATEDSPECIFICATIONS 4 Device compliance criteria .............................................................................................. 16 4.1 IEC 625-1 requirements ....................................................................................... 17 4.2 Message exchange requirements ....................................................................... 17 4.3 Syntax requirements ............................................................................................. 18 4.4 Status report ing requirements ............................................................................. 19 4.5 Common comm ands ............................................................................................. 21 4.6 Synchronization requirements ............................................................................. 24 4.7 System configuration capability .......................................................................... 25 4.8 Controller capability .............................................................................................. 25 4.9 Device documentation requirements .................................................................. 25 5 Device intedace function requirements ......................................................................... 27 5.1 Handshake requirements ..................................................................................... 27 5.2 Address requirements .......................................................................................... 27 5.3 Talker requirements .............................................................................................. 28 5.4 Listener requirements ........................................................................................... 28 5.5 Service Request requirements ............................................................................ 28 5.6 Remote/Local requirements ................................................................................. 29 5.7 Parallel Poll requirements .................................................................................... 32 5.8 Device Clear requirements .................................................................................. 32 5.9 Device Trigger requirements ............................................................................... 33 5.10 controller function requirements ......................................................................... 33 5.11 Electrical requirements ........................................................................................ 33 5.12 Power-on requirements ........................................................................................ 33 1 // , IS 10767( Part 2 ) :2001 IEC 60625-2( 1993) Clause Page 6 Message exchange control protocol .............................................................................. 34 ,.‘.,,, ‘.v 6.1 Functional elements ............................................................................................. 35 , 6.1.1 IEC 625-1 bus ........................................................................................... 35 ‘i 6.1.2 Status reporting ........................................................................................ 35 6.1.3 Message Exchange Interface .................................................................. 35 6.1.4 1/0 Control ................................................................................................. 37 6.1.5 Input Buffer................................................................................................ 41 6.1.6 Parser ......................................................................................................... 43 6.1.7 Execution Control ..................................................................................... 45 6.1.8 Device Functions ...................................................................................... 47 6.1.9 Response Formatter ................................................................................. 48 6.1.10 Output Queue ............................................................................................ 48 6.1.11 Trigger Control........................................................................................... 49 6.2 Protocol overview ................................................................................................... 50 6.2.1 Initialization ............................................................................................... 51 6.2.2 Command processing ............................................................................... 52 6.2.3 Query processing ...................................................................................... 52 6.3 Message Exchange Control operation ............................................................... 52 ,. 6.3.1 Message Exchange Control states ..................... .................................... 52 6.3.2 Message ~~change CpntrOltranSitiOnaCtiOnS........................................ 58 6.4 Protocol rules ........................................................................................................ 59 6.4.1 Program message transfer ...................................................................... 59 6.4.2 Message source independence .............................................................. 60 6.4.3 Message exchange sequence ................................................................. 60 6.4.4 Compound queries ................................................................................... 61 6.4.5 Message order requirements .....Y........................................l..l............... 62 6.5 Protocol exceptions .. ................................................................................................. 63 6.5.1 Aborted messages .................................................................................... 63 6.5.2 Addressed to talk with nothing to say .................................................... 63 6.5.3 No listener on bus..................................................................................... 64 6.5.4 Command Error........................................................................................... 64 6.5.5 Execution Error ...............................................’........................................... 64 6.5.6 Device-specific Error................................................................................. 64 6.5.7 Query Error................................................................................................ 64 7 Device listening formats .................................................................................................. 66 7.1 Overview ................................................................................................................ 66 ;,, 7.2 Notation .................................................................................................................. 68 7.3 Terminated program messages - Functional”syntax.....................................’.. 71 7.4 Separator functional elements ............................................................................ 76 7.4.1 <PROGRAM MESSAGE UNIT SEPARATO’$t> ..................................... 76 ,, 7.4.2 <PROGRAM DATA SEPARATOR> ..................;..:.......:,...”...................... 77 7.4.3 <PROGRAM HEADER SEPARATOR> ................................................... 78 7.5 <pROGRAM MESSAGE TERMINATOR> ......../.....t....~.~..~...“........“..“.’........................ 78 2 IS 10767( Part 2) :2001 IEC 60625-2( 1993) Page 7.6 Program Header functional elements ................................................................. 79 7.6.1 <COMMAND PROGRAM HEADER> ...................................................... 79 7.6.2 <QUERY PROGRAM HEADER> ............................................................ 83 7.7 <PROGRAM DATA> functional elem'ents .......................................................... 85 85 7.7.1 <CHARACTER PROGRAM DATA> ........................................................ 7.7.2 <DECIMAL NUMERIC PROGRAM DATA> .......................1.................... 86 7.7.3 <SUFFIX PROGRAM. DATA> .................................................................. 88 7.7.4 <NON-DECIMAL YUMERIC PROGRAM DATA> .................................. 92 ,, 7.7.5 <STRING PROGRAM “DATA>................................................................. 95 7.7.6 <ARBITRARY BLOCK PROGRAM DATA> ............................................ 96 7.7.7 <EXPRESSION PROGRAM DAT/b ....................................................... 98 8 Device talking formats ..................................................................................................... 99 8.1 Overview ................................................................................................................ 99 ,. 8.2 Notation .................................................................................................................. 99 8.3 Terminated response messages - Functional syntax ...................................... 99 8.4 Separator functional elements ............................................................................ 104 8.4.1 <RESPONSE MESSAGE UNIT SEPARATOR> .................................... 104 8.4.2 <RESPONSE DATA SEPARATOR> ....................................................... 104 8.4.3 <RESPONSE HEADER SEPARATOR> ................................................. 105 8.5 <RESPONSE MESSAGETERMINATOR> ........................................................ 105 8.6 <RESPONSE HEADER>,...................................................................................... 105 8.7 <RESPONSE DATA> functional elements ......................................................... 107 8.7.1 <CHARACTER RESPONSE DATA> ...................................................... 107 8.7.2 <NR1 NUMERIC RESPONSE DATA .................................................... 108 8.7.3 <NR2 N UMERIC RESPONSE ~ATA> .................................................... 109 8.7.4 <NR3 NU MERIC RESPONSE DATA> .................................................... 109 8.7.5 <HEXADECIMAL NUMERIC RESPONSE DATA> ................................ 110 8.7.6 <OCTAL NUMERIC RESPONSE DATA> .............................................. 111 8.7.7 <BINARY NUMERIC RESPONSE DATA> ............................................. 112 8.7.8 <STRING RESPONSE DATA> ................................................................ 113 8.7.9 <DEFINITE LENGTH ARBITRARY BLOCK RESPONSE DATA>’...........-..................................................................... 114 8.7.10 <INDEFINITE LENGTH ARBITRARY BLOCK RESPONSE DATA> ............................................................................... 115 8.7.11 <ARBITRARY ISO 7-bit RESPONSE DATA> ........................................ 116 9 Message data coding ....................................................................................................... 117 9.1 ISO 7-bit codes ................................ .................................................................... 117 9.2 Binary 8-bit integer codes .................................................................................... 117 9.3 Binary floating point code .................................................................................... 120 10 Common commands and qwries ...................................................................................’124 l 10.1 AAD, Accept Address command .......l............................................................"... 126 10.2 lCAL?, Calibration query ....................................................................................... 126 3 / IS 10767( Part 2) :2001 IEC 60625-2( 1993) Clauaa Paga 10.3 “CLS,ClearStatuscommand................................................................................ 127 l 10.4 DOT, DefineDeviceTriggercommand................................................................ 128 l 10.5 DDT?, Define Device Trigger query ................................................................ 129 l 10.6 DLF, LWable Listener Function command ..................................................... 130 l 10.7 DMC, Define Macro command ......................................................................... 130 l 10.8 EMC, Enable Macro command ........................................................................ 133 10.9 lEMC?, Enable Macro query ............................................................................. 134 10.10 lESE, Standard Event Status Enable command ............................................. 135 10.11 lESE?, Standard Event Status Enable query .................................................. 136 10.12 lESR?, Standard Event Status Register query ............................................... 136 10.13 lGMC?, Get Macro Contents query .................................................................. 137 l 10.14 IDN?, Identification query ................................................................................. 138 10.15 l1ST?, Individual Status query ........................................................................... 139 10.16 “LMC?, Learn Macro query ................................................................................ 140 l 10.17 LRN?, Learn Device Setup query .................................................................... 141 l 10.18 OPC, Operation Complete command .............................................................. 142 10.19 “OPC?, Operation Complete query ................................................................... 142 l 10.20 OPT?, Option Identification query ................................................................... 143 l 10.21 PCB, Pass Control back.................................................................................... 144 l 10.22 PMC, Purge Macros command ........................................................................ 145 10.23 “PRE, Parallel Poll Enabte Register Enable command .................................. 145 10.24 “PRE?, Parallel Poll Enable Register Enable query ....................................... 146 l 10.25 PSC, Power-on Status Clear command .......................................................... 147 10.26 lPSC?, Power-on Status Clear query ............................................................... 148 l 10.27 PUD, Protected User Data command ............................................................... 149 10.28 lPUD?, Protected U ser Data query................................................................... 150 l 10.29 RCL, Recall command ....................................................................................... 150 10.30 lROT, Resource Description Transfer command ............................................ 151 l 10.31 ROT?, Resource Description Transfer query ................................................. 152 l 10.32 RST, Reset command ....................................................................................... 153 l 10.33 SAV, Save command......................................................................................... 154 10.34 lSRE, Service Request Enable command ....................................................... 155 10.35 lSRE?, Service Request Enable query ............................................................ 155 l 10.36 STB?, Read Status Byte query ........................................................................ 156 l 10.37 TRG, Trigger command ..................................................................................... 157 l 10.38 TST?, Self-Test query ....................................................................................... 157 10.39 lWAI, Wait-to-Continue command ..................................................................... 158 11 Device status reporting.................................................................................................... 159 11.1 Overview .............................................................................................................. 1$9: 11.1.1 Operation ................................................................................................. 159, 11.1.2,, Summary of related common commands............................................. 161 11:1.3 ‘ Related IEC 625-1 defined operations ................................................. 162 4

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.