LM500

Download as pdf or txt
Download as pdf or txt
You are on page 1of 88

AUTO LENSMETER

LM-500/600/600P/600PD
INTERFACE MANUAL

December 2010
Pages in total: 88
MLM22*RTZ001D/E
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. . . . . . . . . . . . . . . . . . . . 3
1.1 Outline of Communication Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
1.1.1 Basic interface specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
1.1.2 Installation of the USB driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
1.1.3 Cable connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7

2. DATA FORMAT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.1 Communication Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
2.1.1 Command Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
2.2 Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12
2.2.1 Basic format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12
2.2.2 Format of each data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14
2.3 Error Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
2.4 Example of Data Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20

3. COMMUNICATION PROCEDURE (other than NCP20) . 41


3.1 Outline. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .41
3.2 Communication Control Signals (DTR Output to DSR Input) . . . . . . . . . . . . . .42
3.3 Actual Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .45
3.3.1 The LM requests the computer to receive measured data. . . . . . . . . . . . . . . . . . .46
3.3.2 The computer requests the LM to send measured data. . . . . . . . . . . . . . . . . . . . .47
3.3.3 The computer controls all the operations of the LM.. . . . . . . . . . . . . . . . . . . . . . . .48
3.4 Example of Communication Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49
3.4.1 Communication Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49
3.5 Flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53

4. COMMUNICATION PROCEDURE (NCP20). . . . . . . . . . . 57


4.1 Block Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57
4.2 Normal sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59
4.3 Error sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60

5. INSTALLATION OF USB DRIVER . . . . . . . . . . . . . . . . . . 63


5.1 Installation Procedure (Windows 7) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63
5.2 Installation Procedure (Windows Vista) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .68
5.3 Installation Procedure (Windows XP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .73

1
:

5.4 Installation Procedure (Windows 2000) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77


5.5 Installation Procedure (Windows 98) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
5.6 Installation Procedure (Windows ME) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84

2
1. OUTLINE OF COMMUNICATION

1.1 Outline of Communication Function


1

The LM-500/600/600P/600PD comes standard with an RS-232C interface and USB interface that
enables transmission of measured data to an external computer. This manual explains the method of
receiving the measured data from the LM-500/600/600P/600PD through the RS-232C/USB interface.

The following sections describe the specifications for the interface for communication between the
LM-500/600/600P/600PD and an external device such as a personal computer.

1.1.1 Basic interface specifications

• In the LM-600/600P/600PD, be sure to set the Auto prt. S and Auto prt. R/L parameters to
Off before communication.
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

Com mode (LM-500) Off, NIDEK, PC, NCP10, NCP20


4
Com mode (LM-600/600P/600PD) 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-500
operator’s manual and LM-600/600P/600PD operator’s manual.

3
OUTLINE OF COMMUNICATION: Outline of Communication Function

If Parameter 4 Com mode is set to NIDEK, Parameter 5 Baud rate to Parameter 8 Stop bits
are automatically set for connection with NIDEK devices; once the parameters are set auto-
matically, the settings are unchangeable.
If Parameter 4 Com mode is set to NCP20, Parameter 7 Data bits is automatically set to 8bit;
once the parameter is set automatically, the settings are unchangeable.
The settings of Parameter 5 Baud rate, Parameter 6 Parity and Parameter 8 Stop bits are change-
able.

Type of Com mode

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

4 Reception 1 to 100 (seconds), factory setting: 10

5 Response 0.1 to 10.0 (seconds), factory setting: 2

6 Re-request 0.1 to 10.0 (seconds), factory setting: 2

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 computer side 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 computer,
whether the CR code is added or not does not matter.
• To enable communication with a computer, it is necessary to keep consistency in the
settings of communication parameters between the LM and computer.
Before data communication, also confirm the settings of the communication parameters on the
computer side.

4
OUTLINE OF COMMUNICATION: Outline of Communication Function

{ USB Communication

In accordance with the USB V1.1 specifications


1 Communication specifications
(B-type connector on the LM side)
2 Interface cable Standard USB cable (Shield type)
1
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-500 operator’s manual and
LM-600/600P/600PD operator’s manual.

5
OUTLINE OF COMMUNICATION: Outline of Communication Function

{ 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.


On
Choose the option to make the external device control and align measured lenses.

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


Display
not, it is not be transmitted.

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

1.1.2 Installation of the USB driver


The computer needs the USB driver to receive the data measured by the LM-500/600/600P/600PD.
Install the USB driver provided with the USB cable (option) to the computer.
For the USB driver installation procedure, refer to “5. INSTALLATION OF USB DRIVER”
(page 63).
Purchase a program used for data reception by yourself.

6
OUTLINE OF COMMUNICATION: Outline of Communication Function

1.1.3 Cable connection

<LM-500/600/600P/600PD> <Computer (external device)>

Connector Connector 1
Signal name Signal Connection Signal Signal name
Pin No. Pin No.
1 1
Transmit exchange Received exchange
TXD 2 2 RXD
Data Data

Received exchange Transmit exchange


RXD 3 3 TXD
Data 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 side D-Sub 9P (Female) at the computer side

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 computer side.
It is unnecessary connect a wire between RTS (4) and CTS (5) on the LM side.
Use the DIN 8-pin connector (DIN Standard No.45329) on the LM side.
In the above example, the D-Sub 9-pin connector is connected to the computer side.
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 computer.
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.

7
OUTLINE OF COMMUNICATION: Outline of Communication Function

8
2. DATA FORMAT

2.1 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 computer etc., the computer transmits
“Send Data command” to the LM, and the LM receives the command and sends “measured data”. The 2
software on the computer reads the received data strings according to the format information and then
performs necessary processing (display of data on the screen, storage of data on disks, etc.)
* When the Com mode parameter is set to NCP10, the transmission and reception of com-
mands are not performed.

This chapter 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 computer.
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 computer.
In addition, whether the line feed (LF: 0AH) code is added or not after
the CR code does not matter.

9
DATA FORMAT: Communication Format

2.1.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 computer to make them transmit
and receive data. The format of a basic command is described immediately below:

: Character string (10 characters in this


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

The CR code is added.

Characters representing the RD com-


mand
Command to be sent to the LM. “** ” rep-
resents the unspecified commands.

Characters representing a command

(1) RD command (Computer → LM)


Command for the computer to request the LM to save the measured data. The command
corresponds to the actuation of the read key of the LM. The command also holds the values
displayed on the screen. Before making the LM to transmit data to the computer, this com-
mand 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 (Computer → LM)


Command for the computer to request the LM to transmit measured data. The computer
sends this command to the LM when the computer 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 → Computer)


Command for the LM to request the computer to receive measured data and to send the SD
command. The command is used to transmit data with switch operation of the LM.
The computer sends the SD command to the LM when the computer receives the RS com-
mand 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.

10
DATA FORMAT: Communication Format

(4) CL command (Computer → LM)


Command for the computer to make the LM clear the data in it.
The command corresponds to the actuation of the clear button / of the LM. This
command also releases the fixed data indication.

SOH C L M STX C L ETB EOT CR


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

(5) AB command (Computer → LM) 2


Command for the computer to set the abbe number for the LM in accordance with the mate-
rial of the measured lens. This command should be sent before measurements. When the
LM receives the AB command from the computer, 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

11
DATA FORMAT: Data Format

2.2 Data Format

2.2.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.
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:

12
DATA FORMAT: Data 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*2
Prism
Single Progressive Contact
layout *3 Single Right Left
vision power lens
1) Manufacturer/model name { { { { Once at the beginning
2) SPH, CYL, AXIS { { { { { { { 2
3) SE (Spherical Equivalent value) × × { × { { {
4) ADD (1st/2nd addition power) {*1 { × × { { {
5) PRISM { { { { { { {
6) PD*4 { { × { × { {
*1: When there is 2nd addition power, 2nd addition power is output.
*2: 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) → Right 2) - 5) data → Left 2) - 5) data - 6)
*3: LM-600/600P/600PD only.
*4: LM-600PD only.

• 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.

13
DATA FORMAT: Data Format

2.2.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-500/600/600P/600PD)
are output.
* In the lower line, the ASCII codes are represented by hexadecimals.

1) LM-500

I D N I D E K / L M - 5 0 0 ETB CR
49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 35H 30H 30H 17H 0DH
Company name Model name (LM-500)

2) LM-600

I D N I D E K / L M - 6 0 0 ETB CR
49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 36H 30H 30H 17H 0DH
Company name Model name (LM-600)

3) LM-600P

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

4) LM-600PD

I D N I D E K / L M - 6 0 0 P D ETB CR
49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 36H 30H 30H 50H 44H 17H 0DH
Company name Model name (LM-600PD)

(2) 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 by 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

14
DATA FORMAT: Data Format

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
2
AXIS (3
SPH (6 characters) CYL (6 characters)
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)

(3) SE (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 by 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)

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)

15
DATA FORMAT: Data Format

(4) 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 by fixed four digits including a decimal point with no polarity sign
and the leading digit 0 remaining.
If 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 by 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)

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)

→ 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)

16
DATA FORMAT: Data Format

(5) PRISM
Measured data of the prism power is output.
If the PrismTx parameter is set to On, the prism data is output in the format of “BU/D BI/O”
setting (by the rectangular coordinate system).
If the PrismTx parameter is set to Display, the form varies with the prism representation
mode.
When the Prism parameter is set to BU/D BI/O:

Single “P ”(P, Space)


Identification
Right “PR”
2
code
Left “PL”

Measured data is output by 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 measured 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

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 by fixed digits with the leading digit 0 remaining.

PRISM Four digits with a fixed decimal point with no polarity sign
BASE Three-digit integer with no polarity sign

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/D 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)

17
DATA FORMAT: Data Format

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)

(6) PD (LM-600PD)
The measured PD data 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 the PD is output by 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 (4 characters) R. PD (4 characters) L. PD (4 characters)

18
DATA FORMAT: Error Format

2.3 Error Format

When 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 other data, the error can be processed with a normal interface
software. The data identification code tells what kind of the error it is.

2
SOH D L M STX I E ETB CR EOT CR : Character string (11 characters including CR)
: Character code (H = Hexadecimal)
01H 44H 4CH 4DH 02H 49H 45H 17H 0DH 04H 0DH

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 Out Lens of Nosepiece.
Dust detection. Please clean a lens.
Initialization The error occurred during the
IE Is it all right by ContactNosepiece?
error initialization after power ON.
0D Init 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”

19
DATA FORMAT: Example of Data Output

2.4 Example of Data Output

The formats of various types of measured data are explained in “2.2.2. Format of each data (Page
14)”; 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
CR code = None

• The following is an example of minimum data to be output.

SOH D L M STX → To be continued


01H 44H 4CH 4DH 02H

I D N I D E K / L M - 6 0 0 P ETB → To be continued
49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 36H 30H 30H 50H 17H
Company name/Model name

+ 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

20
DATA FORMAT: Example 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)
CR code = None

• Prism data is added to the end of SPH, CYL and Axis data.

2
SOH D L M STX → To be continued
01H 44H 4CH 4DH 02H

I D N I D E K / L M - 6 0 0 P ETB → To be continued
49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 36H 30H 30H 50H 17H
Company name/ Model name

+ 0 1 . 0 0 + 0 0 . 0 0 0 0 0 ETB → 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 EOT


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

21
DATA FORMAT: Example 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)
CR code = Added

• 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 → To be continued


01H 44H 4CH 4DH 02H

I D N I D E K / L M - 6 0 0 P ETB CR → To be continued
49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 36H 30H 30H 50H 17H 0DH
Company name/ Model name

+ 0 2 . 0 0 + 0 0 . 5 0 0 6 0 ETB CR → continued
To be

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

S + 0 2 . 2 5 ETB CR P 0 1 . 2 5 ETB CR → continued


To be

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

22
DATA FORMAT: Example 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)
CR code = Added

• The identification code is changed to that for the right-eye lens data.
• In the case of measurement of the left-eye lens only, the identification code change from R 2
to L.

SOH D L M STX → To be continued


01H 44H 4CH 4DH 02H

I D N I D E K / L M - 6 0 0 P ETB CR → To be continued
49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 36H 30H 30H 50H 17H 0DH
Company name/ Model name

R - 1 1 . 2 5 - 0 9 . 7 5 0 9 0 ETB CR → continued
To be

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

P R + 0 1 . 2 5 O ETB CR P R 0 2 . 0 0 D → continued
To be

50H 52H 2BH 30H 31H 2EH 32H 35H 4FH 17H 0DH 50H 52H 30H 32H 2EH 30H 30H 44H
Single PRISM1 Single PRISM2

ETB CR EOT CR
17H 0DH 04H 0DH

23
DATA FORMAT: Example 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°
No prism measurement performed
ADD = +2.00 D, ADD2 = +3.00 D
Left: SPH = -2.00 D, CYL = -0.50 D, AXIS =180°
No prism measurement performed
ADD = +2.25 D, ADD2 has not been measured.
CR Code = Added

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

SOH D L M STX → To be continued


01H 44H 4CH 4DH 02H

I D N I D E K / L M - 6 0 0 P ETB CR → continued
To be

49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 36H 30H 30H 50H 17H 0DH
Company name/ Model name

R - 0 1 . 2 5 - 0 0 . 7 5 1 2 0 ETB CR → continued
To be

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

A R 0 2 . 0 0 ETB CR 0 3 . 0 0 ETB CR → continued


To be

41H 52H 30H 32H 2EH 30H 30H 17H 0DH 30H 33H 2EH 30H 30H 17H 0DH
Right ADD Right ADD2

L - 0 2 . 0 0 - 0 0 . 5 0 1 8 0 ETB CR → continued
To be

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

24
DATA FORMAT: Example 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°
PRISM = IN 2.50Δ, DOWN 2.00Δ (BU/D BI/O setting)
ADD = +2.00 D
Left: SPH = -2.00 D, CYL = -0.50 D, AXIS = 180°
PRISM = OUT 1.25Δ, UP 2.00Δ (BU/D BI/O setting) 2
ADD = +2.25 D
CR code = Added

• The addition power is added before the prism data.


• After the transmission of the right-eye lens data, the left-eye lens data is output.

SOH D L M STX → To be continued


01H 44H 4CH 4DH 02H

I D N I D E K / L M - 6 0 0 P ETB CR → continued
To be

49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 36H 30H 30H 50H 17H 0DH
Company name/ Model name

R - 0 1 . 2 5 - 0 0 . 7 5 1 2 0 ETB CR → continued
To be

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

A R 0 2 . 0 0 ETB CR P R 0 2 . 5 0 I ETB CR → To be
continued
41H 52H 30H 32H 2EH 30H 30H 17H 0DH 50H 52H 30H 32H 2EH 35H 30H 49H 17H 0DH
Right ADD Right PRISM1

P R 0 2 . 0 0 D ETB CR → continued
To be

50H 52H 30H 32H 2EH 30H 30H 44H 17H 0DH
Right PRISM2

L - 0 2 . 0 0 - 0 0 . 5 0 1 8 0 ETB CR → continued
To be

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 P L 0 1 . 2 5 O ETB CR → continued


To be

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

25
DATA FORMAT: Example of Data Output

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

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

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

10 15 20

I D N I D E K / L M - 6 0 0 P ETB CR → continued
To be

49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 36H 30H 30H 50H 17H 0DH
Company name/ Model name
25 30 35 40

R - 0 1 . 2 5 - 0 0 . 7 5 1 2 0 ETB CR → continued
To be

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
45 50 55

A R 0 2 . 0 0 ETB CR 0 3 . 0 0 ETB CR → continued


To be

41H 52H 30H 32H 2EH 30H 30H 17H 0DH 30H 33H 2EH 30H 30H 17H 0DH
Right ADD Right ADD2
60 65 70 75

N R + 0 0 . 7 5 ETB CR + 0 1 . 7 5 ETB CR → continued


To be

4EH 52H 2BH 30H 30H 2EH 37H 35H 17H 0DH 2BH 30H 31H 2EH 37H 35H 17H 0DH
Right NSPH Right NSPH2

26
DATA FORMAT: Example of Data Output

80 85 90 95

P R 0 2 . 2 5 I ETB CR P R 0 2 . 0 0 D ETB CR →continued


To be

50H 52H 30H 32H 2EH 32H 35H 49H 17H 0DH 50H 52H 30H 32H 2EH 30H 30H 44H 17H 0DH
Right PRISM1 Right PRISM2
100 105 110

L - 0 2 . 0 0 - 0 0 . 5 0 1 8 0 ETB CR → continued
To be

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
115 120 125 130
2
A L 0 2 . 2 5 ETB CR 0 3 . 5 0 ETB CR → continued
To be

41H 4CH 30H 32H 2EH 32H 35H 17H 0DH 30H 33H 2EH 35H 30H 17H 0DH
Left ADD Left ADD2
135 140 145

N L + 0 0 . 2 5 ETB CR + 0 1 . 5 0 ETB CR → continued


To be

4EH 4CH 2BH 30H 30H 2EH 32H 35H 17H 0DH 2BH 30H 31H 2EH 35H 30H 17H 0DH
Left NSPH Left NSPH2
150 155 160 165

P L 0 1 . 2 5 O ETB CR P L 0 2 . 0 0 U ETB CR →continued


To be

50H 4CH 30H 31H 2EH 32H 35H 4FH 17H 0DH 50H 4CH 30H 32H 2EH 30H 30H 55H 17H 0DH
Left PRISM1 Left PRISM2
170 174
EOT 1 F 3 F CR
04H 31H 46H 33H 46H 0DH
Checksum

27
DATA FORMAT: Example of Data Output

(8) In the case of the maximum data size in progressive power lens measurement mode (LM-500/
600/600P)
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°
PRISM = IN 2.25Δ, DOWN 2.00Δ (BU/D BI/O setting)
ADD = +2.00 D
Representation form of near portion power = NEAR SPH NSPH = +0.75 D
Left: SPH = -2.00 D, CYL = -0.50D, AXIS = 180°
PRISM = OUT 1.25Δ, UP 2.00Δ (BU/D BI/O setting)
ADD = +2.25 D
Representation form of near portion power = NEAR SPH NSPH = +0.25 D
CR code = Added

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

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

10 15 20

I D N I D E K / L M - 6 0 0 P ETB CR → continued
To be

49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 36H 30H 30H 50H 17H 0DH
Company name/ Model name
25 30 35 40

R - 0 1 . 2 5 - 0 0 . 7 5 1 2 0 ETB CR → continued
To be

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
45 50 55 60

A R 0 2 . 0 0 ETB CR N R + 0 0 . 7 5 ETB CR → continued


To be

41H 52H 30H 32H 2EH 30H 30H 17H 0DH 4EH 52H 2BH 30H 30H 2EH 37H 35H 17H 0DH
Right ADD Right NSPH
65 70 75 80

P R 0 2 . 2 5 I ETB CR P R 0 2 . 0 0 D ETB CR →continued


To be

50H 52H 30H 32H 2EH 32H 35H 49H 17H 0DH 50H 52H 30H 32H 2EH 30H 30H 44H 17H 0DH
Right PRISM1 Right PRISM2

28
DATA FORMAT: Example of Data Output

85 90 95

L - 0 2 . 0 0 - 0 0 . 5 0 1 8 0 ETB CR → continued
To be

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
100 105 110 115

A L 0 2 . 2 5 ETB CR N L + 0 0 . 2 5 ETB CR → continued


To be

41H 4CH 30H 32H 2EH 32H 35H 17H 0DH 4EH 4CH 2BH 30H 30H 2EH 32H 35H 17H 0DH
Left ADD Left NSPH
120 125 130 135
2
P L 0 1 . 2 5 O ETB CR P L 0 2 . 0 0 U ETB CR →continued
To be

50H 4CH 30H 31H 2EH 32H 35H 4FH 17H 0DH 50H 4CH 30H 32H 2EH 30H 30H 55H 17H 0DH
Left PRISM1 Left PRISM2
140 144
EOT 1 A 8 3 CR
04H 31H 41H 38H 33H 0DH
Checksum

29
DATA FORMAT: Example of Data Output

(9) In the case of the maximum data size in contact lens measurement mode (LM-500/600/600P)
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)
Left: SPH = -2.00 D, CYL = -0.50 D, AXIS = 180°, SE = -2.25 D
PRISM = OUT 1.25Δ, UP 2.00Δ (BU/D BI/O setting)
CR code = Added

• This is an example of the maximum data size (126 characters) in contact lens measurement
mode.
The checksum is added according to the setting of Com mode “NCP10”.
• The SE value is output.
• The addition power are not measured.

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

10 15 20

I D N I D E K / L M - 6 0 0 P ETB CR → continued
To be

49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 36H 30H 30H 50H 17H 0DH
Company name/ Model name
25 30 35 40

R - 0 1 . 2 5 - 0 0 . 7 5 1 2 0 ETB CR → continued
To be

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
45 50 55 60

S R - 0 1 . 5 0 ETB CR P R 0 2 . 5 0 I ETB CR → To be
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
65 70

P R 0 2 . 0 0 D ETB CR → continued
To be

50H 52H 30H 32H 2EH 30H 30H 44H 17H 0DH
Right PRISM2
75 80 85 90
L - 0 2 . 0 0 - 0 0 . 5 0 1 8 0 ETB CR → continued
To be

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

30
DATA FORMAT: Example of Data Output

95 100 105 110

S L - 0 2 . 2 5 ETB CR P L 0 1 . 2 5 O ETB CR → To be
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
115 120 125 126
P L 0 2 . 0 0 U ETB CR EOT 1 7 3 C CR
53H 4CH 30H 32H 2EH 30H 30H 55H 17H 0DH 04H 31H 37H 33H 43H 0DH
Left PRISM2 Checksum
2

31
DATA FORMAT: Example of Data Output

(10) In the case of the maximum data size in prism layout measurement mode (LM-600/600P)
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)
Left: SPH = -2.00 D, CYL = -0.50 D, AXIS = 180°
PRISM = OUT 1.25Δ, UP 2.00Δ (BU/D BI/O setting)
CR code = Added

• This is an example of the maximum data size (106 characters) in prism layout measurement mode.
The checksum is added according to the setting of Com mode “NCP10”.
• PRISM is the measured prism power.

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

10 15 20

I D N I D E K / L M - 6 0 0 P ETB CR → continued
To be

49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 36H 30H 30H 50H 17H 0DH
Company name/ Model name
25 30 35 40

R - 0 1 . 2 5 - 0 0 . 7 5 1 2 0 ETB CR → continued
To be

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
45 50 55 60

P R 0 2 . 5 0 I ETB CR P R 0 2 . 0 0 D ETB CR → To be
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
65 70 75 80

L - 0 2 . 0 0 - 0 0 . 5 0 1 8 0 ETB CR → To be
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

85 90 95 100

P L 0 1 . 2 5 O ETB CR P L 0 2 . 0 0 U ETB CR → To be
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

105 106
EOT 1 3 B C CR
04H 31H 33H 42H 43H 0DH
Checksum

32
DATA FORMAT: Example of Data Output

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

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

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

10 15 20

I D N I D E K / L M - 6 0 0 P D ETB CR → continued
To be

49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 36H 30H 30H 50H 44H 17H 0DH
Company name/ Model name
25 30 35 40

R - 0 1 . 2 5 - 0 0 . 7 5 1 2 0 ETB CR → continued
To be

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
45 50 55

A R 0 2 . 0 0 ETB CR 0 3 . 0 0 ETB CR → continued


To be

41H 52H 30H 32H 2EH 30H 30H 17H 0DH 30H 33H 2EH 30H 30H 17H 0DH
Right ADD Right ADD2

33
DATA FORMAT: Example of Data Output

60 65 70 75

N R + 0 0 . 7 5 ETB CR + 0 1 . 7 5 ETB CR → continued


To be

4EH 52H 2BH 30H 30H 2EH 37H 35H 17H 0DH 2BH 30H 31H 2EH 37H 35H 17H 0DH
Right NSPH Right NSPH2
80 85 90 95

P R 0 2 . 2 5 I ETB CR P R 0 2 . 0 0 D ETB CR →continued


To be

50H 52H 30H 32H 2EH 32H 35H 49H 17H 0DH 50H 52H 30H 32H 2EH 30H 30H 44H 17H 0DH
Right PRISM1 Right PRISM2
100 105 110 115

L - 0 2 . 0 0 - 0 0 . 5 0 1 8 0 ETB CR → continued
To be

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
120 125 130

A L 0 2 . 2 5 ETB CR 0 3 . 5 0 ETB CR → continued


To be

41H 4CH 30H 32H 2EH 32H 35H 17H 0DH 30H 33H 2EH 35H 30H 17H 0DH
Left ADD Left ADD2
135 140 145

N L + 0 0 . 2 5 ETB CR + 0 1 . 5 0 ETB CR → continued


To be

4EH 4CH 2BH 30H 30H 2EH 32H 35H 17H 0DH 2BH 30H 31H 2EH 35H 30H 17H 0DH
Left NSPH Left NSPH2
150 155 160 165

P L 0 1 . 2 5 O ETB CR P L 0 2 . 0 0 U ETB CR →continued


To be

50H 4CH 30H 31H 2EH 32H 35H 4FH 17H 0DH 50H 4CH 30H 32H 2EH 30H 30H 55H 17H 0DH
Left PRISM1 Left PRISM2
170 175 180 185

P D 6 4 . 0 3 1 . 5 3 2 . 5 ETB CR → continued
To be

50H 44H 36H 34H 2EH 30H 33H 31H 2EH 35H 33H 32H 2EH 35H 17H 0DH
Total PD Right PD Left PD
190 191
EOT 2 2 E 3 CR
04H 32H 32H 45H 33H 0DH

34
DATA FORMAT: Example of Data Output

(12) In the case of the maximum data size in progressive power lens measurement mode (LM-600PD)
Measurement conditions:
Progressive power lens measurement with the left- and right-eye lenses designated
Right: SPH = -1.25 D, CYL= -0.75 D, AXIS = 120
PRISM = IN 2.25Δ, DOWN 2.00Δ (BU/D BI/O setting)
ADD = +2.00 D
Representation form of near portion power = NEAR SPH NSPH = +0.75 D
Left: SPH = -2.00 D, CYL = -0.50 D, AXIS = 180
PRISM = OUT 1.25Δ, UP 2.00Δ (Rectangular) 2
ADD = +2.25 D
LPD = 32.5 mm
Total PD = 64.0 mm
CR code = Added

• This is an example of the LM-600PD of the maximum data size (161 characters) in
progressive power lens measurement mode.
The checksum is added according to the setting of Com mode “NCP10”.
• When the NEAR parameter is set to NEAR SPH, both the addition powers (ADD) and near
spherical data (NSPH) are output.

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

10 15 20

I D N I D E K / L M - 6 0 0 P D ETB CR → continued
To be

49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 36H 30H 30H 50H 44H 17H 0DH
Company name/ Model name
25 30 35 40

R - 0 1 . 2 5 - 0 0 . 7 5 1 2 0 ETB CR → continued
To be

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
45 50 55 60

A R 0 2 . 0 0 ETB CR N R + 0 0 . 7 5 ETB CR → continued


To be

41H 52H 30H 32H 2EH 30H 30H 17H 0DH 4EH 52H 2BH 30H 30H 2EH 37H 35H 17H 0DH
Right ADD Right NSPH
65 70 75 80

P R 0 2 . 2 5 I ETB CR P R 0 2 . 0 0 D ETB CR →continued


To be

50H 52H 30H 32H 2EH 32H 35H 49H 17H 0DH 50H 52H 30H 32H 2EH 30H 30H 44H 17H 0DH
Right PRISM1 Right PRISM2

35
DATA FORMAT: Example of Data Output

85 90 95 100

L - 0 2 . 0 0 - 0 0 . 5 0 1 8 0 ETB CR → continued
To be

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
105 110 115

A L 0 2 . 2 5 ETB CR N L + 0 0 . 2 5 ETB CR → continued


To be

41H 4CH 30H 32H 2EH 32H 35H 17H 0DH 4EH 4CH 2BH 30H 30H 2EH 32H 35H 17H 0DH
Left ADD Left NSPH
120 125 130 135

P L 0 1 . 2 5 O ETB CR P L 0 2 . 0 0 U ETB CR →continued


To be

50H 4CH 30H 31H 2EH 32H 35H 4FH 17H 0DH 50H 4CH 30H 32H 2EH 30H 30H 55H 17H 0DH
Left PRISM1 Left PRISM2
140 145 150 155

P D 6 4 . 0 3 1 . 5 3 2 . 5 ETB CR → continued
To be

50H 44H 36H 34H 2EH 30H 33H 31H 2EH 35H 33H 32H 2EH 35H 17H 0DH
Total PD Right PD Left PD
160 161
EOT 1 E 2 7 CR
04H 31H 45H 32H 37H 0DH
Checksum

36
DATA FORMAT: Example of Data Output

(13) In the case of the maximum data size in contact lens measurement mode (LM-600PD)
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)
Left: SPH = -2.00 D, CYL = -0.50 D, AXIS = 180 , SE = -2.25 D
PRISM = OUT 1.25Δ, UP 2.00Δ (BU/D BI/O setting)
CR code = Added
2
• This is an example of the maximum data size (127 characters) in contact lens measurement
mode.
The checksum is added according to the setting of Com mode “NCP10”.
• The SE value is output.
• The addition power and PD are not measured.

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

10 15 20

I D N I D E K / L M - 6 0 0 P D ETB CR → continued
To be

49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 36H 30H 30H 50H 44H 17H 0DH
Company name/ Model name
25 30 35 40

R - 0 1 . 2 5 - 0 0 . 7 5 1 2 0 ETB CR → continued
To be

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
45 50 55 60

S R - 0 1 . 5 0 ETB CR P R 0 2 . 5 0 I ETB CR → To be
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
65 70

P R 0 2 . 0 0 D ETB CR → continued
To be

50H 52H 30H 32H 2EH 30H 30H 44H 17H 0DH
Right PRISM2
75 80 85 90
L - 0 2 . 0 0 - 0 0 . 5 0 1 8 0 ETB CR → continued
To be

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

37
DATA FORMAT: Example of Data Output

95 100 105 110

S L - 0 2 . 2 5 ETB CR P L 0 1 . 2 5 O ETB CR → To be
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

115 120 125 127


P L 0 2 . 0 0 U ETB CR EOT 1 7 D 1 CR
53H 4CH 30H 32H 2EH 30H 30H 55H 17H 0DH 04H 31H 37H 44H 31H 0DH
Left PRISM2 Checksum

38
DATA FORMAT: Example of Data Output

(14) In the case of the maximum data size in prism layout measurement mode (LM-600PD)
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)
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)
2
LPD = 32.5 mm
Total PD = 64.0 mm
CR code = Added

• This is an example of the maximum data size (121 characters) in prism layout measurement
mode.
The checksum is added according to the setting of Com mode “NCP10”.
• PRISM is the measured prism power.

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

10 15 20

I D N I D E K / L M - 6 0 0 P D ETB CR → continued
To be

49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 36H 30H 30H 50H 44H 17H 0DH
Company name/ Model name
25 30 35 40

R - 0 1 . 2 5 - 0 0 . 7 5 1 2 0 ETB CR → continued
To be

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
45 50 55 60

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

65 70 75

L - 0 2 . 0 0 - 0 0 . 5 0 1 8 0 ETB CR → continued
To be

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

39
DATA FORMAT: Example of Data Output

80 85 90 95

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

P D 6 4 . 0 3 1 . 5 3 2 . 5 ETB CR → continued
To be

50H 44H 36H 34H 2EH 30H 33H 31H 2EH 35H 33H 32H 2EH 35H 17H 0DH
Total PD Right PD Left PD
120 121
EOT 1 7 0 F CR
04H 31H 37H 30H 46H 0DH
Checksum

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

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

1 Save measured data on the LM.


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

2 Transmit the saved data to the computer. 3


Press the print button (or export button ) or send “SD command” from the com-
puter.

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

3 As the computer receives measured data, it displays the data on the screen or
saves it to a floppy disk.
Therefore, the computer needs a program that sends or receives these “commands“ or
these items of “data”, analyzes and processes (displays, saves etc.) 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 side, to use the computer to
give all the commands to the LM from the data storage to data transmission, and to use the operation
buttons on the LM side and the computer in combination.

41
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 “1.1.3 Cable connection (Page 7)”.)
The DTR-to-DSR wire lets both devices 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 computer, it
sends “DTR = OFF” to the other device to let the other device know the status of one device.
The status of the other device is judged by ON or OFF of “DSR”. In this way, unwanted communication
troubles can be prevented.

The figure below shows the changes in the DTR signals when the computer 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
Computer side

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

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

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

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

3) Because DTR is not enabled (ON) on the LM side even after 0.1 seconds or more, the
computer terminates communication by disabling DTR (OFF). In this way, if DTR is not
enabled (ON) on the other device side, one device judges that the other device is not
ready for communication 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 transmission of data or commands) shall be 0.1 second. The LM and com-
puter program shall be designed to send a response to the other device within 0.1 sec-
onds if it is ready for communication.
4) Again, the computer enables DTR (ON) to send “Command” to the LM.
5) The LM enables DTR (ON) in response to the command from the computer.
6) When the computer confirms that the DTR on the LM side is enabled (ON), the computer
sends “Command” to the LM.
7) After sending the command to the LM, the computer is put into the wait state to wait for 3
“Data” from the LM.
To allow the LM to send data, the computer shall keep enabling DTR (ON). If the computer 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 computer and prepares for “Data” to be sent.

8) The LM checks if DTR is enabled (ON) on the computer side and sends “Data”.
If DTR is disabled (OFF), the LM wait for 0.1 seconds for the computer to enable DTR (ON). If the
DTR is disabled on the computer side, 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 computer disables DSR (OFF). (Because there are cases where “CL
command” is sent from the computer subsequently)
10)The computer disables DTR (OFF) when the computer receives “EOT” at the end of
“Data” from the LM.
11)After the termination of communication, both the computer 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”.
If the Com mode parameter is set to PC, the LM ignores the DTR signal on the computer side.
Because the control and check processes of 4), 5), 9), and 10) can be omitted, a communica-
tion program for the computer can be written easily. Because the LM does not confirm the sta-
tus of DTR on the computer side even before sending data, the computer should ready for the
reception of “Data” just after the transmission of “Command”.
(The LM enables DTR (ON) at the same time when the computer enables DTR on condition
that the LM is sending data or it is ready for communication.)

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

Note 2)If the Com mode parameter is set to NIDEK, use caution not to leave the DTR signal enabled
(ON).
In 10) of the above example, unless the computer disables DTR (OFF), the LM misjudges that
the computer 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 prob-
lems, do not allow the computer to misjudge that the DTR is enabled (ON) on the LM side.
If the computer is put into the wait state to wait for “Data” from the LM (State (7)), both the com-
puter and LM are put into the wait sate, which appears to the operator that the computer pro-
gram 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 computer
side. 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. Con-
stantly place the computer in a state where it can receive measured data.

44
COMMUNICATION PROCEDURE (other than NCP20): Actual Communications

3.3 Actual Communications

(1) Setting the computer


Set the parameters related to an RS-232C interface on the computer in accordance with the
descriptions in “1.1.1 Basic interface specifications (Page 3)”.
For the procedure for setting parameters, refer to the LM-500/LM-600/600P/600PD Opera-
tor’s Manual. It is allowed that the parameters are set by the communication program.

(2) Writing a communication program for the computer


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 “1.1.1
Basic interface specifications (Page 3)” to conform them to the settings on the computer
side.

(4) Connecting an interface cable


Connect the computer and LM with an interface cable that conforms to the description of
“1.1.3 Cable connection (Page 7)”.

(5) Execution of communication


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

45
COMMUNICATION PROCEDURE (other than NCP20): Actual Communications

3.3.1 The LM requests the computer to receive measured data.


Procedure for transmitting measured data to the computer by pressing the print button (or
export button ):

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

The computer confirms that DSR is enabled (= DTR of the LM) (ON) and enables DSR
2 ←COM
(ON).

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

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

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

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

7 LM The LM clears the measured data.

46
COMMUNICATION PROCEDURE (other than NCP20): Actual Communications

3.3.2 The computer 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 computer:

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

2 ←COM The computer enables DTR (ON) to let the LM know that it is starting communication.

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

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

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

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

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

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

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

47
COMMUNICATION PROCEDURE (other than NCP20): Actual Communications

3.3.3 The computer controls all the operations of the LM.


Procedure for the computer to control the entire process: Measurement → Storage of measured data
→ Transmission of measured data:

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

2 ←COM The computer enables DTR (ON) to let the LM know that it is starting communication.

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

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

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

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

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

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

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

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

To measure the next lens and receive measured data subsequently, the computer should
clear the former data by sending “CL command” in 9. and 10. After placing the next lens
11 ←COM on the nosepiece, the computer 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 computer sends “RD command” without waiting for the completion of measurement in 11,
the LM does not accept “RD command”.

48
COMMUNICATION PROCEDURE (other than NCP20): Example of Communication Program

3.4 Example of Communication Program

The communication program on the computer side should be written to handle such processes as
described in “3.3 Actual Communications (Page 45)”. In this chapter, an example of communica-
tion program is provided for reference.

3.4.1 Communication Program


A sample program for data communication to be installed to the computer 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 communi-
cation 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 computer to receive measured data:
For using the print button (or export button ) to send measured data to the com-
puter
<Procedure>
1) Enter the sample program. Connect the computer 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 computer and the received data is displayed on the screen.

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

49
COMMUNICATION PROCEDURE (other than NCP20): Example of Communication Program

< Procedure >


1) Enter the sample program. Connect the computer 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 computer.
5) The data is transmitted and the received data is displayed on the screen.

3 Line 3000 to 3310: When the computer controls all the operations of the LM:
For making the computer control the entire processes: Measurement → Storage → Trans-
mission of measured data → Clearing of measured data
< Procedure >
1) Enter the sample program. Connect the computer 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 computer.


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: (If 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 com-
puter.
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

50
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.

10 '*************************************************************************
20 '* *
30 '* Input Data from LM-500/600/600P/600PD V1.00 *
40 '* by NIDEK 2007. 3.10 *
50 '* *
60 '*************************************************************************
70 '
80 ' SAVE "RS232C.BAS",A
90 '
1000 '------------------------------------------------------------------------- 3
1010 ' READ SW(LM) --> EXPORT SW(LM) --> RS(LM) --> SD(COMP) --> DATA(LM)
1020 '-------------------------------------------------------------------------
1030 CLEAR ,,,3000
1040 CHILD ("SWITCH RS232C-0 [9600]") ' set 9600 bit/sec
1050 DIM LM$(210)
1060 RS$=CHR$(1)+"C**"+CHR$(2)+"RS"+CHR$(23)+CHR$(4) ' RS command
1070 SD$=CHR$(1)+"CLM"+CHR$(2)+"SD"+CHR$(23)+CHR$(4) ' SD command
1080 FOR I=1 TO 210: LM$(I)="": NEXT I ' buffer clear
1090 '
1100 OPEN "COM:O81NN" AS #1 ' RS-232C & DTR on
1110 OUT &H32,&H15 ' DTR off
1120 PRINT: PRINT " ** Let's Measure !! ( and LM's PRINT sw on ! ) **"
1130 IF (INP(&H32) AND &H80)=&H0 THEN 1130 ' check DSR on
1140 OUT &H32,&H37 ' DTR on
1150 INPUT #1,C$: IF C$<>RS$ THEN 1150 ' input RS command
1160 PRINT #1,SD$ ' output SD command
1170 FOR I=1 TO 210
1180 INPUT #1,LM$(I) ' input DATA
1190 IF LM$(I)=CHR$(4) THEN 1210 ' check 'EOT(04H)'
1200 NEXT I
1210 CLOSE #1 ' RS-232C & DTR off
1220 '
1230 BEEP
1240 FOR I=1 TO 210
1250 IF LM$(I)=CHR$(4) THEN 1280
1260 PRINT LM$(I) ' disp DATA
1270 NEXT I
1280 FOR I=1 TO 10000: NEXT I ' wait
1290 GOTO 1100
1300 '

1310 '
2000 '-------------------------------------------------------------------------
2010 ' READ SW(LM) --> SD(COMP) --> DATA(LM)
2020 '-------------------------------------------------------------------------
2030 CLEAR ,,,3000
2040 CHILD ("SWITCH RS232C-0 [9600]") ' set 9600 bit/sec
2050 DIM LM$(210)
2060 SD$=CHR$(1)+"CLM"+CHR$(2)+"SD"+CHR$(23)+CHR$(4) ' SD command

51
COMMUNICATION PROCEDURE (other than NCP20): Example of Communication Program

2070 FOR I=1 TO 210: LM$(I)="": NEXT I ' buffer clear


2080 '
2090 PRINT: PRINT " ** Let's Measure !! ( and COMPUTER's any key on ! ) **"
2100 K$=INKEY$: IF K$="" THEN 2100
2110 OPEN "COM:O81NN" AS #1 ' RS-232C & DTR on
2120 IF (INP(&H32) AND &H80)=&H0 THEN 2120 ' check DSR on
2130 PRINT #1,SD$ ' output SD command
2140 FOR I=1 TO 210
2150 INPUT #1,LM$(I) ' input DATA
2160 IF LM$(I)=CHR$(4) THEN 2180 ' check 'EOT(04H)'
2170 NEXT I
2180 CLOSE #1 ' RS-232C & DTR off
2190 '
2200 BEEP
2210 FOR I=1 TO 210
2220 IF LM$(I)=CHR$(4) THEN 2250
2230 PRINT LM$(I) ' disp DATA
2240 NEXT I
2250 FOR I=1 TO 10000: NEXT I ' wait
2260 GOTO 2090
2270 '
2280 '
3000 '-------------------------------------------------------------------------
3010 ' RD(COMP) --> SD(COMP) --> DATA(LM) --> CL(COMP)
3020 '-------------------------------------------------------------------------
3030 CLEAR ,,,3000
3040 CHILD ("SWITCH RS232C-0 [9600]") ' set 9600 bit/sec
3050 DIM LM$(210)
3060 RD$=CHR$(1)+"CLM"+CHR$(2)+"RD"+CHR$(23)+CHR$(4) ' RD command
3070 SD$=CHR$(1)+"CLM"+CHR$(2)+"SD"+CHR$(23)+CHR$(4) ' SD command
3080 CL$=CHR$(1)+"CLM"+CHR$(2)+"CL"+CHR$(23)+CHR$(4) ' CL command
3090 FOR I=1 TO 210: LM$(I)="": NEXT I ' buffer clear
3100 '
3110 PRINT: PRINT " ** Let's Measure !! ( and COMPUTER's any key on ! ) **"
3120 K$=INKEY$: IF K$="" THEN 3120
3130 OPEN "COM:O81NN" AS #1 ' RS-232C & DTR on
3140 IF (INP(&H32) AND &H80)=&H0 THEN 3140 ' check DSR on
3150 PRINT #1,RD$ ' output RD command
3160 FOR I=1 TO 5000: NEXT I ' wait
3170 PRINT #1,SD$ ' output SD command
3180 FOR I=1 TO 210
3190 INPUT #1,LM$(I) ' input DATA
3200 IF LM$(I)=CHR$(4) THEN 3220 ' check 'EOT(04H)'
3210 NEXT I
3220 PRINT #1,CL$ ' output CL command
3230 CLOSE #1 ' RS-232C & DTR off
3240 '
3250 BEEP
3260 FOR I=1 TO 210
3270 IF LM$(I)=CHR$(4) THEN 3300
3280 PRINT LM$(I) ' disp DATA
3290 NEXT I
3300 FOR I=1 TO 30000: NEXT I ' wait
3310 GOTO 3110

52
COMMUNICATION PROCEDURE (other than NCP20): Flowchart

3.5 Flowchart

< LM-500/600/600P/600PD > < Computer > 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 computer enables DTR (ON) and starts
CHECK DSR DTR : ON (1140)
communication.
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.

53
COMMUNICATION PROCEDURE (other than NCP20): Flowchart

< LM-500/600/600P/600PD > < Computer > 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.

54
COMMUNICATION PROCEDURE (other than NCP20): Flowchart

< LM-500/600/600P/600PD > < Computer > 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 computer 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.

55
COMMUNICATION PROCEDURE (other than NCP20): Flowchart

56
4. COMMUNICATION PROCEDURE
(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 command 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 at 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 by setting. (0 to 255)
[Destination port No.]
This is set when the destination port No. is necessary for specific network configuration. (0
to 255)

57
COMMUNICATION PROCEDURE (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 DATA FORMAT” (Page 9).
[Checksum]
The data from SOH to message is added and lower two bytes of the result is treated as
checksum.

58
COMMUNICATION PROCEDURE (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).
end
2) Equipment B sends “Accept to Send” to A to p t to S
Acce
accept data sending.
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.
pt
Acce
5) Repeat the steps from (3) to (4) until all the data is
sent.
Data 4

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

59
COMMUNICATION PROCEDURE (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 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 error occurs, perform the retry for times set in the application. If error does not disappear, forc-
ibly shut down the communication.
Number of retry: 0 to 5 (Initial setting: 3 times)

60
COMMUNICATION PROCEDURE (NCP20): Error sequence

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

'SWKROGPV# 'SWKROGPV$

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
䇮㩷
CNYC[UCDQTVU
VJGEQOOWPKECVKQP

61
COMMUNICATION PROCEDURE (NCP20): Error sequence

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

'SWKROGPV# 'SWKROGPV$

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
rt
/ Abo
Error Error

Data 㩿㪉㪀 T.O.

㩿㪊㪀 pt
T.O. Acce
t
Abor Abort
Error Error /
CNYC[UCDQTVU
VJGEQOOWPKECVKQP

62
5. INSTALLATION OF USB DRIVER

Have the optional USB cable (31020-0100, provided with the USB driver) handy. The procedure var-
ies with the OS of the computer.

5.1 Installation Procedure (Windows 7)

Follow the procedure below for computer running Windows 7.


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

1 Connect the LM-500/600/600P/600PD and computer with the USB cable.

2 Turn on the LM-500/600/600P/600PD.


4
The operating system recognizes unknown devices.

3 Open the Property in My Computer.

4 Open the “Device Manager”


The new dialog is displayed.

5 Open the added “Lensmeter USB


Devices”
The new dialog is displayed.

63
INSTALLATION OF USB DRIVER: Installation Procedure (Windows 7)

6 Press the “Update Driver” button.


The new dialog is displayed.

7 Choose the “Browse my computer for


driver software”.
The new dialog opens.

8 Press the “Browse” button.


The Browse for Folder dialog opens.

9 Designate the location of the “FTDIBUS.INF” file and press the OK button.
Ordinarily, designate the E001\Windows7 folder in the distributed media.
The Browse for Folder dialog closes.

10 Press the Next button.


The Windows 7 Security dialog opens.

64
INSTALLATION OF USB DRIVER: Installation Procedure (Windows 7)

11 Choose the “Install this driver software


anyway”.
The new dialog is displayed.

12 Press the Close button.

13 Press the Close button.

14 Open the “USB Serial Port”.


The new dialog is displayed.

65
INSTALLATION OF USB DRIVER: Installation Procedure (Windows 7)

15 Press the “Update Driver” button.


The new dialog is displayed.

16 Choose the “Browse my computer for


driver software”.

17 Press the “Browse” button.


The Browse for Folder dialog opens.

18 Designate the location of the “FTDI-


PORT.INF” file and press the OK button.
Ordinarily, designate the E001\Windows7 folder in the distributed media.
The Browse for Folder dialog closes.

19 Press the Next button.


The Windows Security dialog opens.

66
INSTALLATION OF USB DRIVER: Installation Procedure (Windows 7)

20 Choose the “Install this driver software


anyway”.
The new dialog is displayed.

21 Press the Close button.

22 Press the Close button.

23 Turn off the LM-500/600/600P/600PD.


The installation of the USB driver has been completed.

67
INSTALLATION OF USB DRIVER: Installation Procedure (Windows Vista)

5.2 Installation Procedure (Windows Vista)

Follow the procedure below for computer running Windows Vista.


* Log in as an administrator.

1 Connect the LM-500/600/600P/600PD and computer with the USB cable.

2 Turn on the LM-500/600/600P/600PD.


The plug & play operating system recognizes the Lensmeter USB Device. The Welcome to
the Found New Hardware Wizard dialog is displayed.

3 Click the “Locate and install driver soft-


ware (recommended)”.
The new dialog is displayed.

If the “User Account Control” appears,


press the Continue button.

68
INSTALLATION OF USB DRIVER: Installation Procedure (Windows Vista)

4 Click the “Don’t search online”.


The new dialog is displayed.

5 Click the “I don’t have the disc. Show me


other options”.
The new dialog is displayed.

6 Click the “Browse my computer for driver


software (advanced)”.
The new dialog is displayed.

7 Specify the location for the “FTDIPORT.INF”


file.
Ordinarily, designate the E001\Windows
2000&2003&XP&Vista folder in the dis-
tributed media.

69
INSTALLATION OF USB DRIVER: Installation Procedure (Windows Vista)

8 Press the Next button.


The Windows Security dialog is displayed.

9 Click the “Install this driver software any-


way”.
The “The software for this device has
been successfully installed” dialog is dis-
played.

10 Press the Close button.

11 The OS Plug and Play subsequently recognizes the USB serial port.
12 Click the “Don’t search online”.
The new dialog is displayed.

70
INSTALLATION OF USB DRIVER: Installation Procedure (Windows Vista)

13 Click the “I don’t have the disc. Show me


other options”.
The new dialog is displayed.

14 Click the “Browse my computer for driver


software (advanced)”
The Browse For Folder dialog closes.

15 Specifythe location for the “FTDI-


PORT.INF” file.
Ordinarily, designate the E001\Windows
2000&2003&XP&Vista folder in the dis-
tributed media.

16 Press the Next button.


The Windows Security dialog is displayed.

71
INSTALLATION OF USB DRIVER: Installation Procedure (Windows Vista)

17 Click the “Install this driver software any-


way”.
The “The software for this device has
been successfully installed” dialog is dis-
played.

18 Press the Close button.

19 After using the “Safety Remove Hardware” function, remove the USB cable.
20 Turn off the LM-500/600/600P/600PD.
The installation of the USB driver has been completed.

72
INSTALLATION OF USB DRIVER: Installation Procedure (Windows XP)

5.3 Installation Procedure (Windows XP)

Follow the procedure below for computer running Windows XP.


* Log in as an administrator.

1 Connect the LM-500/600/600P/600PD and computer with the USB cable.

2 Turn on the LM-500/600/600P/600PD.


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

3 Press the “No, not this time” radio button


and press the Next > button.
The new dialog is displayed.

4 Choose the “Install from a list or specific


location (Advanced)” radio button and
press the Next > button.
The “Please choose your search and
installation options” dialog is displayed.

5 Choose the “Search for the best driver in


these locations.” radio button, choose the
“Include this location in the search” check
box, and then press the Browse button.
The Browse for Folder dialog opens.

73
INSTALLATION OF USB DRIVER: Installation Procedure (Windows XP)

6 Designate the location of the “FTDIBUS.INF” file and press the OK button.
Ordinarily, designate the E001\Windows2000&2003&XP&Vista folder in the distributed
media.
The Browse For Folder dialog closes.

7 Press the Next > button.


The Hardware Installation dialog opens.

8 Press the Continue Anyway button.


The “Completing the Found New Hard-
ware Wizard” dialog is displayed.

9 Press the Finish button.

10 The plug & play operating system subsequently recognizes the USB Serial Port.
The “Welcome to the Found New Hardware Wizard” dialog is displayed.

74
INSTALLATION OF USB DRIVER: Installation Procedure (Windows XP)

11 Select the “No, not this time” radio button


and then press the Next > button.
The new dialog is displayed.

12 Select the “Install from a list or specific


location (Advanced)” radio button and
click the Next > button.
The “Please choose your search and
installation options” dialog is displayed. 4

13 Choose the “Search for the best driver in


these locations” radio button, then choose
the “Include this location in the search”
check box, and press the Browse button.
The Browse For Folder dialog opens.

14 Designate the location of the “FTDIPORT.INF” file and press the OK button.
Ordinarily, designate the E001\Windows2000&2003&XP&Vista folder in the distributed
media.
The Browse For Folder dialog closes.

15 Press the Next > button.


The Hardware Installation dialog opens.

75
INSTALLATION OF USB DRIVER: Installation Procedure (Windows XP)

16 Press the Continue Anyway button.


The “Found New Hardware Wizard” dia-
log is displayed.

17 Press the Finish button.

18 After using the “Safety Remove Hardware” function, remove the USB cable.
19 Turn off the LM-500/600/600P/600PD.
The installation of the USB driver has been completed.

76
INSTALLATION OF USB DRIVER: Installation Procedure (Windows 2000)

5.4 Installation Procedure (Windows 2000)

Follow the procedure below for computer running Windows 2000.


* Log in as an administrator.

1 Connect the LM-500/600/600P/600PD and computer with the USB cable.

2 Turn on the LM-500/600/600P/600PD.


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

3 Click the Next button >.


The “Install Hardware Device Drivers”
dialog is displayed.

4 Choose the “Search for a suitable driver


for my device (recommended)” radio but-
ton and press the Next > button.
The “Locate Driver Files” dialog is dis-
played.

77
INSTALLATION OF USB DRIVER: Installation Procedure (Windows 2000)

5 Only check the Specify a location check


box and press the Next > button.
The dialog for designating a file is dis-
played.

6 Press the Browse button.


The Locate File dialog is displayed.

7 Designate “FTDIBUS.INF” file in the Look in box.


Ordinarily, designate the E001\Windows2000&2003&XP&Vista folder in the distributed
media.

8 Select the “FTDIBUS.INF” file and press the Open button.


The dialog for designating a file is activated.

9 Press the OK button.


The “Driver Files Search Results” dialog is activated.

10 Press the Next button.


The “Completing the Found New Hard-
ware Wizard” dialog is displayed.

78
INSTALLATION OF USB DRIVER: Installation Procedure (Windows 2000)

11 Press the Finish button.


The plug & play operating system sub-
sequently recognizes the USB Serial
Port.
The “Welcome to the Found New Hard-
ware Wizard dialog” is displayed.

12 Press the Next > button.


The “Install Hardware Device Drivers”
dialog is displayed.

13 Choose the “Search for a suitable driver


for my device (recommended)” radio but-
ton and press the Next > button.
The “Locate Driver Files” dialog is dis-
played.

79
INSTALLATION OF USB DRIVER: Installation Procedure (Windows 2000)

14 Only check the Specify a location check


box and press the Next > button.
The dialog for designating a file is dis-
played.

15 Press the Browse button.


The Locate File dialog is displayed.

16 Designate the folder including the “FTDIPORT.INF” file in the Look in box.
Ordinarily, designate the E001\Windows2000&2003&XP&Vista folder in the distributed
media.

17 Select the “FTDIPORT.INF” file and press the Open button.


The dialog for designating a file is activated.

18 Press the OK button.


The “Driver Files Search Results” dialog is activated.

19 Press the Next > button.


The “Completing the Found New Hard-
ware Wizard” dialog is displayed.

80
INSTALLATION OF USB DRIVER: Installation Procedure (Windows 2000)

20 Press the Finish button.

21 After using the “Safely Remove Hardware” function, remove the USB cable.
22 Turn off the LM-500/600/600P/600PD.
The installation of the USB driver has been completed.
4

81
INSTALLATION OF USB DRIVER: Installation Procedure (Windows 98)

5.5 Installation Procedure (Windows 98)

Follow the procedure below for computer running Windows 98.

1 Connect the LM-500/600/600P/600PD and computer with the USB cable.

2 Turn on the LM-500/600/600P/600PD.


The plug & play operating system recognizes the Lensmeter USB Device.
The “Add New Hardware Wizard” dialog is displayed.

3 Press the Next > button.


The new dialog is displayed.

4 Choose the “Search for the best driver for


your device. (Recommended).” radio but-
ton and press the Next > button.
The new dialog is displayed.

5 Only check the Specify a location check


box and press the Browse button.
The Browse for Folder dialog opens.

6 Select the folder including the “FTDIBUS.INF” file.


Ordinarily, designate the E001\Windows98&ME folder in the distributed media.

82
INSTALLATION OF USB DRIVER: Installation Procedure (Windows 98)

7 Press the OK button.


The Browse for Folder dialog closes.

8 Press the Next > button.


The new dialog is displayed.

9 Press the Next > button


The new dialog is displayed.

10 Press the Finish button. 4

11 After using the “Safely Remove Hardware” function, remove the USB cable.
12 Turn off the LM-500/600/600P/600PD.
The installation of the USB driver has been completed.

83
INSTALLATION OF USB DRIVER: Installation Procedure (Windows ME)

5.6 Installation Procedure (Windows ME)

Follow the procedure below if the OS of the computer is Windows ME.

1 Connect the LM-500/600/600P/600PD and computer with the USB cable.

2 Turn on the LM-500/600/600P/600PD.


The plug & play operating system recognizes the Lensmeter USB Device.
The “Add New Hardware Wizard” dialog is displayed.

3 Choose the “Specify the location of the


driver (Advanced)” radio button and press
the Next > button.
The new dialog is displayed.

4 Choose the “Search for the best driver for


your device (Recommended)” radio but-
ton, only check the “Specify a location:”
check box, and press the Browse button.
The Browse for Folder dialog opens.

5 Select the folder including the “FTDIBUS.INF” file.


Ordinarily designate the E001\Windows98&ME folder on the distributed media.

6 Press the OK button.


The Browse for Folder dialog closes.

7 Press the Next > button.


The new dialog is displayed.

84
INSTALLATION OF USB DRIVER: Installation Procedure (Windows ME)

8 Press the Next > button.


The new dialog is displayed.

9 Press the Finish button.

10 After using the “Safely Remove Hardware” function, remove the USB cable.
11 Turn off the LM-500/600/600P/600PD.
The installation of the USB driver has been completed.

85
INSTALLATION OF USB DRIVER: Installation Procedure (Windows ME)

86

You might also like