Nikon NR-5500, NRK-8000 User manual

Page 1
Nikon
DATA
the
NRK-8000/NR-5500
COMMUNICATION
BETWEEN
and
a
Computer
CORPORATION
Page 2
1.
Introduction
There
are
three
Refractometer The
first
method
NR-5000.
the
NR-5000
in
this
The
second
value
sent.
The
third
“RS232C=NNKE”.
Difference
NNKI
NNKE
The
following
mode,
and
This
method
This
is
the
method
Name
mode
between
(RS232C=NNKI)
communication
methods
NR-5500
is
method
available.
PD
of
is
can
Cannot Can
of to a Computer.
use
of
the
is
possible
value
of
communication patients can “RS232C=NNKI”.
send
We
call
NNKI
Kerato
Data
send
send
information
from
the
(RS232C=NNKE).
transferring
Old
NK
Protocol
if a communication
In
this
case,
and
Name
the
PD
it
the
and
explains
NR-5100,
be
value,
NNKE
can
is
sent.
“NNKE
From From
about
and
data
from
which
the
communication
not
be
the
same
However,
This
is
called
Name
and
mode”.
external NR(K)
the
different
how
to
the
Auto
is
package
sent.
as
the
KERATO
the
KERATO
Start
computer
----
The
points
transfer
Ref
Keratometer
necessary
that
mode
should
NR-5100
datum
“NNKI
NR(K)
whole
mode”.
datum.
of
communication
----
The
external
sets
of
the
datum
for the
allows
be
has.
In
of
the
This
DTR
up.
second
using
NRK-8000/Auto
Auto
Refractometer
communication
“RS232C=NK”.
this
mode,
NRK-8000
is
computer
sets
type
the
third
the
can
DTR
type
PD
not
up.
with
But
be
of
Page 3
2.
Different
It
is
almost
NR-5500
data
are
Title
Codes
Language
Points
the
same
E.G
(For
different).
Table
ASCII
English German
French
Italian Spanish Dutch Danish Swedish
Norwegian
Turkish Portuguese Hungarian Pohsh
Indonesia
Greek
(E1,E2)
(GR)
(FR)
(IT)
(SP)
(DU)
(DM)
(SW)
(NR)
(TR)
(HN)
(PL)
(IN)
(GK)
on
some
(PR)
NNK(I,
as
the
NR-5100
countries,
CODE (HEX)
E)
mode
but
some
codes
31
MR.
HR.
M.
SIG.
SENOR
MR.
HR.
HERR.
HERR.
BAY SNR
UR.
PAN
TUAN
KYPIOZ
from
of
NR-5100
Title
Codes
special
characters
MRS.
FR.
MME.
SIG.A
SRA.
MEVR.
FRU. FRU.
FRU.
ーーーー
SNRA
ASSZ.
PANI
NYONYA
ΔΙΣ
32
are
added in
the
BAYAN
for
free
33
MS.
ーーーー
ーーーー
ーーーー ーーーー ーーーー ーーーー ーーーー
ーーーー
ーーーー ーーーー ーーーー
ーーーー
ーーーー
the
NRK-8000/
space
of
the
MLLE.
SIG.NA
SRTA.
FROKEN
FR KEN
PANNA
NONA
KYPIOI
heading
34
MISS
FRL.
MEJ. FRK.
ーーーー
MNA
KISA.
Note:
Special
Language
These
‘#’ the
GR, SW, NR GK
HN
FR,
SP,
TR
PL
Title
Codes
code
Character’s
CODE
DU
DM
PR
IT
ЕО | Е! | Е? | E3 | E4 | ES | E6 | E7 | E8 | E9 | EA | EB | EC | ED | ЕЕ
AO
riAl@lA
Á
A
NICÇC
соо
АСЕ
will
of
Title
Table
JÉ,
Ě
be
sent
is
30H
A
|
Ů
60
|
|
Á | E | E,
Al
Èl
when
(‘0’).
E11
E
0
|
É
МО
it
set
in
|1E|
8
O,
|
|.
6
|
C
OU
fl
|
| A | E
NAME
|
Z
|
|
INPUT
|,
Oe
|
U
A
|
2
MODE.
|
|
a
El
|
|
6
1
|
|
Ú| A |
1
Ž
|
|-
O0
AL
And
|
|
|
|
when
the
Title
|
|
トト
|
|
|
|
|
|
É | I | Ů
|
|
|
ALI
|
|
|6|Ù
|
is
Page 4
3.
Using
If
you entitled “NR-5100”
NNKI
want
to
“On
Communication
with
mode
make
the
an
interface
between
“NRK-8000”
using
the
the
or
“NR-5500”.
NNKI
mode,
NR-5100
please
refer
and a Computer”
to
the
instructions
and
replace
the
manual
word
But you to
4.
How
4.1.
can’t
transfer
to
the
make
Preparatory +
Setting
Baud Data Start Stop
Parity:
XON/XOFF
e
Interface
Cabling
IBM-PC/AT
(9-pins
CD RD SD ER SG
DR RS
CS
RI
read
the
KERATO
an
interface
procedures
up
the
Rates: Length: bits: bits:
cable:
connector)
l
PER
Gu
a
DO
KERATO
datum
datum
of
the
with
communication
9600
8
bits
1
2
NONE
control:
Nikon
NONE
Interface
of
the
NRK-8000,
the
NNKE
port
(PC)
bps
cable
NRK-8000
you
mode
with
NNK
during
should
setting
use
(For
this
procedure.
the
NNKE
PC9801
So
if
you
mode.
only)
NR-8000/NR-5500
(25-pins
1 2 3 4 5 6 7
20
connector)
FG SD RD RS CS DR SG
ER
want
NEC-PC9801 (25-pins
connector)
FG
SD RD RS CS DR ER SG
NRK-8000/NR-5500 (25-pins
62
U
R
м
Г]
DUI
o
JN
connector)
FG SD RD RS CS DR ER SG
Page 5
4.2.
Communication
A.
B.
C.
4.3.
Formats
Connecting
1.
Wait
until
2.
Turn
on
3.
Wait
until
NRK.
4.
Send
Receiving
After a link DATA.
1.
Receive
data
In
Last_BLOCK.
Releasing
1.
Wait
2.
Turn
3.
Wait
the
until
off until
of
Block
Procedure
to
link
the
line
the
NRK
turns
the
DTR
line
on
Receive
(ACK,BCCL,BCCH
is
established,
case
of
the
DATA_BLOCK
the
NRK-8000
communication
receive
the
DTR
line
from
the
DSR
is
off
on
its
DTR
line
(1.e.,
the
PC
side.
(ENQ,BCCL,BCCH
(06H,06H,00H)).
NRK-8000/NR-5500
only,
2nd
KERATODATA).
start
with
the
Heading
line
(04H,04H,00H).
the
PC
side.
from
the
PC
side
(i.e,
DTR
line
sequence
This
sends
BLOCK,
DTR
on
the
PC
(05H,05H,00H))
establishes
the
DATA
Data_BLOCks,
line
of
the
NRK
side).
a
link.
BLOCKs
side).
from
(Ist
the
REF
4.3.1.
Control
The
4.3.2.
Control
[ENO
[
[МАК
|
following
STX: ETX: NAK: ETB:
|:
ACK
|:
|:
EOT
|:
Characters
control
02H 03H
15H 17H
Code
ENQuire
SOH: ACK: ENQ: EOT:
Block
ACKnowledge
Not
AcKnowledge
End
Of
Transmission
characters
are
01H 06H 05H 04H
used:
ENQ,BCCL,BCCH (05H,05H,00H)
ACK,BCCL,BCCH
(06H,06H,00H)
NAK,BCCL,BCCH
(15H,15H,00H) EOT,BCCL,BCCH
(04H,04H,00H)
Page 6
4.3.3.
Data
A.
B.
Block
Heading_BLOCK
Ref
Formats
data_BLOCKs
SOH,Heading
STX,
"@RM"
data,
ETB,BCCL,BCCH
,ETB,BCCL,BCCH
(02H,40H,52H,4DH,17H,F6H,00H)
C.
D.
A heading
The
quence In
sent
The
4.3.4.
Block
The characters
for
Kerato
Last
data
data
sent
data
second
blocks
case
of
(format
last
data
Check
block
example:
data
BLOCK
from
that
data
which
the
NRK-8000
C).
block
Code
check
next
BLOCKs
NRK
begins
block
contain
"©KM"
has
(BCCL,BCCH)
code
of
the
STX,refdata, STX,"©KM"
(02H,40H,52H,4DH,
STX,keratodata,ETB
STX,last
consists
with
contains
an
of
SOH
STX,
multiple
measurement
only,
auto-kerato
is
for
identifying
format
is
STX
D.
calculated
or
SOH
ETB,BCCL,BCCH
„ETB,BCCL,BCCH
data,ETB
blocks.
code
(format
"@RM"
auto-ref
data
auto-kerato
by
adding
until
the
17H,7AH,03H)
or
ETX,BCCL,BCCH
or
ETX,BCCL,BCCH
The
A).
to
identify
data
will
be
together
ETB
or
ETX.
1st
data
auto-ref
(format
sent,
data.
the
byte
block
B).
after
value
contains
data
and
auto-ref
of
data
all
the
subse-
is
data
STX, " ©RM"
<
„ETB,BCCL,BCCH
2-2
22 > calculation
range
(02H,40H,52H,4DH,17H,F6H,00H) 40H+52H+4DH+17H=00F6H.
Consequently,
BCCL=F6H,
BCCH=00H.
Page 7
5.
Data
A.
Format
Heading
SOH | Company
(1)
data
Name | Model
(5) (8)
<Example> SOH
NIKONNRK-8000_________
Name
ID | Date | Time | Free
(12) | (8) (5)
Space |
(16)
03510/12/93 : IY.SMITA
ETB
0
(1)
BCCL
(1)
2
BCCH
(1) | length
BCCL
BCCH
B.
Note:
Data
STX
(1)
The
Free MODE Format
Title
Refer
VD
o 17 2' '3' 4’
identifier
Title
code
12.0
13.5
13.8
15.0
@
(1)
and
of
Code
©
Code
to
0.0
Space
the
the
free
value
the
Title
value
(13.75)
Data
type
(2)
of
NR(K)
VD
space
Name
(14)
is
Codes
is
between
contains
code.
is:
between
Table
'0' ‘4’.
ETB
BCCL
(1)
the
VD
code
(1)
'0' ‘4°.
in
page
BCCH
(1)
(1)
Title
title
code,
length
2.
Code
A
the
Name
Free
name
Space
set
in
NAME
|
VD
INPUT
<Example> STX
"@RM"
STX
"@KM"
ETB
ETB
BCCL
BCCL
BCCH : AutoRef
Data
BCCH : AutoKerato
Data
(NRK-8000
only)
Receive
Page 8
C.
Measuring
After data
STX | Data
(1)
@
Data
@
Eye
®
Measurement
The
Data
sending
and
type
type
to
be
length
of
the
and
right
type
©
Ď
measured
data
of
data
Data
identifier,
eyes
left
Eye
measured
(1)
(2) (3)
(R
or
L)
(items
that
depends
measurement
will
Data | ETB
are
not
on
the
sent.
be
() | 0)
(ar
measured
Data
type.
data
separated
BCCL
BCCH
(1) (1)
are
omitted)
in
blocks
the
ETB
code
by
ETX.
according
data
is
the
will
last
be
replaced
to
one,
the
Note:
(1)
AutoRef a.
b.
<Example
STX STX STX STX
(2)
AutoKerato a.
b.
>
The
intermediate
The
last
data
Data
Objective
This
{0 | yl
(1)
PD
value
|
PD | PDvalue | ETB(X) | BCCL | BCCH
(2)
"@RM" "OR+_4.75-_2.62121" "OL+_4.00-_0.25_69" "PD53.0
Central
1
SPH,CYL,AX
means
SPH,
SPH | CYL | AXS | ETB(X) | BCCL | BCCH
αλ
(6)
RorL
of
AutoRef
ETB
Data
Data
2
Lc | A|RI|DI|
(1)
DIO)
RorL
Peripheral
1
IC]
(1)
T30 | N30 | $30 | 130 | Eh30 | Ev30 | Eav30 | ETB(X) | BCCL | BCCH
(5)
2
A|HÍVÍ
ONG
R
Data
or
(5)
blocks
block
(RM)
objective
CYL,
(4)
are
is
terminated
value
AXS
are
(6)
(1)
terminated
by
value
(3)
(1)
ETX.
(1)
Data>
BCCL
(KM)------NRK-8000
R1,D1,AX1,R2,D2,AX2,Rav,CYL
(5) (3) (5)
BCCH
ETB
ETB
"
ETB
AXI | R2
BCCL
BCCL
BCCL
BCCH
only
[D2 | AX2 | Rav | CYL | ETB(X) | BCCL | BCCH
(5)
(3)
T23 | N23 | S23 | 123 | Eh23 | Ev23 | Eav23 + Continue
(5)
(5)
L
(5)
(5)
6)
(5)
(5) (5)
by
ETB.
(1)
|
(
;
AutoRef
BCCH ; Right
BCCH
; ;
(5)
Left PD
(5)
(1)
eye
eye
value
(6)
(5)
(5)
|
Data
(5)
(1)
(1)
length
length
(1)
(5)
-
length
(1)
|
(1) length
|
(1) length
Note:
Figure 23, surement
v horizontalic
is
30
the
in ( )
means
means
at
Temporal,
vertical,
at
number
measurement
Nasal,
av
is
the
30
degrees.
of
characters.
data
at
Superior,
average.
-7-
23
degree,
So
Eh30
(i.e,
(5)
30
Inferior
means
means 5 characters.)
degree.
side. E is
the
T,
N,
S, [ means
the
eccentric
eccentric
value
mea-
value.
of
the
Page 9
6.
Example
An
<Example STX STX STX
7.92
of
example
==>
<==
==>
<==
of
"@KM"
AutoKerato
ETB
BCCL
Data>
BCCH "CR_8.2341.00151_7.8243.12_61_8.02-_2.12" "PR
8.13
7.92
Data
of
data
DSR:
DTR:
In:
Out:
7.92.
8.11
Transmission
transmission
Detect
TURN
Receive
Sent
8.11
7.92
ON
7.92
flow
DSR
DTR
ENQ
ACK
8.12
0.467
Flow
is
shown.
LINE
LINE
(05
(06
for
05
06
TURN
00)
00)
8.13 "
ETB
BCCL
NRK-8000
ON
0.0000.000
ETB
BCCL
BCCH
BCCH
Continue
<
DSR
<
ОТВ
<—
Handshake
<
Handshake
CHECK
ОР
Received>SOH
__]Y.SMTTA
==>
01
4e
20
20
53
4d
<==
Received>STX
==>
02
40
<==
Received>STX
==>
02
4f
<==
Received>STX
==>
49
30 49
52
52
In:
4b
33 54
Out:
In:
4017
Out:
In:
2b
Out:
In:
(01)
NIKONNRK-8000______
_ 0 0 0
Receive
4f
4e
35
31
41
20 20 20
Sent
(02)
@RM
Receive
£6
Sent
(02)OR+
Receive
20 34
Sent
(02)OL+
Receive
4e
30
00
2e
2
ETB
52
4b
2f
31 20
ACK
ETB
ACK
4.75- ETB
37
35
ACK
4.00- ETB
(17
be
2d
38 30 30
32
39
20 20 20
(06
06
(17
£6
(06
06
2.62121 (17
7a
2d
20
32
(06
06
0.25 (17
60
69
0a)
33 32
00)
00)
00)
03)
2e
00)
03)
30 20
20
20
17
be
36
32
03510/12/93
20
20
20 20
3a
20 20
31 59
0a
31
32
3117
20
7a
<—
TXT
<
Data
in
HEX
<
Response
«
Identifier
received
RM
02
4f
<==
Received>STX
==>
02
50
<==
Received>STX
==>
02
40
<==
4c
2b
20
34
Out:
Sent
(02)PD53.0________
In:
Receive
44 35
4b
Out:
In:
4d
Out:
33
2e
Sent
(02)
Receive
17
Sent
@KM
ef
2e
30
00
30
20
30
ACK
ETB 20
ACK
ETB
ACK
2d
20 30
(06
(17
20 20
(06
(17
(06
06
71
20
06
ef
06
2e
00)
02)
20
00)
00)
00)
32 35
20
20
20
17
36 39
71
02
17
60
«
Identifier
KM
Page 10
Received>STX
==>
02
43
34
33
01
<==
52
2e
(02)CR
In:
20 31
Out:
Receive
38
2e
32
20
Sent
8.2341.00151 ETB
32
33
34 31
36
31 20
ACK
38
(17
2e
30 30 31
2e
30
(06
7.8243.12
01)
87
32
2d
06
00)
61
35
31 20 37
20
32
2e
8.02-
2e
31
32
2.12
38 17
<
Center,
Right
1
0.467
02
50
39
32
30
30
20
38
bl
01
==>
52 20 38 2e 2e
<==
Received>STX
==>
05 05 2e 30
00
30
31
17 72
<==
Received>STX
70.1080.2850.216 ==>
02 50
30
36
20 38
4c 20 34 20 30
2e
2e
9e 01
In:
Receive
20
38 2e
30
30
31 31 20
Out:
(02)CL,
In:
Sent
Receive
02 43 34
32
01
Out:
In:
(02)
Sent
PL
Receive
38
38
2e
32
35
30 37 30
2e
31
33
31
32
20 38
30 20
4c 2e
37
20
20
8.0242.12175
20
38
31
32
8.02
8.01
2e
30
32
30
34 20
36
20
38
2e
31
ETB
20
2e
37 2e 39
(17
2e 31 32
20 20 30
ACK
ETB
2e 20
ACK
(06
(17
30
32
38 35
(06
8.04
ETX
20 38 38
2e
2e
30
30
38 30
(03
2e 30 33
bl
39
32
33
20
20
37
2e
34
06
8.0142.12 72
34
32
20
38
06
00)
8.04
8.04
9e
01)
30 34
30
20
38
2e
01)
20 37 20 2e 36 37
20 39
2e
39 32 20 20 32
20 38 20
20
00)
85
01)
2e
31
32
31
2e
30 31 20 20
8.040.2090.2560.256
31 20
32
2e 2e
38
38
2e
32
30
30
33
35 30
30 34 39 20 38
2e
30
20
8.01
37
30
32 31
20
37
2e
30 2e 31 20
20
0.00
35
20
30
2e
20
38
2e
32
2e
30
36
8.03
<
Peri,
Center,
8.03
<
Реп,
«
ETX
Right
Left
8.09
8.0
Left
Detect
<==
==>
<==
==>
Out:
In:
DTR:
DSR:
Sent
Receive
TURN
Detect
OFF
ACK
EOT
DSR
DTR
(06 (04
LINE
06 04
LINE
00)
00)
TURN
OFF
Response
<
EOT
<—
Release
<
End
Detect
Page 11
7.
Flow
Control
Protocol
Summary
on
NNKE
mode
Transmission
Connecting a communication
(a)
When
PC The
Note:
Establishing a data
(b)
When
code ment returns
Note:
Transmitting
(c)
When
mission
blocks
BCCL
of
measurement
sending
for
connection
maximum
Both
the
ing.
The
PC
is
always
the
NR(K)
to
the
PC.
data.
The
an
ACK
The
control
ENQ,BCCL,BCCH.
measurement
the
NR(K)
of
the including BCCH"
measurement
of a communication
time-out
NR(K)
NR(K)
link
recognizes
The
maximum
is 1 second.
code
receives
measurement
"SOH
sequences.
and
on.
PC
data
data,
period
the
cannot
then
time-out
ENQ
This
data
an
data.
....
ETB
is
carried
line
the
for
this
PC
must
call
for
the
on
state
returns
period
referred
is
also
ACK
from
The
BCCL
out
in
NR(K)
line.
sets
The
response
hold
their
the
connection
of
its
DSR
an
ACK
to
from
to
here
is
true
for
the
PC
measurement
BCCH",
steps
(a)
through
the
DTR
PC
responds
is 3
seconds.
DTR
off
of a communication
(DTR
indicate
the
time
that the
line
when
of
PC),
it
PC
(e)
shown
(DSR
by
setting
they
it
sends
is
ready
receives
on
are
to
PC)
its
an
actually a three-character
ACK,EOT,
and a data
data
"STX
link
is
....
ETB
and
made
other
is
BCCL
control
established,
up
of
two
BCCH"
below.
on
to
DTR
not
communicat-
line
if
an
ENQ
receive
ENQ
till
sequence
codes.
it
starts
or
more
and
call
the
line
on.
DTR
of
control
measure-
it
of
trans-
data
"STX
the
....
The
NR(K)
NR(K) The
first
code.
Note:
Releasing
(d)
When PC,
it
sends
Disconnecting
(e)
Upon
the
The
receiving
communication
NR(K)
line
from
waits
receives
block
The
last
The
maximum
an
ACK
the
the
NR(K)
an
turns
the
PC.
for
an
an
ACK
to
be
transmitted
data
block
time-out
is I second.
data
link
ends
the
EOT
control
the
communication
the
EOT
line.
off
its
ACK
from
response,
after a data
must
end
period
transmission
code
code
from
The
maximum
DTR
(DSR
the
it
starts
with
from
to
release
line
the
on
PC
every
time
sending
link
is
an
ETX
BCCL
when
the
of
the
last
the
data
NR(K),
the
permissible
the
PC)
line
it
transmits
the
next
block.
established
BCCH.
PC
receives a data
data
block
and
link.
PC
turns
off
response
after
recognizing
one
must
begin
sequence.
receives
its
DTR
time
is 1 second.
the
block.
with
block
an
line
off
When
an
SOH
until
ACK
to
disconnect
state
of
the
it
returns
from
the
DTR
the
-10-
Loading...