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
R
D
ETB
EOT
CR
01H
43H
4CH
4DH
02H
52H
44H
17H
04H
0DH
SOH
C
L
M
STX
S
D
ETB
EOT
CR
01H
43H
4CH
4DH
02H
53H
44H
17H
04H
0DH
SOH
C
*
*
STX
R
S
ETB
EOT
CR
01H
43H
2AH
2AH
02H
52H
53H
17H
04H
0DH
Содержание LM-1800P
Страница 1: ...INTERFACE MANUAL MLM26 RTZ002F LM 1800P LM 1800PD AUTO LENSMETER...
Страница 6: ...2 OUTLINE OF COMMUNICATION Outline of Communication Function MLM26 RTZ002F...
Страница 54: ...50 RS 232C Communication and USB Communication Example of Data Output MLM26 RTZ002F...
Страница 70: ...66 COMMUNICATION PROCEDURE other than NCP20 Flowchart MLM26 RTZ002F...