65
COMMUNICATION PROCEDURE (other than NCP20)
:
Flowchart
MLM26*RTZ002F
3
START
INITIALIZE
OPEN
CHECK DSR
NO
YES
OUTPUT
RD COMMAND
INPUT DATA
‘EOT’ ?
NO
YES
DTR = OFF
DISPLAY DATA
END
DSR = ON
CHECK DSR
OFF
ON
NO
YES
SD COM. ?
OUTPUT DATA
OUTPUT ‘EOT’
CLEAR PROCESS
(3000)
(3130)
(3140)
(3150)
(3190)
(3200)
(3230)
(3280)
(3310)
OUTPUT
CL COMMAND
(3220)
WAIT 0.5sec
(3300)
WAIT 0.1sec
(3160)
OUTPUT
SD COMMAND
(3170)
NO
RD COM. ?
READ PROCESS
NO
YES
CL COM. ?
DTR = OFF
YES
Initialization
Opening the RS-232C port. DTR is left en-
abled (ON) because communication is
started immediately.
The LM enables DTR (ON) and waits until
the communication is ready.
Transmission of the RD command
The computer waits for about 0.1 second
until the LM handles the RD command.
Transmission of the SD command
Reception of DATA from the LM
End of data at the reception of 'EOT'
Transmission of the CL command
DTR is disabled (OFF) by 'CLOSE'.
Displaying received DATA
Wait for 0.5 to 1 second or more until the
next measurement
< LM-1800P/1800PD >
< Computer >
Explanation
Numbers indicated in the parentheses
are the line No. in the sample program.
The process is repeated by the program.
Содержание 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...