Omron CQM1H-SCB41 Computer Hardware User Manual


 
Appendix K3Z4L Laser Micrometer Protocol
347
General-purpose Command 2 (4000-series) (Sequence No. 445)
This general-purpose command is used to send data with a specified data length, and receive back receive data
other than OK. The terminator (CR) is automatically attached to the send data.
Send Data Word Allocation (2nd Operand of PMCR)
First word of
send data
Number of send data words+0
+1
+2
+3
+128
+129
Send data
Send data byte length
Send data
Send data
Send data
D
D
CR
Offset Contents (data format) Data
+0 Number of send data words
(4 digits BCD)
0003 to 0129
+1 Send data byte length
(4 digits BCD)
0001 to 0255
The number of bytes of send data
excluding the terminator (CR)
+2 to
+129
Send data (ASCII) Send data up to 255 bytes maximum
Specify in ASCII.
Receive Data Word Allocation (3rd Operand of PMCR)
Receive data
storage words
Number of receive data words+0
+1
+2
+126
+127
Receive data
Receive data
Receive data
Receive data
D
D
Offset Contents (data format) Data
+0 Number of receive data words
(4 digits BCD)
0001 to 0128
+1 to
+127
Receive data (ASCII) When the receive data exceed 254 bytes,
only 254 bytes are stored.