Omron CQM1H-SCB41 Computer Hardware User Manual


 
Appendix K3Z4L Laser Micrometer Protocol
344
Offset Contents (data format) Data
+0 Number of receive data
words (4 digits BCD)
With no reference setting: 0005
With reference setting: 0008
+1 Decision result
(ASCII 2 characters)
With no limit setting: 0000
With limit setting: 2B4E (+N), 4F4B (OK),
2D4E (“–N)
+2 Measurement value
(decimal portion)
(4 digits BCD)
0000 to 9999
4 5 6 7+2
Example 123.4567
+3 Measurement value (integer
portion)
(3 digits BCD)
000 to 999
0 1 2 3
F 0 0 0
+3
+4
+4 Measurement value (Sign)
(BIN)
If +: 0
If : F
+5 to
+7
Deviation value Same as measurement value
*The deviation will be stored in this area only when
reference setting is made.
Deflection Measurement Start (4000-series) (Sequence No. 435)
This sequence starts a deflection measurement.
Send Data Word Allocation (2nd Operand of PMCR)
None.
Receive Data Word Allocation (3rd Operand of PMCR)
None.
Note The deflection measurement keeps measuring until sequence No. 438 (Measurement Termination) is
executed.
Continuous Measurement Start (Scan) (4000-series)
(Sequence No. 436)
This sequence starts a continuous measurement. The scan notification method is used for the receive data.
Send Data Word Allocation (2nd Operand of PMCR)
None.
Receive Data Word Allocation (3rd Operand of PMCR)
The receive data word allocation is similar to that of sequence No. 434 (Single Run Measurement Start).
Note 1. Since this sequence repeats itself within the sequence, once it is executed, it remains in the execution
state until cancelled.
2. Even if execution is cancelled, the Laser Micrometer still keeps measuring. Execute sequence No. 438
(Measurement Termination) to end the sequence.
Continuous Measurement Start (Interrupt) (4000-series)
(Sequence No. 437)
This sequence starts a continuous measurement. The interrupt notification method is used for the receive data
and the interrupt No. is 101.
Send Data Word Allocation (2nd Operand of PMCR)
None.
Receive Data Word Allocation (3rd Operand of PMCR)
The receive data word allocation is similar to that of sequence No. 434 (Single Run Measurement Start).
Note 1. Since this sequence repeats itself within the sequence, once it is executed, it remains in the execution
state until cancelled.
2. Even if execution is cancelled, the Laser Micrometer still keeps measuring. Execute sequence No. 438
(Measurement Termination) to end the sequence.