Nidek Medical LM-1800P User manual

INTERFACE MANUAL
MLM26*RTZ002F
LM-1800P/LM-1800PD
AUTO LENSMETER

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
June 2015
MLM26*RTZ002F
2011 NIDEK CO., LTD.
C

Table of Contents
I
MLM26*RTZ002F
1. OUTLINE OF COMMUNICATION. . . . . . . . . . . . . . . . . . . . 1
1.1 Outline of Communication Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
2. RS-232C Communication and USB Communication . . . 3
2.1 Basic Interface Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
2.1.1 Installation of the USB driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
2.1.2 Cable connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
2.2 Communication Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7
2.2.1 Command Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8
2.3 Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
2.3.1 Basic format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
2.3.2 Format of each data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
2.4 Success Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22
2.5 Error Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
2.6 Example of Data Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24
3.
COMMUNICATION PROCEDURE (other than NCP20)
. . 51
3.1 Outline. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51
3.2 Communication Control Signals (DTR Output to DSR Input). . . . . . . . . . . . . .52
3.3 Actual Communications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55
3.3.1 The LM requests the computer to receive measurement data . . . . . . . . . . . . . . . .56
3.3.2 The computer requests the LM to send measurement data . . . . . . . . . . . . . . . . . .57
3.3.3 The computer controls all the operations of the LM . . . . . . . . . . . . . . . . . . . . . . . .58
3.4 Example of Communication Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59
3.4.1 Communication Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59
3.5 Flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63
4. METHOD OF RS-232C COMMUNICATION (NCP20) . . . 67
4.1 Block Format. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67
4.2 Normal Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .69
4.3 Error Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70
5. INSTALLATION OF USB DRIVER . . . . . . . . . . . . . . . . . 73
5.1 Installation Procedure (Windows 7) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .73

:
II MLM26*RTZ002F
5.2 Installation Procedure (Windows 8). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
5.3 Installation Procedure (Windows Vista) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
5.4 Installation Procedure (Windows XP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
6. LAN COMMUNICATION. . . . . . . . . . . . . . . . . . . . . . . . . . 85
6.1 Outline of LAN Communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
6.1.1 Outline of communication function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
6.1.2 Cable connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
6.1.3 Connecting barcode scanner/ magnetic card reader . . . . . . . . . . . . . . . . . . . . . . . 86
6.2 System Diagram Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
6.3 Confirmation and Setting of Receiver Computer . . . . . . . . . . . . . . . . . . . . . . . . . 88
6.3.1 Reception structure of measurement data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
6.3.2 Setting up the shared folder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
6.3.3 Confirming items necessary for other settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
6.3.4 Setting the device transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
6.3.5 Testing the device network setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
6.4 Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
6.4.1 Folder configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
6.4.2 Output file of measurement data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
6.4.3 Response to data acquisition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
6.4.4 XML file configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
6.4.5 Tag definition of XML output data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
6.4.6 Style sheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
6.4.7 XML file sample . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108

1
1
MLM26*RTZ002F
1.
OUTLINE OF COMMUNICATION
1.1 Outline of Communication Function
The LM-1800P/LM-1800PD comes standard with interfaces shown in the table below that enables
transmission of the measurement data to an external computer.
This manual explains the method of receiving the measurement data from the LM-1800P/LM-1800PD
by using these interfaces.
This section describes the specifications for the interface for communication between the LM-1800P/
LM-1800PD and an external device such as computer.
For details of communication, see the following pages in the table below according to the communica-
tion method.
RS-232C interface RS-232C compliance
USB interface USB 2.0 HOST/FUNC compliance
LAN interface 10/100BASE-T Ethernet
• Priority of interface (RS-232C/USB)
The communication is established with the port received data first.
When the Com mode parameter is set to NIDEK or NIDEK2, communication is possible only with
RS-232C. After the RS-232C communication is normally complete, data is sent through USB inter-
face in NCP10 mode.
RS-232C communication
"2. RS-232C Communication and USB Communication"
(page 3)
"3. COMMUNICATION PROCEDURE (other than NCP20)"
(page 51)
"4. METHOD OF RS-232C COMMUNICATION (NCP20)"
(page 67)
USB communication
"2. RS-232C Communication and USB Communication"
(page 3)
"5. INSTALLATION OF USB DRIVER" (page 73)
LAN communication "6. LAN COMMUNICATION" (page 85)

2
OUTLINE OF COMMUNICATION:Outline of Communication Function
MLM26*RTZ002F

3
2
MLM26*RTZ002F
2.
RS-232C Communication and
USB Communication
2.1 Basic Interface Specifications
RS-232C Communication
*The underlined options show the factory settings for communication with NIDEK devices.
The settings of Parameter 4 Com mode to Parameter 9 CR code are changeable.
For the procedure for changing the parameter settings, see “Setting Parameters” of the LM-
1800P/LM-1800PD operator’s manual.
If the Com mode parameter is set to “NIDEK”, Parameters 5 Com mode to 8 Stop bits are
automatically set for connection with NIDEK devices; once the parameters are set, the set-
tings are unchangeable.
If the Com mode parameter is set to “NCP20”, Parameter 7 Data bits is automatically set to
8bit; once the parameter is set, the settings are unchangeable
The settings of Parameter 5 Baud rate, Parameter 6 Parity and Parameter 8 Stop bits are
changeable.
• Be sure to set the Auto print S and Auto print R/L parameters to Off before communication.
Failure to do so could cause a printer error.
• Priority of interface (RS-232C/USB)
The communication is established with the port received data first.
When the Com mode parameter is set to “NIDEK” or “NIDEK2”, communication is possible only
with RS-232C. After the RS-232C communication is normally complete, data is sent through USB
interface in NCP10 mode.
1 Basic specifications In accordance with the RS-232C specifications
2 Communication method Asynchronous
3 Transmission type Half duplex
4 Com mode Off, NIDEK, NIDEK2, 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

4
RS-232C Communication and USB Communication:Basic Interface Specifications
MLM26*RTZ002F
Type of Com mode
When the Com mode parameter is set to “NCP20”, set the following parameters.
USB Communication
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.
* The underlined option shows the factory setting.
For the method of setting parameters, see “Setting Parameters” of the LM-1800P/LM-1800PD opera-
tor’s manual.
Off No communication
NIDEK Communication method with DSR/DTR
NIDEK2 Communication method with DSR/DTR (with longer time-out limit)
PC Communication method without DSR/DTR
NCP10 Communication method without DSR/DTR, only output of the
measurement result
NCP20 Communication method by command handshake without DSR/DTR
1 Source 0 to 255, factory setting: 1
2 Destination 0 to 255, factory setting: 0
3 Request 0.1 to 10.0 (seconds), factory setting: 2.0
4 Reception 1 to 100 (seconds), factory setting: 10
5 Response 0.1 to 10.0 (seconds), factory setting: 2.0
6 Re-request 0.1 to 10.0 (seconds), factory setting: 2.0
7 Retry 0 to 5 (times), factory setting: 3
• Addition of CR code
Set the CR code parameter to On when the communication software on the computer 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.
1 Communication specifications In accordance with the USB V2.0 specifications
(B-type connector on the LM)
2 Interface cable Standard USB cable (Shield type)
1 Com mode PC, NCP10, NCP20
The NIDEK option is unavailable in USB communication.
2 CR code Off, On

5
RS-232C Communication and USB Communication:Basic Interface Specifications
2
MLM26*RTZ002F
Setting related to the transmission of prism data
Set the Prism Tx parameter to suit the needs for prism data.
* The underlined option shows the factory setting.
This is for selecting whether to transmit the measured prism value.
2.1.1 Installation of the USB driver
The USB driver must be installed in the computer to receive the data measured by the LM-1800P/LM-
1800PD.
Install the USB driver provided with the USB cable (option) to the computer.
For the USB driver installation procedure, see "5. INSTALLATION OF USB DRIVER (Page
73)".
The program for data reception needs to be purchased separately.
*1 Microsoft, Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and/
or other countries.
The name of actual companies and products mentioned herein may be the registered trademarks or trademarks of
their respective owners.
1 Prism Tx Off, On, Display
Off The measured prism value is not transmitted at any time.
On
The measured prism value is transmitted at all times.
When the prism display is set to “BU/D BI/O” setting, the prism value is output in the
same format.
Display When the measured prism value is displayed on the screen, it is transmitted. If
not, it is not transmitted.
• Set the representation form of prism data by setting the Prism parameter.
• The USB driver is compliant with 32-bit or 64-bit version of Windows 7, Windows 8, and
Windows Vista (SP1 or later), and 32-bit version of Windows XP (SP2 or later).
• The pre-installed standard Windows USB driver (usbser.sys or serenum.sys) is used. This
driver provides virtual COM port. After the installation, the USB Serial Ports Driver (COM*)
will be added to the port of the device manager. Even when the OS is compatible, if the
standard USB driver is uninstalled, the USB drive may not be functional.
If necessary restore the standard USB driver to the computer before performing “Installation of the
USB driver”.
The distribution media does not include the standard USB driver. Contact your computer customer
service for the restoration process of the USB driver.

6
RS-232C Communication and USB Communication:Basic Interface Specifications
MLM26*RTZ002F
2.1.2 Cable connection
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.
It is unnecessary connect a wire between RTS (4) and CTS (5) on the LM.
Use the DIN 8-pin connector (DIN Standard No.45329) on the LM.
In the above example, the D-Sub 9-pin connector is connected to the computer.
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.
1
2
3
4
5
67
8
1
9
5
6
Signal name Signal Connector
Pin No. Connection Connector
Pin No. Signal Signal name
11
Transmit exchange Data TXD 2 2 RXD Received exchange Data
Received exchange Data RXD 3 3 TXD Transmit exchange Data
(Ready To Send) RTS 4 4 DTR Data Terminal Ready
(Clear To Send) CTS 5 5 SG Signal Ground
Data Set Ready DSR 6 6 DSR Data Set Ready
Signal Ground SG 7 7 RTS (Ready To Send)
Data Terminal Ready DTR 8 8 CTS (Clear To Send)
Frame Ground FG Housing 9
Housing FG Frame Ground
D-Sub 9P (Female) at the computer
DIN 8P at the LM
RS-232C cable (Option: OPIF-11, standard length of 5 m)
<LM-1800P/1800PD> <Computer (external device)>

7
RS-232C Communication and USB Communication:Communication Format
2
MLM26*RTZ002F
2.2 Communication Format
Among transmitted data are commands such as “Request to Send” other than measurement data. In a
sequence of transmission of measurement data from the LM to the computer, the computer transmits
“Send Data command” to the LM, and the LM receives the command and sends “measurement data”.
The software on the computer reads the received data strings according to the format information and
then performs necessary processing (for example, display of data on the screen or storage of data on
disks).
* When the Com mode parameter is set to “NCP10”, the transmission and reception of com-
mands are not performed.
This section explains the formats of these commands or measurement 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
name Decimal Hexadecimal Description
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
CR 13 0DH
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”.
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.

8
RS-232C Communication and USB Communication:Communication Format
MLM26*RTZ002F
2.2.1 Command Format
The commands (control character string) that are transmittable from and receivable by the LM are
described below. These commands reciprocally control the LM and computer to make them transmit
and receive data. The format of a basic command is described below:
(1) RD command (Computer →LM)
Command for the computer to request the LM to save the measurement data. The com-
mand 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
command should make the LM to save the measurement data.
(2) SD command (Computer →LM)
Command for the computer to request the LM to transmit the measurement data. The com-
puter sends this command to the LM when the computer is ready for the reception of mea-
surement data.
(3) RS command (LM →Computer)
Command for the LM to request the computer to receive the measurement 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 measurement data.
“C**” represents that the LM sends the command to an infinite number of destinations.
SOH C L M STX R D ETB EOT CR : Character string
(10 characters in this case)
01H 43H 4CH 4DH 02H 52H 44H 17H 04H 0DH : Character code (H = Hexadecimal)
The CR code is added.
Characters representing
the RD command
Command to be sent to the LM. “**”
represents the unspecified commands.
Characters representing a command
SOH C L M STX RDETBEOTCR
01H 43H 4CH 4DH 02H 52H 44H 17H 04H 0DH
SOH C L M STX SDETBEOTCR
01H 43H 4CH 4DH 02H 53H 44H 17H 04H 0DH
SOH C * * STX RSETBEOTCR
01H 43H 2AH 2AH 02H 52H 53H 17H 04H 0DH

9
RS-232C Communication and USB Communication:Communication Format
2
MLM26*RTZ002F
(4)CL command (Computer →LM)
Command for the computer to request the LM to clear the data in it.
The command corresponds to the actuation of the clear button of the LM. This com-
mand also releases the fixed data indication.
(5)AB command (Computer →LM)
Command for the computer to request the LM to set the abbe number in accordance with
the material 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.
nn = Abbe number (20 to 60)
e.g.) 34H, 31H for number 41
(6) CH command (Computer →LM)
Command for the computer to request the LM to specify the lens.
The command corresponds to the actuation of the R/L selection button of the LM.
n = S, R, L
S: Single measurement
R: Measurement of the right of the lens
L: Measurement of the left of the lens
(7) MD command (Computer →LM)
Command for the computer to change the measurement screen of the LM.
n = A, N, P, C
A: Auto measurement screen
N: Normal measurement screen
P: Progressive power lens (PPL) measurement screen
C: CL measurement screen
SOH C L M STX C L nETBEOTCR
01H 43H 4CH 4DH 02H 43H 4CH 17H 04H 0DH
SOH C L M STX A B n nETBEOTCR
01H 43H 4CH 4DH 02H 41H 42H 17H 04H 0DH
SOH C L M STX C H nETBEOTCR
01H 43H 4CH 4DH 02H 43H 48H 17H 04H 0DH
SOH C L M STX M D nETBEOTCR
01H 43H 4CH 4DH 02H 4DH 44H 17H 04H 0DH

10
RS-232C Communication and USB Communication:Communication Format
MLM26*RTZ002F
(8) UV Read command (Computer →LM)
Command for the computer to request the UV measurement for the LM.
The command corresponds to the actuation of the UV measurement of the LM. However,
the mode is fixed to the Simple mode.
n = 0, 1, 2
0: Request the UV 100% measurement (Performs the auto correct of the menu regardless of
time.)
1: Request the UV measurement (Same as when the UV parameter is set to “On”.)
2: UV measurement & READ request (Same as when the UV parameter is set to “With”.)
*When the UV parameter is set to “Off”, UV measurement is disabled. When “With” is set for the
parameter, only the reading of the lens power is performed.
(9) Read&Send command (Computer →LM)
Command for the computer to request read and send the lens power.
(10)UV (With) & Send (Computer →LM)
Command for the computer to request the UV measurement and send the lens power.
*When the UV parameter is set to “Off”, UV measurement is disabled. When it is set to “With”, only
the reading of the lens power is performed.
(11)IZ command (Computer →LM)
Command for the computer to request the initialization of the LM.
The LM sends “success” to the computer when the initialization is successful, and “initializa-
tion error” if it fails. (Refer to "2.4. Success Format (Page 22)" for “success”, and "2.5. Error
Format (Page 23)" for “initialization error”.)
n = 0, 1, 2, 3, 4
0: Request the LED level initialization, 0D grid detection, UV 100% measurement
1: Request the LED level initialization
2: Request the 0D grid detection
3: Request the LED level initialization, 0D grid detection
4: Request the UV 100% measurement
SOH C L M STX U R D nETBEOTCR
01H 43H 4CH 4DH 02H 55H 52H 44H 17H 04H 0DH
SOH C L M STX R S DETBEOTCR
01H 43H 4CH 4DH 02H 52H 53H 44H 17H 04H 0DH
SOH C L M STX U R SETBEOTCR
01H 43H 4CH 4DH 02H 55H 52H 53H 17H 04H 0DH
SOH C L M STX I Z nETBEOTCR
01H 43H 4CH 4DH 02H 49H 5AH 17H 04H 0DH

11
RS-232C Communication and USB Communication:Data Format
2
MLM26*RTZ002F
2.3 Data Format
2.3.1 Basic format
The measurement 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.
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.
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
Data character string
Separated by the data type.
The CR codes are added.
Represents “LM data”.
Represents “Data”.
... 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
RS-232C Communication and USB Communication:Data Format
MLM26*RTZ002F
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
*1: LM-1800PD only
Only when the parameter is set to “On”, the measurement is performed and data is output.
*2: 1st add power only
*3: Add power in negative value is sent as positive value.
Ex) SPH -2.00 ADD -1.00 →SPH -3.00 ADD 1.00
*4: In the case of “single (not the right- nor left-eye lens)” state, only single data is output.
When both left- and right-eye lenses are measured, the data is output in following order:
“Right” “Left”.
In the order of “1) - 4)” →“Right 5) - 15) data” →“Left 5) - 15) data”
Measured lens mode Prism
layout
Lens*4
Single
vision
Progressive
power
Contact
lens Single Right Left
1) Company name/Model name
Once at the beginning
2) Operator/ Patient ID
Once at the beginning
3) Patient number (print number)
Once at the beginning
4) Date and time
Once at the beginning
5) SPH, CYL, AXIS
6) SE (Spherical Equivalent value) × × ×
7) ADD (1st/2nd add power)*3 *2 ××
8) PRISM
9) Progressive length *1 ×××
10) Channel width *1 ×××
11) Green transmittance
12) UV transmittance
13) PD ××
14) Inside amount *1 ××××
15) Net prism *1 ××××
• The measurement 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
RS-232C Communication and USB Communication:Data Format
2
MLM26*RTZ002F
2.3.2 Format of each data
The number inside the parentheses indicates the number of characters transmitted.
(1) Company name / Model name
The name of the manufacturer (NIDEK) and the name of model (LM-1800P/LM-1800PD) are
output.
* In the lower line, the ASCII codes are represented by hexadecimals.
1) LM-1800P
2) LM-1800PD
(2) Operator/ Patient ID data
Data read with the optional barcode scanner is output.
(When both operator and patient ID data are set, the operator ID is output before the
format is output twice.)
(3)Patient number (print number) data
Print number data is output when RT data No. is valid, or when RT data No. is invalid and
“Print number” parameter is “On”.
Number: 0001 — 9999
The print number is counted up every time it is cleared when the “Print number” is “On”. The
next one to 9999 is 0001.
(4)Date and time data
Date and time data is output when the “Print data format” parameter is set to other than “Off”.
IDNIDEK/ LM-1800PETBCR
49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 31H 38H 30H 30H 50H 17H 0DH
Company name Model name (LM-1800P)
IDNIDEK/ LM-1800PdETBCR
49H 44H 4EH 49H 44H 45H 4BH 2FH 4CH 4DH 2DH 31H 31H 30H 30H 50H 64H 17H 0DH
Company name Model name (LM-1800PD)
IP***...***ETBCR
49H 50H 17H 0DH
Barcode data (Up to 16 characters)
NO****ETBCR
4EH 4FH 17H 0DH
Number (4 characters)
DA****.**.**.**:**ETBCR
44H 41H 2EH 2EH 2EH 3AH 17H 0DH
Year Month Day Hour Minute

14
RS-232C Communication and USB Communication:Data Format
MLM26*RTZ002F
(5)SPH, CYL and AXIS data
Measurement data of SPH, CYL, and AXIS are output.
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 measurement data is output as fixed digits with the leading digit 0 remaining.
1) Example of single data (SPH = +1.00 D, CYL = 0.00 D, AXIS = 0°)
2) Example of Right data (SPH = -11.25 D, CYL = -9.75 D, AXIS = 90°)
3) Example of Left data (SPH = 0.00 D, CYL = +1.50 D, AXIS = 180°)
Identification
code
Single “ ” (Space, space)
Right “ R” (Space, R)
Left “ L” (Space, L)
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
+01 . 00+00 . 00000ETBCR
20H 20H 2BH 30H 31H 2EH 30H 30H 2BH 30H 30H 2EH 30H 30H 30H 30H 30H 17H 0DH
SPH (6 characters) CYL (6 characters) AXIS
(3 characters)
R- 11 . 25- 09 . 75090ETBCR
20H 52H 2DH 31H 31H 2EH 32H 35H 2DH 30H 39H 2EH 37H 35H 30H 39H 30H 17H 0DH
SPH (6 characters) CYL (6 characters) AXIS
(3 characters)
L+00 . 00+01 . 50180ETBCR
20H 4CH 2BH 30H 30H 2EH 30H 30H 2BH 30H 31H 2EH 35H 30H 31H 38H 30H 17H 0DH
SPH (6 characters) CYL (6 characters) AXIS
(3 characters)

15
RS-232C Communication and USB Communication:Data Format
2
MLM26*RTZ002F
(6) SE data (Spherical Equivalent value, only in the contact lens measuring mode)
Measured of the SE value is output.
The measurement data is output as fixed four digits including a decimal point with a polarity
sign and the leading digit 0 remaining.
1) Example of the single data (SE = +2.00 D)
2) Example of the right data (SE = -10.00 D)
(7)ADD data
The measurement 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.
The measurement data is output as fixed four digits including a decimal point with no polarity
sign and the leading digit 0 remaining.
When the Near parameter is set to “Near SPH”, near SPH data is added to the end of the
addition powers.
(Both the addition power and near SPH data are output because some devices recognize
the addition powers (ADD data) only).
The measurement data is output as fixed four digits including a decimal point with a polarity
sign and the leading digit 0 remaining.
1) Example of the primary addition power in single data (ADD = + 2.00 D)
Identification
code
Single “S ” (S, Space)
Right “SR”
Left “SL”
S+02 . 00ETBCR
53H 20H 2BH 30H 32H 2EH 30H 30H 17H 0DH
SE (6 characters)
SR-10 . 00ETBCR
53H 52H 2DH 31H 30H 2EH 30H 30H 17H 0DH
SE (6 characters)
Identification
code
Single “A ” (A, space)
Right “AR”
Left “AL”
Identification
code
Single “N ” (N, space)
Right “NR”
Left “NL”
A02 . 00ETBCR
41H 20H 30H 32H 2EH 30H 30H 17H 0DH
ADD (5 characters)

16
RS-232C Communication and USB Communication:Data Format
MLM26*RTZ002F
2) Example of the primary and secondary addition powers in the right data (ADD = +2.00 D, ADD2
= +2.50 D
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)
(8)PRISM data
The measurement data of the prism power is output.
When the “PrismTx” parameter is set to “On”, the prism data is output in the format of “BU/D
BI/O” setting.
When the PrismTx parameter is set to “Display”, the form varies with the prism representa-
tion mode.
When the Prism parameter is set to BU/D BI/O:
The measurement data is output as fixed four digits including a decimal point with no
polarity sign and the leading digit 0 remaining.
In addition, a character representing the base direction is added to the end of the mea-
surement 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
AR02 . 00ETBCR02 . 50ETBCR
41H 52H 30H 32H 2EH 30H 30H 17H 0DH 30H 32H 2EH 35H 30H 17H 0DH
ADD (5 characters) ADD2 (5 characters)
AL02 . 00ETBCR02 . 50ETBCR
→To be
continued
41H 4CH 30H 32H 2EH 30H 30H 17H 0DH 30H 32H 2EH 35H 30H 17H 0DH
ADD (5 characters) ADD2 (5 characters)
NL-01.00ETBCR-00.50ETBCR
4EH 4CH 2DH 30H 31H 2EH 30H 30H 17H 0DH 2DH 30H 30H 2EH 35H 30H 17H 0DH
NSPH (6 characters) NSPH2 (6 characters)
Identification
code
Single “P ” (P, Space)
Right “PR”
Left “PL”
This manual suits for next models
1
Table of contents
Other Nidek Medical Measuring Instrument manuals

Nidek Medical
Nidek Medical TONOREF II User manual

Nidek Medical
Nidek Medical ARK-700 Series User manual

Nidek Medical
Nidek Medical ARK-710A User manual

Nidek Medical
Nidek Medical LM-1000 User manual

Nidek Medical
Nidek Medical AR-600 User manual

Nidek Medical
Nidek Medical LM-7 User manual

Nidek Medical
Nidek Medical LM-600 User manual

Nidek Medical
Nidek Medical PM-700 User manual

Nidek Medical
Nidek Medical YC-1800 User manual

Nidek Medical
Nidek Medical OPD-Scan III User manual