The LM-1000, LM-1000P, or LM-1200 comes standard with a 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-1000, LM-100 0P, or LM-1200 through the USB interface.
The following sections describe the specifications for the interface for communication between the
LM-1000, LM-1000P, or LM-1200 and an external device such as a personal computer.
1.1.1Basic interface specifications
• Be sure to set the A.Prt S and A.Prt R/L parameters to OFF before communication.
Failure to do so could cause a printer error.
1Communication specifications
2Data formatASCII
3Error detectionChecksum
4Interface cableStandard USB cable (Shield type)
5Activation of transmissionOperation of the print button
In accordance with the USB V1.1 specifications
(B-type connector on the LM side)
1.1.2Setting the parameter related to communication
Among the parameters related to communication, set the two parameters below: The other parameters related to communication have no influence on the data exported through the USB interface.
1CR CodeOFF, ON
2PrismTxOFF, ON, Display
* The underlined option shows the factory setting.
For the method of setting parameters, see “2.13 Setting Parameters” of the LM-1000, LM-1000P, LM1200 Operator's Manual.
3
OUTLINE OF COMMUNICATION: Outline of Communication Function
1 : CR Code
This is for selecting whether to attach CR (carriage return) code at the end of data to be transmitted.
Set this parameter to “ON” when the communication software on the computer needs the CR code to
terminate the reception of the data character string.
OFFThe CR code is not added.
ONThe CR code is added to the output character string.
2 : Prism Tx
This parameter is for selecting whether to transmit the measured prism value.
OFFThe measured prism value is not transmitted at any time.
ON
Display
The measured prism value that is displayed in rectangular coordinates is
transmitted at all times.
When the measured prism value is displayed on the screen, it will be
transmitted. If not, it will not be transmitted.
1.1.3Installation of the USB driver
The computer needs the USB driver to receive the data measured by the LM-1000, LM-1000P, or LM-
1200.
Install the provided USB driver attached to the USB cable (option) to the computer.
For the USB driver installation procedure, refer to “3. INSTALLATION OF USB DRIVER”
(page 37).
Purchase a program used for data reception by yourself.
4
2
2.
Data measured by the LM-1000, LM-1000P, or LM-1200 and represented in ASCII character codes
are transmitted in the specified format and the specified sequence. Data that has not bee n obtained is
not transmitted; the length of data changes with the measureme nt conditions: W rite the progra m using
character strings to be added for a search for desired data as below:
Data is transmitted only from the LM to the computer; the computer is no t provided with a fu nction etc.
for requesting a command. Data transmission is triggered by the operation of the print button. The
data that has been saved in the memory when the print button is pressed is transmitted. During the
measurement, measured data that is in the memory when the print button is pressed is saved and
transmitted.
DATA FORMAT
2.1Format of Entire Data
The format of the entire data to be transmitted is explained:
SOH "DLM" STX NIDEK ID Measured data ETBCREOTCS1 - CS4CR
(1)(2)(3)(4)(5)(6)(7)(8)(9)(10)
(1) SOH (01H)
This is referred to as “communication control character” and frequently used for data transmission etc. A single SOH character is represented as “01H” in hexadecimal character
codes.
SOH represents “the start of a character string".
Data (3), (6), (7), (8), and (10) is a similar control character.
(2) “DLM”
Data that is comprised of three characters represent “Data of LM”.
(3) STX (02H)
This communication control character represents “the start of data”.
5
DATA FORMAT: Format of Entire Data
(4)NEDEK ID
Character string of the company and model names.
LM-1000P
* In the lower line, the ASCII code of each character is represented by hexadecimals.
The first two characters, “ID”, that is referred to as an identification code of the ch aracter
string represents the type of the d ata that follo ws. The identification code that is also added
to the head of the measured data is used for searching for desired data. The latter ETB, a
communication control character, represents “a delimiter of data”. Some software on the
computer needs the CR code at the end that represents “the end of the character string”. As
necessary, set the CR Code parameter.
(5) Measured data, (6) ETB, (7) CR
See “2.2. Format of each data (Page 8)”.
(8)EOT(04H)
This is a communication control character that represents “the end of the character string”.
In the case of measured data, this character represents the end of data.
(9)CS1 - CS4, (10) CR
This is a checksum for error detection. The value of the checksum is the simple sum of
“SOH” at the head to “EOT” in the data format except the CR code. The hexadecimal numbers in the low-order two bytes are represented by four-byte ASCII codes as a simple su m of
SOH at the head of the data to “EOT (04H)”. The checksum is calculated from the data
received by the computer in the same way. Normal data reception is identified by an agreement between both sums.
6
DATA FORMAT: Format of Entire Data
2
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
Single
vision
1) Manufacturer/model name
2) SPH, CYL, AXIS
3) SE (Spherical Equivalent value)××
4) ADD (1st/2nd addition power)
5) PRISM
6) Progressive Length
7) Channel Width
*1
8) PD
9) Near Portion Inside Amount
10) Net Prism
*1
*1
*1
*1
{{{{
{{{{{{{
{
{{{{{{{
{{
{
Progressive
power
{
×
×
×
Contact
lens
{
*2
{
{
{
××××One for both sides
××
××
××
×××
×××
Prism
layout
×
SingleRightLeft
Once at the beginning
{{{
{{{
{{{
{{{
*3
Lens
{{
{{
*1: LM-1200 only.
When the parameter is not set to “ON”, measurement or data output is not performed.
*2: 1st addition power only
*3: 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 dat a is output in fo llowing orde r:
“Right” “Left”.
LM-1000/LM-1000P (In the order of 1) → Right 2) - 5) data → Left 2) - 5) data)
LM-1200(In the order of 1) → Right 2) - 7) data → Left 2) - 7) data → (8) - 10))
*4: In the prism layout, the measured value is output for the PRISM value.
• 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.
7
DATA FORMAT: Format of each data
2.2Format of each data
The number inside the parentheses indicates the number of chara cters transmitted.
(1)Company name / Model name
The name of the manufacturer (NIDEK) and the name of model (LM-1000/LM-1000P/LM-
1200) are output.
* In the lower line, the ASCII codes are represented by hexadecimals.
Basic measured SPH, CYL, and AXIS data are output.
Identification
code
The number of digits of each measured data to be output is fixed with the leading digit 0
remaining.
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.)
SPH
CYL
AXISThree-digit integer
Company nameModel name (LM-1200)
Single“ ” (Space, Space)
Right“ R” (Space, R)
Left“ L” (Space, L)
Four digits with a fixed decimal point
and a polarity sign
Four digits with a fixed decimal point
and a polarity sign
8
DATA FORMAT: Format of each data
2
1) In the case of single data (SPH= +1.00 D, CYL= 0.00 D, AXIS= 0º)
Measured data of the progressive length (V. Length) is output.
BASE
(3 characters)
Identification
code
Single
Right“DR”
Left“DL”
“D ” (D, space)
Measured data of the progressive length is output by a two-dig it integer with th e leading digit
0 remaining.
1) Example of single data (V. Length= 12 mm)
D12ETBCR
44H20H31H32H17H0DH
V. Length
(2 characters)
2) Example of right data (V. Length= 8 mm)
DR0 8ETBCR
44H52H30H38H17H0DH
V. Length
(2 characters)
12
DATA FORMAT: Format of each data
2
(7)Channel Width (Only for LM-1200)
Measured data of the channel width (C. Width) and its position (Len) are output.
Single“W ” (W, space)
Identification
code
Right“WR”
Left“WL”
Measured data of the channel width/position is output by a two-digit integer with the leading
digit 0 remaining.
1) Example of single data (C. Width = 6 mm/ Measurement at the position of 16 mm of the near
portion from the add starting point)
W06/16ETBCR
57H20H30H36H2FH31H36H17H0DH
C. Width
(2 characters)
Position
(2 characters)
2) Example of left data (C. Width = 5 mm/ Measurement at the position of 8 mm of the near por tion
from the add starting point)
WL0 5/08ETBCR
57H4CH30H35H2FH30H38H17H0DH
C. Width
(2 characters)
Position
(2 characters)
(8)PD (Only for LM-1200)
The measured PD data is output.
* This data will not be included in the output unless PD has been measured for both sides.
Identification
code
“PD”
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)
Net H. Prism (6 characters)Net V. Prism (6 characters)
BASE IN
BASE UP
(9)Near Portion Inside Amount (Only for progressive lens measurement mode of LM-1200)
Measured data of the near portion inside amount is output.
* Output only when both the right and left distance PDs are measured.
* The side (R or L) whose near portion inside amount has not been measured is output with
“*****”.
Identification
code
“IS”
Measured data is output in the order of “R. INS” to “L. INS”.
Measured data of the near portion inside amount is output by fixed three digits including a
decimal point with a polarity sign and the leading digit 0 remaining.
Example of near portion inside amount (R. INS = 1.5 mm, L. INS = -2.5 mm)
(10)Net Prism data (Only for normal lens meas urement mode of LM-1200)
This output data shows the net prism measurements.
* This data will not be included in the output unless prism has been measured for both sides.
Identification
code
“NP”
The data is sent out in the order of Net Horizontal Prism, and Net Vertical Prism.
The net prism measurements are always indicated by rectangular coordinates (BASE IN/
OUT, UP/DOWN). Measured data is output by four digits including a decimal point and the
leading digit 0 remaining.
The base direction is shown with a letter put af ter th e value, just as in th e case of the PRISM
data.
E.g. Net H. Prism = IN 3.00,Net V. Prism = UP 2.50 03.00 I02.50 U
Net H. Prism = OUT 1.25,Net V. Prism = DOWN 2.00 01.25 O02.00 D
Example of net prism data (Net H. Prism = IN 3.00, Net V. Prism = UP 2.50)
14
2
2.3Example of Data Output
The formats of various types of measured data are explained in “2.2. Format of each data (Page 8)”;
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:
• Example outputs of (1) - (5), (8), (14) - (15) are common among LM-1000, LM-1000P, and
LM-1200.
For the LM-1000 and LM-1200, replace the model name.
(1)In the case of single data in normal measurement mode:
Measurement conditions
: Single vision lens measurement with the single state designated
: SPH = +1.00 D, CYL = 0.00 D, AXIS = 0º
: No prism measurement performed
: CR code = None
DATA FORMAT: Example of Data Output
• The following is an example of minimum data to be 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”.
(10) In the case of the maximum dat a size in normal measurement mode (LM-1000/1000P)
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 LM-1000P of the maximum data size (175 characters) in an ordinary
lens measurement mode.
• When the NEAR parameter is set to NEAR SPH, both the addition powers (ADD) and near
spherical data (NSPH) are output.
(13)In the case of the maximum data size in progressive power lens measurement mode (LM-
1200)
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.50Δ, DOWN 2.00Δ (BU/D BI/O setting)
ADD = +2.00 D
Representation form of near portion power = NEAR SPH NSPH = +0.75 D
Progressive Length = 16 mm
Channel Width = 8 mm / Position = 15 mm
RPD = 31.5 mm
RINS = 1.5 mm
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
Representation form of near portion power = NEAR SPH NSPH = +0.25 D
Progressive Length = 17 mm
Channel Width = 10 mm / Position = 18 mm
LPD = 32.5 mm
LINS =2.0 mm
Total PD = 64.0 mm
CR code = Added
• This is an example of the LM-1200 of the maximum data size (204 characters) in the
progressive power lens measurement mode.
• When the NEAR parameter is set to NEAR SPH, both the addition powers (ADD) and near
spherical data (NSPH) are output.
• When the function of the progressive length measurement and/or the channel width
measurement is set, the measured result of the progressive length and/or channel width is
output.