Omron CQM1H-SCB41 Computer Hardware User Manual


 
Appendix LVisual Inspection System Protocol
358
Receive Data Word Allocation (3rd Operand of PMCR)
Integer portion
Receive data
storage words
Number of receive data words+0
+1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
(Undefined)
Window No.
(Undefined)
Data 1
Evaluation
result
Decimal portion
Sign 0
Integer portion
Data 2
Decimal portion
Sign 0
Integer portion
Data 3
Decimal portion
Sign 0
Integer portion
Data 4
Decimal portion
Sign 0
Integer portion
Data 5
Decimal portion
Sign 0
Offset Content (data format) Data
+0 Number of receive data words
(4 digits BCD)
0006: 1 measurement item
0009: 2 measurement items
0012: 3 measurement items
0015: 4 measurement items
0018: 5 measurement items
+1 Window No. (2 digits BCD) 00 to 07
+2 Evaluation result (1 digit BCD) 0: OK
1: NG
+3 to
+5
Measurement value (decimal portion)
(3 digits BCD)
Example
123.456
Example
+123.456
Measurement value (integer portion)
(7 digits BCD)
+3
+4
3456
0012
+3
+4
3456
0012
Measurement value (sign)
(1 digit)
+5 +5
F000 0000
F is stored for negative values.
+6 to
+8
Same as +3 to +5. Same as +3 to +5.
+9 to
+11
Same as +3 to +5. Same as +3 to +5.
+12 to
+14
Same as +3 to +5. Same as +3 to +5.
+15 to
+17
Same as +3 to +5. Same as +3 to +5.
Note 1. Exponential expressions are used for numbers larger than 9999999.999 and smaller than 999999.9.
2. The number of measurement items are up to 5, but only one window number can be read.
3. The range of measurement values are as follows:
For calibration OFF setting :2147483.648 to 2147483.648
For calibration ON setting : 9999999.999 to 9999999.999
4. The priority order of measurement items being output are as follows:
Area
Center of gravity X, Center of gravity Y
Displacement in center of gravity X (reserved), displacement in center of gravity Y (reserved)
Main axis angle