67
MLM26*RTZ002F
4
4.
METHOD OF RS-232C
COMMUNICATION (NCP20)
NIDEK communication protocol “NCP20” performs establishment of the communication and multi
block data communication by command handshake without control line (DTR/DSR).
4.1
Block Format
Basic format
* The blocks composed of 2 bytes such as commands are sent from upper bytes.
[SOH/EOT]
SOH (0x01) indicates first cord and EOT (0x04) indicates end cord of the block. Each is
always added to the start or end of the blocks.
[Command cord]
The definition of the command cord is as shown in the table below.
[Source port No.]
When request conflict occurs in one-to-one serial communication, these port numbers are
compared and the port with large number is preceded.
The numbers can be changed. (0 to 255)
[Destination port No.]
This is set when the destination port No. is necessary for specific network configuration. (0
to 255)
SOH
(0X01)
Command
Source
port No.
Destination
port No.
Number
of unsent
blocks
Message
length
Message
Checks
um
EOT
(0x04)
1 byte
2 bytes
2 bytes
2 bytes
2 bytes
2 bytes
X bytes
2 bytes 1 byte
Command
Cord (Hex)
Contents
Request to Receive
0x0001
Request to send data
Request to Send
0x0002
Request to accept data sending
Accept to Receive
0x0003
Accept to request for data sending
Accept to Send
0x0004
Accept to send data
Accept
0x0005
Response in acceptance and normal data reception
Data
0x0006
Data sending
Error
0x0007
Response in occurrence of abnormal command, checksum
error
Abort
0x0008
Abort of communication
Содержание 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...