Spec.No./Ed. B-83304EN/03
2. Summary of Change
New, Add,
Applicable
Group Name/Outline Correct,
Date
Delete
Basic
Optional
Add 9.4.8 IRVGETMSR, IRVGETMSL New Immediately
Function
Unit
Maintenance
Parts
Notice
Correction
Another
IRVGETMSR
This KAREL program outputs measurement values designated by Variable 1 to Variable 10 in the last
Evaluation Tool on the tree view.
IRVGETMSL
This KAREL program outputs measurement values designated by Variable 1 to Variable 10 in the child
Evaluation Tool of each locator tool.
When there are multiple locator tools in the vision process, as shown in the following image, the index
number is the cumulative number of the found parts from the top of the tree (The following image shows an
example where GPM Locator Tool 1 detects three parts and Blob Locator Tool 1 detects two parts).
Result
USE
No Model ID
IRVGETMSR
Sample Program 1
Shown below is an example of outputting measurement values in the last Evaluation Tool on the tree view.
In this example, the PASS/FAIL result is stored in register [1] by GET_PASSFAIL. Then, the measurement
values designated by Variable 1 to Variable 5 in the last Evaluation Tool on the tree view are stored in
register [2] to [6] by IRVGETMSR.
Sample Program 2
Shown below is an example of outputting measurement values in the child Evaluation Tool of each locator tool.
In this example, the number of found parts is stored in register [1] by GET_NFOUND. Then, the data of each
found part is output by IRVGETMSL. Specifically, the PASS/FAIL result is stored in register [3], the Model ID
is stored in register [4], and the measurement values designated by Variable 1 to Variable 10 in the child
Evaluation Tool of each locator tool are stored in register [5] to [14].