0% found this document useful (0 votes)
43 views102 pages

LM-1800P 1800PD IntME MLM26 RTZ002D-S

The document is an interface manual for the AUTO LENSMETER LM-1800P/LM-1800PD, detailing communication methods including RS-232C, USB, and LAN. It provides specifications, installation procedures, and communication protocols necessary for data transmission between the device and external PCs. The manual is comprehensive, spanning 102 pages and includes examples and flowcharts for effective communication setup.

Uploaded by

ncmky2012
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views102 pages

LM-1800P 1800PD IntME MLM26 RTZ002D-S

The document is an interface manual for the AUTO LENSMETER LM-1800P/LM-1800PD, detailing communication methods including RS-232C, USB, and LAN. It provides specifications, installation procedures, and communication protocols necessary for data transmission between the device and external PCs. The manual is comprehensive, spanning 102 pages and includes examples and flowcharts for effective communication setup.

Uploaded by

ncmky2012
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 102

AUTO LENSMETER

LM-1800P/LM-1800PD
INTERFACE MANUAL

July 2012
Pages in total: 102
MLM26*RTZ002D
NIDEK CO., LTD. : 34-14, Maehama, Hiroishi-cho, Gamagori, Aichi 443-0038, Japan
(Manufacturer) Telephone: +81-533-67-6611
Facsimile: +81-533-67-6610
NIDEK CO., LTD. : 3F Sumitomo Fudosan Hongo Bldg., 3-22-5, Hongo,
(Tokyo Office) Bunkyo-Ku, Tokyo 113-0033, Japan
Telephone: +81-3-5844-2641
Facsimile: +81-3-5844-2642
NIDEK INCORPORATED : 47651 Westinghouse Drive, Fremont, California 94539, U. S. A.
(United States Agent) Telephone: +1-510-226-5700
Facsimile: +1-510-226-5750
NIDEK S.A. : Europarc 13, rue Auguste Perret, 94042 Créteil, France
(EU Authorized Representative) Telephone: +33-1-49 80 97 97
Facsimile: +33-1-49 80 32 08
Table of Contents

1. OUTLINE OF COMMUNICATION. . . . . . . . . . . . . . . . . . . . 1
1.1 Outline of Communication Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1

2. RS-232C Communication and USB Communication . . . 3


2.1 Basic Interface Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
2.1.1 Installation of the USB driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
2.1.2 Cable connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
2.2 Communication Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7
2.2.1 Command Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8
2.3 Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
2.3.1 Basic format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
2.3.2 Format of each data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
2.4 Success Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22
2.5 Error Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
2.6 Example of Data Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24

3. COMMUNICATION PROCEDURE (other than NCP20). . . 51


3.1 Outline. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51
3.2 Communication Control Signals (DTR Output to DSR Input) . . . . . . . . . . . . . .52
3.3 Actual Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55
3.3.1 The LM requests the PC to receive measured data . . . . . . . . . . . . . . . . . . . . . . . .56
3.3.2 The PC requests the LM to send measured data . . . . . . . . . . . . . . . . . . . . . . . . . .57
3.3.3 The PC controls all the operations of the LM . . . . . . . . . . . . . . . . . . . . . . . . . . . . .58
3.4 Example of Communication Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59
3.4.1 Communication Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59
3.5 Flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63

4. METHOD OF RS-232C COMMUNICATION (NCP20) . . . 67


4.1 Block Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67
4.2 Normal Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .69
4.3 Error Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70

5. INSTALATION OF USB DRIVER. . . . . . . . . . . . . . . . . . . 73


5.1 Installation Procedure (Windows 7) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .73

I
:

5.2 Installation Procedure (Windows Vista) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77


5.3 Installation Procedure (Windows XP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80

6. LAN COMMUNICATION . . . . . . . . . . . . . . . . . . . . . . . . . . 83
6.1 Outline of LAN Communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
6.1.1 Outline of communication function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
6.1.2 Cable connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
6.1.3 Connecting barcode scanner/ magnetic card reader . . . . . . . . . . . . . . . . . . . . . . . 84
6.2 System Diagram Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
6.3 Confirmation and Setting of Receiver PC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
6.3.1 Reception structure of measured data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
6.3.2 Setting the shared folder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
6.3.3 Confirming items necessary for other settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
6.3.4 Setting the device transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
6.3.5 Testing the device network setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
6.4 Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
6.4.1 Folder configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
6.4.2 Output file of measured data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
6.4.3 Response to data acquisition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
6.4.4 XML file configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
6.4.5 Style sheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
6.4.6 XML file sample . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96

II
1. OUTLINE OF COMMUNICATION

1.1 Outline of Communication Function


1

The LM-1800P/LM-1800PD comes standard with interfaces shown in the table below that enables
transmission of measured data to an external PC.

RS-232C interface RS-232C compliance


USB interface USB 2.0 HOST/FUNC compliance
LAN interface 10/100BASE-T Ethernet

This manual explains the method of receiving the measured data from the LM-1800P/LM-1800PD by
using these interfaces.
This section describes the specifications for the interface for communication between the LM-1800P/
LM-1800PD and an external device such as PC.

• Priority of interface (RS-232C/USB)


Communication is established with the port received data first.
When Com mode parameter is set to NIDEK, communication is possible only with RS-232C. After
the RS-232C communication is normally finished, data is sent through USB interface in NCP10
mode.

For details of communication, see the following pages in the table below according to the communica-
tion method.

“2 RS-232C Communication and USB Communication”


(page 3)
“3 COMMUNICATION PROCEDURE (other than NCP20)”
RS-232C communication
(page 51)
“4 METHOD OF RS-232C COMMUNICATION (NCP20)”
(page 67)
“2 RS-232C Communication and USB Communication”
USB communication (page 3)
“5 INSTALATION OF USB DRIVER” (page 73)
LAN communication “6 LAN COMMUNICATION” (page 83)

1
OUTLINE OF COMMUNICATIONOutline of Communication Function

2
2. RS-232C Communication and
USB Communication
2.1 Basic Interface Specifications

• Be sure to set the Auto print S and Auto print R/L parameters to Off before communication.
2
Failure to do so could cause a printer error.
• Priority of interface (RS-232C/USB)
Communication is established with the port received data first.
When Com mode parameter is set to NIDEK, communication is possible only with RS-232C. After
the RS-232C communication is normally finished, data is sent through USB interface in NCP10
mode.

{ RS-232C Communication

1 Basic specifications In accordance with the RS-232C specifications


2 Communication method Asynchronous
3 Transmission type Half duplex
4 Com mode Off, NIDEK, PC, NCP10, NCP20
5 Baud rate 1200, 2400, 4800, 9600, 19200 (bps)
6 Parity (Parity check) Off, Odd, Even
7 Data bits 7bit, 8bit
8 Stop bits 1bit, 2bit
9 CR code Off, On
10 Data code ASCII code

*The underlined options show the factory settings for communication with NIDEK devices.
The settings of Parameter 4 Com mode to Parameter 9 CR code are changeable.
For the procedure for changing the parameter settings, see “Setting Parameters” of the LM-
1800P/LM-1800PD operator’s manual.
If Com mode parameter is set to “NIDEK”, Parameters 5 Com mode to 8 Stop bits are auto-
matically set for connection with Nidek devices; once the parameters are set, the settings
are unchangeable.
If Com mode parameter is set to "NCP20", Parameter 7 Data bits is automatically set to 8bit;
once the parameter is set, the settings are unchangeable
The settings of Parameter 5 Baud rate, Parameter 6 Parity and Parameter 8 Stop bits are
changeable.

3
RS-232C Communication and USB CommunicationBasic Interface Specifications

Type of Com mode


Off No communication
NIDEK Communication method with DSR/DTR
PC Communication method without DSR/DTR
Communication method without DSR/DTR, only output of the
NCP10
measurement result
NCP20 Communication method by command handshake without DSR/DTR

When the Com mode parameter is set to "NCP20", set the following parameters.

1 Source 0 to 255, factory setting: 1


2 Destination 0 to 255, factory setting: 0
3 Request 0.1 to 10.0 (seconds), factory setting: 2.0
4 Reception 1 to 100 (seconds), factory setting: 10
5 Response 0.1 to 10.0 (seconds), factory setting: 2.0
6 Re-request 0.1 to 10.0 (seconds), factory setting: 2.0
7 Retry 0 to 5 (times), factory setting: 3

• Addition of CR code
Set the CR code parameter to On when the communication software on the PC needs the CR code
to terminate the reception of the character strings. (BASIC language etc.)
The CR code is added to the data sent from the LM; For character strings sent from the PC,
whether the CR code is added or not does not matter.
• To enable communication with a PC, it is necessary to keep consistency in the settings of
communication parameters between the LM and PC.
Before data communication, also confirm the settings of the communication parameters on the PC.

{ USB Communication
In accordance with the USB V2.0 specifications
1 Communication specifications
(B-type connector on the LM)
2 Interface cable Standard USB cable (Shield type)

Among the parameters related to communication, set the two parameters below: The other parame-
ters related to communication have no influence on the data exported through the USB interface.

PC, NCP10, NCP20


1 Com mode
The NIDEK option is unavailable in USB communication.

2 CR code Off, On

* The underlined option shows the factory setting.


For the method of setting parameters, see “Setting Parameters” of the LM-1800P/LM-1800PD opera-
tor’s manual.

4
RS-232C Communication and USB CommunicationBasic Interface Specifications

{ Setting related to the transmission of prism data


Set the Prism Tx parameter to suit the needs for prism data.

1 Prism Tx Off, On, Display

* The underlined option shows the factory setting.


This is for selecting whether to transmit the measured prism value.

Off The measured prism value is not transmitted at any time.

The measured prism value is transmitted at all times. 2


On When the prism display is set to “BU/D BI/O” setting, the prism value is output in the
same format.

When the measured prism value is displayed on the screen, it is transmitted. If


Display
not, it is not transmitted.

• Set the representation form of prism data by setting the Prism parameter.

2.1.1 Installation of the USB driver


The USB driver must be installed in the PC to receive the data measured by the LM-1800P/LM-
1800PD.
Install the USB driver provided with the USB cable (option) to the PC.
For the USB driver installation procedure, see “5 INSTALATION OF USB DRIVER” (page
73).

• The USB driver is compliant with 32-bit or 64-bit version of Windows 7 and Windows Vista
(SP1 or later), and 32-bit version of Windows XP (SP2 or later).
• The pre-installed standard Windows USB driver (usbser.sys or serenum.sys) is used. This
driver provides virtual COM port. After the installation, the USB Serial Ports Driver (COM*)
will be added to the port of the device manager. Even when the OS is compatible, if the
standard USB driver is uninstalled, the USB drive may not be functional.
If necessary restore the standard USB driver to the PC before performing “Installation of the USB
driver”.
The distributed media does not include the standard USB driver. Contact your PC customer ser-
vice for the restoration process of the USB driver.

The program for data reception needs to be purchased separately.

*1 Microsoft, Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and/
or other countries.
The name of actual companies and products mentioned herein may be the registered trademarks or trademarks of
their respective owners.

5
RS-232C Communication and USB CommunicationBasic Interface Specifications

2.1.2 Cable connection

<LM-1800P/1800PD> <PC (external device)>

Connector Connector
Signal name Signal Connection Signal Signal name
Pin No. Pin No.
1 1
Transmit exchange Data TXD 2 2 RXD Received exchange Data
Received exchange Data RXD 3 3 TXD Transmit exchange Data
(Ready To Send) RTS 4 4 DTR Data Terminal Ready
(Clear To Send) CTS 5 5 SG Signal Ground
Data Set Ready DSR 6 6 DSR Data Set Ready
Signal Ground SG 7 7 RTS (Ready To Send)
Data Terminal Ready DTR 8 8 CTS (Clear To Send)
Frame Ground FG Housing 9
Housing FG Frame Ground

DIN 8P at the LM D-Sub 9P (Female) at the PC

2 5 1
5 4

8
3 1

7 6 6
9

RS-232C cable (Option: OPIF-11, standard length of 5 m)

Connect signal wires between the LM and the external device as shown above.
Be sure to connect a wire between RTS (7) and CTS (8) on the PC.
It is unnecessary connect a wire between RTS (4) and CTS (5) on the LM.
Use the DIN 8-pin connector (DIN Standard No.45329) on the LM.
In the above example, the D-Sub 9-pin connector is connected to the PC.
If the used connector is different from the D-Sub 9-pin connector, connect respective signal wires as
shown by referring to the instruction manual provided with the PC.
Use a special interface cable that is available as an option (OPIF-11, 5 m) between the DIN 8-pin and
D-Sub 9 pin connectors if necessary.

6
RS-232C Communication and USB CommunicationCommunication Format

2.2 Communication Format

Among transmitted data are commands such as “Request to Send” other than measured data. In a
sequence of transmission of measured data from the LM to the PC, the PC transmits “Send Data com-
mand" to the LM, and the LM receives the command and sends “measured data”. The software on the
PC reads the received data strings according to the format information and then performs necessary
processing (for example, display of data on the screen or storage of data on disks).
* When the Com mode parameter is set to “NCP10”, the transmission and reception of com-
2
mands are not performed.

This section explains the formats of these commands or measured data.


Symbols other than ordinary characters in commands or data strings are described as “com-
munication control characters" that are commonly used in data transmission.
These signals are added at the start or end of character strings or to delimit data.

Character
Decimal Hexadecimal Description
name
SOH 1 01H Start of heading character
STX 2 02H Start of text character
ETB 23 17H End of transmission block
EOT 4 04H End of character string
Means the end of the input character string for some software
on the PC.
The CR code is added to the data output from the LM when the
CR code parameter is set to “On”.
CR 13 0DH
The CR code is not added to the character strings transmitted
from the PC.
In addition, whether the line feed (LF: 0AH) code is added or not
after the CR code does not matter.

7
RS-232C Communication and USB CommunicationCommunication Format

2.2.1 Command Format


The commands (control character string) that are transmittable from and receivable by the LM are
described below. These commands reciprocally control the LM and PC to make them transmit and
receive data. The format of a basic command is described below:

: Character string
SOH C L M STX R D ETB EOT CR
(10 characters in this case)
01H 43H 4CH 4DH 02H 52H 44H 17H 04H 0DH : Character code (H = Hexadecimal)

The CR code is added.

Characters representing
the RD command

Command to be sent to the LM. "**"


represents the unspecified commands.

Characters representing a command

(1) RD command (PC o LM)


Command for the PC to request the LM to save the measured data. The command corre-
sponds to the actuation of the read key of the LM. The command also holds the values dis-
played on the screen. Before making the LM to transmit data to the PC, this command
should make the LM to save the measured data.
SOH C L M STX R D ETB EOT CR
01H 43H 4CH 4DH 02H 52H 44H 17H 04H 0DH

(2) SD command (PC o LM)


Command for the PC to request the LM to transmit measured data. The PC sends this com-
mand to the LM when the PC is ready for the reception of measured data.

SOH C L M STX S D ETB EOT CR


01H 43H 4CH 4DH 02H 53H 44H 17H 04H 0DH

(3) RS command (LM o PC)


Command for the LM to request the PC to receive measured data and to send the “SD com-
mand”. The command is used to transmit data with switch operation of the LM.
The PC sends the SD command to the LM when the PC receives the RS command and is
ready for the reception of measured data.
SOH C * * STX R S ETB EOT CR
01H 43H 2AH 2AH 02H 52H 53H 17H 04H 0DH
“C**” represents that the LM sends the command to an infinite number of destinations.

8
RS-232C Communication and USB CommunicationCommunication Format

(4) CL command (PC o LM)


Command for the PC to request the LM to clear the data in it.
The command corresponds to the actuation of the clear button of the LM. This com-
mand also releases the fixed data indication.
SOH C L M STX C L n ETB EOT CR
01H 43H 4CH 4DH 02H 43H 4CH 17H 04H 0DH

(5) AB command (PC o LM)


Command for the PC to request the LM to set the abbe number in accordance with the
2
material of the measured lens. This command should be sent before measurements. When
the LM receives the AB command from the PC, the screen of the LM changes to yellow
frame (base color)
If the abbe number is not specified, the LM measures lenses with the abbe number that is
set internally. The abbe number specified by the AB command is in effect until it is reset on
the LM.
SOH C L M STX A B n n ETB EOT CR
01H 43H 4CH 4DH 02H 41H 42H 17H 04H 0DH
nn = Abbe number (20 to 60)

e.g.) 34H, 31H for number 41

(6) CH command (PC o LM)


Command for the PC to request the LM to specify the lens.
The command corresponds to the actuation of the R/L selection button of the LM.
SOH C L M STX C H n ETB EOT CR
01H 43H 4CH 4DH 02H 43H 48H 17H 04H 0DH
n = S, R, L

S: Single measurement

R: Measurement of the right of the lens


L: Measurement of the left of the lens

(7) MD command (PC o LM)


Command for the PC to change the measurement screen of the LM.
SOH C L M STX M D n ETB EOT CR
01H 43H 4CH 4DH 02H 4DH 44H 17H 04H 0DH
n = A, N, P, C

A: Auto measurement screen


N: Normal measurement screen
P: Progressive power lens (PPL) measurement screen

C: CL measurement screen

9
RS-232C Communication and USB CommunicationCommunication Format

(8) UV Read command (PC o LM)


Command for the PC to request the UV measurement for the LM.
The command corresponds to the actuation of the UV measurement of the LM. However,
the mode is fixed to the Simple mode.
SOH C L M STX U R D n ETB EOT CR
01H 43H 4CH 4DH 02H 55H 52H 44H 17H 04H 0DH
n = 0, 1, 2
0: Request the UV 100% measurement (Performs the auto correct of the menu regardless of
time.)

1: Request the UV measurement (Same as when the UV parameter is set to On.)


2: UV measurement & READ request (Same as when the UV parameter is set to With.)
*When the UV parameter is set to “Off”, UV measurement is disabled. When “With” is set for the
parameter, only the reading of the lens power is performed.

(9) Read&Send command (PC o LM)


Command for the PC to request read and send the lens power.
SOH C L M STX R S D ETB EOT CR
01H 43H 4CH 4DH 02H 52H 53H 44H 17H 04H 0DH

(10) UV (With) & Send (PC o LM)


Command for the PC to request the UV measurement and send the lens power.
SOH C L M STX U R S ETB EOT CR
01H 43H 4CH 4DH 02H 55H 52H 53H 17H 04H 0DH

*When the UV parameter is set to “Off”, UV measurement is disabled. When it is set to “With”, only
the reading of the lens power is performed.

(11) IZ command (PC o LM)


Command for the PC to request the initialization of the LM.
The LM sends “success” to the PC when the initialization is successful, and “initialization
error” if it fails. (Refer to “2.4 Success Format” (page 22) for “success”, and “2.5 Error For-
mat” (page 23) for “initialization error”.)
SOH C L M STX I Z ? ETB EOT CR
01H 43H 4CH 4DH 02H 49H 5AH 17H 04H 0DH

n = 0, 1, 2, 3, 4
0: Request the LED level initialization, 0D grid detection, UV 100% measurement

1: Request the LED level initialization

2: Request the 0D grid detection


3: Request the LED level initialization, 0D grid detection
4: Request the UV 100% measurement

10
RS-232C Communication and USB CommunicationData Format

2.3 Data Format

2.3.1 Basic format


The measured data transmitted from the LM is provided below:
The basic data format is described in details.
When the LM receives “SD command", it sends data out in the following format.
2
Data character string
Separated by the data type.

SOH D L M STX Data ETB CR Data ETB CR Data ETB CR EOT CR


01H 44H 4CH 4DH 02H 17H 0DH 17H 0DH 17H 0DH 04H 0DH

The CR codes are added.

Represents “LM data”.

Represents “Data”.

Only when the Com mode parameter is set to “NCP10”, a checksum is added after “EOT”.
The hexadecimal numbers in the low-order two bytes are represented by four-byte ASCII
codes as a simple sum of “SOH (01H)̍at the header of the data to “EOT (04H)”.
Be aware that “CR code (0DH)” is excluded from the calculation of the checksum.

... Data ETB CR EOT CS3 CS2 CS1 CS0 CR


17H 0DH 04H 30H 43H 33H 42H 0DH

Checksum
If the hexadecimal numbers in the low-order two bytes are 0C3BH.

11
RS-232C Communication and USB CommunicationData Format

The LM transmits the following types of data. These types of data are output according to the lens
measurement mode, whether the data has been measured or not, and the condition for the lenses
(single, left or right).
{: Output if measured ×: Not output

Measured lens mode Lens*4


Prism
Single Progressive Contact layout Single Right Left
vision power lens
1) Company name/Model name { { { { Once at the beginning
2) Operator/ Patient ID { { { { Once at the beginning
3) Patient number (print number) { { { { Once at the beginning
4) Date and time { { { { Once at the beginning
5) SPH, CYL, AXIS { { { { { { {
6) SE (Spherical Equivalent value) × × { × { { {
7) ADD (1st/2nd addition power)*3 { { *2 × × { { {
8) PRISM { { { { { { {
9) Progressive length *1 × { × × { { {
10) Channel width *1 × { × × { { {
11) Green transmittance data { { { { { { {
12) UV { { { { { { {
13) PD *1 { { × { × { {
14) In amount *1 × { × × × { {
15) Net prism *1 { × × × × { {
*1: LM-1800PD only
Only when the parameter is set to “On”, the measurement is performed and data is output.
*2: 1st add power only
*3: Add power in negative value is sent as positive value.
Ex) SPH -2.00 ADD -1.00 o SPH -3.00 ADD 1.00
*4: In the case of “single (not the right- nor left-eye lens)" state, only single data is output.
When both left- and right-eye lenses are measured, the data is output in following order:
“Right” “Left”.
In the order of “1) - 4)” ψ “Right 5) - 15) data” ψ “Left 5) - 15) data”

• Measured data has been rounded off according to the cylinder mode, the indication form of
the measured prism data, and indication step specified on the LM.

12
RS-232C Communication and USB CommunicationData Format

2.3.2 Format of each data


The number inside the parentheses indicates the number of characters transmitted.

(1) Company name / Model name


The name of the manufacturer (NIDEK) and the name of model (LM-1800P/LM-1800PD) are
output.
* In the lower line, the ASCII codes are represented by hexadecimals.

1) LM-1800P

I D N I D E K / L M - 1 8 0 0 P ETB CR 2
49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 31H 38H 30H 30H 50H 17H 0DH
Company name Model name (LM-1800P)

2) LM-1800PD

I D N I D E K / L M - 1 8 0 0 P d ETB CR
49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 31H 31H 30H 30H 50H 64H 17H 0DH
Company name Model name (LM-1800PD)

(2) Operator/ Patient ID data


Data read with the optional barcode scanner is output.
(When both operator and patient ID data are set, the operator ID is output before the
format is output twice.)

I P * * * ... * * * ETB CR
49H 50H 17H 0DH
Barcode data (Up to 16 characters)

(3) Patient number (print number) data


Print number data is output when RT data No. is valid, or when RT data No. is invalid and
“Print number” parameter is “On”.
Number: 0001 — 9999
The print number is counted up every time it is cleared when the “Print number” is “On”. The
next one to 9999 is 0001.

N O * * * * ETB CR
4EH 4FH 17H 0DH
Number (4 characters)

(4) Date and time data


Date and time data is output when the “Print data format” parameter is set to other than “Off”.

D A * * * * . * * . * * . * * : * * ETB CR
44H 41H 2EH 2EH 2EH 3AH 17H 0DH
Year Month Day Hour Minute

13
RS-232C Communication and USB CommunicationData Format

(5) SPH, CYL and AXIS data


Measured data of SPH, CYL, and AXIS are output.

Single " " (Space, space)


Identification
Right " R" (Space, R)
code
Left " L" (Space, L)

The ETB and CR codes are added to the end (when the CR code parameter is set to On).
(The codes are added to the end of all the following types of data.)
Each measured data is output as fixed digits with the leading digit 0 remaining.

SPH Four digits with a fixed decimal point and with a polarity sign
CYL Four digits with a fixed decimal point and with a polarity sign
AXIS Three-digit integer

1) Example of single data (SPH = +1.00 D, CYL = 0.00 D, AXIS = 0°)

+ 0 1 . 0 0 + 0 0 . 0 0 0 0 0 ETB CR
20H 20H 2BH 30H 31H 2EH 30H 30H 2BH 30H 30H 2EH 30H 30H 30H 30H 30H 17H 0DH
AXIS
SPH (6 characters) CYL (6 characters)
(3 characters)

2) Example of Right data (SPH = -11.25 D, CYL = -9.75 D, AXIS = 90°)

R - 1 1 . 2 5 - 0 9 . 7 5 0 9 0 ETB CR
20H 52H 2DH 31H 31H 2EH 32H 35H 2DH 30H 39H 2EH 37H 35H 30H 39H 30H 17H 0DH
AXIS
SPH (6 characters) CYL (6 characters)
(3 characters)
3) Example of Left data (SPH = 0.00 D, CYL = +1.50 D, AXIS = 180°)

L + 0 0 . 0 0 + 0 1 . 5 0 1 8 0 ETB CR
20H 4CH 2BH 30H 30H 2EH 30H 30H 2BH 30H 31H 2EH 35H 30H 31H 38H 30H 17H 0DH
AXIS
SPH (6 characters) CYL (6 characters)
(3 characters)

14
RS-232C Communication and USB CommunicationData Format

(6) SE data (Spherical Equivalent value, only in the contact lens measuring mode)
Measured of the SE value is output.

Single “S ” (S, Space)


Identification
Right “SR”
code
Left “SL”

Measured data is output as fixed four digits including a decimal point with a polarity sign and
the leading digit 0 remaining.
1) Example of the single data (SE = +2.00 D) 2
S + 0 2 . 0 0 ETB CR
53H 20H 2BH 30H 32H 2EH 30H 30H 17H 0DH
SE (6 characters)

2) Example of the right data (SE = -10.00 D)

S R - 1 0 . 0 0 ETB CR
53H 52H 2DH 31H 30H 2EH 30H 30H 17H 0DH
SE (6 characters)

(7) ADD data


Measured data of the addition power is output.
If the secondary addition power has been measured, the data is sent subsequently to the
primary addition power.

Single “A ” (A, space)


Identification
Right “AR”
code
Left “AL”

Measured data is output as fixed four digits including a decimal point with no polarity sign
and the leading digit 0 remaining.
When the Near parameter is set to “Near SPH”, near SPH data is added to the end of the
addition powers.
(Both the addition power and near SPH data are output because some devices recognize
the addition powers (ADD data) only).

Single “N ” (N, space)


Identification
Right “NR”
code
Left “NL”

Measured data is output as fixed four digits including a decimal point with a polarity sign and
the leading digit 0 remaining.
1) Example of the primary addition power in single data (ADD = + 2.00 D)

A 0 2 . 0 0 ETB CR
41H 20H 30H 32H 2EH 30H 30H 17H 0DH
ADD (5 characters)

15
RS-232C Communication and USB CommunicationData Format

2) Example of the primary and secondary addition powers in the right data (ADD = +2.00 D, ADD2
= +2.50 D

A R 0 2 . 0 0 ETB CR 0 2 . 5 0 ETB CR
41H 52H 30H 32H 2EH 30H 30H 17H 0DH 30H 32H 2EH 35H 30H 17H 0DH
ADD (5 characters) ADD2 (5 characters)
3) Example of the primary and secondary addition powers represented by spherical powers in the
left data
(ADD = +2.00 D, ADD2 = +2.50 D)
(NSPH = -1.00 D, NSPH2 = -0.50 D)

o To be
A L 0 2 . 0 0 ETB CR 0 2 . 5 0 ETB CR
continued
41H 4CH 30H 32H 2EH 30H 30H 17H 0DH 30H 32H 2EH 35H 30H 17H 0DH
ADD (5 characters) ADD2 (5 characters)

N L - 0 1 . 0 0 ETB CR - 0 0 . 5 0 ETB CR
4EH 4CH 2DH 30H 31H 2EH 30H 30H 17H 0DH 2DH 30H 30H 2EH 35H 30H 17H 0DH
NSPH (6 characters) NSPH2 (6 characters)

(8) PRISM data


Measured data of the prism power is output.
When the “PrismTx” parameter is set to “On”, the prism data is output in the format of “BU/D
BI/O" setting.
When the PrismTx parameter is set to “Display”, the form varies with the prism representa-
tion mode.

When the Prism parameter is set to BU/D BI/O:

Single “P ” (P, Space)


Identification
Right “PR”
code
Left “PL”

Measured data is output as fixed four digits including a decimal point with no polarity sign
and the leading digit 0 remaining.
In addition, a character representing the base direction is added to the end of the mea-
sured data.
E.g.)IN 3.00, UP 2.50: 03.00 I 02.50 U
OUT 1.25, DOWN 2.00: 01.25 O 02.00 D

16
RS-232C Communication and USB CommunicationData Format

When the Prism parameter is set to P-B:

Single “P ” “B ” (P, Space) (B, Space)


Identification
Right “PR” “BR”
code
Left “PL” “BL”

Measured data is output as fixed digits with the leading digit 0 remaining.

Four digits with a fixed decimal point


PRISM
with no polarity sign
BASE Three-digit integer with no polarity sign
2

1) Example of single data when the Prism parameter is set to BU/D BI/O:
(PRISM = IN 3.00', UP 2.50')

BASE IN BASE UP

P 0 3 . 0 0 I ETB CR P 0 2 . 5 0 U ETB CR
50H 20H 30H 33H 2EH 30H 30H 49H 17H 0DH 50H 20H 30H 32H 2EH 35H 30H 55H 17H 0DH
PRISM1 (6 characters) PRISM2 (6 characters)

2) Example of right data when the Prism parameter is set to BU/O BI/O:
(PRISM = OUT 1.25', DOWN 2.00')

BASE OUT BASE DOWN

P R 0 1 . 2 5 O ETB CR P R 0 2 . 0 0 D ETB CR
50H 52H 30H 31H 2EH 32H 35H 4FH 17H 0DH 50H 52H 30H 32H 2EH 30H 30H 44H 17H 0DH
PRISM1 (6 characters) PRISM2 (6 characters)

3) Example of left data when the Prism parameter is set to P-B: (PRISM = 6.5', BASE = 70°)

P L 0 6 . 5 0 ETB CR B L 0 7 0 ETB CR
50H 4CH 30H 36H 2EH 35H 30H 17H 0DH 42H 4CH 30H 37H 30H 17H 0DH
BASE
PRISM (5 characters)
(3 characters)

In the following data, only (8), (9), (11) to (13) are output by the LM-1800PD.

17
RS-232C Communication and USB CommunicationData Format

(9) Progressive length data (LM-1800PD only)


Measured data of progressive length (V. Length) is output.

Identification Single “D ” (D, Space)


code Right "DR"
Left "DL"

Measured data of progressive length is output as two-digits with the leading digit 0
remaining.

1) Example of single data (V. Length= 12 mm)

D 1 2 ETB CR
44H 20H 31H 32H 17H 0DH
V. Length
(2 characters)

2) Example of the right data (V. Length = 8 mm)

D R 0 8 ETB CR
44H 52H 30H 38H 17H 0DH
V. Length
(2 characters)

(10) Channel width data (LM-1800 PD only)


Measured data of channel width (Wid) and progressive lenght (Len) are output.

Identification Single "W " (W, Space)


code Right "WR"
Left "WL"

Measured data of channel width or progressive length is output as two-digits with the leading
digit 0 remaining.
1) Example of the single data (C. Width = 6 mm/Measurement position = 16mm from the add
power start point to near portion)

W 0 6 / 1 6 ETB CR
57H 20H 30H 36H 2FH 31H 36H 17H 0DH
C. Width Position
(2 characters) (2 characters)

2) Example of the left data (C. Width = 5 mm/Measurement position = 8 mm from the add power
start point to near portion)
W L 0 5 / 0 8 ETB CR
57H 4CH 30H 35H 2FH 30H 38H 17H 0DH
C. Width Position
(2 characters) (2 characters)

18
RS-232C Communication and USB CommunicationData Format

(11) Green transmittance data


Measured data of green transmittance is output.

Single “G ” (G, Space)


Identification
Right “GR”
code
Left “GL”

Measured data of green transmittance is output as three-digits with the leading digit 0 remaining.
1) Example of the single data (Green = 80%)
2
G 0 8 0 ETB CR
47H 20H 30H 38H 30H 17H 0DH
Green
(3 characters)

2) Example of the right data (Green = 75%)

G R 0 7 5 ETB CR
47H 52H 30H 37H 35H 17H 0DH
Green
(3 characters)

(12) UV transmittance data


Measured dara of UV transmittance is output.

Single “U “ (U, Space)


Identification
Right “UR”
code
Left “UL”
Measured data of UV transmittance is output as three-digits with the leading digit 0 remaining.

1) Example of the single data (UV = 20%)

U 0 2 0 ETB CR
55H 20H 30H 32H 30H 17H 0DH
UV
(3 characters)
2) Example of left data (UV = 15%)

U L 0 1 5 ETB CR
55H 4CH 30H 31H 35H 17H 0DH
UV
(3 characters)

19
RS-232C Communication and USB CommunicationData Format

(13) PD data (LM-1800PD only)


Measured data of PD is output.
* This data will not be included in the output unless PD has been measured for both sides.

Identification
"PD"
code

The data is sent in the order of Total PD (T.PD), Right PD (R. PD), and Left PD (L. PD).
Measured data of PD is output as fixed three-digits including a decimal point.
If T.PD is 100.0 mm or more, “99.9” is output.
Sample of PD data (T.PD = 64.0 mm, R.PD = 31.5 mm, L.PD = 32.5 mm)

P D 6 4 . 0 3 1 . 5 3 2 . 5 ETB CR
50H 44H 36H 34H 2EH 30H 33H 31H 2EH 35H 33H 32H 2EH 35H 17H 0DH
T. PD (4characters) R. PD (4characters) L. PD (4characters)

(14) Inside amount data (LM-1800 PD only, progressive power measurement mode)
Measured data of inside amount is output.
* Inside amount is only output when the distance portion of Right or Left PD is measured.
* Unmeasured inside amount is output as “*****”

Identification
"IS"
code

The data is sent in the order of right inside amount (R. INS) and left inside amount (L. INS).
Measured data of inside amount is output as fixed four-digits including a decimal point with a
polarity sign and the leading digit 0 remaining.
Sample of Inside amount data (R.INS = 1.5 mm, L. INS = -2.5 mm)

I S + 0 1 . 5 - 0 2 . 5 ETB CR
49H 53H 2BH 30H 31H 2EH 35H 2DH 30H 32H 2EH 35H 17H 0DH
R. INS (5 characters) L. INS (5 characters)

20
RS-232C Communication and USB CommunicationData Format

(15) Net prism data (LM-1800 PD only, Normal measurement mode)


Measured data of net prism (Net Prism) is output.
* This data will not be included in the output unless net prism has been measured for both
sides.

Identification
"NP"
code

The data is sent in the order of Net Horizontal Prism and Net Vertical Prism.
Measured data of the Net Prism is always output in the format of “BI/O BU/D” setting as fixed 2
four-digits including a decimal point with the leading digit 0 remaining.
In addition, as with the Prism parameter, a character representing the base direction is
added to the end of the measured data.
E.g.)Net H. Prism = IN 3.00, Net V. Prism = UP 2.50 03.00 I 02.50 U
Net H. Prism = OUT 1.25, Net V. Prism = DOWN 2.00 01.25 O 02.00 D
Example of the net prism (Net H. Prism = IN 3.00, Net V. Prism = UP 2.50)

BASE IN BASE UP

N P 0 3 . 0 0 I ETB CR N P 0 2 . 5 0 U ETB CR
4EH 50H 30H 33H 2EH 30H 30H 49H 17H 0DH 4EH 50H 30H 32H 2EH 35H 30H 55H 17H 0DH
Net H. Prism (6 characters) Net V. Prism (6 characters)

21
RS-232C Communication and USB CommunicationSuccess Format

2.4 Success Format

IS command (LM o PC)

The LM will respond to “IZ command” by sending “success” when the initialization is successful.

Since this format is the same as that of data, the success can be processed with normal interface soft-
ware. The data identification code shows the detail of the successful command transmission.

SOH D L M STX I S ETB CR EOT CR


01H 44H 4CH 4DH 02H 49H 53H 17H 0DH 04H 0DH

Identification code of initialization


success: “IS”

22
RS-232C Communication and USB CommunicationError Format

2.5 Error Format

When the LM becomes unable to perform measurements or to perform measurements properly, the
LM will respond to “SD command” by transmitting an error message instead of sending measured
data.
Basic error formats are as follows.
Since this format is the same as that of data, the error can be processed with normal interface soft-
ware. The data identification code shows the detail of the error.
2
SOH D L M STX I E ETB CR EOT CR : Character string (11 characters including CR)
01H 44H 4CH 4DH 02H 49H 45H 17H 0DH 04H 0DH : Character code (H = Hexadecimal)

The CR codes are added.

Character representing “Error”

Character representing “Initialize error”

Represents data for “LM".

Represents “Data”.

The LM sends the following errors:


To cancel the error, see "4.2 Error Messages and Countermeasures" of the operator’s manual.

Error Code Indication on LM Description


Please remove lens from nosepiece
Dust detected. Please clean lens.
Initialization The error occurred during the
IE Use contact nosepiece?
error initialization after power ON.
0D initialization error
CCD error
Measurement The LM cannot measure lenses
DE Measurement error
error properly.
In the case of “measurement error"

SOH D L M STX D E ETB CR EOT CR


01H 44H 4CH 4DH 02H 44H 45H 17H 0DH 04H 0DH

Identification code of data string: “DE”

23
RS-232C Communication and USB CommunicationExample of Data Output

2.6 Example of Data Output

The formats of various types of measured data are explained in “2.3.2 Format of each data” (page 13);
the entire format of the data to be transmitted varies with the existence or absence of various types of
measured data and the designation of lenses (Left/Right).
Several concrete examples are provided below for reference:

(1) In the case of single data in normal measurement mode:


Measurement conditions:
Single vision lens measurement with the single state designated
SPH = +1.00D, CYL = 0.00D, AXIS = 0°
No prism measurement performed
No transmittance measurement performed
CR code = None
Operator/patient ID = None (No barcode reading performed)
Data of date and time = none (Set the parameter “Print data format” to “Off”)

• This is an example of the minimum data.

SOH D L M STX o To be continued


01H 44H 4CH 4DH 02H

I D N I D E K / L M - 1 8 0 0 P d ETB o To be continued
49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 31H 31H 30H 30H 50H 64H 17H
Company name/Model name (LM-1800PD)

+ 0 1 . 0 0 + 0 0 . 0 0 0 0 0 ETB EOT
20H 20H 2BH 30H 31H 2EH 30H 30H 2BH 30H 30H 2EH 30H 30H 30H 30H 30H 17H 04H
Single SPH Single CYL Single AXIS

24
RS-232C Communication and USB CommunicationExample of Data Output

(2) In the case of signal data in progressive power lens measurement mode:
Measurement conditions:
Progressive power lens measurement with the single state designated
SPH = +1.00D, CYL = 0.00D, AXIS = 0°
PRISM = IN 3.00'. UP 2.50' (BU/D BI/O setting)
Transmittance measurement Green = 80%, UV = 20%
CR code = None
Operator/Patient ID = None (No barcode reading performed)
2
• Prism and transmittance data are added to the end of SPH, CYL and Axis data.

SOH D L M STX o To be continued


01H 44H 4CH 4DH 02H

I D N I D E K / L M - 1 8 0 0 P d ETB o To be continued
49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 31H 38H 30H 30H 50H 64H 17H
Company name/Model name (LM-1800PD)

o To be
D A 2 0 1 0 . 1 1 . 2 3 . 1 5 : 3 0 ETB
continued
44H 41H 32H 30H 31H 30H 2EH 31H 31H 2EH 32H 33H 2EH 31H 35H 3AH 33H 30H 17H
Year Month Day Hour Minute

+ 0 1 . 0 0 + 0 0 . 0 0 0 0 0 ETB o To be continued
20H 20H 2BH 30H 31H 2EH 30H 30H 2BH 30H 30H 2EH 30H 30H 30H 30H 30H 17H
Single SPH Single CYL Single AXIS

P 0 3 . 0 0 I ETB P 0 2 . 5 0 U ETB o To be continued


50H 20H 30H 33H 2EH 30H 30H 49H 17H 50H 20H 30H 32H 2EH 35H 30H 55H 17H
Single PRISM1 Single PRISM2

G 0 8 0 ETB U 0 2 0 ETB EOT

47H 20H 30H 38H 30H 17H 55H 20H 30H 32H 30H 17H 04H

Single Green Single UV

25
RS-232C Communication and USB CommunicationExample of Data Output

(3) In the case of single data in contact lens measurement mode:


Measurement conditions:
Contact lens measurement with the single state designated
SPH = +2.00 D, CYL = +0.50 D, AXIS = 60°, SE = +2.25 D
PRISM = 1.25', BASE = 70° (P-B setting)
No transmittance measurement performed
CR code = Added
Operator/Patient ID = None (No barcode reading performed)

• In the contact lens measurement mode, the SE value is added to the end of SPH, CYL and
AXIS data.
• The prism representation mode is different from case (2).
• The “CR code” is added to the end of “ETB” and “EOT”.

SOH D L M STX o To be continued


01H 44H 4CH 4DH 02H

o To be
I D N I D E K / L M - 1 8 0 0 P d ETB CR
continued
49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 31H 38H 30H 30H 50H 64H 17H 0DH
Company name/ Model name (LM-1800PD)

o To be
D A 2 0 1 0 . 1 1 . 2 3 . 1 5 : 3 0 ETB CR
continued
44H 41H 32H 30H 31H 30H 2EH 31H 31H 2EH 32H 33H 2EH 31H 35H 3AH 33H 30H 17H 0DH
Year Month Day Hour Minute

o To be
+ 0 2 . 0 0 + 0 0 . 5 0 0 6 0 ETB CR
continued
20H 20H 2BH 30H 32H 2EH 30H 30H 2BH 30H 30H 2EH 35H 30H 30H 36H 30H 17H 0DH
Single SPH Single CYL Single AXIS

o To be
S + 0 2 . 2 5 ETB CR P 0 1 . 2 5 ETB CR
continued
53H 20H 2BH 30H 32H 2EH 32H 35H 17H 0DH 50H 20H 30H 31H 2EH 32H 35H 17H 0DH
Single SE Single PRISM

B 0 7 0 ETB CR EOT CR
42H 20H 30H 37H 30H 17H 0DH 04H 0DH
Single BASE

26
RS-232C Communication and USB CommunicationExample of Data Output

(4) In the case of right data only in normal measurement mode


Measurement conditions:
Single vision lens measurement with the right-eye lens designated
Right: SPH = -11.25 D, CYL = -9.75 D, AXIS = 90°
Right: PRISM = OUT 1.25', DOWN 2.00' (BU/D BI/O setting)
Transmittance measurement Green = 80%, UV = 20%
CR code = Added
Operator/Patient ID = None (No barcode reading performed)
2
• The identification code is changed to that for the right-eye lens data.
• When only the left-eye lens is measured, the identification code change from R to L.

SOH D L M STX o To be continued


01H 44H 4CH 4DH 02H

o To be
I D N I D E K / L M - 1 8 0 0 P d ETB CR
continued
49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 31H 38H 30H 30H 50H 64H 17H 0DH
Company name/ Model name (LM-1800PD)

o To be
D A 2 0 1 0 . 1 1 . 2 3 . 1 5 : 3 0 ETB CR
continued
44H 41H 32H 30H 31H 30H 2EH 31H 31H 2EH 32H 33H 2EH 31H 35H 3AH 33H 30H 17H 0DH
Year Month Day Hour Minute

o To be
R - 1 1 . 2 5 - 0 9 . 7 5 0 9 0 ETB CR
continued
20H 52H 2DH 31H 31H 2EH 32H 35H 2DH 30H 39H 2EH 37H 35H 30H 39H 30H 17H 0DH
Right SPH Right CYL Right AXIS

o To be
P R + 0 1 . 2 5 O ETB CR P R 0 2 . 0 0 D
continued
50H 52H 2BH 30H 31H 2EH 32H 35H 4FH 17H 0DH 50H 52H 30H 32H 2EH 30H 30H 44H
Right PRISM1 Right PRISM2

ETB CR G R 0 8 0 ETB CR U R 0 2 0 ETB CR EOT CR


17H 0DH 47H 52H 30H 38H 30H 17H 0DH 55H 52H 30H 32H 30H 17H 0DH 04H 0DH
Right Green Right UV

27
RS-232C Communication and USB CommunicationExample of Data Output

(5) In the case of the left and right data in normal measurement mode
Measurement conditions:
Trifocal lens measurement with the left- and right-eye lenses designated
Right: SPH = -1.25 D, CYL = -0.75 D, AXIS = 120°
ADD = +2.00 D, ADD2 = +3.00 D
No prism measurement performed
No transmittance measurement performed
Left: SPH = -2.00 D, CYL = -0.50 D, AXIS =180°
ADD = +2.25D, ADD2 has not been measured.
No prism measurement performed
No transmittance measurement performed
CR Code = Added
Operator/Patient ID = None (No barcode reading performed)

• The secondary addition power of the left-eye lens is not transmitted since it has not been
measured.

SOH D L M STX o To be continued


01H 44H 4CH 4DH 02H

oTo be
I D N I D E K / L M - 1 8 0 0 P d ETB CR
continued
49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 31H 38H 30H 30H 50H 64H 17H 0DH
Company name/ Model name (LM-1800PD)
o To be
D A 2 0 1 0 . 1 1 . 2 3 . 1 5 : 3 0 ETB CR
continued
44H 41H 32H 30H 31H 30H 2EH 31H 31H 2EH 32H 33H 2EH 31H 35H 3AH 33H 30H 17H 0DH
Year Month Day Hour Minute
o To be
R - 0 1 . 2 5 - 0 0 . 7 5 1 2 0 ETB CR
continued
20H 52H 2DH 30H 31H 2EH 32H 35H 2DH 30H 30H 2EH 37H 35H 31H 32H 30H 17H 0DH
Right SPH Right CYL Right AXIS
o To be
A R 0 2 . 0 0 ETB CR 0 3 . 0 0 ETB CR
continued
41H 52H 30H 32H 2EH 30H 30H 17H 0DH 30H 33H 2EH 30H 30H 17H 0DH
Right ADD Right ADD2
o To be
L - 0 2 . 0 0 - 0 0 . 5 0 1 8 0 ETB CR
continued
20H 4CH 2DH 30H 32H 2EH 30H 30H 2DH 30H 30H 2EH 35H 30H 31H 38H 30H 17H 0DH
Left SPH Left CYL Left AXIS

A L 0 2 . 2 5 ETB CR EOT CR
41H 4CH 30H 32H 2EH 32H 35H 17H 0DH 04H 0DH
Left ADD

28
RS-232C Communication and USB CommunicationExample of Data Output

(6) In the case of the left and right data in progressive power lens measurement mode
Measurement conditions:
Progressive power lens measurement with the left- and right-eye lenses desig-
nated
Right: SPH = -1.25 D, CYL = -0.75 D, AXIS = 120°
ADD = +2.00D
PRISM = IN 2.50', DOWN 2.00' (BU/D BI/O setting)
No transmittance measurement performed
Left: SPH = -2.00 D, CYL = -0.50 D, AXIS = 180°
2
ADD = +2.25D
PRISM = OUT 1.25', UP 2.00' (BU/D BI/O setting)
No transmittance measurement performed
CR code = Added
Operator/Patient ID = None (No barcode reading performed)

• The addition power is added before the prism data.


• The left-eye lens data is output after the transmission of the right-eye lens data.

SOH D L M STX o To be continued


01H 44H 4CH 4DH 02H

oTo be
I D N I D E K / L M - 1 8 0 0 P d ETB CR
continued
49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 31H 38H 30H 30H 50H 64H 17H 0DH
Company name/ Model name (LM-1800PD)

o To be
D A 2 0 1 0 . 1 1 . 2 3 . 1 5 : 3 0 ETB CR
continued
44H 41H 32H 30H 31H 30H 2EH 31H 31H 2EH 32H 33H 2EH 31H 35H 3AH 33H 30H 17H 0DH
Year Month Day Hour Minute

o To be
R - 0 1 . 2 5 - 0 0 . 7 5 1 2 0 ETB CR
continued
20H 52H 2DH 30H 31H 2EH 32H 35H 2DH 30H 30H 2EH 37H 35H 31H 32H 30H 17H 0DH
Right SPH Right CYL Right AXIS
o To be
A R 0 2 . 0 0 ETB CR P R 0 2 . 5 0 I ETB CR
continued
41H 52H 30H 32H 2EH 30H 30H 17H 0DH 50H 52H 30H 32H 2EH 35H 30H 49H 17H 0DH
Right ADD Right PRISM1
o To be
P R 0 2 . 0 0 D ETB CR
continued
50H 52H 30H 32H 2EH 30H 30H 44H 17H 0DH
Right PRISM2

29
RS-232C Communication and USB CommunicationExample of Data Output

o To be
L - 0 2 . 0 0 - 0 0 . 5 0 1 8 0 ETB CR
continued
20H 4CH 2DH 30H 32H 2EH 30H 30H 2DH 30H 30H 2EH 35H 30H 31H 38H 30H 17H 0DH
Left SPH Left CYL Left AXIS

o To be
A L 0 2 . 2 5 ETB CR P L 0 1 . 2 5 O ETB CR
continued
41H 4CH 30H 32H 2EH 32H 35H 17H 0DH 50H 4CH 30H 31H 2EH 32H 35H 4FH 17H 0DH
Left ADD Left PRISM1

P L 0 2 . 0 0 U ETB CR EOT CR
50H 4CH 30H 32H 2EH 30H 30H 55H 17H 0DH 04H 0DH
Left PRISM2

(7) In the case of the maximum data size in normal measurement mode (LM-1800P)
Measurement conditions:
Trifocal lens measurement with the left- and right-eye lenses designated
Right: SPH = -1.25 D, CYL = -0.75 D, AXIS = 120°
ADD = +2.00 D, ADD2 = +3.00 D
Representation form of near portion power = NEAR SPH
NSPH = +0.75D, NSPH2 = +1.75 D
PRISM = IN 2.25', DOWN 2.00' (BU/D BI/O setting)
Transmittance measurement Green = 80%, UV = 20%
Left: SPH = -2.00 D, CYL = -0.50 D, AXIS = 180°
ADD = +2.25 D, ADD2 = +3.50 D
Representation form of near portion power = NEAR SPH
NSPH = +0.25 D, NSPH2 = +1.50 D0D
PRISM = OUT 1.25', UP 2.00' (BU/D BI/O setting)
Transmittance measurement Green = 80%, UV = 20%
CR code = Added

• This is an example of the maximum data size (263 characters) in normal lens measurement
mode.
The checksum is added according to the setting of Com mode parameter “NCP10”.
• When the Near parameter is set to Near SPH, both the addition powers (ADD) and near
spherical data (NSPH) are output.

30
RS-232C Communication and USB CommunicationExample of Data Output

1 5 (Number of characters)
SOH D L M STX o To be continued
01H 44H 4CH 4DH 02H

10 15 20
o To be
I D N I D E K / L M - 1 8 0 0 P ETB CR
continued
49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 31H 38H 30H 30H 50H 17H 0DH
Company name/ Model name (LM-1800P) 2
25 30 35 40
o To be
I P 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 ETB CR
continued
49H 50H 31H 32H 33H 34H 35H 36H 37H 38H 39H 30H 31H 32H 33H 34H 35H 36H 17H 0DH
Barcode data1 (Up to 16 characters)
45 50 55 60
o To be
I P 1 2 3 4 5 6 7 8 9 0 1 0 0 0 0 1 ETB CR
continued
49H 50H 31H 32H 33H 34H 35H 36H 37H 38H 39H 30H 31H 30H 30H 30H 30H 31H 17H 0DH
Barcode data2 (Up to 16 characters)
65 70 75 80
o To be
D A 2 0 1 0 . 1 1 . 2 3 . 1 5 : 3 0 ETB CR
continued
44H 41H 32H 30H 31H 30H 2EH 31H 31H 2EH 32H 33H 2EH 31H 35H 3AH 33H 30H 17H 0DH
”N Month Day Hour Minute

85 90 95 100
oTo be
R - 0 1 . 2 5 - 0 0 . 7 5 1 2 0 ETB CR
continued
20H 52H 2DH 30H 31H 2EH 32H 35H 2DH 30H 30H 2EH 37H 35H 31H 32H 30H 17H 0DH
Right SPH Right CYL Right AXIS

105 110 115


o To be
A R 0 2 . 0 0 ETB CR 0 3 . 0 0 ETB CR
continued
41H 52H 30H 32H 2EH 30H 30H 17H 0DH 30H 33H 2EH 30H 30H 17H 0DH
Right ADD Right ADD2

120 125 130 135


o To be
N R + 0 0 . 7 5 ETB CR + 0 1 . 7 5 ETB CR
continued
4EH 52H 2BH 30H 30H 2EH 37H 35H 17H 0DH 2BH 30H 31H 2EH 37H 35H 17H 0DH
Right NSPH Right NSPH2

31
RS-232C Communication and USB CommunicationExample of Data Output

140 145 150 155


o To be
P R 0 2 . 2 5 I ETB CR P R 0 2 . 0 0 D ETB CR
continued
50H 52H 30H 32H 2EH 32H 35H 49H 17H 0DH 50H 52H 30H 32H 2EH 30H 30H 44H 17H 0DH
Right PRISM1 Right PRISM2
160 165 170
o To be
G R 0 8 0 ETB CR U R 0 2 0 ETB CR
continued
47H 52H 30H 38H 30H 17H 0DH 55H 52H 30H 32H 30H 17H 0DH
Right Green Right UV
175 180 185
o To be
L - 0 2 . 0 0 - 0 0 . 5 0 1 8 0 ETB CR
continued
20H 4CH 2DH 30H 32H 2EH 30H 30H 2DH 30H 30H 2EH 35H 30H 31H 38H 30H 17H 0DH
Left SPH Left CYL Left AXIS
190 195 200 205
o To be
A L 0 2 . 2 5 ETB CR 0 3 . 5 0 ETB CR
continued
41H 4CH 30H 32H 2EH 32H 35H 17H 0DH 30H 33H 2EH 35H 30H 17H 0DH
Left ADD Left ADD2

210 215 220


o To be
N L + 0 0 . 2 5 ETB CR + 0 1 . 5 0 ETB CR
continued
4EH 4CH 2BH 30H 30H 2EH 32H 35H 17H 0DH 2BH 30H 31H 2EH 35H 30H 17H 0DH
Left NSPH Left NSPH2
225 230 235 240
o To be
P L 0 1 . 2 5 O ETB CR P L 0 2 . 0 0 U ETB CR
continued
50H 4CH 30H 31H 2EH 32H 35H 4FH 17H 0DH 50H 4CH 30H 32H 2EH 30H 30H 55H 17H 0DH
Left PRISM1 Left PRISM2
245 250 255 260 263
G L 0 8 0 ETB CR U L 0 2 0 ETB CR EOT 2 F A 8 CR
47H 4CH 30H 38H 30H 17H 0DH 55H 4CH 30H 32H 30H 17H 0DH 04H 32H 46H 41H 38H 0DH
Left Green Left UV Checksum

32
RS-232C Communication and USB CommunicationExample of Data Output

(8) In the case of the maximum data size in progressive power lens measurement mode (LM-
1800P)
Measurement conditions:
Progressive power lens measurement with the left- and right- eye lenses des-
ignated
Right: SPH = -1.25 D, CYL = -0.75 D, AXIS = 120º
ADD = +2.00 D
Representation form of near portion power = NEAR SPH NSPH = +0.75
D
2
PRISM = IN 2.25', DOWN 2.00' (BU/D BI/O setting)
Transmittance measurement Green = 80%, UV = 20%
Left: SPH = -2.00 D, CYL = -0.50 D, AXIS = 180º
ADD = +2.25 D
Representation form of near portion power = NEAR SPH NSPH = +0.25
D
PRISM = OUT 1.25', UP 2.00' (BU/D BI/O setting)
Transmittance measurement Green = 80%, UV = 20%
CR code = Added

• This is an example of the LM-1800P of the maximum data size (233 characters) in
progressive power lens measurement mode.
The checksum is added according to the setting of Com mode parameter “NCP10”.
• When the Near parameter is set to NEAR Sph, both the addition powers (ADD) and near
spherical data (NSPH) are output.
• When reading two kinds of barcode data: Operator/Patient ID.

1 5 (Characters)
SOH D L M STX o To be continued
01H 44H 4CH 4DH 02H

10 15 20
o To be
I D N I D E K / L M - 1 8 0 0 P ETB CR
continued
49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 31H 38H 30H 30H 50H 17H 0DH
Company name/ Model name (LM-1800P)
25 30 35 40
o To be
I P 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 ETB CR
continued
49H 50H 31H 32H 33H 34H 35H 36H 37H 38H 39H 30H 31H 32H 33H 34H 35H 36H 17H 0DH
Barcode data 1 (Up to 16 characters)
45 50 55 60
o To be
I P 1 2 3 4 5 6 7 8 9 0 1 0 0 0 0 1 ETB CR
continued
49H 50H 31H 32H 33H 34H 35H 36H 37H 38H 39H 30H 31H 30H 30H 30H 30H 31H 17H 0DH
Barcode data 2 (Up to 16 characters)

33
RS-232C Communication and USB CommunicationExample of Data Output

65 70 75 80
o To be
D A 2 0 1 0 . 1 1 . 2 3 . 1 5 : 3 0 ETB CR
continued
44H 41H 32H 30H 31H 30H 2EH 31H 31H 2EH 32H 33H 2EH 31H 35H 3AH 33H 30H 17H 0DH
Year Month Day Hour Minute
85 90 95 100
o To be
R - 0 1 . 2 5 - 0 0 . 7 5 1 2 0 ETB CR
continued
20H 52H 2DH 30H 31H 2EH 32H 35H 2DH 30H 30H 2EH 37H 35H 31H 32H 30H 17H 0DH
Right SPH Right CYL Right AXIS
105 110 115 120
o To be
A R 0 2 . 0 0 ETB CR N R + 0 0 . 7 5 ETB CR
continued
41H 52H 30H 32H 2EH 30H 30H 17H 0DH 4EH 52H 2BH 30H 30H 2EH 37H 35H 17H 0DH
Right ADD Right NSPH

125 130 135 140


o To be
P R 0 2 . 2 5 I ETB CR P R 0 2 . 0 0 D ETB CR
continued
50H 52H 30H 32H 2EH 32H 35H 49H 17H 0DH 50H 52H 30H 32H 2EH 30H 30H 44H 17H 0DH
Right PRISM1 Right PRISM2

145 150 155


o To be
G R 0 8 0 ETB CR U R 0 2 0 ETB CR
continued
47H 52H 30H 38H 30H 17H 0DH 55H 52H 30H 32H 30H 17H 0DH
Right Green Right UV
160 165 170
o To be
L - 0 2 . 0 0 - 0 0 . 5 0 1 8 0 ETB CR
continued
20H 4CH 2DH 30H 32H 2EH 30H 30H 2DH 30H 30H 2EH 35H 30H 31H 38H 30H 17H 0DH
Left SPH Left CYL Left AXIS
175 180 185 190
o To be
A L 0 2 . 2 5 ETB CR N L + 0 0 . 2 5 ETB CR
continued
41H 4CH 30H 32H 2EH 32H 35H 17H 0DH 4EH 4CH 2BH 30H 30H 2EH 32H 35H 17H 0DH
Left ADD Left NSPH

195 200 205 210


o To be
P L 0 1 . 2 5 O ETB CR P L 0 2 . 0 0 U ETB CR
continued
50H 4CH 30H 31H 2EH 32H 35H 4FH 17H 0DH 50H 4CH 30H 32H 2EH 30H 30H 55H 17H 0DH
Left PRISM1 Left PRISM2

34
RS-232C Communication and USB CommunicationExample of Data Output

215 220 225 230 233


G L 0 8 0 ETB CR U L 0 2 0 ETB CR EOT 2 B 2 0 CR
47H 4CH 30H 38H 30H 17H 0DH 55H 4CH 30H 32H 30H 17H 0DH 04H 32H 42H 32H 30H 0DH
Left Green Left UV Checksum

(9) In the case of the maximum data size in contact lens measurement mode (LM-1800P)
Measurement conditions: Contact lens measurement with the left- and right- eye lenses des- 2
ignated
Right: SPH = -1.25 D, CYL = -0.75 D, AXIS = 120º, SE= -1.50 D
PRISM = IN 2.50', DOWN 2.00' (BU/D BI/O setting)
Transmittance measurement Green = 80%, UV = 20%
Left: SPH = -2.00 D, CYL = -0.50 D, AXIS = 180º, SE= -2.55 D
PRISM = OUT 1.25', UP 2.00' (BU/D BI/O setting)
Transmittance measurement Green = 80%, UV = 20%
CR code = Added

• This is an example of the maximum data size (215 characters) in contact lens measurement
mode.
The checksum is added according to the setting of Com mode parameter “NCP10”.
• The SE value is output.
• The addition power is not measured.
• When reading two kinds of barcode data: Operator/Patient ID.

1 5 (Characters)
SOH D L M STX o¨To be continued
01H 44H 4CH 4DH 02H

10 15 20
o To be
I D N I D E K / L M - 1 8 0 0 P ETB CR
continued
49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 31H 38H 30H 30H 50H 17H 0DH
Company name/ Model name (LM-1800P)
25 30 35 40
o To be
I P 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 ETB CR
continued
49H 50H 31H 32H 33H 34H 35H 36H 37H 38H 39H 30H 31H 32H 33H 34H 35H 36H 17H 0DH
Barcode data1 (Up to 16 characters)
45 50 55 60
o To be
I P 1 2 3 4 5 6 7 8 9 0 1 0 0 0 0 1 ETB CR
continued
49H 50H 31H 32H 33H 34H 35H 36H 37H 38H 39H 30H 31H 30H 30H 30H 30H 31H 17H 0DH
Barcode data 2 (Up to 16 characters)

35
RS-232C Communication and USB CommunicationExample of Data Output

65 70 75 80
o To be
D A 2 0 1 0 . 1 1 . 2 3 . 1 5 : 3 0 ETB CR
continued
44H 41H 32H 30H 31H 30H 2EH 31H 31H 2EH 32H 33H 2EH 31H 35H 3AH 33H 30H 17H 0DH
Year Month Day Hour Minute

85 90 95 100
o To be
R - 0 1 . 2 5 - 0 0 . 7 5 1 2 0 ETB CR
continued
20H 52H 2DH 30H 31H 2EH 32H 35H 2DH 30H 30H 2EH 37H 35H 31H 32H 30H 17H 0DH
Right SPH Right CYL Right AXIS
105 110 115 120
o To be
S R - 0 1 . 5 0 ETB CR P R 0 2 . 5 0 I ETB CR
continued
53H 52H 2DH 30H 31H 2EH 35H 30H 17H 0DH 50H 52H 30H 32H 2EH 35H 30H 49H 17H 0DH
Right SE Right PRISM1

125 130
® To be
P R 0 2 . 0 0 D ETB CR
continued
50H 52H 30H 32H 2EH 30H 30H 44H 17H 0DH
Right PRISM2

135 140 145


o To be
G R 0 8 0 ETB CR U R 0 2 0 ETB CR
continued
47H 52H 30H 38H 30H 17H 0DH 55H 52H 30H 32H 30H 17H 0DH
Right Green Right UV

150 155 160 165


o To be
L - 0 2 . 0 0 - 0 0 . 5 0 1 8 0 ETB CR
continued
20H 4CH 2DH 30H 32H 2EH 30H 30H 2DH 30H 30H 2EH 35H 30H 31H 38H 30H 17H 0DH
Left SPH Left CYL Left AXIS
170 175 180 185
o To be
S L - 0 2 . 2 5 ETB CR P L 0 1 . 2 5 O ETB CR
continued
53H 4CH 2DH 30H 32H 2EH 32H 35H 17H 0DH 50H 4CH 30H 31H 2EH 32H 35H 4FH 17H 0DH
Left SE Left PRISM1
190 195
o To be
P L 0 2 . 0 0 U ETB CR
continued
50H 4CH 30H 32H 2EH 30H 30H 55H 17H 0DH
Left PRISM2

36
RS-232C Communication and USB CommunicationExample of Data Output

200 205
o To be
G L 0 8 0 ETB CR U L 0 2 0 ETB CR
continued
47H 4CH 30H 38H 30H 17H 0DH 55H 4CH 30H 32H 30H 17H 0DH
Left Green Left UV
210 215
EOT 2 7 F 3 CR
04H 32H 37H 46H 33H 0DH
Checksum 2

(10) In the case of the maximum data size in prism layout measurement mode (LM-1800P)
Measurement conditions:
Single vision lens measurement with the left- and right- eye lenses designated
Right: SPH = -1.25 D, CYL = -0.75 D, AXIS = 120º
PRISM = IN 2.50', DOWN 2.00' (BU/D BI/O setting)
Transmittance measurement Green = 80%, UV = 20%
Left: SPH = -2.00 D, CYL = -0.50 D, AXIS = 180º
PRISM = OUT 1.25', UP 2.00' (BU/D BI/O setting)
Transmittance measurement Green = 80%, UV = 20%
CR code = Added

• This is an example of the maximum data size (195 characters) in prism layout mode.
The checksum is added according to the setting of Com mode parameter “NCP10”.
• Prism value is the measured prism power.
• When reading two kinds of barcode data: Operator/Patient ID.

1 5 (Characters)
SOH D L M STX o To be continued
01H 44H 4CH 4DH 02H

10 15 20
o To be
I D N I D E K / L M - 1 8 0 0 P ETB CR
continued
49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 31H 38H 30H 30H 50H 17H 0DH
Company name/ Model name (LM-1800P)
25 30 35 40
o To be
I P 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 ETB CR
continued
49H 50H 31H 32H 33H 34H 35H 36H 37H 38H 39H 30H 31H 32H 33H 34H 35H 36H 17H 0DH
Barcode data1 (Up to 16 characters)

37
RS-232C Communication and USB CommunicationExample of Data Output

45 50 55 60
o To be
I P 1 2 3 4 5 6 7 8 9 0 1 0 0 0 0 1 ETB CR
continued
49H 50H 31H 32H 33H 34H 35H 36H 37H 38H 39H 30H 31H 30H 30H 30H 30H 31H 17H 0DH
Barcode data2 (Up to 16 characters)
65 70 75 80
o To be
D A 2 0 1 0 . 1 1 . 2 3 . 1 5 : 3 0 ETB CR
continued
44H 41H 32H 30H 31H 30H 2EH 31H 31H 2EH 32H 33H 2EH 31H 35H 3AH 33H 30H 17H 0DH
Year Month Day Hour Minute
85 90 95 100
o To be
R - 0 1 . 2 5 - 0 0 . 7 5 1 2 0 ETB CR
continued
20H 52H 2DH 30H 31H 2EH 32H 35H 2DH 30H 30H 2EH 37H 35H 31H 32H 30H 17H 0DH
Right SPH Right CYL Right AXIS

105 110 115 120


o To be
P R 0 2 . 5 0 I ETB CR P R 0 2 . 0 0 D ETB CR
continued
50H 52H 30H 32H 2EH 35H 30H 49H 17H 0DH 50H 52H 30H 32H 2EH 30H 30H 44H 17H 0DH
Right PRISM1 Right PRISM2

125 130 135


o To be
G R 0 8 0 ETB CR U R 0 2 0 ETB CR
continued
47H 52H 30H 38H 30H 17H 0DH 55H 52H 30H 32H 30H 17H 0DH
Right Green Right UV

140 145 150 155


o To be
L - 0 2 . 0 0 - 0 0 . 5 0 1 8 0 ETB CR
continued
20H 4CH 2DH 30H 32H 2EH 30H 30H 2DH 30H 30H 2EH 35H 30H 31H 38H 30H 17H 0DH
Left SPH Left CYL Left AXIS

160 165 170 175


o To be
P L 0 1 . 2 5 O ETB CR P L 0 2 . 0 0 U ETB CR
continued
50H 4CH 30H 31H 2EH 32H 35H 4FH 17H 0DH 50H 4CH 30H 32H 2EH 30H 30H 55H 17H 0DH
Left PRISM1 Left PRISM2
180 185 190 195
G L 0 8 0 ETB CR U L 0 2 0 ETB CR EOT 2 4 3 C CR
47H 4CH 30H 38H 30H 17H 0DH 55H 4CH 30H 32H 30H 17H 0DH 04H 32H 34H 33H 43H 0DH
Left Green Left UV Checksum

38
RS-232C Communication and USB CommunicationExample of Data Output

(11) In the case of the maximum data size in normal measurement mode (LM-1800PD)
Measurement conditions:
Trifocal lens measurement with the left- and right- eye lenses designated
Right: SPH = -1.25 D, CYL = -0.75 D, AXIS = 120º
ADD = +2.00 D, ADD2 = +3.00 D
Representation form of near portion power = NEAR SPH NSPH = +0.75
D, NSPH2 = +1.75 D
PRISM = IN 2.25', DOWN 2.00' (BU/D BI/O setting)
Transmittance measurement Green = 80%, UV = 20% 2
RPD = 31.5 mm
Left: SPH = -2.00 D, CYL = -0.50 D, AXIS = 180º
ADD = +2.25 D, ADD2 = +3.50 D
Representation form of near portion power = NEAR SPH NSPH = +0.25
D, NSPH2 = +1.50 D
PRISM = OUT 1.25', UP 2.00' (BU/D BI/O setting)
Transmittance measurement Green = 80%, UV = 20%
LPD = 32.5 mm
Total PD = 64.0 mm
Net prism measurement Net H. Pri = IN 1.25', Net V. Pri = UP1.00'
CR code = Added

• This is an example of LM-1800PD of the maximum data size (300 characters) in normal
lens measurement mode.
• When the Near parameter is set to NEAR Sph, both the addition powers (ADD) and near
spherical data (NSPH) are output.
• When the Net prism parameter is set to On, the difference between the right-eye and left-
eye lenses are output after measuring net prism as a net prism value.
• When reading two kinds of barcode data: Operator/Patient ID.

1 5 (Characters)
SOH D L M STX o To be continued
01H 44H 4CH 4DH 02H

10 15 20
o To be
I D N I D E K / L M - 1 8 0 0 P d ETB CR
continued
49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 31H 38H 30H 30H 50H 64H 17H 0DH
Company name/ Model name (LM-1800PD)
25 30 35 40
o To be
I P 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 ETB CR
continued
49H 50H 31H 32H 33H 34H 35H 36H 37H 38H 39H 30H 31H 32H 33H 34H 35H 36H 17H 0DH
Barcode data 1(Up to 16 characters)

39
RS-232C Communication and USB CommunicationExample of Data Output

45 50 55 60
o To be
I P 1 2 3 4 5 6 7 8 9 0 1 0 0 0 0 1 ETB CR
continued
49H 50H 31H 32H 33H 34H 35H 36H 37H 38H 39H 30H 31H 30H 30H 30H 30H 31H 17H 0DH
Barcode data 2 (Up to 16 characters)
65 70 75 80
o To be
D A 2 0 1 0 . 1 1 . 2 3 . 1 5 : 3 0 ETB CR
continued
44H 41H 32H 30H 31H 30H 2EH 31H 31H 2EH 32H 33H 2EH 31H 35H 3AH 33H 30H 17H 0DH
Year Month Day Hour Minute
85 90 95 100
o To be
R - 0 1 . 2 5 - 0 0 . 7 5 1 2 0 ETB CR
continued
20H 52H 2DH 30H 31H 2EH 32H 35H 2DH 30H 30H 2EH 37H 35H 31H 32H 30H 17H 0DH
Right SPH Right CYL Right AXIS

105 110 115


o To be
A R 0 2 . 0 0 ETB CR 0 3 . 0 0 ETB CR
continued
41H 52H 30H 32H 2EH 30H 30H 17H 0DH 30H 33H 2EH 30H 30H 17H 0DH
Right ADD Right ADD2

120 125 130 135


o To be
N R + 0 0 . 7 5 ETB CR + 0 1 . 7 5 ETB CR
continued
4EH 52H 2BH 30H 30H 2EH 37H 35H 17H 0DH 2BH 30H 31H 2EH 37H 35H 17H 0DH
Right NSPH Right NSPH2
140 145 150 155
o To be
P R 0 2 . 2 5 I ETB CR P R 0 2 . 0 0 D ETB CR
continued
50H 52H 30H 32H 2EH 32H 35H 49H 17H 0DH 50H 52H 30H 32H 2EH 30H 30H 44H 17H 0DH
Right PRISM1 Right PRISM2
160 165 170
o To be
G R 0 8 0 ETB CR U R 0 2 0 ETB CR
continued
47H 52H 30H 38H 30H 17H 0DH 55H 52H 30H 32H 30H 17H 0DH
Right Green Right UV
175 180 185 190
o To be
L - 0 2 . 0 0 - 0 0 . 5 0 1 8 0 ETB CR
continued
20H 4CH 2DH 30H 32H 2EH 30H 30H 2DH 30H 30H 2EH 35H 30H 31H 38H 30H 17H 0DH
Left SPH Left CYL Left AXIS

40
RS-232C Communication and USB CommunicationExample of Data Output

195 200 205


o To be
A L 0 2 . 2 5 ETB CR 0 3 . 5 0 ETB CR
continued
41H 4CH 30H 32H 2EH 32H 35H 17H 0DH 30H 33H 2EH 35H 30H 17H 0DH
Left ADD Left ADD2
210 215 220
o To be
N L + 0 0 . 2 5 ETB CR + 0 1 . 5 0 ETB CR
continued
4EH 4CH 2BH 30H 30H 2EH 32H 35H 17H 0DH 2BH 30H 31H 2EH 35H 30H 17H 0DH
2
Left NSPH Left NSPH2
225 230 235 240
o To be
P L 0 1 . 2 5 O ETB CR P L 0 2 . 0 0 U ETB CR
continued
50H 4CH 30H 31H 2EH 32H 35H 4FH 17H 0DH 50H 4CH 30H 32H 2EH 30H 30H 55H 17H 0DH
Left PRISM1 Left PRISM2

245 250 255


o To be
G L 0 8 0 ETB CR U L 0 2 0 ETB CR
continued
47H 4CH 30H 38H 30H 17H 0DH 55H 4CH 30H 32H 30H 17H 0DH
Left Green Left UV

260 265 270


o To be
P D 6 4 . 0 3 1 . 5 3 2 . 5 ETB CR
continued
50H 44H 36H 34H 2EH 30H 33H 31H 2EH 35H 33H 32H 2EH 35H 17H 0DH
Total PD Right PD Left PD

275 280 285 290


o To be
N P 0 1 . 2 5 I ETB CR N P 0 1 . 0 0 U ETB CR
continued
4EH 50H 30H 31H 2EH 32H 35H 4CH 17H 0DH 4EH 50H 30H 31H 2EH 30H 30H 55H 17H 0DH
Net H. PRISM Net V. PRISM
295 300
EOT 3 6 F B CR
04H 33H 36H 46H 42H 0DH
Checksum

41
RS-232C Communication and USB CommunicationExample of Data Output

(12) In the case of the maximum data size in progressive power lens measurement mode (LM-
1800PD)
Measurement conditions:
Progressive power lens measurement with the left- and right- eye lenses des-
ignated
Right: SPH = -1.25 D, CYL = -0.75 D, AXIS = 120º
ADD = +2.00 D
Representation form of near portion power = NEAR SPH NSPH = +0.75
D
PRISM = IN 2.25', DOWN 2.00' (BU/D BI/O setting)
Transmittance measurement Green 80%, UV = 20%
Progressive length = 16 mm
Channel width = Positions of 8 mm/15 mm
RPD = 31.5 mm
RINS = 1.5 mm
Left: SPH = -2.00 D, CYL = -0.50 D, AXIS = 180º
ADD = +2.25 D
Representation form of near portion power = NEAR SPH NSPH = +0.25
D
PRISM = OUT 1.25', UP 2.00' (BU/D BI/O setting)
Transmittance measurement Green 80%, UV = 20%
Progressive length = 17 mm
Channel width = Positions of 10 mm/18 mm
LPD = 32.5 mm
LINS = 2.0 mm
Total PD = 64.0 mm
CR code = Added

• This is an example of the LM-1800PD of the maximum data size (294 characters) in
progressive power lens measurement mode.
• When the Near parameter is set to NEAR Sph, both the addition powers (ADD) and near
spherical data (NSPH) are output.
• When the length and channel width parameters are set to on, the measurement results of
the progressive length and channel witch are output.
• When reading two kinds of barcode data: Operator/Patient ID.

42
RS-232C Communication and USB CommunicationExample of Data Output

1 5 (Characters)
SOH D L M STX o To be continued
01H 44H 4CH 4DH 02H

10 15 20
o To be
I D N I D E K / L M - 1 8 0 0 P D ETB CR
continued
49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 31H 38H 30H 30H 50H 44H 17H 0DH
Company name/ Model name (LM-1800PD) 2
25 30 35 40
o To be
I P 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 ETB CR
continued
49H 50H 31H 32H 33H 34H 35H 36H 37H 38H 39H 30H 31H 32H 33H 34H 35H 36H 17H 0DH
Barcode data1(Up to 16 characters)
45 50 55 60
o To be
I P 1 2 3 4 5 6 7 8 9 0 1 0 0 0 0 1 ETB CR
continued
49H 50H 31H 32H 33H 34H 35H 36H 37H 38H 39H 30H 31H 30H 30H 30H 30H 31H 17H 0DH
Barcode data2(Up to 16 characters)
65 70 75 80
o To be
D A 2 0 1 0 . 1 1 . 2 3 . 1 5 : 3 0 ETB CR
continued
44H 41H 32H 30H 31H 30H 2EH 31H 31H 2EH 32H 33H 2EH 31H 35H 3AH 33H 30H 17H 0DH
Year Month Day Hour Minute

85 90 95 100
o To be
R - 0 1 . 2 5 - 0 0 . 7 5 1 2 0 ETB CR
continued
20H 52H 2DH 30H 31H 2EH 32H 35H 2DH 30H 30H 2EH 37H 35H 31H 32H 30H 17H 0DH
Right SPH Right CYL Right AXIS

105 110 115 120


o To be
A R 0 2 . 0 0 ETB CR N R + 0 0 . 7 5 ETB CR
continued
41H 52H 30H 32H 2EH 30H 30H 17H 0DH 4EH 52H 2BH 30H 30H 2EH 37H 35H 17H 0DH
Right ADD Right NSPH

125 130 135 140


o To be
P R 0 2 . 2 5 I ETB CR P R 0 2 . 0 0 D ETB CR
continued
50H 52H 30H 32H 2EH 32H 35H 49H 17H 0DH 50H 52H 30H 32H 2EH 30H 30H 44H 17H 0DH
Right PRISM1 Right PRISM2

43
RS-232C Communication and USB CommunicationExample of Data Output

145 150 155


o To be
D R 1 6 ETB CR W R 0 8 / 1 5 ETB CR
continued
44H 52H 31H 36H 17H 0DH 57H 52H 30H 38H 2FH 31H 35H 17H 0DH
Right Right channel width/
progressive
length position

160 165 170


o To be
G R 0 8 0 ETB CR U R 0 2 0 ETB CR
continued
47H 52H 30H 38H 30H 17H 0DH 55H 52H 30H 32H 30H 17H 0DH
Right Green Right UV

175 180 185 190


o To be
L - 0 2 . 0 0 - 0 0 . 5 0 1 8 0 ETB CR
continued
20H 4CH 2DH 30H 32H 2EH 30H 30H 2DH 30H 30H 2EH 35H 30H 31H 38H 30H 17H 0DH
Left SPH Left CYL Left AXIS
195 200 205
o To be
A L 0 2 . 2 5 ETB CR N L + 0 0 . 2 5 ETB CR
continued
41H 4CH 30H 32H 2EH 32H 35H 17H 0DH 4EH 4CH 2BH 30H 30H 2EH 32H 35H 17H 0DH
Left ADD Left NSPH

210 215 220 225


o To be
P L 0 1 . 2 5 O ETB CR P L 0 2 . 0 0 U ETB CR
continued
50H 4CH 30H 31H 2EH 32H 35H 4FH 17H 0DH 50H 4CH 30H 32H 2EH 30H 30H 55H 17H 0DH
Left PRISM1 Left PRISM2

230 235 240


o To be
D L 1 7 ETB CR W L 1 0 / 1 8 ETB CR
continued
44H 4CH 31H 37H 17H 0DH 57H 4CH 31H 30H 2FH 31H 38H 17H 0DH
Left Left channel width/
progressive
length position

245 250 255


o To be
G L 0 8 0 ETB CR U L 0 2 0 ETB CR
continued
47H 4CH 30H 38H 30H 17H 0DH 55H 4CH 30H 32H 30H 17H 0DH
Left Green Left UV
260 265 270
o To be
P D 6 4 . 0 3 1 . 5 3 2 . 5 ETB CR
continued
50H 44H 36H 34H 2EH 30H 33H 31H 2EH 35H 33H 32H 2EH 35H 17H 0DH
Total PD Right PD Left PD

44
RS-232C Communication and USB CommunicationExample of Data Output

275 280 285


o To be
I S + 0 1 . 5 + 0 2 . 0 ETB CR
continued
49H 53H 2BH 30H 31H 2EH 35H 2BH 30H 32H 2EH 30H 17H 0DH
Right inside amount Left inside amount

290 294
EOT 3 6 B 7 CR
04H 33H 36H 42H 37H 0DH
Checksum 2

(13) In the case of the maximum data size in contact lens measurement mode (LM-1800PD)
Measurement conditions:
Contact lens measurement with the left- and right- eye lenses designated
Right: SPH = -1.25 D, CYL = -0.75 D, AXIS = 120º, SE= -1.50 D
PRISM = IN 2.50', DOWN 2.00' (BU/D BI/O setting)
Transmittance measurement Green = 80%, UV = 20%
Left: SPH = -2.00 D, CYL = -0.50 D, AXIS = 180º, SE= -2.55 D
PRISM = OUT 1.25', UP 2.00' (BU/D BI/O setting)
Transmittance measurement Green = 80%, UV = 20%
CR code = Added

• This is an example of the maximum data size (216 characters) in contact lens measurement
mode.
• The SE value is output.
• The addition power and PD are not measured.
• When reading two kinds of barcode data: Operator/Patient ID.

1 5 (Characters)
SOH D L M STX o To be continued
01H 44H 4CH 4DH 02H

10 15 20
o To be
I D N I D E K / L M - 1 8 0 0 P d ETB CR
continued
49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 31H 38H 30H 30H 50H 64H 17H 0DH
Company name/ Model name(LM-1800PD)
25 30 35 40
o To be
I P 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 ETB CR
continued
49H 50H 31H 32H 33H 34H 35H 36H 37H 38H 39H 30H 31H 32H 33H 34H 35H 36H 17H 0DH
Barcode data 1 (Up to 16 characters)

45
RS-232C Communication and USB CommunicationExample of Data Output

45 50 55 60
o To be
I P 1 2 3 4 5 6 7 8 9 0 1 0 0 0 0 1 ETB CR
continued
49H 50H 31H 32H 33H 34H 35H 36H 37H 38H 39H 30H 31H 30H 30H 30H 30H 31H 17H 0DH
Barcode data 2 (Up to 16 characters)
65 70 75 80
o To be
D A 2 0 1 0 . 1 1 . 2 3 . 1 5 : 3 0 ETB CR
continued
44H 41H 32H 30H 31H 30H 2EH 31H 31H 2EH 32H 33H 2EH 31H 35H 3AH 33H 30H 17H 0DH
Year Month Day Hour Minute
85 90 95 100
o To be
R - 0 1 . 2 5 - 0 0 . 7 5 1 2 0 ETB CR
continued
20H 52H 2DH 30H 31H 2EH 32H 35H 2DH 30H 30H 2EH 37H 35H 31H 32H 30H 17H 0DH
Right SPH Right CYL Right AXIS

105 110 115 120


o To be
S R - 0 1 . 5 0 ETB CR P R 0 2 . 5 0 I ETB CR
continued
53H 52H 2DH 30H 31H 2EH 35H 30H 17H 0DH 50H 52H 30H 32H 2EH 35H 30H 49H 17H 0DH
Right SE Right PRISM1

125 130
o To be
P R 0 2 . 0 0 D ETB CR
continued
53H 52H 30H 32H 2EH 30H 30H 44H 17H 0DH
Right PRISM2

135 140 145


o To be
G R 0 8 0 ETB CR U R 0 2 0 ETB CR
continued
47H 52H 30H 38H 30H 17H 0DH 55H 52H 30H 32H 30H 17H 0DH
Right Green Right UV
150 155 160 165
o To be
L - 0 2 . 0 0 - 0 0 . 5 0 1 8 0 ETB CR
continued
20H 4CH 2DH 30H 32H 2EH 30H 30H 2DH 30H 30H 2EH 35H 30H 31H 38H 30H 17H 0DH
Left SPH Left CYL Left AXIS
170 175 180 185
o To be
S L - 0 2 . 2 5 ETB CR P L 0 1 . 2 5 O ETB CR
continued
53H 4CH 2DH 30H 32H 2EH 32H 35H 17H 0DH 50H 4CH 30H 31H 2EH 32H 35H 4FH 17H 0DH
Left SE Left PRISM1

46
RS-232C Communication and USB CommunicationExample of Data Output

190 195
o To be
P L 0 2 . 0 0 U ETB CR
continued
50H 4CH 30H 32H 2EH 30H 30H 55H 17H 0DH
Left PRISM2
200 205 210
o To be
G L 0 8 0 ETB CR U L 0 2 0 ETB CR
continued
47H 4CH 30H 38H 30H 17H 0DH 55H 4CH 30H 32H 30H 17H 0DH 2
Left Green Left UV
215 216
EOT 2 8 5 7 CR
04H 32H 38H 35H 37H 0DH
Checksum

(14) In the case of the maximum data size in prism layout measurement mode (LM-1800PD)
Measurement conditions:
Single vision lens measurement with the left- and right- eye lenses designated
Right: SPH = -1.25 D, CYL = -0.75 D, AXIS = 120º
PRISM = IN 2.50', DOWN 2.00' (BASE IN/OUT UP/DOWN setting)
Transmittance measurement Green = 80%, UV = 20%
RPD = 31.5 mm
Left: SPH = -2.00 D, CYL = -0.50 D, AXIS = 180º
PRISM = OUT 1.25', UP 2.00' (BASE IN/OUT UP/DOWN setting)
Transmittance measurement Green = 80%, UV = 20%
LPD = 32.5 mm
Total PD = 64.0 mm
CR code = Added

• This is an example of the maximum data size (212 characters) in prism layout mode.
• Prism data is the measured prism value.
• When reading two kinds of barcode data: Operator/Patient ID.

47
RS-232C Communication and USB CommunicationExample of Data Output

1 5 (Characters)
SOH D L M STX To be continued
01H 44H 4CH 4DH 02H

10 15 20
o To be
I D N I D E K / L M - 1 8 0 0 P d ETB CR
continued
49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 31H 38H 30H 30H 50H 64H 17H 0DH
Company name/ Model name(LM-1800PD)
25 30 35 40
o To be
I P 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 ETB CR
continued
49H 50H 31H 32H 33H 34H 35H 36H 37H 38H 39H 30H 31H 32H 33H 34H 35H 36H 17H 0DH
Barcode data 1 (Up to 16 characters)
45 50 55 60
o To be
I P 1 2 3 4 5 6 7 8 9 0 1 0 0 0 0 1 ETB CR
continued
49H 50H 31H 32H 33H 34H 35H 36H 37H 38H 39H 30H 31H 30H 30H 30H 30H 31H 17H 0DH
Barcode data 2 (Up to 16 characters)
65 70 75 80
o To be
D A 2 0 1 0 . 1 1 . 2 3 . 1 5 : 3 0 ETB CR
continued
44H 41H 32H 30H 31H 30H 2EH 31H 31H 2EH 32H 33H 2EH 31H 35H 3AH 33H 30H 17H 0DH
Year Month Day Hour Minute

85 90 95 100
oTo be
R - 0 1 . 2 5 - 0 0 . 7 5 1 2 0 ETB CR
continued
20H 52H 2DH 30H 31H 2EH 32H 35H 2DH 30H 30H 2EH 37H 35H 31H 32H 30H 17H 0DH
Right SPH Right CYL Right AXIS

105 110 115 120


oTo be
P R 0 2 . 5 0 I ETB CR P R 0 2 . 0 0 D ETB CR
continued
50H 52H 30H 32H 2EH 35H 30H 49H 17H 0DH 50H 52H 30H 32H 2EH 30H 30H 44H 17H 0DH
Right PRISM1 Right PRISM2

125 130 135


o To be
G R 0 8 0 ETB CR U R 0 2 0 ETB CR
continued
47H 52H 30H 38H 30H 17H 0DH 55H 52H 30H 32H 30H 17H 0DH
Right Green Right UV

48
RS-232C Communication and USB CommunicationExample of Data Output

140 145 150 155


o To be
L - 0 2 . 0 0 - 0 0 . 5 0 1 8 0 ETB CR
continued
20H 4CH 2DH 30H 32H 2EH 30H 30H 2DH 30H 30H 2EH 35H 30H 31H 38H 30H 17H 0DH
Left SPH Left CYL Left AXIS

160 165 170 175


o To be
P L 0 1 . 2 5 O ETB CR P L 0 2 . 0 0 U ETB CR
continued
50H 4CH 30H 31H 2EH 32H 35H 4FH 17H 0DH 50H 4CH 30H 32H 2EH 30H 30H 55H 17H 0DH 2
Left PRISM1 Left PRISM2
180 185 190
o To be
G L 0 8 0 ETB CR U L 0 2 0 ETB CR
continued
47H 4CH 30H 38H 30H 17H 0DH 55H 4CH 30H 32H 30H 17H 0DH
Left Green Left UV

195 200 205


o To be
P D 6 4 . 0 3 1 . 5 3 2 . 5 ETB CR
continued
50H 44H 36H 34H 2EH 30H 33H 31H 2EH 35H 33H 32H 2EH 35H 17H 0DH
Total PD Right PD Left PD

210 212
EOT 2 7 A 2 CR
04H 32H 37H 41H 32H 0DH
Checksum

49
RS-232C Communication and USB CommunicationExample of Data Output

50
3. COMMUNICATION PROCEDURE
(other than NCP20)
3.1 Outline

The procedure for transmitting data measured by the LM to the PC is explained.

1 Save measured data on the LM.


Press the read key of the LM or send “RD command” from the PC.

2 Transmit the saved data to the PC. 3


Press the print button (or export button ) or send “SD command” from the PC.

• The icon indication differs depending on the parameter settings. For details, refer to each
operator’s manual.

3 As the PC receives measured data, it displays the data on the screen or saves it to
a floppy disk.
Therefore, the PC needs a program that sends or receives these “commands“ or “data”, and
analyzes, displays or saves the received “data”.

In this manner, the operator can choose the following options for data transmission and reception: To
perform automatic data transmission with the operation buttons on the LM, to use the PC to give all
the commands to the LM from the data storage to data transmission, and to use the operation buttons
on the LM and the PC in combination.

51
COMMUNICATION PROCEDURE (other than NCP20)Communication Control Signals (DTR Output to DSR Input)

3.2 Communication Control Signals (DTR Output to DSR Input)

The communication control method when the Com mode parameter is set to “NIDEK” is described.
To transmit and received “Command” and/or “Data”, it is necessary to connect the DSR (Data Set
Ready) and DTR (Data Terminal Ready) wires as well as the TXD (Transmit eXchange Data) and
RXD (Received eXchange Data) wires. (Also see “2.1.2 Cable connection” (page 6).
The DTR-to-DSR wire allows both devices to know if the other device is ready for communication. If
one device is ready for communication, it sends “DTR = ON” to the other device. If one device is not
ready for communication during printout by the LM or the processing of the previous data by the PC, it
sends “DTR = OFF” to the other device to allows the other device to know the status of one device.
The status of the other device is judged by ON or OFF of “DSR”. In this way, undesired communica-
tion troubles can be prevented.

The figure below shows the changes in the DTR signals when the PC sends “SD command” and the
LM sends “Data” back in response to the command.

1) 11)
6) 7)
TXD Command

2) 3) 4) 10)
DTR ON
OFF
PC

LM
5)
DTR ON
OFF
8) 9)
TXD Data

T1 T2
T1, T2 d0.1 sec
(Time out when T1, T2 > 0.1 sec.)

1) Both the PC and LM are “out of communication”. The DTR signal of both devices is
“OFF”.
2) The PC enables DTR (ON) to send “Command” to the LM.

52
COMMUNICATION PROCEDURE (other than NCP20)Communication Control Signals (DTR Output to DSR

3) Because DTR is not enabled (ON) on the LM even after 0.1 seconds or more, the PC ter-
minates communication by disabling DTR (OFF). In this way, if DTR is not enabled (ON)
on the other device, one device judges that the other device is not ready for communica-
tion and terminates communication for a moment. The waiting time until the other device
enables DTR (ON) (or the time period from when DTR is enabled (ON) to the transmis-
sion of data or commands) shall be 0.1 second. The LM and PC program shall be
designed to send a response to the other device within 0.1 seconds if it is ready for com-
munication.
4) Again, the PC enables DTR (ON) to send “Command” to the LM.
5) The LM enables DTR (ON) in response to the command from the PC.
6) When the PC confirms that the DTR on the LM is enabled (ON), the PC sends “Com-
mand” to the LM.
7) After sending the command to the LM, the PC is put into the wait state to wait for “Data” 3
from the LM.
To allow the LM to send data, the PC shall keep enabling DTR (ON). If the PC is not ready for
instant reception, it may make the LM wait for 0.1 seconds by disabling DTR (OFF) once. After the
lapse of 0.1 seconds, a timeout occurs in the LM and the LM terminates communication.

The LM analyzes “Command” from the PC and prepares for “Data” to be sent.

8) The LM checks if DTR is enabled (ON) on the PC and sends “Data”.


When DTR is disabled (OFF), the LM waits for 0.1 seconds for the PC to enable DTR (ON). If the
DTR is disabled on the PC, the LM disables DTR (OFF) and terminates communication.

9) The LM produces two beeps at the completion of transmission of “Data”, and disables
DTR (OFF) after the PC disables DSR (OFF). (Because there are cases where “CL com-
mand” is sent from the PC subsequently).
10)The PC disables DTR (OFF) when the PC receives “EOT” at the end of “Data” from the
LM.
11)After the termination of communication, both the PC and LM are placed in the same state
as 1).

Note 1) The control process of the DTR signal is needed when the Com mode parameter is set to
“NIDEK”.
When the Com mode parameter is set to “PC”, the LM ignores the DTR signal on the PC.
Because the control and check processes of 4), 5), 9), and 10) can be omitted, a communica-
tion program for the PC can be written easily. Because the LM does not confirm the status of
DTR on the PC even before sending data, the PC should ready for the reception of “Data” just
after the transmission of “Command”.
(The LM enables DTR (ON) at the same time when the PC enables DTR on condition that the
LM is sending data or it is ready for communication.)

53
COMMUNICATION PROCEDURE (other than NCP20)Communication Control Signals (DTR Output to DSR Input)

Note 2)If the Com mode parameter is set to “NIDEK”, be sure not to leave the DTR signal enabled
(ON).
In 10) of the above example, unless the PC disables DTR (OFF), the LM misjudges that the PC
will send the next “Command” etc. (State (4)) As a result, the LM enables DTR (ON) where it
keeps waiting for “Command”. Although this operation of the LM causes no problems, do not
allow the PC to misjudge that the DTR is enabled (ON) on the LM.
If the PC is put into the wait state to wait for “Data” from the LM (State (7)), both the PC and LM
are put into the “wait sate”, which appears to the operator that the PC program is stalled.
“OPEN sentences” in BASIC language etc. automatically enables DTR (ON). Therefore, it is
necessary to control DTR by disabling DTR with “OUT sentences” etc. after that.
Note 3) If the Com mode parameter is set to “NCP10”, the LM ignores the DTR signal on the PC. In
addition, the LM does not send nor receive commands. The transmission of measured data is
enabled by pressing the print button (or export button ) of the LM. Constantly
place the PC in a state where it can receive measured data.

54
COMMUNICATION PROCEDURE (other than NCP20)Actual Communications

3.3 Actual Communications

(1) Setting the PC


Set the parameters related to an RS-232C interface on the PC in accordance with the
descriptions in “2.1 Basic Interface Specifications” (page 3).
For the procedure for setting parameters, refer to the LM-1800P/LM-1800PD operator’s
manual. It is allowed that the parameters are set by the communication program.

(2) Writing a communication program for the PC


Write a communication program for exchanging command and data with the LM.

3
(3) Setting the LM
Set the parameters related to the RS-232C interface on the LM in accordance with “2.1
Basic Interface Specifications” (page 3) to conform them to the settings on the PC.

(4) Connecting an interface cable


Connect the PC and LM with an interface cable that conforms to the description of “2.1.2
Cable connection” (page 6).

(5) Execution of communication


Communications are started and controlled by the communication program on the PC.
There are three types of processes for the PC to receive measured data:
• The LM requests the PC to receive measured data.
• The external PC requests the LM to send measured data.
• The PC controls all the operations of the LM: Measurement o Storage o Transmission of measured
data.

55
COMMUNICATION PROCEDURE (other than NCP20)Actual Communications

3.3.1 The LM requests the PC to receive measured data


Procedure for transmitting measured data to the PC by pressing the print button (or export but-
ton ):

After saving the measured data by pressing the read key of the LM, press the print
1 LMo button.
The LM enables DTR (ON) and waits for a response from the PC.

2 mCOM The PC confirms that DSR is enabled (= DTR of the LM) (ON) and enables DSR (ON).

When the LM enables DSR (=DTR of the PC) (ON), it sends “RS command” to the PC to
3 LMo
request the PC to send “SD command”.

When the PC receives “RS command”, it sends “SD command” and requests the LM to
4 mCOM
send “measured data”.

When the LM receives “SD command”, it sends “measured data”. After the completion of
5 LMo transmission, the LM disables DTR (OFF) after confirming that DSR has been disabled
(OFF).

The PC receives “measured data”. After receiving “EOT” at the end of the character
6 oCOM
string, the PC should disable DTR (OFF).

7 LM The LM clears the measured data.

56
COMMUNICATION PROCEDURE (other than NCP20)Actual Communications

3.3.2 The PC requests the LM to send measured data


Procedure for transmitting measured data saved by the actuation of the read key of the LM by control-
ling the measured data from the PC:

1 LMo Press the read key of the LM to save measured data.

2 mCOM The PC enables DTR (ON) to let the LM know that it is starting communication.

When the LM confirms that DSR (= DTR of the PC) is enabled (ON), it enables DTR (On)
3 LMo
to wait for “Command” from the PC.

When the PC conforms that DSR (=DTR of the LM) is enabled (ON), it sends “SD
4 mCOM
command” to request the LM to send “measured data”.

When the LM receives “SD command”, it sends “measured data”. After the transmission 3
5 LMo
of data, the LM disables DTR (OFF) after confirming that DSR is enabled (OFF).

The PC receives “measured data ”. After receiving “EOT” at the end of the character
6 oCOM
string, the PC should disable DTR (OFF).

If necessary, after receiving “EOT”, the PC leaves DTR enabled (ON) and sends “CL
7 mCOM
command”. After sending the command, the PC disables DTR (OFF).

8 LMm When receiving “CL command”, the LM clears measured data.

Note) If the PC does not send “CL command” in step 7, the measured data remains in the LM even
after transmission. By repeating the steps 2 to 6, the PC can receive the same data again.

57
COMMUNICATION PROCEDURE (other than NCP20)Actual Communications

3.3.3 The PC controls all the operations of the LM


Procedure for the PC to control the entire process: Measurement o Storage of measured data o
Transmission of measured data:

1 LM Place a lens on the nosepiece of the LM to put the LM into the measuring state.

2 mCOM The PC enables DTR (ON) to let the LM know that it is starting communication.

When the LM confirms that DSR (=DTR of the PC) is enabled (ON), it enables DTR (ON)
3 LMo
and waits for “Command” from the PC.

When the PC confirms that DSR (=DTR of the LM) is enabled (ON), it sends “RD
4 mCOM
command” to request the LM to “save measured data”.

5 LMm When the LM receives “RD command”, it saves the measured data.

The PC sends “SD command” to request the LM to send “measured data” after waiting
6 mCOM
for about 0.1 seconds until the LM saves measured data.

After receiving “SD command”, the LM sends “measured data”. After the transmission
7 LMo
and confirmation that DSR has been disabled (OFF), the LM disables DTR (OFF).

The PC receives “measured data”. After receiving “EOT” at the end of the character
8 oCOM
string, the PC should disable DTR (OFF).

If necessary, after the reception of “EOT”, the PC leaves DTR enabled (ON) and sends
9 mCOM
“CL command”. After transmission, the PC disables DTR (OFF).

10 LMm After receiving “CL command”, the LM clears measured data.

To measure the next lens and receive measured data subsequently, the PC should clear
the former data by sending “CL command” in 9. and 10. After placing the next lens on the
11 mCOM nosepiece, the PC should wait for more than 0.5 seconds until the lens is measured
(until the measured data is displayed on the screen after the former data is cleared) and
repeat the process from 2.

Note) If the PC sends “RD command” without waiting for the completion of measurement in 11, the
LM does not accept “RD command”.

58
COMMUNICATION PROCEDURE (other than NCP20)Example of Communication Program

3.4 Example of Communication Program

The communication program on the PC should be written to handle such processes as described
in “3.3 Actual Communications” (page 55). In this section, an example of communication program
is provided for reference.

3.4.1 Communication Program


A sample program for data communication to be installed to the PC is provided on the page after
the next page. BASIC is used as a programming language.

In this example, the Com mode parameter on the LM should be set to “NIDEK”. Because commu-
nication data input sentences in the BASIC language need “CR code”, the CR code parameter
should be set to On. 3

Baud rate 9600 (bps)

Parity (Parity check) Odd

Data bits 8bit

Stop bits 1bit

CR code On

1 Line 1000 to 1290: When the LM requests the PC to receive measured data:
For using the print button (or export button ) to send measured data to the PC
<Procedure>
1) Enter the sample program. Connect the PC to the LM with the communication cable in
advance.
2) Type “RUN”, and press the Enter key to execute the program.
3) As the “Let’s Measure !!” message is displayed on the screen, measure a lens with the
LM and press the read key to save measured data.
4) Press the print button (or export button ).
5) The data is transmitted to the PC and the received data is displayed on the screen.

2 Line 2000 to 2260: When the external PC requests the LM to send measured data:
For controlling the PC to make the LM to send the measured data that has been saved by
the actuation of the read key.

59
COMMUNICATION PROCEDURE (other than NCP20)Example of Communication Program

< Procedure >


1) Enter the sample program. Connect the PC to the LM with the communication cable in
advance.
2) Type “RUN 2000” and press the Enter key to execute the program.
3) As the “Let’s Measure !!” message is displayed on the screen, measure a lens with the
LM and press the read key to save measured data.
4) Press any key of the PC.
5) The data is transmitted and the received data is displayed on the screen.

3 Line 3000 to 3310: When the PC controls all the operations of the LM:
For making the PC control the entire processes: Measurement o Storage o Transmission
of measured data o Clearing of measured data
< Procedure >
1) Enter the sample program. Connect the PC to the LM with the continuation cable in
advance.
2) Type “RUN 3000” and press the Enter key to execute the program.
3) As the “Let's Measure !!” message is displayed on the screen, measure a lens with the
LM.
It is unnecessary to press the read key.

4) Press any key of the PC.


5) The data is transmitted and the received data is displayed on the screen.
6) After the transmission of data, the measured data in the LM is cleared.

Note 1) Lines 1100, 2110, and 3130 in the sample program have a command to open the RS-
232C port and to enable DTR (ON). In addition, lines 1210, 2180 and 3230 have a com-
mand to disable the RS-232C port and to disable DTR.
To enable DTR (ON) only, write as line 1140; to disable DTR (OFF) only, write as line 1110.
To check DSR, write as lines 1130, 2120, and 3140.
The address/data of the INP/OUT commands is for PC-9800 series. For the IBM (DOS/V)
compatibles, write as:
DTR ON: OUT &H3FC,&HB
DTR OFF: OUT &H3FC,&HA
CHECK: (INP(&H3FE) AND &H20)=&H0, DTR=OFF

Note 2) Lines 1280, 2250, 3160 and 3300 in the sample program are for allowing for time before
the next line is executed. The time varies according to the execution speed of the PC.
Understand the role of each line and change the number of “?” in “FOR I=1 TO ?????” as
necessary.
Line 1280 and Line 2250:Pause for the repeated execution of the program until DTR is disabled
(OFF) on the LM and communications are completed. 0.2 seconds or
more
Line 3160: Pause until the LM receives “RD command” and saves measured data.
0.1 seconds or more

60
COMMUNICATION PROCEDURE (other than NCP20)Example of Communication Program

Line 3300: Pause until the LM receives “CL command”, clears measured data and
completes the next measurement. 0.5 to 1 second or more
Reference) If the Com mode parameter is set to “PC” on the LM, the control/check process of
DTR becomes unnecessary; delete lines 1110, 1130, 1140, 2120, and 3140 in the
sample program.


 
 +PRWV&CVCHTQO./22&8 
 D[0+&'-
 


 5#8'45%$#5#

  3
 4'#&59 ./  ':214659 ./  45 ./  5& %1/2  &#6# ./
 
%.'#4
%*+.& 59+6%*45%=?  UGVDKVUGE
&+/./ 
45%*4  %  %*4  45 %*4  %*4   45EQOOCPF
5&%*4  %./ %*4  5& %*4  %*4    5&EQOOCPF
(14+61./ + 0':6+ DWHHGTENGCT

12'0%1/100#5 45%&64QP
176** &64QHH
24+0624+06 .GV U/GCUWTG CPF./ U24+06UYQP  
+( +02 * #0&* *6*'0 EJGEM&54QP
176** &64QP
+0276%+(% 456*'0 KPRWV45EQOOCPF
24+065& QWVRWV5&EQOOCPF
(14+61
+0276./ +  KPRWV&#6#
+(./ + %*4  6*'0 EJGEM '16 *
0':6+
%.15' 45%&64QHH

$''2
(14+61
+(./ + %*4  6*'0
24+06./ +  FKUR&#6#
0':6+
(14+610':6+ YCKV
)161



 
 4'#&59 ./  5& %1/2  &#6# ./
 
%.'#4
%*+.& 59+6%*45%=?  UGVDKVUGE
&+/./ 
5&%*4  %./ %*4  5& %*4  %*4   5&EQOOCPF

61
COMMUNICATION PROCEDURE (other than NCP20)Example of Communication Program

(14+61./ + 0':6+ DWHHGTENGCT



24+0624+06 .GV U/GCUWTG CPF2% UCP[MG[QP  
-+0-';+(-6*'0
12'0%1/100#5 45%&64QP
+( +02 * #0&* *6*'0 EJGEM&54QP
24+065& QWVRWV5&EQOOCPF
(14+61
+0276./ +  KPRWV&#6#
+(./ + %*4  6*'0 EJGEM '16 *
0':6+
%.15' 45%&64QHH

$''2
(14+61
+(./ + %*4  6*'0
24+06./ +  FKUR&#6#
0':6+
(14+610':6+ YCKV
)161


 
 4& %1/2  5& %1/2  &#6# ./  %. %1/2
 
%.'#4
%*+.& 59+6%*45%=?  UGVDKVUGE
&+/./ 
4&%*4  %./ %*4  4& %*4  %*4   4&EQOOCPF
5&%*4  %./ %*4  5& %*4  %*4   5&EQOOCPF
%.%*4  %./ %*4  %. %*4  %*4   %.EQOOCPF
(14+61./ + 0':6+ DWHHGTENGCT

24+0624+06 .GV U/GCUWTG CPF2% UCP[MG[QP  
-+0-';+(-6*'0
12'0%1/100#5 45%&64QP
+( +02 * #0&* *6*'0 EJGEM&54QP
24+064& QWVRWV4&EQOOCPF
(14+610':6+ YCKV
24+065& QWVRWV5&EQOOCPF
(14+61
+0276./ +  KPRWV&#6#
+(./ + %*4  6*'0 EJGEM '16 *
0':6+
24+06%. QWVRWV%.EQOOCPF
%.15' 45%&64QHH

$''2
(14+61
+(./ + %*4  6*'0
24+06./ +  FKUR&#6#
0':6+
(14+610':6+ YCKV
)161

62
COMMUNICATION PROCEDURE (other than NCP20)Flowchart

3.5 Flowchart

< LM-1800P/1800PD > < PC > Explanation


Numbers in parentheses are line Nos. in
the sample program.
START

INITIALIZE (1000) Initialization

OPEN (1100) Opening the RS-232C port

EXPORT SW : ON DTR = LOW (1110) Disabling DTR that was enabled by 'OPEN' 3

OFF The LM enables DTR (ON) and waits for the


DSR = ON CHECK DSR (1130)
start of communication.
ON
OFF The PC enables DTR (ON) and starts com-
CHECK DSR DTR : ON (1140)
munication.
ON

NO Waiting for the RS comment to be sent


OUTPUT RS COM. ? (1150)
RS COMMAND
YES

NO OUTPUT Transmission of the SD command


SD COM. ? (1160)
SD COMMAND
YES

OUTPUT DATA INPUT DATA (1180) Reception of DATA from the LM

NO
OUTPUT ‘EOT’ ‘EOT’ ? (1190) End of data at the reception of 'EOT'

YES

DTR : LOW DTR = OFF (1210) DTR (OFF) is disabled by 'CLOSE'.

DISPLAY DATA (1260) Displaying received DATA


END

END (1290) The process is repeated by the program.

63
COMMUNICATION PROCEDURE (other than NCP20)Flowchart

< LM-1800P/1800PD > < PC > Explanation


Numbers in parentheses are line Nos. in
the sample program.
START

INITIALIZE (2000) Initialization

OFF
CHECK DSR OPEN (2110) Opening the RS-232C port. DTR is left en-
abled (ON) because communication is
ON started immediately.
OFF The LM enables DTR (ON) and waits for the
DSR = ON CHECK DSR (2120)
start of communication.
ON

NO OUTPUT Transmission of the SD command


SD COM. ? (2130)
SD COMMAND

YES

OUTPUT DATA INPUT DATA (2150) Reception of DATA from the LM

NO
OUTPUT ‘EOT’ ‘EOT’ ? (2160) End of data at the reception of 'EOT'

YES

DTR = OFF DTR = OFF (2180) DTR is disabled (OFF) by 'CLOSE'.

DISPLAY DATA (2230) Displaying received DATA

END (2260) The process is repeated by the program.

64
COMMUNICATION PROCEDURE (other than NCP20)Flowchart

< LM-1800P/1800PD > < PC > Explanation


Numbers in parentheses are line Nos. in
the sample program.
START

INITIALIZE (3000) Initialization

OFF Opening the RS-232C port. DTR is left en-


CHECK DSR OPEN (3130)
abled (ON) because communication is
ON started immediately.
NO The LM enables DTR (ON) and waits until
DSR = ON CHECK DSR (3140)
the communication is ready.
YES

NO OUTPUT Transmission of the RD command


3
RD COM. ? (3150)
RD COMMAND
YES
READ PROCESS WAIT 0.1sec (3160) The PC waits for about 0.1 seconds until
the LM handles the RD command.

NO OUTPUT (3170) Transmission of the SD command


SD COM. ? SD COMMAND

YES

OUTPUT DATA INPUT DATA (3190) Reception of DATA from the LM

NO
OUTPUT ‘EOT’ ‘EOT’ ? (3200) End of data at the reception of 'EOT'

YES

OUTPUT (3220) Transmission of the CL command


NO
CL COM. ? CL COMMAND

YES
CLEAR PROCESS DTR = OFF (3230) DTR is disabled (OFF) by 'CLOSE'.

DISPLAY DATA (3280) Displaying received DATA

DTR = OFF
WAIT 0.5sec (3300) Wait for 0.5 to 1 second or more until the
next measurement

END (3310) The process is repeated by the program.

65
COMMUNICATION PROCEDURE (other than NCP20)Flowchart

66
4. METHOD OF RS-232C
COMMUNICATION (NCP20)
Nidek communication protocol "NCP20" performs establishment of the communication and multi block
data communication by command handshake without control line (DTR/DSR).

4.1 Block Format

Basic format

Number
SOH Source Destination Message Check EOT
Command of unsent Message
(0X01) port No. port No. length sum (0x04)
blocks
1 byte 2 bytes 2 bytes 2 bytes 2 bytes 2 bytes X bytes 2 bytes 1 byte
4
* The blocks composed of 2 bytes such as commands are sent from upper bytes.
[SOH/EOT]
SOH (0x01) indicates first cord and EOT (0x04) indicates end cord of the block. Each is
always added to the start or end of the blocks.
[Command cord]
The definition of the command cord is as shown in the table below.

Command Cord (Hex) Contents

Request to Receive 0x0001 Request to send data


Request to Send 0x0002 Request to accept data sending

Accept to Receive 0x0003 Accept to request for data sending


Accept to Send 0x0004 Accept to send data

Accept 0x0005 Response in acceptance and normal data reception

Data 0x0006 Data sending

Response in occurrence of abnormal command,


Error 0x0007
checksum error
Abort 0x0008 Abort of communication

[Source port No.]


When request conflict occurs in one-to-one serial communication, these port numbers are
compared and the port with large number is preceded.
The numbers can be changed. (0 to 255)
[Destination port No.]
This is set when the destination port No. is necessary for specific network configuration. (0
to 255)

67
METHOD OF RS-232C COMMUNICATION (NCP20)Block Format

[Number of unsent blocks]


To send data as multi block, blocks (2 bytes) other than the present data are sent.
When single data is sent, the command cord is 0x0000. Only single data is used for the lens
meter.
[Message length]
Indicates the message and block length (2 bytes) of the present block.
[Message]
Indicates the data described in “2.3 Data Format” (page 11).
[Checksum]
The data from SOH to message is added and lower two bytes of the result is treated as
checksum.

68
METHOD OF RS-232C COMMUNICATION (NCP20)Normal Sequence

4.2 Normal Sequence

{ When equipment A sends data to B by request from 'SWKROGPV# 'SWKROGPV$


equipment A
Requ
est to
1) Equipment A requests B to accept data sending Send
(Request to Send).
2) Equipment B sends “Accept to Send” to A to end
p t to S
accept data sending. Acce
3) Equipment A sends 1 block of data to B.
Data
4) Equipment B sends “Accept” to A to inform the
receiving of 1 block of data.
5) Repeat the steps from (3) to (4) until all the data is
pt
sent. Acce

4
Data

pt
Acce
{ When equipment A sends data to B by request from 'SWKROGPV# 'SWKROGPV$
equipment B
ive
Rece
1) Equipment B requests A to send data (Request to st to
R eque
Receive).
Acce
2) Equipment A sends “Accept to Receive“ to B to pt to
Rece
ive
send data.
3) Subsequent steps are same as sequence above Requ
est to
Send
from (1) to (5).

Send
pt to
Acce

Data

pt
Acce

Data

pt
Acce

69
METHOD OF RS-232C COMMUNICATION (NCP20)Error Sequence

4.3 Error Sequence

Error or Abort can be sent instead of Accept in response to Request or Data.


Error is sent to request data resending when the contents of Request or Data are not correct or
checksum error occurs. Abort is sent to forcibly abort the communication sequence.
Set the time-out period for following 4 types of T.O. error.

(1) Time-out for response to request Request response T.O.

Time-out for response to the first request (data sending or receiving request). Set the time-
out period short considering that there are no opponent instruments.
T.O. range: 0.1 to 10 seconds (Initial setting: 2 seconds)

(2) Time-out for receiving data Receive T.O.

Set the time-out period for receiving all the data or character (in the case of serial communi-
cation).
T.O. range: 1 to 100 seconds (Initial setting: 10 seconds)

(3) Time-out for response Response T.O.

Set the time-out period for response in the case other than (1)
T.O. range: 0.1 to 10 seconds (Initial setting: 2 seconds)

(4) Time-out for receiving “Request to send” after reception of “Accept to Receive” Re-
request receive T.O.
T.O. range: 0.1 to 10 seconds (Initial setting: 2 seconds)

When an error occurs, perform the retry for times set in the application. If the error still ocuurs, forcibly
shut down the communication.
Number of retry: 0 to 5 (Initial setting: 3 times)

70
METHOD OF RS-232C COMMUNICATION (NCP20)Error Sequence

{ When equipment A sends data to B by request from equipment A

Equipment A Equipment B

Requ
est to
Send

㩿㪈㪀 Send
T.O.
c c e pt to
A rt
/ Abo
Error Error

Data 㩿㪉㪀 T.O.

㩿㪊㪀 pt
T.O. Acce
rt
/ Abo
Error Error

Data 㩿㪉㪀 T.O.


4

T.O. 㩿㪊㪀 pt
Acce
rt
/ Abo Abort
Error Error
䇮㩷
always aborts
the communication

71
METHOD OF RS-232C COMMUNICATION (NCP20)Error Sequence

{ When equipment A sends data to B by request from equipment B

Equipment A Equipment B

ive
t to Rece
Re ques

Acce
pt to 㩿㪈㪀 T.O.
Rece
Error ive
/ Abo
rt Error
Requ
est to 㩿㪋㪀 T.O.
Send

'SWKROGPV# 'SWKROGPV$
㩿㪈㪀 Send
T.O.
c c e pt to
A rt
/ Abo
Error Error

Data 㩿㪉㪀 T.O.

pt
T.O. 㩿㪊㪀 Acce
t
Abor
Error E rror /

Data 㩿㪉㪀 T.O.

㩿㪊㪀 pt
T.O. Acce
t
Abor Abort
Error E rror /
always aborts
the communication.

72
5. INSTALATION OF USB DRIVER

Have the optional USB cable (31020-0100, provided with the USB driver) handy.
The procedure varies depending on the operating system of the PC.

• The pre-installed standard Windows USB driver (usbser.sys or serenum.sys) is used. This
driver provides virtual COM port. After the installation, the USB Serial Ports Driver (COM*)
wil be added to the port of the device manager. Even when the OS is compatible, if the
standard USB driver is uninstalled, the USB drive may not be functional.
If necessary restore the standard USB driver to the PC before performing “Instalation of the USB
driver”.
The distributed media does not include the standard USB driver. Contact your PC customer ser-
vice for the restoration process of the USB driver.

5.1 Installation Procedure (Windows 7)

Follow the procedure below for PC running Windows 7.


* Log in as an administrator. Some procedures might not be displayed due to security
5
setting.

1 Connect the LM-1800P/LM-1800PD and PC with the USB cable.

2 Turn on the LM-1800P/LM-1800PD.


The operating system recognizes unknown devices.

3 Open the Property in My PC.


Right-click "PC" on the start menu, then select "Property".

4 Open the Device Manager.


The new dialog box appears.

73
INSTALATION OF USB DRIVERInstallation Procedure (Windows 7)

5 Double click on the added Unknown


device.
The new dialog box appears.

6 Click the "Update Driver" button.


The new dialog box appears.

7 Click the "Browse my PC for driver soft-


ware".
The new dialog box appears.

74
INSTALATION OF USB DRIVERInstallation Procedure (Windows 7)

8 Click the "Browse" button.


The Browse for the Folder dialog box
appears.

9 Designate the location of the "comclass.inf" file and click the "OK” button.
Normally, designate the E002 folder in the distributed media.
The Browse for the Folder dialog box closes.

75
INSTALATION OF USB DRIVERInstallation Procedure (Windows 7)

10 Click the "Next" button.


The "Windows Security" dialog box appears.

11 Click the "Install this driver software anyway".


The Update Driver Software dialog box
appears.

12 Click the "Close" button.

13 Turn off the LM-1800P/LM-1800PD.


The installation of the USB driver has been completed.

76
INSTALATION OF USB DRIVERInstallation Procedure (Windows Vista)

5.2 Installation Procedure (Windows Vista)

Follow the procedure below for PC running Windows Vista.


*Use SP1 or later.
* Log in as an administrator. Some procedures might not be displayed due to security
setting.

1 Connect the LM-1800P/LM-1800PD and PC with the USB cable.

2 Turn on the LM-1800P/LM-1800PD.


The operating system recognizes unknown devices. The “Found New Hardware” dialog box
appears.

3 Click the "Locate and install driver soft-


ware (recomemended)".
The “User Account Control” dialog box
appears.

4 Click the "Continue" button.


The new dialog box appears.

77
INSTALATION OF USB DRIVERInstallation Procedure (Windows Vista)

5 Click "Don't search online".


The new dialog box appears.

6 Click "Browse my PC for driver software


(advance)".
The new dialog box appears.

7 Click "Browse" button.


The Browse for the Folder dialog box
appears.

8 Designate the location of the "comclass.inf" file and click the “OK” button.
Normally, designate the E002 folder in the distributed media.
The Browse for the Folder dialog box closes.

9 Click the "Next" button.


The "Windows Security" dialog box appears.

78
INSTALATION OF USB DRIVERInstallation Procedure (Windows Vista)

10 Click the "Install this driver software anyway".


The Found New Hardware dialog box
appears.

11 Click the "Close" button.

12 Turn off the LM-1800P/LM-1800PD.


The installation of the USB driver has been completed.

79
INSTALATION OF USB DRIVERInstallation Procedure (Windows XP)

5.3 Installation Procedure (Windows XP)

Follow the procedure below for PC running Windows XP.


* Use SP2 or later.
* Log in as an administrator.

1 Connect the LM-1800P/LM-1800PD and PC with the USB cable.

2 Turn on the LM-1800P/LM-1800PD.


The plug & play operating system recognizes the USB Device.
The “Welcome to the Found New Hardware Wizard” dialog box appears.

3 Select "Install from a list or specific loca-


tion (Advanced)" and click the "Next >"
button.
The “Please choose your search and
installation options” dialog box appears.

4 Select the “Search for the best driver in


these locations”, click the “Include this
location in the search” check box, and
then click the “Browse” button.
The Browse for Folder dialog box
appears.

80
INSTALATION OF USB DRIVERInstallation Procedure (Windows XP)

5 Designate the location of the "comclass.inf" file and click the “OK” button.
Normally, designate the E002 folder in the distributed media.
The Browse for Folder dialog box closes.

6 Click the "Next" button.


The “Hardware Installation” dialog box appears.

7 Click the "Continue Anyway" button.


The “Completing the Found New Hard-
ware Wizard” dialog box appears.

8 Click the "Finish" button.


5

9 After performing "Safely Remove Hardware", remove the USB cable.

10 Turn off the LM-1800P/LM-1800PD


The installation of the USB driver has been completed.

81
INSTALATION OF USB DRIVERInstallation Procedure (Windows XP)

82
6. LAN COMMUNICATION

6.1 Outline of LAN Communication

6.1.1 Outline of communication function


The LM-1800P/LM-1800PD creates XML (measurement results and information) files of the mea-
surement data to be used in electronic filing systems for ophthalmology, and it comes equipped
with the LAN interface that outputs those created files to shared folders in external PCs using
CIFS (Common Internet File System). This section explains the method of receiving measure-
ment data from the LM-1800P/LM-1800PD using this LAN interface.

{Basic communication specifications

1 Basic specifications CIFS


2 Connector RJ-45
3 Standard 10/100Base-TX
4 Cable Straight
5 Compatible OS Windows XP, Vista, 7

6.1.2 Cable connection 6


Connect the LAN cable to the LAN connector on the bottom of the device.
Connect the other end of the LAN cable to the hub to which the receiver PC is connected.

CAUTION • Be sure to connect to the PC via a network hub.


Do not connect to the PC directly. Connection failure may occur.

Network hub (HUB)

LAN cable

LM-1800P/LM-1800PD
Receiver PC

83
LAN COMMUNICATIONOutline of LAN Communication

6.1.3 Connecting barcode scanner/ magnetic card reader


Turn off the main body and then connect the barcode Scanner or magnetic card reader to the
USB-A connector on the bottom of the device.

CAUTION • Do not connect or disconnect cables while the main body power is on.
An error may result.

Available barcode scanner/ magnetic card reader

Barcode scanner
NAV-3 (NAVIS-CL)
USB barcode scanner (OPL-5850-USB, ROLAN)
19701-E006
NAV-2 (NAVIS-HP)
USB barcode scanner (USBee-1000, WELCOM DESIGN)
36120-E122

Magnetic card reader


US10OP-1 (Option for US-4000) Magnetic stripe card reader (MS240-2U MSR track I, II, UNITEK
14631-E001 JAPAN)

Magnetic card reader (19701-E003: PDC-816-050-U5) set for NAVIS-CL and magnetic card
reader (36120-E121: FT-900U-1R-0101) set for NAVIS-HP cannot be used. Connecting
them is possible. However, they are enabled because ID cannot be read.
Use the magnetic card reader shown in the table above when connection is not via DAN
(connect directly to the device).

{ Setting the barcode scanner / magnetic card reader


Change the USB parameter to "Host".

Changing the read position using the barcode scanner/ magnetic card reader
ID used for display or data transmission on the
device consists of up to 16-digit characters dis-
played on the READER screen (set by the “Read
length of reader” parameter). For magnetic card
readers that have more data capacity, change
the ID read start position with the “Read begin-
ning of reader” parameter.

Changing the read length using the barcode scanner/magnetic card reader
The read length can be changed by the “Read length of reader” parameter. When also read-
ing characters other than ID, change this parameter together with the change of the read
position above.

84
LAN COMMUNICATIONSystem Diagram Example

6.2 System Diagram Example

The diagram shown below illustrates the connection of an actual system.


The system diagram below is only an example. It may be changed significantly depending on the con-
nection network scale. To confirm the system diagram, contact the network administrator of the facility.

Hub Hub
Server

IP ADDRESS: 10.50.XXX.YYY
SUBNET MASK: 255.255.255.0

Clinic Slit lamp


IP ADDRESS: 10.50.XXX.YYY
SUBNET MASK: 255.255.255.0

Examination room
Hub IP ADDRESS: 10.50.XXX.YYY
Hub
SUBNET MASK: 255.255.0.0

6
Connected devices
Receiver PC ARK-530A / NT-530 LM-1800PD Other examination room,
operating room, or such
IP ADDRESS: 10.50.XXX.YYY IP ADDRESS: 10.50.XXX.YYY
SUBNET MASK: 255.255.255.0 SUBNET MASK: 255.255.255.0
䋪 XXX, YYY : 0 to 255
(Set by the facility administrator to avoid repeated IP address in the network.)

85
LAN COMMUNICATIONConfirmation and Setting of Receiver PC

6.3 Confirmation and Setting of Receiver PC

6.3.1 Reception structure of measured data


Measured data transmitted from the LM-1800P/LM-1800PD is captured by the receiver PC as
shown in the illustration below.

Receiver PC

Filing software
Transmission of measured
data from the device via LAN
Database

Shared folder

XM L Extraction and storage of


measured data
Measured data

Measured data transmitted via LAN are written in the shared folder set in the receiver PC. Then,
measured data is extracted by filing software such as NAVIS, and saved in the database.

6.3.2 Setting the shared folder


Set up a shared folder to save measured data transmitted from the LM-1800P/LM-1800PD.

• Do not set measured data to be saved in an external storage such as an external hard disk.
• Be sure no shared folders have the same name.
The device cannot discern the folder and measured data cannot be transmitted properly.
ex.) “C:\TEMP\DATA” and “C:\ProgramFiles\DATA”: Folder name “DATA” is common.
Change the name of either folder to “C:\TEMP\ARK” to avoid repeated file names.
* This is only when set as a shared folder.

The shared folder (folder path) specified here is set in the parameter of the device and software
(such as NAVIS) of the receiver PC.

86
LAN COMMUNICATIONConfirmation and Setting of Receiver PC

ex.) Setting a shared folder (folder name: LM) to the desktop of the receiver PC
1) Newly create a folder on desktop and name the folder with “LM”.
2) Open the “LM Properties” dialog box of the
LM folder and select “Share this folder” in the
Sharing tab.
* The illustration to the right is an example from
Windows XP.

3) Click the Permissions button to display the


“Permissions for LM” dialog box and then
check the Allow box for Full Control in “Per-
missions for Everyone”.
4) Click the OK button to return to the “LM Prop-
erties” dialog box.

5) In the Security tab, check the Allow box for


Full Control in “Permissions for Administra-
tors”.

6) Click the OK button to return to the desktop.

87
LAN COMMUNICATIONConfirmation and Setting of Receiver PC

6.3.3 Confirming items necessary for other settings


Confirm the following settings necessary for device connection.
(If necessary, confirm to the network administrator.)
• Login user name of the receiver PC
• Login password of the receiver PC
• Domain name of the receiver PC (domain name of the connected network)
(If no domain exists, confirm the work group name.)
• PC name of the receiver PC (or IP address of the receiver PC)

(Confirm the PC name and domain using System Properties of the PC.)
• Shared folder name (see “6.3.2 Setting the shared folder” (page 86) for setting.)
• IP address of the device (issued by the network administrator)
• Subnet mask of the device (issued by the network administrator)

Display position
PC name
Domain or work group

The above is an example from Windows XP.

ex.) Confirmation of each setting

Login user name GUEST


Login password NIDEK
Domain name WORKGROUP
PC name NAVIS
Shared folder name LM
IP address of the device 192. 185. 0. 90
Subnet mask of the device 255. 255. 255. 0

88
LAN COMMUNICATIONConfirmation and Setting of Receiver PC

6.3.4 Setting the device transmission


Set the network parameters of the device based on the information of “6.3.3 Confirming items
necessary for other settings” (page 88).

1 Turn on the device and enter the parameter setting


screen.

2 Set the Network parameter to On or Sending only. When ON is selected, the system may become
unstable caused by the data received from outside the system. When the confirmation of DHCP,
IP address or other parameters are not required , set the Network parameter to Sending only.

3 Set the DHCP parameter to Off.


For cases where an IP address is automatically assigned, use the DHCP parameter (select
YES). When an IP address is issued, select Off.

4 Select the IP address parameter to change the settings.


After selecting the numeric item, the Numeric keypad is displayed. Input a numeric value
and press the return button .
6

5 Select a numeric value on Subnet mask to change the settings.


Set the Subnet mask in the same manner as IP address parameter.

6 Select the User name parameter.


1) When the User name parameter is selected, Full view field
the character input screen is displayed.
2) Press the select button of alphanumeric char-
acter that is to be changed or added. ([ABC]
for upper case letters / [abc] for lower case
letters / [12_] for numbers)
When [12_] is selected, the [INS] (Insert) button
and [CLR] (Delete) button are displayed.

3) Select and press the alphanumeric button to


input. Input letter is displayed at the top of the
screen and the input position automatically
moves one position to the right.
4) Input all letters by repeating steps 2) and 3).

89
LAN COMMUNICATIONConfirmation and Setting of Receiver PC

Black-underlined "_" characters in the full view field at the top of the screen are valid. Delete unnec-
essary numeric values with the [CLR] (delete) button. Displaying only "_" (underbar) in the full view
field indicates that the space is input.

5) Press the return button .


6) When the confirmation screen for data saving is displayed, press the [SAVE] button to
return to the parameter screen.
When the [CANCEL] button is pressed, the input data is disabled and return to the parameter
screen.

7 Select the Password parameter and set the login password in the same manner as step 7 based
on the information of “6.3.3 Confirming items necessary for other settings” (page 88).
* Entry is case sensitive. Input the password correctly for case sensitivity.

8 Select the Domain parameter and set the domain name in the same manner as steps 11 to 16
based on the information of “6.3.3 Confirming items necessary for other settings” (page 88).
* If it does not exist, set the work group name. (e.g. “WORKGROUP”)

9 Select the PC name parameter and set the connected PC name in the same manner as step 7
based on the information of “6.3.3 Confirming items necessary for other settings” (page 88).
Example: NAVIS

10 Select the Folder parameter and set the shared folder of the PC to which measured data is trans-
mitted in the same manner as step 7 based on the information of “6.3.3 Confirming items neces-
sary for other settings” (page 88). When transmitting the data to the subfolder of the shared
folder, put a slash (/) between the share folder name and subfolder name as in “shared folder
name” / “subfolder name”.
Example 1: LM o Saved in the shared folder “LM”.
Example 2: LM/DATA o Saved in the subfolder “DATA” of the shared folder “LM”.
Example 3: LM/DATA/A o Saved in the subfolder “A” of the subfolder “DATA” of the shared
folder “LM”.

11 Select the Network timeout parameter and set the timout time after which the file saved in the
shared folder is removed.
Pressing "On" displays the numeric keypad. Input a numeric value and press the return but-
ton . Set between 1 to 60 seconds.
When the receiver is specified not to delete the file, set it to "Off".

12 After all NETWORK parameters are set,press the return button to exit from the PARAME-
TER SETTING screen.
* Confirm that the PARAMETER SETTING screen is completely exited and the normal mea-
surement screen is displayed.
* Unless the PARAMETER SETTING screen is exited or network checking is performed,
network settings are not saved.

13 After turning off the device, turn it on again to reboot.

90
LAN COMMUNICATIONConfirmation and Setting of Receiver PC

6.3.5 Testing the device network setting


After completing up to step 13 of “6.3.4 Setting the device transmission” (page 89) in the previous
section and rebooting, enter the PARAMETER SETTING screen.

Press the Network Test button for one second or


more. The screen display becomes darker while
testing.

Network test button

The following message appears on the screen indicating that the test was normally complete.

The message “Network test is complete normally” appears on the display


Network test was successful
indicating the test result was normal.
The error message appears on the screen indicating the test result was ab-
normal.
Network test was failed Including the shared folder setting of the receiver PC, the above setting may
not be correct. Confirm the parameter settings again and set them correctly.

6
See the following table for the error message contents.

Message Description

No response from DHCP server.


DHCP error Confirm the DHCP server or manually set the IP address and
subnet mask.
The shared folder on PC cannot be found.
Shared file error
Confirm shared folder name is corresponded.
Network cannot be connected.
Network access error Confirm the settings of Network cable connection, IP address
and subnet mask.

File cannot be saved in shared folder.


File save error Confirm the shared folder is not write-protected.

Network configuration error Domain and username are incorrect.


Connection limit error The connection number of the shared folder is exceeded.

The password is incorrect.


Password error
Confirm username is correct. Retype the password.
Disk full There is no disk space.

91
LAN COMMUNICATIONConfirmation and Setting of Receiver PC

Message Description
Network test completed successfully LAN connection is correctly performed.

When LAN connection test is complete successfully, the device network setting is finished.

See the following table for the error messages regarding network communication that is displayed
while the device is in use.
Message Description
Network communication failed. For details, perform network
Network error
communication check.

Files were not deleted from the shared folder within the
Network timeout error
specified time.

92
LAN COMMUNICATIONData Format

6.4 Data Format

6.4.1 Folder configuration


Transmitted data is saved either in the shared folder, or its subfolder.
If data has not been captured in the receiver software, check whether data is written in any folder
below including device error code.
Even when the transmitted measured data is captured properly, the data cannot be checked
if it is erased by the receiver software.

Shared folder

LM Subfolder Subfolder Measured data


(XML file)
Subfolder

Measured data
(XML file)

6.4.2 Output file of measured data 6


The normal output file is one kind of the measured data.
One measurement for one file
Measured data
All data is outputted to one XML file.

When there is no NIDEK_LM_Stylesheet.xsl file in the LM folder, the stylesheet file is also output-
ted. When there is an existing NIDEK_LM_Stylesheet.xsl file, the stylesheet file is not outputted.

{ File name
File names of measured data transmitted from the device to the receiver PC are as follows:
ID characters that cannot be used for file names are all converted to tilde (a).

Measured Data (XML file)

Delimiter (underbar)

LM ABCDEFGHIJKLMNOP 20110309103057 012345 . xml

16 characters maximum XML extensions


Header 2 characters fixed Date and time 14 characters fixed MAC address 3 (3 characters fixed)
LM (YYYYMMDDHHMMSS) lower-order bytes
(6 characters)

93
LAN COMMUNICATIONData Format

6.4.3 Response to data acquisition


There are two device modes. One is to write data to the shared folder and the other is to confirm
data reception.
Data acquisition is checked by the device monitoring that the XML file of measurement data is no
longer present. On the receiving end, after a data file is produced, the existing data is read out
and deleted or renamed.
The device indicates an error if the XML file remains present after 5 seconds of file writing (The
duration of the time error can be set between 1 to 60 seconds in the parameter setting.)

6.4.4 XML file configuration


Tags for data which have not been measured are not output. For example, when only the right
eye is measured, there are no left-eye tags.
Regardless of the print format and communication format of the parameter, all output-enabled
data are output.
Common Data Company name, Model name
Version, date and time, or such
No., ID
Measurement conditions
LM Data Spherical power (D)
Cylindrical power (D)
Cylinder axis (° )
Spherical equivalent (D)
Additional power (D)
Second additional power (D)
S data
Near spherical power (D)
(Single measurement value)
Spherical power for second near portion (D)
Prism diopter (')
Prism base angle (° )
Horizonal prism diopter (')
Vertical prism diopter (')
UV transmittance (%)
R data Same as for S data
(right eye measurement value)
L data Same as for S data
(Left eye measurement value)
PD Data Far pupillary distance
Right eye far pupillary distance
Left eye far pupillary distance
NIDEK Measurement Data Vertical drop (mm)
S data Channel width (mm)
(Single measurement value) Channel width position (mm)
Refractive index
R data Same as for S data
(Right eye measurement value)
L data Same as for S data
(Left eye measurement value)
Net prism Net horizonal prism diopter (')
Net vertical prism diopter (')
Inside amount Right eye near portion inside amount
Left eye near portion inside amount

94
LAN COMMUNICATIONData Format

6.4.5 Style sheet


XML files are supported by a style sheet. They cannot be displayed in Internet Explorer without
style sheet files (NIDEK_LM_Stylesheet.xsl) in the LM folder. (Use a text editor to check the con-
tents.)
When there is no NIDEK_LM_Stylesheet.xsl file in the LM folder, it is automatically produced
when measurement data is received. An existing NIDEK_LM_Stylesheet.xsl file is not overwritten.
Please note that when the style sheet is changed from the device, that style sheet does not
become the new style sheet unless the existing NIDEK_LM_Stylesheet.xsl file is manually
deleted.
Creating a unique style sheet in the LM folder allows data to be displayed in a format as desired.

LM data --- Stylesheet sample


Measurement conditions
Measure mode AutoProgressive
Diopter step 0.25D
Axis step 1°
Cylinder mode -
Prism diopter
0.25ٌ
step
Prism base step 1°
Prism mode xy
Add mode add

Right side
Prism Horizontal Vertical UV
Sphare Cylinder Axis SE ADD ADD2 NearSphare NearSphare2 Prism
base prism prism Transmittance
-2.00D -1.50D 143° D 1.75D D 0.00D D 2.25ٌ 77° in0.50ٌ up2.00ٌ 5%

Left side
Prism Horizontal Vertical UV
Sphare Cylinder Axis SE ADD ADD2 NearSphare NearSphare2 Prism
base prism prism Transmittance
-2.00D -1.50D 148° D 1.75D D -0.25D D 1.50ٌ 61° out0.75ٌ up1.25ٌ 5%

PD
Distance Distance
Distance
right left
70.5mm 35.5mm 35.0mm 6
NIDEK any data
Right side
Channel Channel
Length Index
width length
23mm 18mm 23mm

Left side
Channel Channel
Length Index
width length
22mm 15mm 20mm

Inside
Inside right Inside left
2.0mm 1.0mm

Common
Company NIDEK Patient No Operator No
LM- Patient ID pati Operator ID ope
Model name
1800PD Patient first name
Machine No Patient middle name
ROM Version 1.03 Patient last name
XML Version NIDEK_V1.00 Patient sex
2011-03- Patient age
Date
04 Patient DOB
Time 08:08:03 Patient NameJ1
Patient NameJ2

Display example of a style sheet

95
LAN COMMUNICATIONData Format

6.4.6 XML file sample


This is not a collection of actual measurement data rather it is simply a sample for explanation.

<?xml version="1.0" encoding="UTF-8"?> XML header


<?xml-stylesheet type="text/xsl" href="NIDEK_LM_Stylesheet.xsl" ?> Style sheet
<Ophthalmology> Ophthalmology data
<Common> Common tag
<Company>NIDEK</Company> Company name
<ModelName>LM-1800PD</ModelName> Model name
<MachineNo></MachineNo> Machine No.
<ROMVersion>1.03</ROMVersion> ROM version (Software/FPGA)
<Version>NIDEK_V1.00</Version> Format version (not software version)
<Date>2011-03-04</Date> Date (Year, Month, Day)
<Time>08:08:03</Time> Time (Hour, Minute, Second)
<Patient> Patient tag
<No.>0001</No.> RT ID, or print No.
<ID>pati</ID> Patient ID
<FirstName></FirstName> First name of patient
<MiddleName></MiddleName> Middle name of patient
<LastName></LastName> Last name of patient
<Sex></Sex> Patient sex
<Age></Age> Patient age
<DOB></DOB> Date of birth of patient
<NameJ1></NameJ1> Multilingual patient name
<NameJ2></NameJ2> Multilingual patient name
</Patient>
<Operator>
Operator tag
<No.></No.>
Operator No.
<ID>ope</ID>
Operator ID
</Operator>
</Common>
<Measure Type="LM"> Measure type tag
<MeasureMode>AutoProgressive</MeasureMode> Measure mode
<DiopterStep unit="D">0.25</DiopterStep> Diopter step
<AxisStep unit="deg">1</AxisStep> Cylinder axis angle step
<CylinderMode>-</CylinderMode> Cylinder mode
<PrismDiopterStep unit="pri">0.25</PrismDiopterStep> Prism diopter step
<PrismBaseStep unit="deg">1</PrismBaseStep> Prism base step
<PrismMode>xy</PrismMode> Prism mode
<AddMode>add</AddMode> Additional power mode

96
LAN COMMUNICATIONData Format

<LM> LM measurement data


<S> Single measurement value
<Sphare unit="D">-2.00</Sphare> Spherical power (D)
<Cylinder unit="D">-1.50</Cylinder> Cylindrical power (D)
<Axis unit="deg">143</Axis> Cylinder axis (° )
<SE unit="D"></SE> Spherical equivalent (D)
<ADD unit="D">1.75</ADD> Additional power(D)
<ADD2 unit="D"></ADD2> Second additional power (D)
<NearSphare unit="D">0.00</NearSphare> Near spherical power (D)
<NearSphare2 unit="D"></NearSphare2> Spherical power for second near portion (D)
<Prism unit="pri">2.25</Prism> Prism diopter (')
<PrismBase unit="deg">77</PrismBase> Prism base angle (° )
<PrismX unit="pri" base="in">0.50</PrismX> Horizonal prism diopter (')
<PrismY unit="pri" base="up">2.00</PrismY> Vertical prism diopter (')
<UVTransmittance unit="%">5</UVTransmittance> UV transmittance (%)
</S>
<R> Tag for right eye
<Sphare unit="D">-2.00</Sphare> Spherical power (D)
<Cylinder unit="D">-1.50</Cylinder> Cylindrical power (D)
<Axis unit="deg">143</Axis> Cylinder axis (° )
<SE unit="D"></SE> Spherical equivalent (D)
<ADD unit="D">1.75</ADD> Additional power (D)
<ADD2 unit="D"></ADD2> Second additional power (D)
<NearSphare unit="D">0.00</NearSphare> Near spherical power (D)
<NearSphare2 unit="D"></NearSphare2> Spherical power for second near portion (D)
<Prism unit="pri">2.25</Prism> Prism diopter (')
<PrismBase unit="deg">77</PrismBase> Prism base angle (° )
<PrismX unit="pri" base="in">0.50</PrismX> Horizonal prism diopter (') 6
<PrismY unit="pri" base="up">2.00</PrismY> Vertical prism diopter (')
<UVTransmittance unit="%">5</UVTransmittance> UV transmittance (%)
</R>
<L> Tag for left eye
<Sphare unit="D">-2.00</Sphare> Spherical power (D)
<Cylinder unit="D">-1.50</Cylinder> Cylindrical power (D)
<Axis unit="deg">148</Axis> Cylinder axis (° )
<SE unit="D"></SE> Spherical equivalent (D)
<ADD unit="D">1.75</ADD> Additional power (D)
<ADD2 unit="D"></ADD2> Second additional power (D)
<NearSphare unit="D">-0.25</NearSphare> Near spherical power (D)
<NearSphare2 unit="D"></NearSphare2> Spherical power for second near portion (D)
<Prism unit="pri">1.50</Prism> Prism diopter (')
<PrismBase unit="deg">61</PrismBase> Prism base angle (° )
<PrismX unit="pri" base="out">0.75</PrismX> Horizonal prism diopter (')
<PrismY unit="pri" base="up">1.25</PrismY> Vertical prism diopter (')
<UVTransmittance unit="%">5</UVTransmittance> UV transmittance (%)
</L>
</LM>

97
LAN COMMUNICATIONData Format

<PD> Pupillary distance tag


<Distance unit="mm">70.5</Distance> Far pupillary distance
<DistanceR unit="mm">35.5</DistanceR> Right eye far pupillary distance
<DistanceL unit="mm">35.0</DistanceL> Left eye far pupillary distance
</PD>
LM measurement data (Nidek inherent
<NIDEK>
optical tag)
<S> Single measurement value
<Length unit="mm">23</Length> Vertical drop (mm)
<ChannelWidth unit="mm">18</ChannelWidth> Channel width (mm)
<ChannelLength unit="mm">23</ChannelLength> Channel width position (mm)
<Index></Index> Refractive index
</S>
<R> Right eye measurement value
<Length unit="mm">23</Length> Vertical drop (mm)
<ChannelWidth unit="mm">18</ChannelWidth> Channel width (mm)
<ChannelLength unit="mm">23</ChannelLength> Channel width position (mm)
<Index></Index> Refractive index
</R>
<L> Light eye measurement value
<Length unit="mm">22</Length> Vertical drop (mm)
<ChannelWidth unit="mm">15</ChannelWidth> Channel width (mm)
<ChannelLength unit="mm">20</ChannelLength> Channel width position (mm)
<Index></Index> Refractive index
</L>
<NetPrism> Net prism
<NetHPrism unit="pri" base="in">3</NetHPrism> Net horizonal prism diopter (')
<NetVPrism unit="pri" base="out">2</NetVPrism> Net vertical prism diopter (')
</NetPrism>
<Inside> Inside amount
<InsideR unit="mm">2.0</InsideR> Right eye near portion inside amount
<InsideL unit="mm">1.0</InsideL> Left eye near portion inside amount
</Inside>
</NIDEK>
</Measure>
</Ophthalmology>

98

You might also like