1、 DEUTSCHE NORMJune 2006DIN EN ISO 16284 ICS 11.040.70; 35.240.80 Supersedes DIN EN ISO 16284:2001-10 Ophthalmic optics Information interchange for ophthalmic optical equipment (ISO 16284:2006) English version of DIN EN ISO 16284:2006-06 Augenoptik Datenaustausch zwischen augenoptischen Maschinensyst
2、emen (ISO 16284:2006) Englische Fassung DIN EN ISO 16284:2006-06 Document comprises 76 pages No part of this standard may be reproduced without prior permission of DIN Deutsches Institut fr Normung e. V., Berlin. Beuth Verlag GmbH, 10772 Berlin, Germany, has the exclusive right of sale for German St
3、andards (DIN-Normen). English price group 24 www.din.de www.beuth.de !,o9“11.06 9762204DIN EN ISO 16284:2006-06 2 National foreword This standard has been published in accordance with a decision taken by CEN/TC 170 to adopt, without alteration, International Standard ISO 16284 as a European Standard
4、. The responsible German body involved in its preparation was the Normenausschuss Feinmechanik und Optik (Optics and Precision Mechanics Standards Committee). The DIN Standard corresponding to the International Standard referred to in clause 2 of the EN is as follows: ISO 13666 DIN EN ISO 13666 Amen
5、dments This standard differs from DIN EN ISO 16284:2001-10 as follows: a) Specifications regarding the exchange of information with new or further device types (e.g. surface coaters, front surface generators, lens measuring devices, lens inspection devices, and lap feeders) are now included. b) Furt
6、her record labels are now included for information exchange, particularly as regards drill information. c) Some record labels have been deleted, or their use is now discouraged, as a result of new developments. d) Specifications regarding the file-based transfer of information between device and hos
7、t are now included. e) The revised EN ISO standard (EN ISO 16284:2006) has been adopted in full. Previous editions DIN EN ISO 16284: 2001-10 National Annex NA (informative) Bibliography DIN EN ISO 13666, Ophthalmic optics Spectacle lenses Vocabulary EUROPEAN STANDARDNORME EUROPENNEEUROPISCHE NORMEN
8、ISO 16284March 2006ICS 11.040.70 Supersedes EN ISO 16284:2001 English VersionOphthalmic optics - Information interchange for ophthalmicoptical equipment (ISO 16284:2006)Optique ophtalmique - Echange dinformations pourlquipement doptique ophtalmique (ISO 16284:2006)Augenoptik - Datenaustausch zwische
9、n augenoptischenMaschinensystemen (ISO 16284:2006)This European Standard was approved by CEN on 3 February 2006.CEN members are bound to comply with the CEN/CENELEC Internal Regulations which stipulate the conditions for giving this EuropeanStandard the status of a national standard without any alte
10、ration. Up-to-date lists and bibliographical references concerning such nationalstandards may be obtained on application to the Central Secretariat or to any CEN member.This European Standard exists in three official versions (English, French, German). A version in any other language made by transla
11、tionunder the responsibility of a CEN member into its own language and notified to the Central Secretariat has the same status as the officialversions.CEN members are the national standards bodies of Austria, Belgium, Cyprus, Czech Republic, Denmark, Estonia, Finland, France,Germany, Greece, Hungary
12、, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, Netherlands, Norway, Poland, Portugal, Romania,Slovakia, Slovenia, Spain, Sweden, Switzerland and United Kingdom.EUROPEAN COMMITTEE FOR STANDARDIZATIONCOMIT EUROPEN DE NORMALISATIONEUROPISCHES KOMITEE FR NORMUNGManagement Centre: rue d
13、e Stassart, 36 B-1050 Brussels 2006 CEN All rights of exploitation in any form and by any means reservedworldwide for CEN national Members.Ref. No. EN ISO 16284:2006: EEN ISO 16284:2006 (E) 2 Foreword This document (EN ISO 16284:2006) has been prepared by Technical Committee ISO/TC 172 “Optics and o
14、ptical instruments“ in collaboration with Technical Committee CEN/TC 170 “Ophthalmic optics“, the secretariat of which is held by DIN. This European Standard shall be given the status of a national standard, either by publication of an identical text or by endorsement, at the latest by September 200
15、6, and conflicting national standards shall be withdrawn at the latest by September 2006. This document supersedes EN ISO 16284:2001. According to the CEN/CENELEC Internal Regulations, the national standards organizations of the following countries are bound to implement this European Standard: Aust
16、ria, Belgium, Cyprus, Czech Republic, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland and United Kingdom. Endorsement notice The
17、text of ISO 16284:2006 has been approved by CEN as EN ISO 16284:2006 without any modifications. EN ISO 16284:2006 (E) 3 Contents Page Foreword .2 Introduction.4 1 Scope5 2 Normative reference5 3 Terms and definitions .5 3.1 General terms 5 3.2 Special characters.6 3.3 Data types 6 3.4 Messages .7 3.
18、5 Records 8 3.6 Sessions.8 3.7 Timeout.9 4 Overview.9 5 Requirements.10 5.1 Records 10 5.2 Reference point records .12 5.3 Generator records .13 5.4 Tracing records .15 5.5 Tracing formats .18 5.6 Packets .22 5.7 Deprecated requirements .25 6 Sessions.26 6.1 General .26 6.2 Initialization sessions .
19、26 6.3 Upload sessions 34 6.4 Download sessions.37 6.5 File-based information transfer .38 7 Other requirements .39 7.1 RS-232 Communications parameters39 7.2 Operator messages.39 7.3 Host requirement.39 Annex A (normative) Record labels 40 Annex B (informative) Packed binary format example68 Annex
20、C (informative) CRC calculation 74 EN ISO 16284:2006 (E) 4 Introduction This International Standard is the result of a desire shared by manufacturers of optical laboratory equipment and producers of software used in optical laboratories to simplify the interconnection of their products. The Internat
21、ional Standard defined herein provides: a method by which machines and computer systems conduct their exchanges of data; a method by which computer systems can initialize such parameters on machines as the manufacturers thereof allow; a method by which machines can initialize computer systems with i
22、nformation that the systems can use for various purposes; a method by which a machine can inform a computer system as to what information it wants to receive, thus allowing machines to define new interfaces dynamically; a standard set of records and device types that are used to communicate agreed u
23、pon sets of information. The last feature listed above requires that this International Standard be amended on a regular basis, as the need for new data elements is inevitable. EN ISO 16284:2006 (E) 5 1 Scope This International Standard establishes a method by which machines and computer software sy
24、stems used in the fabrication of ophthalmic lenses can exchange information. 2 Normative reference The following referenced documents are indispensable for the application of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the refere
25、nced document (including any amendments) applies. ISO 13666:1998, Ophthalmic optics Spectacle lenses Vocabulary 3 Terms and definitions For the purposes of this document, the terms and definitions given in ISO 13666 and the following apply. 3.1 General terms 3.1.1 device machine or instrument used i
26、n the fabrication of ophthalmic lenses that communicates with a computer system to send or receive job information 3.1.2 host computer system providing information to or receiving information from a device 3.1.3 job order for prescription ophthalmic lenses or spectacles 3.1.4 download communication
27、session in which the host system transmits data to the device 3.1.5 upload communication session in which the device transmits data to the host EN ISO 16284:2006 (E) 6 3.2 Special characters 3.2.1 code separator reserved character used to delimit codes in a device record 3.2.2 CRC position character
28、 reserved character marking the location of the end of the data records and the start of the optional CRC record within a packet 3.2.3 end character reserved character marking the end of a packet 3.2.4 field separator reserved character delimiting the fields in a record 3.2.5 label separator reserve
29、d character separating the record label from the field(s) within a record 3.2.6 mandatory record flag reserved character marking certain records as mandatory 3.2.7 start character reserved character marking the beginning of a packet 3.2.8 record separator reserved character which delimits records 3.
30、2.9 unknown data indicator reserved character indicating that data required for a particular field is unknown to the host 3.2.10 ACK character reserved character indicating successful transmission of a packet 3.2.11 NAK character reserved character indicating failed transmission of a packet 3.2.12 c
31、ontrol character character having an ASCII value of less than 32 3.3 Data types 3.3.1 limited data text data limited to a maximum length EN ISO 16284:2006 (E) 7 3.3.2 literal data text data limited to a maximum length and specified in this International Standard 3.3.3 numeric data floating-point and
32、 integer numbers 3.3.4 text data strings of characters that have no pre-defined meaning 3.3.5 integer data data represented in whole number form 3.3.6 binary data data presented in a form usable by computer software with little or no translation NOTE It requires special handling to avoid introductio
33、n of control characters. 3.4 Messages 3.4.1 message structured stream of data transmitted from a host to a device or from a device to a host 3.4.2 confirmation message message sent by the receiver of a packet and comprised of a single character indicating that the transmission was successful 3.4.3 p
34、ositive acknowledgement single character message indicating successful reception of a senders message 3.4.4 negative acknowledgement single character message indicating unsuccessful reception of a senders message 3.4.5 packet structured message consisting of a start character and a series of records
35、 and terminated by an end character 3.4.5.1 data packet packet sent from a device to a host or a host to a device, and containing requested information 3.4.5.2 request packet packet sent from a device to a host to initiate a session 3.4.5.3 response packet packet containing status information EN ISO
36、 16284:2006 (E) 8 3.5 Records 3.5.1 record structured stream of characters including a record label, a label separator, zero or more data fields separated by field separators and a terminating record separator 3.5.2 data field single data element within a record 3.5.3 record label means of identifyi
37、ng data contained in a record, limited in length to 8 characters and not including spaces or reserved characters defined in this International Standard NOTE A list of device record labels is in Annex A. 3.5.4 ASCII record record comprised of ASCII characters and conforming to the structures defined
38、herein 3.5.5 binary record record comprised of bytes encoded using the binary number system 3.5.6 chiral record record with two fields, one for a data element for a right lens or eye, and one for a left, arranged in the order right then left 3.5.7 CRC record record at the end of any packet containin
39、g a CCITT1CRC-16 cyclical redundancy check value calculated on the characters transmitted 3.5.8 device record record containing job specific data elements conveyed between devices and hosts 3.5.9 interface record record supporting the operation of the host-device interface and not containing job-spe
40、cific data 3.6 Sessions 3.6.1 session sequence of messages passed between a device and a host that serves to exchange information related to a single order or task 3.6.2 initialization session specialized session allowing devices to provide hosts with information that would otherwise be included wit
41、h each request, such as machine model, software version and operator ID 1) Comit Consultatif International Tlphonique et Tlgraphique EN ISO 16284:2006 (E) 9 3.6.2.1 auto-format initialization initialization session allowing devices to define sets of device records to be requested from hosts 3.6.2.2
42、preset initialization initialization session allowing devices to transmit sets of identifying data to hosts 3.6.3 download session session in which information is passed from a host to a device 3.6.4 upload session session in which information is passed from a device to a host 3.6.5 INFO session upl
43、oad request packet containing job status information used to indicate the completion of a job by a device 3.6.6 MNT session upload request packet containing vendor specific device information 3.7 Timeout 3.7.1 timeout numeric value representing that period of time that a host or device shall wait fo
44、r the arrival of data, after which it assumes that such data will not be forthcoming 3.7.1.1 confirmation timeout timeout which applies to the reception of the confirmation message 3.7.1.2 intercharacter timeout timeout which applies to the interval between successive characters in a stream of data
45、3.7.1.3 packet timeout timeout which applies to the reception of a packet 4 Overview The strategy used in this International Standard for the exchange of data between devices and hosts can be expressed as follows. A machine used in the fabrication of ophthalmic lenses (a device) sends a request to a
46、 computer system (a host), indicating a need to do one of the following: initialize information to identify the device, software versions, model numbers, etc.; upload to the host, information for it to store and/or use in the processing of ophthalmic prescription orders; download from the host, info
47、rmation required by the device for it to perform its tasks. EN ISO 16284:2006 (E) 10 Communication can be initialized in two ways. The device may begin an initialization session or the host can force the device to do so by refusing to accept a normal request and asking for initialization via a speci
48、al error response. For upload requests, the host acknowledges the request and the device sends its data, the receipt of which the host acknowledges. For download requests, the host responds to the request with the data requested. The variable-length packets of data that comprise this exchange consis
49、t of a series of records, each of which contains data and a label identifying the data. This International Standard defines a set of labels and characterizes the data associated with each. This set of labels shall be expanded as needed in the future. An exchange of packets related to a single job is called a session. The structure of these sessions and the packets of records of which they are comprised is the subject of this International Standard. Although this International Standard was conceived as being implemented on point-to-point RS-