Omron CQM1H-SCB41 Computer Hardware User Manual


 
Appendix LVisual Inspection System Protocol
360
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 is up to 5, but only one window number can be read.
3. The ranges 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 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
Main axis angle displacement (reserved)
Edge angle
Edge angle(reserved)
Center X, center Y
Center X displacement (reserved), center Y displacement (reserved)
Inclination
Inclination displacement (reserved)
Intersecting point X, intersecting point Y
Intersecting point X displacement (reserved), intersecting point Y displacement (reserved)
Reference Object Registration Command 1 Execution (F300)
(Sequence No. 463)
This sequence performs a measurement for the input image and updates reference object data of the full window.
Send Data Word Allocation (2nd Operand of PMCR)
None.
Receive Data Word Allocation (3rd Operand of PMCR)
None.