Page 1
Vision Sensor FH/FZ5 Series Vision System Processing Item Function Reference Manual FH-1 FH-1 FH-3 FH-3 FH-L FH-L FZ5-6 FZ5-6 FZ5-11 FZ5-11 FZ5-L35 FZ5-L35 - Z341-E1-09...
Page 2
Every precaution has been taken in the preparation of this manual. Nevertheless, OMRON assumes no responsibility for errors or omis sions. Neither is any liability assumed for damages resulting from the use of the information contained in this publication.
FH/FZ5 Manual Configuration The following table gives the manual configuration of the FH/FZ5. Name of Manual Man.No. Model Proposes Contents FH-1 To confirm the safety and Describes the definitions of basic usage precautions of the terms, meaning of signal words, Vision System FH FH-1 9607479-9...
The symbols used in this manual have the following meanings. Indicates relevant operational precautions that must be followed. Important Note Indicates operation-related suggestions from OMRON. Use of Quotation Marks and Brackets In this manual, menus and other items are indicated as follows. Menu Indicates the menu names or processing items shown in the menu bar.
Omron's exclusive warranty is that the Products will be free from defects in materials and workmanship for a period of twelve months from the date of sale by Omron (or such other period expressed in writing by Omron). Omron disclaims all other warranties, express or implied.
Page 6
Disclaimers Performance Data Data presented in Omron Company websites, catalogs and other materials is provided as a guide for the user in determining suitability and does not constitute a warranty. It may represent the result of Omron’s test conditions, and the user must correlate it to actual application requirements. Actual performance is subject to the Omron’s Warranty and Limitations of Liability.
Safety Precautions For details on Safety Precautions, refer to Safety Precautions in the Vision System FH/FZ5 Series User's Manual (Cat. No. Z365). Precautions for Safe Use For details on Precautions for Safe Use, refer to Precautions for Safe Use in the Vision System FH/FZ5 Series User's Manual (Cat.
Page 8
MEMO FH/FZ5 Processing Item Function Reference Manual...
Contents FH/FZ5 Manual Configuration ......................1 Conventions Used in This Manual ......................2 Terms and Conditions Agreement ......................3 Safety Precautions ..........................5 Precautions for Safe Use ........................5 Precautions for Correct Use ......................... 5 Regulations and Standards ........................5 1.
Page 10
Detection Point (Search) ........................100 Reference Setting (Search) ......................101 Measurement Parameters (Search) ....................102 Output Parameters (Search) ......................104 Key Points for Test Measurement and Adjustment (Search) ............104 Measurement Results for Which Output Is Possible (Search) ............106 External Reference Tables (Search) ....................
Page 12
Edge Position ............................224 Settings Flow (Edge Positions) ......................225 Region Setting (Edge Position) ......................226 Edge Color Specification - For Color Cameras Only (Edge Position) ..........227 Reference Setting (Edge Positions) ....................227 Measurement Parameters (Edge Positions) ..................229 Output Parameters (Edge Position) ....................
Page 13
Circular Scan Edge Width ........................282 Settings Flow (Circular Scan Edge Width) ..................282 Region Setting (Circular Scan Edge Width) ..................283 Edge Color Specification - For Color Cameras Only (Circular Scan Edge Width) ......285 Measurement Parameters (Circular Scan Edge Width) ..............286 Judgement Conditions (Circular Scan Edge Width) .................
Page 14
Output Parameters (Labeling) ......................344 Key Points for Test Measurement and Adjustment (Labeling) ............345 Measurement Results for Which Output Is Possible (Labeling) ............345 External Reference Tables (Labeling) ....................346 Label Data .............................. 351 Settings Flow (Label Data) ....................... 352 Setting (Label Data) ..........................
Page 15
Code Parameters (Date Verification) ....................406 Output Parameters (Date Verification) ....................408 Test Measurement (Date Verification) ....................409 Measurement Results for Which Output Is Possible (Date Verification) ........... 409 External Reference Tables (Date Verification) ................. 409 Model Dictionary ........................... 411 Settings Flow (Model Dictionary) ......................
Page 16
Circle Angle ............................488 Settings Flow (Circle Angle) ......................489 Region Setting (Circle Angle) ......................490 Output Parameters (Circle Angle) ..................... 491 Key Points for Test Measurement and Adjustment (Circle Angle) ............ 492 Measurement Results for Which Output Is Possible (Circle Angle) ..........492 External Reference Tables (Circle Angle) ..................
Page 17
Measurement Results for Which Output Is Possible (Anti Color Shading) ........534 External Reference Tables (Anti Color Shading) ................534 Stripes Removal Filter II ......................... 535 Filter Setting (Stripes Removal Filter II) .................... 536 Region Setting (Stripes Removal Filter II) ..................538 Test Measurement (Stripes Removal Filter II) ..................
Page 18
4. Support Inspection and Measurement ..................615 Unit Macro .............................. 617 Unit Calculation Macro ........................... 618 Calculation ............................. 619 Settings (Calculation) ........................620 Output Parameters (Calculation) ...................... 621 Layout of Setting Expression Window ....................621 Expression Usage Examples ......................625 Key Points for Test Measurement and Adjustment (Calculation) ............. 628 Measurement Results for Which Output Is Possible (Calculation) ...........
Page 19
Get Unit Figure ............................658 Parameter Settings (Get Unit Figure) ....................658 Key Points for Test Measurement and Adjustment (Get Unit Figure) ..........658 Measurement Results for Which Output Is Possible (Get Unit Figure) ..........659 External Reference Tables (Get Unit Figure) ................... 661 Trend Monitor ............................
Page 20
Parallelize .............................. 699 Parallelize Task ............................700 Statistics ..............................701 Settings Flow (Statistics) ........................701 Statistical Parameters (Statistics) ..................... 702 Data Setting (Statistics) ........................703 Data Display (Statistics) ........................703 Output Parameters (Statistics) ......................704 Key Points for Test Measurement and Adjustment (Statistics) ............705 Measurement Results for Which Output Is Possible (Statistics) ............
Page 21
Transfer Position Data ........................... 776 Settings Flow (Transfer Position Data) ..................... 776 Machine Setting (Transfer Position Data) ..................777 Transfer Parameter (Transfer Position Data) ................... 778 Output Parameter (Transfer Position Data) ..................782 Key Points for Test Measurement and Adjustment (Transfer Position Data) ........782 Measurement Results for Which Output Is Possible (Transfer Position Data) .........
Page 22
5. Branch ............................831 Conditional Branch ..........................832 Conditional Branch ........................... 833 Conditional Branch Settings Examples ..................... 834 Timeout (Conditional Branch) ......................835 Measurement Results for Which Output Is Possible (Conditional Branch) ........836 External Reference Tables (Conditional Branch) ................836 End .................................
Page 23
6. Output result ..........................869 Data Output ............................870 Parallel Data Output ..........................871 Parallel Judgement Output ........................872 Fieldbus Data Output ..........................873 7. Display result ..........................875 Result Display ............................876 Result Display ........................... 877 External Reference Tables (Result Display) ..................880 Display Image File ..........................
Page 24
FH/FZ5 Processing Item Function Reference Manual...
Input image This chapter describes how to load images from cameras. Camera Image Input ............24 Camera Image Input FH ............ 44 Camera Image Input HDR ..........71 Camera Image Input HDR Lite .......... 79 Camera Switching ............. 83 Measurement Image Switching ........84 Multi-trigger Imaging............
Camera Image Input This is a processing item specific to the FZ5 Sensor Controller. Set the conditions for loading images from the camera and for storing images of the measured objects. This processing item must be used when measuring. In addition, it is possible to shoot images with different shutter speeds, or lighting by adding multiple Camera Image Input to your flow.
Settings Flow (Camera Image Input) To set camera image input, follow the steps below. Perform as necessary Start Select the camera to be set *Be sure to perform settings when multiple cameras are used. Select Camera (Camera Image Input) Camera Settings (Camera Image Input) Screen Adjust Settings (Camera Image Input) White Balance (Camera Image Input) Calibration (Camera Image Input)
Select Camera (Camera Image Input) When multiple cameras are connected, select the camera to use for measurement. In the Item Tab area, click [Select camera]. Click [Camera No.] [ ] and select the camera number. If multiple cameras are connected, the camera to transfer images for can be selected. Unchecking the camera check box not being used for current Scene or logging, takt time will be shorten because can reduce the transfer processing time after image input for that camera.
Page 29
Camera Settings Adjust the settings related to camera shutter Image quality Image Camera gain speed and camera gain. Very poor (too much noise) bright Select the shutter speed appropriate to the speed of the measurement object. Choose a faster shutter speed if the measurement object is Very good (less noise) dark moving quickly and the image is blurred.
Page 30
Set value Item Description [Factory default] • FZ-SC/S/SHC/SH Adjust the camera gain when the shutter 0 to 230 [85] speed, the lens aperture, and lighting • FZ-SC2M/S2M/SC5M2/S5M2/SF□/SP□ Gain conditions cannot be used to brighten the 0 to 230 [50] image. Usually, the factory default value can •...
Page 31
In the "Frame/Field" area, select either "Frame" or "Field". Set value Item Description [Factory default] [Frame] Measurements are done in frame units. Measurements are done in field units. Select "Field" when you prefer shorter image input time rather than higher accuracy. Frame/Field Field Processing becomes faster since each image is scanned skipping one scan...
Electronic Flash Setting This function is set when an electronic flash is used. This sets the output conditions for the signal for synchronizing the measurement and the electronic flash timing. In the Item Tab area, click [Camera setting]. In the "Electronic flash setting" area, specify each item.
Page 33
Lighting Control When an Electronic flash controller or Camera-mount Lighting Controller is connected, the light volume of the lighting can be adjusted from the sensor controller. Brightness can be adjusted automatically or one of the preset patterns can be selected. In the item tab area, click [Screen adjust].
Page 34
Electronic flash controller FZ-LTA200 is connected: 0 +1CH are used: 0CH is used: 1CH is used: Item Set value Description Pattern select Pattern 0 to 16 Can be selected from a preset lighting pattern. When 1 channel is used, the light volume can be adjusted to one of 256 levels. Brightness at 0 to 255 When 2 channels are used, the light volume can be adjusted to one of 128...
Page 35
Camera-mount Lighting Controller FLV-TCC4 is connected: Item Set value Description Select from preset lighting patterns. Pattern select • Checked Place a check here to keep the light turned ON all of the time regardless of the On all the time •...
Page 36
Camera-mount Lighting Controller FLV-TCC3HB is connected: Item Set value Description • Checked Place a check here to keep the light turned ON all of the time regardless of the On all the time • [Unchecked] exposure time. Select the lighting adjustment method. 0ch connected: •...
Page 37
Important • There is no restriction on power consumption nor on lighting mode when using lightings with lighting controller FLV-TCC1EP. Restrictions on power consumption and lighting mode differ depending on the product series. See the following table for details. 1. FLV-TCC4/-TCC1 •...
Page 38
• With external power supply 0ch (spot lighting) not connected Lighting mode Total power Power consumption READY OFF Connectability Always-on Simultaneous Single lighting consumption per channel time delay lighting mode lighting mode mode Greater than 15 W Not connectable Greater than 15 W or less Connectable 15 W...
Page 39
Line Bright The graph showing the gray distribution for 1 line in the image is called the "Line bright". You can display the line brights for R, G and B for any horizontal or vertical line. In the item tab area, click [Screen adjust].
White Balance (Camera Image Input) Set the white balance to make white objects look white by calibrating the color of images loaded from cameras. By adjusting the white balance, the appropriate white color can be reproduced under any lighting conditions Appropriate values can also be set automatically.
Calibration (Camera Image Input) By setting the calibration, the measurement result can be converted and output as actual dimensions. The calibration method is selected here. There are three calibration methods, point, sampling, and parameter. • Reference: Specifying Points and Setting (Point Specification) (p.39) •...
Page 42
Input the actual coordinates for the specified point. The actual coordinate input window is displayed. Set value Actual coordinate [Factory default] Point coordinate X, Y 0 to 9999.9999 [Point you clicked in the window] Actual coordinate X, Y -99999.9999 to 99999.9999 [0] Set the 2nd and 3rd points in the same way.
Page 43
Click [Sampling measurement]. Measurement is performed. The search result (cross-shaped cursor) is displayed in the Image Display area, and the Sampling Coordinate window is displayed. In the Sampling Coordinate window, enter the X and Y values. Click [OK]. Point coordinates and actual coordinates are registered in the "Sampling"...
Page 44
Inputting and Setting Values (Value Setting) Enter calibration data directly with numerical values. In the Item Tab area, click [Calibration]. In the "Calibration setting" area, select "Parameter". In the "Parameter" area, specify values for the "Coordinate", "Origin" and "Magnification". Set value Item Description [Factory default]...
View Calibration Parameters View the set calibration data. In the Item Tab area, click [Calibration]. In the "Calibration parameter" area, confirm the calibration data. Item Set value Description Calculation value These are calibration conversion values. Camera coordinates are converted to actual Calculation value coordinates based on these values.
Camera Image Input FH This is a processing item specific to the FH Sensor Controller. Set the conditions for loading images from the camera and for storing images of the measured objects. This processing item must be used when measuring. In addition, it is possible to shoot images whose shutter speed, or lighting differ by setting multiple Camera Image Input to your flow.
Settings Flow (Camera Image Input FH) To set camera image input, follow the steps below. Set as necessary. Start Select the camera to set *Always do this when using multiple cameras Camera Selection (Camera Image Input FH) Camera Settings (Camera Image Input FH) Screen Adjust Settings (Camera Image Input FH) White Balance (Camera Image Input FH) Calibration (Camera Image Input FH)
Camera Selection (Camera Image Input FH) When multiple cameras are connected, select the camera to use for measurement. In the Item Tab area, click [Select camera]. Click [Camera No.] [ ] and select the camera number. If multiple cameras are connected, the camera to transfer images for can be selected.
Page 49
Camera Settings Adjust the settings related to camera shutter Example Using the FZ-SC speed and camera gain. Camera gain Screen Image Set the shutter speed appropriate to the speed of the measurement object. Choose a faster shutter Bad (noise increases) Bright speed if the measurement object is moving quickly and the image is blurred.
Page 50
Specify the camera gain while checking the image. Setting value Item Description [Factory default] • FZ-SC/S/SHC/SH 0 to 230 [85] • FZ-SC2M/S2M/SC5M2/S5M2/SF□/SP□ 0 to 230 [50] Adjust the camera gain when the shutter speed, the • FZ-SQ□□□□ lens aperture, and lighting conditions cannot be used Gain 16 to 64 [16] to brighten the image.
Page 51
Reset Mode (FH-SC05R/FH-SM05R only) Change the mode when you capture a mobile object. Setting value Item Description [Factory default] Set the Reset Mode of FH-SC05R/FH-SM05R. • Rolling Shutter: [Rolling Shutter] Reset Mode Use this mode when capture static object. Normally, use this mode. Global Reset •...
Page 52
Reverse Conversion (for FH-SC/FH-SM Only) Set this option when reversing the camera image vertically or horizontally. The order in which imaging elements are read is changed, so there won't be any delay in image transfer. In the Item Tab area, click [Camera setting].
Page 53
Binning Settings (for Monochrome Cameras Only) Binning is a function for obtaining a single value by adding multiple lines together. Some cameras give the effect of a higher frame rate by raising the sensitivity of the brightness virtually by adding together and decreasing the amount of data to be transferred.
Page 54
Set the start/end line in the "Number of lines to be read" area. Important • When the built-in lighting of an FZ-SQ is used, it may not be possible to shorten the processing time due to restrictions on the light emission time. Electronic Flash Setting This function is set when an electronic flash is used.
Assigning Multiple Electronic Flashes to a Camera It is possible to assign multiple electronic flashes (STGOUT signals) to a camera and select one to use when an image is taken for measurement. This function uses STGOUT signals with which cameras are not connected. This function can be used only with FH series Sensor Controller.
Note If an electronic flash is not used or it does not flash, enter 0 to the [STGOUT Width]. Screen Adjustment Settings (Camera Image Input FH) Set the lighting and lens conditions for each camera. • Reference: Lighting Control (p.54) •...
Page 57
Electronic flash controller FZ-LTA100 is connected: Electronic flash controller FZ-LTA200 is connected: 0 + 1CH are used: 0CH is used: 1CH is used: Setting value Item Description [Factory default] Pattern select Pattern 0 to 16 Select from a preset lighting pattern. •...
Page 58
Camera-mount Lighting Controller FLV-TCC1 is connected: Setting value Item Description [Factory default] Pattern select Select from preset lighting patterns. • Checked Place a check here to keep the light turned ON all of the time regardless of the On all the time •...
Page 59
Camera-mount Lighting Controller FLV-TCC4 is connected: Setting value Item Description [Factory default] Pattern select Select from preset lighting patterns. • Checked Place a check here to keep the light turned ON all of the time regardless of the On all the time •...
Page 60
Camera-mount Lighting Controller FLV-TCC1EP is connected: Setting value Item Description [Factory default] • Checked Place a check here to keep the light turned ON all of the time regardless of the On all the time • [Unchecked] exposure time. Select the lighting adjustment method. •...
Page 61
Camera-mount Lighting Controller FLV-TCC3HB is connected: Setting value Item Description [Factory default] • Checked Place a check here to keep the light turned ON all of the time regardless of the On all the time • [Unchecked] exposure time. Select the lighting adjustment method. 0ch connected: •...
Page 62
Important • There is no restriction on power consumption nor on lighting mode when using lightings with lighting controller FLV-TCC1EP. Restrictions on power consumption and lighting mode differ depending on the product series. See the following table for details. 1. FLV-TCC4/-TCC1 •...
Page 63
2. FLV-TCC3HB • Without external power supply 0ch (spot lighting) not connected Lighting mode Total power Power consumption READY OFF Connectability Always-on Simultaneous Single lighting consumption per channel time delay lighting mode lighting mode mode Greater than 7.5 W Not connectable Greater than 7.5 W 7.5 W or less...
Page 64
Lighting modes Always-on In this mode, the lights are always turned ON for a specific pulse cycle. The always-on lighting mode is lighting mode used if you place a check in “On all the time” in the “Lighting control” area. In this mode, all of the connected lights are turned ON in synchronization with the trigger.
Page 65
Line Bright The graph showing the gray distribution for 1 line in the image is called the "Line bright". You can display the line brights for R, G and B for any horizontal or vertical line. In the Item Tab area, click [Screen adjust].
White Balance (Camera Image Input FH) Set the white balance to make white objects look white by calibrating the color of images loaded from cameras. By adjusting the white balance, the appropriate white color can be reproduced under any lighting conditions Appropriate values can also be set automatically.
Page 67
Set the "R", "G" and "B" values as necessary. Setting value Item Description [Factory default] • R, G, and B: 0.001 to 7.999 (FZ-SQ:0.001 to 3.000) • FZ-SC [R=1.183] [G=1.000] [B=1.323] • FZ-SC2M [R=1.394] [G=1.000] [B=1.222] • FZ-SHC [R=1.375] [G=1.000] White balance setting Set the white balance.
Calibration (Camera Image Input FH) By setting the calibration, the measurement result can be converted and output as actual dimensions. The calibration method is selected here. There are three calibration methods, point, sampling, and parameter. • Reference: Specifying Points and Setting (Point Specification) (p.66) •...
Page 69
Set the actual coordinates for the specified point. The actual coordinate input window is displayed. Actual coordinate Setting value [Factory default] 0 to 9999.9999 Point coordinate X, Y [Point you clicked in the window] -99999.9999 to 99999.9999 Actual coordinate X, Y Set the 2nd and 3rd points in the same way.
Page 70
Click [Sampling measurement]. Measurement is performed. The search result (cross-shaped cursor) is displayed in the Image Display area, and the Sampling Coordinate window is displayed. In the Sampling Coordinate window, set the X and Y values. Click [OK]. Point coordinates and actual coordinates are registered in the "Sampling"...
Page 71
Inputting and Setting Values (Value Setting) Set calibration data directly with numerical values. In the Item Tab area, click [Calibration]. In the "Calibration setting" area, select "Parameter". In the "Parameter" area, specify values for the "Coordinate", "Origin" and "Magnification". Setting value Item Description [Factory default]...
Page 72
View Calibration Parameters View the set calibration data. In the Item Tab area, click [Calibration]. In the "Calibration parameter" area, confirm the calibration data. Item Setting value Description Calculation value These are calibration conversion values. Camera coordinates are converted Calculation value to actual coordinates based on these values.
Camera Image Input HDR You can acquire a wide dynamic range image by combining images photographed consecutively at different shutter speeds. With objects that generate halation, images with low-contrast, and environments with fluctuation in the lighting, this processing item is an effective substitute for camera image input. Used in the Following Case •...
Camera Settings (Camera Image Input HDR) Set the following photographing conditions. • Reference: Selection Setting (p.73) • Reference: Camera Settings (p.74) • Reference: Number of lines to be read (p.29) • Reference: Electronic Flash Setting (p.75) Selection Setting When multiple cameras are connected, select the camera to use for measurement. In the Item Tab area, click [Camera setting].
Page 76
Camera Settings Specify the camera gain and reverse conversion. In the Item Tab area, click [Camera setting]. In the "Camera settings" area, specify the camera gain and reverse conversion settings. Setting item Setting value [Factory default] Description • FZ-SC/S/SHC/SH 0 to 230 [85] •...
Page 77
Electronic Flash Setting This function is set when an electronic flash is used. This sets the output conditions for the signal for synchronizing the measurement and the electronic flash timing. Important • The STGOUT signals that can be output are as follows. : FH-1000 and FH-3000 series: SGTOUT 0 to 7 : FH-L series: STGOUT 0 to 3 •...
Important Do not perform next camera image input processing before STGOUT signal output is completed. STGOUT signal may not be output. Perform camera image input processing after STGOUT signal output completion, or set the STEP-camera delay, STEPSTGOUT delay and STGOUT pulse width so that the electronic flash operates synchronizing with the exposure time. Note STGOUT signals are output at each imaging.
Page 79
In the "Image input setting" area, set the items. A brightness histogram is displayed as the graph. High contrast mode Set value Item Description [Factory default] Min Bright 0 to 20 This item sets the minimum brightness for combining images. range Max Bright 0 to 20...
Bright Adjust Setting (Camera Image Input HDR) This sets how far to track the brightness of the loaded images. In the Item Tab area, click [Bright adjust]. Set each item in the "Bright adjust setting" area. Set value Item Description [Factory default] If a check is placed at "Bright adjust", the image is output with its brightness •...
Camera Image Input HDR Lite Camera Image Input HDR Lite is for FZ-SQ. You can acquire a wide dynamic range image by combining images photographed consecutively at different shutter speeds. With objects that generate halation, images with low-contrast, and environments with fluctuation in the lighting, this processing item is an effective substitute for camera image input.
Camera Settings (Camera Image Input HDR Lite) Set the following photographing conditions. • Reference: Selection Setting (p.81) • Reference: Number of lines to be read (p.29) • Reference: Electronic Flash Setting (p.75) Selection Setting When multiple cameras are connected, select the camera to use for measurement. In the Item Tab area, click [Camera setting].
• Correlation between the level and the dynamic range The larger the value of the level is, the larger the dynamic range to be combined will be, as illustrated below. Level 1 Level 2 Level 3 Level 4 Dark Light Important •...
Camera Switching Used in the Following Case • When switching to images on cameras other than that has been set to [Camera Image Input] during scene processing Camera Camera Select a camera Camera Camera Important • When switching from a monochrome camera to color camera, reconfigure the settings in the following units. •...
Measurement Image Switching This sets the output image for the camera image input processing items and specified image conversion related processing items as the input image for the processing items set in the flow from this processing item onward. This is primarily used to return converted images back to their originals and to increase the images that can be selected as conversion targets for image conversion related processing items by placing before the image conversion related processing items.
Processing items Image No. Image Camera Image Input Camera image Camera Image Input FH Camera image Camera Image Input HDR Camera image Camera Image Input HDR Lite Camera image Position Compensation Position compensated image Filtering Filtered image Background Suppression Background suppressed image brightness Correct Filter Brightness corrected image Color Gray Filter...
External Reference Tables (Measurement Image Switching) Data name Set/Get Data range 0: No judgement (unmeasured) 1: Judgement result OK -1: Judgement result NG Judge Get only -10: Error (image format mismatch) -11: Error (unregistered model) -12: Error (Insufficient memory) -20: Error (Other error) Unit that outputs images subject to reset Target unit Set/Get...
Multi-trigger Imaging This function can be used only with FH series/FZ5-800 series/FZ5-1100 series/FZ5-1200 series. The Multi- trigger Imaging processing item captures multiple images at user-defined timings and executes parallel measurement for each image. If you append this processing item in the flow, Multi-trigger Imaging, Multi-trigger Imaging Task, Camera Image Input FH and Multi-trigger Imaging End will be added as a group.
Page 90
Important • Multi-trigger Imaging cannot be used when the Operation mode is [Double Speed Multi-input]. • Set the Multi-trigger Imaging processing item to the top (unit 0) of the flow. • Always set only one Multi-trigger Imaging processing item in one flow. •...
Page 91
Important • In the following cases, the system operates in Multi-input mode, regardless of the settings for Mode. : Camera Image Input HDR or Camera Image Input HDR Lite is used. : Multiple Input image processing items are used in one Multi-trigger Imaging Task block. : FZ-SQ□□□□...
Multi-trigger Imaging Task This function can be used only with FH series/FZ5-800 series/FZ5-1100 series/FZ5-1200 series. The Multi- trigger Imaging processing item captures multiple images at user-defined timings and executes parallel measurement for each image. If you append this processing item in the flow, Multi-trigger Imaging Task and Camera Image Input FH will be added as a group.
Page 93
Important • The signals that can be used as STEP signals are STEP signal of parallel and Trigger input of EtherCAT. Measurement executed by signals other than STEP signal or control command does not wait the STEP signal and flow is executed automatically as the controller does in the previous system.
Inspecting and Measuring This chapter describes how to set up the processing items that execute measurement. In addition, key points for adjustment addressing unstable measurement results and shortening measurement time will also be introduced. Search................. 95 Flexible Search ..............110 Sensitive Search...............119 ECM Search..............
Page 96
Circle Angle..............488 Glue Bead Inspection............494...
Search Register the feature sections of the measurement object as an image pattern (model), then find the most similar part to these models from the input images to detect the position. The correlation value showing the degree of similarity, measurement object position, and inclination can be output.
Settings Flow (Search) Set up searches according to the following flow. Necessary Steps Optional Steps Start Model Registration (Search) Detection Point (Search) Region Setting (Search) Reference Setting (Search) Measurement Parameters (Search) Output Parameters (Search) Settings completed Verify/Adjust results Test measurement List of Search Items Item name Description...
Model Registration (Search) Register the parts to measure as the model. The position at the time of registration is also registered in the model information. Place the measurement object in the correct position when registering a model. In the Item Tab area, click [Model]. When setting a new model, you do not have to click [Model].
Page 100
Changing Model Parameters Model parameter values can be changed as needed to address unstable measurement results or to increase the processing speed. Normally, the factory default value will be used. After changing a setting, re-register the model. In the "Model parameter" area, select the search mode, then specify a value for each item for that mode.
Displaying/Re-Registering/Deleting a Model If you save the model registration image, it is easy to re-register the model after model parameters are changed. Item Description Disp model/Input image The model image display and input image display are switched. When model parameters are modified, display the original model image and re-register the Re-register model.
Detection Point (Search) Specify a position in the model that should be used as the detection coordinates during measurement. Usually, the central position of the set model is registered as the detection point. This function is used to change to any desired position.
Reference Setting (Search) When the model is set, this position is automatically set at the same time as the reference position. This item can be set to change the reference position to any desired position. This is handy for measuring the position deviation from a certain position.
Referencing a unit Set a reference by referencing a detection point unit with registered X coordinate, Y coordinate and angle data. In the Item Tab area, click [Ref. setting]. In the display area, the current reference position will be displayed as the crosshair cursor. In the "Method"...
Page 105
Set value Setting item Description [Factory default] • Corr. ascending • [Corr. descending] • X coordinate ascending Specify the conditions by which the search number is re-assigned. Sort condition • X coordinate When sorting referencing the X and Y coordinates, the upper left is the descending origin.
Output Parameters (Search) Specify how to treat the coordinates to be output to the external device as measurement results. This item can be changed if necessary. Normally, the factory default value will be used. Important • After setting up the measurement parameters, changing the output parameters will cause measurement results to vary accordingly.
Page 107
Key Points for Adjustment Select the adjustment method referring to the following points. When the measurement results are unstable Searching other positions Parameter to be Remedy adjusted Specify a larger value for the "Prec." If the measurement results are unstable only when "Rotation" is selected, specify a smaller value for the "Skipping angle".
Measurement Results for Which Output Is Possible (Search) The following values can be output using processing items related to results output. It is also possible to reference measurement values from expressions and other processing units. Measurement items Character string Description Judgement result Judgement result Number of search items detected...
External Reference Tables (Search) Data name Set/Get Data range 0: No judgement (unmeasured) 1: Judgement result OK -1: Judgement result NG Judge Get only -10: Error (image format mismatch) -11: Error (unregistered model) -12: Error (Insufficient memory) -20: Error (Other error) Correlation value Get only 0 to 100...
Page 110
Data name Set/Get Data range Upper limit of measure X Set/Get -99999.9999 to 99999.9999 Lower limit of measure X Set/Get -99999.9999 to 99999.9999 Upper limit of measure Y Set/Get -99999.9999 to 99999.9999 Lower limit of measure Y Set/Get -99999.9999 to 99999.9999 Upper limit of the angle Set/Get -180 to 180...
Page 111
Data name Set/Get Data range 1003 + NN × 4 Measure angle Get only -180 to 180 (NN = 0 to 31) 5100 Re-register Set only 1: Execute 30000 Correlation value Get only 0 to 100 40000 Edge position X Get only 0 to 99999.9999 50000...
Flexible Search In Flexible Search, multiple measurement object features (models) are registered beforehand. Parts from input images that most resemble the multiple models are searched for, and correlation (similarity) and position are determined. Used in the Following Case • To treat models with only slight variations as the same and prevent excessive filtering out. Example) Check if the foreign objects are in.
Settings Flow (Flexible Search) Set up flexible search according to the following steps. Necessary Steps Optional Steps Start Model Registration (Flexible Search) Region Setting (Flexible Search) Measurement Parameters (Flexible Search) Output Parameters (Flexible Search) Settings completed Verify/Adjust results Test measurement List of Flexible Search Items Item name Description...
Page 114
Use the drawing tools to specify the model registration range. Click [OK] in the Figure setting area. • [OK]: Changes the settings and returns to the previous menu. • [Cancel]: Changes are discarded. Returns to the previous menu. • [Apply]: Updates the settings without leaving edit window.
When CR is selected Set value Setting item Description [Factory default] • Checked When the measurement object is rotating, place a check at "Rotation" and Rotation • [Unchecked] specify how many degrees the model created rotates each time and Angle range [-180 to 180] through what range of angles.
Measurement Parameters (Flexible Search) Specify the search measurement conditions and the judgement conditions for the measurement results. In the Item Tab area, click [Measurement]. In the "Measurement condition" area, specify a value for each item. Set value Setting item Description [Factory default] When a check is placed at sub-pixel, the position information can be •...
Output Parameters (Flexible Search) Specify how to treat the coordinates to be output to the external device as measurement results. This item can be changed if necessary. Normally, the factory default value will be used. Important • After setting up the measurement parameters, changing the output parameters will cause measurement results to vary accordingly.
Page 118
Key Points for Adjustment Select the adjustment method referring to the following points. When the measurement results are unstable Searching other positions Parameter to be Remedy adjusted Specify a larger value for the "Prec." If the measurement results are unstable only when "Rotation" is selected, specify a smaller value for the "Skipping angle".
Measurement Results for Which Output Is Possible (Flexible Search) The following values can be output using processing items related to results output. It is also possible to reference measurement values from expressions and other processing units. Measurement items Character string Description Judgement Judgement result...
Page 120
Data name Set/Get Data range Skipping angle Set/Get 1 to 30 0: OFF Smart mode Set/Get 1: ON Stab. (CR) Set/Get 1 to 15 Prec. Set/Get 1 to 3 Stab. (PT) Set/Get 1 to 5 0: OFF Sub-pixel Set/Get 1: ON Candidate Point Level Set/Get 0 to 100...
Sensitive Search The registered models are automatically finely divided and matched in detail. Of the divided models, the one with the lowest correlation is output. Sensitive search is suitable when the difference between the model image and measurement image is small and regular searches do not produce differences in correlation. Used in the Following Case •...
List of Sensitive Search Items Item name Description This item registers the pattern characteristic of the measurement image as a model. Model parameter values can be changed as needed to address unstable measurement results or to Model increase the processing speed. Normally, the factory default value will be used. Reference: Model Registration (Sensitive Search) (p.120) This item is used to set up the measurement area.
Page 123
Changing Model Parameters Model parameter values can be changed as needed to address unstable measurement results or to increase the processing speed. Normally, the factory default value will be used. After changing a setting, re-register the model. In the "Model parameter" area, set each item.
Page 124
Set value Setting item Description [Factory default] Sub-model 0 to 10 This sets the number of divisions of the registered model in the X direction. number X Sub-model 0 to 10 This sets the number of divisions of the registered model in the Y direction. number Y 1 to 15 Specify which is to have priority, measurement stability or speed.
Region Setting (Sensitive Search) Use a rectangle to specify the area where the model is searched. Instead of measuring the entire input image, narrowing the measurement area shortens the processing time. In the Item Tab area, click [Region setting]. Click [Edit]. The figure setting area is displayed.
Referencing a unit Set a detection point by referencing a detection point unit with registered X coordinate, Y coordinate and angle data. In the Item Tab area, click [Detection point]. In the Display area, the current detection point is displayed with a crosshair cursor. In the "Method"...
Page 127
Set the reference angle with a numeric value. To remeasure on the displayed image and set the reference, click the [Measure ref.] button. To update the reference angle at the time of reference measurement, place a check at "Update the angle when measure ref.". To use data before position compensation for the reference setting coordinates, place a check at "Use point...
Measurement Parameters (Sensitive Search) Specify the sensitive search measurement conditions and the judgement conditions for the measurement results. In the Item Tab area, click [Measurement]. In the "Measurement condition" area, specify a value for each item. Set value Setting item Description [Factory default] When a check is placed at sub-pixel, the position information can be...
Output Parameters (Sensitive Search) Specify how to treat the coordinates to be output to the external device as measurement results. This item can be changed if necessary. Normally, the factory default value will be used. Click [Output parameter] in the Item Tab area. Specify each of the following items.
Page 130
Key Points for Adjustment Select the adjustment method referring to the following points. When the measurement results are unstable Searching other positions Parameter to be adjusted Remedy Specify a larger value for the "Prec." If the measurement results are unstable only when "Rotation" is selected, specify a smaller value for the "Skipping angle".
Measurement Results for Which Output Is Possible (Sensitive Search) The following values can be output using processing items related to results output. It is also possible to reference measurement values from expressions and other processing units. Measurement items Character string Description Judgement Judgement result...
External Reference Tables (Sensitive Search) Data name Set/Get Data range 0: No judgement (unmeasured) Judge Get only 1: Judgement result OK -1: Judgement result NG Correlation value Get only 0 to 100 For color cameras: 0.000 to 219.9705 Deviation Get only For monochrome cameras: 0.000 to 127.000 Measure X Get only...
Page 133
Data name Set/Get Data range Upper limit of measure X Set/Get -99999.9999 to 99999.9999 Lower limit of measure X Set/Get -99999.9999 to 99999.9999 Upper limit of measure Y Set/Get -99999.9999 to 99999.9999 Lower limit of measure Y Set/Get -99999.9999 to 99999.9999 Upper limit of the angle Set/Get -180 to 180...
ECM Search This processing item searches the input image for parts having a high degree of similarity to the target mark (model), and measures its correlation value (similarity) and position. In a normal search, image pattern models are used that look at the color and light/dark information, but in an ECM search, models are used that look at the profile information.
Settings Flow (ECM Search) Set up ECM search according to the following steps. Necessary Steps Optional Steps Start Model Registration (ECM Search) Error Model Registration (ECM Search) Region Setting (ECM Search) Detection Point (ECM Search) Measurement Parameters (ECM Search) Reference Setting (ECM Search) Output Parameters (ECM Search) Settings completed Result verification/adjustment...
Model Registration (ECM Search) Register the pattern characteristic of the measurement object as a model. In an ECM search, only the image profile information is registered. Important • For ECM search, 6 pixels at each end of an image cannot be registered as a part of the model. •...
Page 137
Changing Model Parameters Model parameter values can be changed as needed to address unstable measurement results or to increase the processing speed. Normally, the factory default value will be used. After changing a setting, check whether measurement can be done properly by performing an actual measurement.
Page 138
Mask any Unnecessary Items. By registering a mask, the part you do not want included in the model is excluded. Click [Mask register]. Draw the mask figure using the drawing tools. Click [OR/NOT]. The mask figure is displayed in red. Click [OK] in the Figure setting area.
Error Model Registration (ECM Search) Even for an image pattern with similar feature sections (for example "P" and "R"), if the model is registered as an error model, the correlation value is lower and measurement mistakes can be prevented. Only one error model can be registered.
Detection Point (ECM Search) Specify a position in the model that should be used as the detection coordinates during measurement. Usually, the center position of the set model is registered as the detection point. This function is used to change to any desired position.
Reference Setting (ECM Search) When the measurement region is set, this position is automatically set at the same time as the reference position. This item can be used to change the reference position to any desired position. This is handy for measuring the position deviation from a certain position.
Referencing a unit Set a reference by referencing a detection point unit with registered X coordinate, Y coordinate and angle data. In the Item Tab area, click [Ref. setting]. In the display area, the current reference position will be displayed as the crosshair cursor. In the "Method"...
Setting item Set value Description Specify the range of X-axis shifting that is judged to be Measure pos X -99999.9999 to 99999.9999 Specify the range of Y-axis shifting that is judged to be Measure pos Y -99999.9999 to 99999.9999 Measure angle -180 to 180 Specify the range of angles that are judged to be OK.
Key Points for Adjustment Select the adjustment method referring to the following points. When the measurement results are unstable Parameter to be adjusted Remedy If images that should be judged OK vary greatly, specify a smaller value for "Candidate level". Measurement If the model image is small and unstable, specify a smaller value for the "Reduction".
External Reference Tables (ECM Search) Data name Set/Get Data range 0: No judgement (unmeasured) Judge Get only 1: Judgement result OK -1: Judgement result NG Correlation value Get only 0 to 100 Measure X Get only -99999.9999 to 99999.9999 Measure Y Get only -99999.9999 to 99999.9999 Angle θ...
Page 146
Data name Set/Get Data range 0:No rotation With rotation Set/Get 1: With rotation Lower limit of the rotation Set/Get -180 to 180 angle Upper limit of the rotation Set/Get -180 to 180 angle Skipping angle Set/Get 1 to 30 0: No size change 1: XY change Move axis Set/Get...
EC Circle Search This processing item searches the input image for parts having a high degree of similarity to the target circle mark (model), and measures its circle evaluated value (similarity) and position. In a normal search, image pattern models are used that look at the color and light/dark information. In EC Circle Search, however, models are used that look at the profile.
Settings Flow (EC Circle Search) Set up EC circle search according to the following steps. Be sure to perform settings Perform as necessary Start Circle Setting (EC circle search) Reference Setting (EC circle search) Region Setting (EC circle search) Color Specification (EC circle search) Settings complete Measurement Parameters (EC circle search) Output Parameters (EC circle search)
Circle Setting (EC Circle Search) Registers the size of the circle to search for. Set the circle size only with the circumference figure. In the Item Tab area, click [Circle register]. When setting a new circle, you do not need to click [Circle register]. Set the search circumference using the drawing tools.
Region Setting (EC Circle Search) Specify the rectangular area in which to search for the circle. Instead of measuring the entire input image, narrowing the measurement area shortens the processing time. In the Item Tab area, click [Region setting]. Click [Edit]. The figure setting area is displayed.
To use data before position compensation for the reference setting coordinates, place a check at "Use point coordinate before scroll". Referencing a unit Set a reference by referencing a detection point unit with registered X coordinate, Y coordinate and angle data. In the Item Tab area, click [Ref.
Measurement Parameters (EC Circle Search) This item specifies the judgement conditions for measurement results. Specify to what degree OK is still judged in relation to measurement result coordinates (X,Y) and the circle evaluation value with the model. In the Item Tab area, click [Measurement]. Select the search type.
Page 153
For monochrome cameras: For a monochrome camera only, the circle color parameters are displayed. Set value Setting item Description [Factory default] • [Both] Circle brightness • White This sets the circle color with the brightness. • Black Set up the judgement condition. Note •...
Output Parameters (EC Circle Search) Specify how to treat the coordinates to be output to the external device as measurement results. This item can be changed if necessary. Normally, the factory default value will be used. Important • After setting up the measurement parameters, changing the output parameters will cause measurement results to vary accordingly.
Key Points for Adjustment Select the adjustment method referring to the following points. When the measurement results are unstable Parameter to be adjusted Processing Measurement If images that should be judged OK vary greatly, specify a smaller value for "Evaluation". Mask any unnecessary items.
External Reference Tables (EC Circle Search) Data name Set/Get Data range 0: No judgement (unmeasured) 1: Judgement result OK -1: Judgement result NG Judge Get only -10: Error (image format mismatch) -11: Error (unregistered model) -12: Error (Insufficient memory) -20: Error (Other error) Position X Get only -99999.9999 to 99999.9999...
Page 157
Data name Set/Get Data range Upper limit of count Set/Get 0 to 256 Lower limit of count Set/Get 0 to 256 Upper limit of radius Set/Get 0 to 99999.9999 Lower limit of radius Set/Get 0 to 99999.9999 0: Single search Search type Set/Get 1: Multi search...
Shape Search II This function is for detecting user-defined target to estimate target position and pose precisely. The correlation value indicating the degree of similarity, measurement target position, and orientation can be output. In shape search II, edge information is used as features, whereas in a normal search mode, color and texture information are used.
Model Registration (Shape Search II) Register the parts to measure as the model. The model information includes the position of the model. So place the target in the correct position in the registration process. Click [Model] tab. When setting a new model, you do not have to click [Model]. The tab is already being selected. Use the Drawing tools to specify the model registration range.
Displaying/Re-Registering/Deleting a Model If you save the model registration image, it is easy to re-register the model after model parameters are changed. Item Description Disp model/Input image The model image display and input image display are switched. When model parameters are modified, display the original model image and re-register the Re-register model.
Detection Point (Shape Search II) Specify a position in the model that should be used as the detection coordinates during measurement. Usually, the center position of the set model is registered as the detection point. This function is used to change to any desired position.
Reference Setting (Shape Search II) When the model is set, this position is automatically set at the same time as the reference position. This item can be set to change the reference position to any desired position. This is handy for measuring the position deviation from a certain position.
Referencing a unit Set a reference by referencing a detection point unit with registered X coordinate, Y coordinate and angle data. In the Item Tab area, click [Ref. setting]. In the display area, the current reference position will be displayed as the crosshair cursor. In the "Method"...
Page 165
Set value Setting item Description [Factory default] • Corr. ascending • [Corr. descending] Specify the method by which the search number is re-assigned. • X ascending Sort condition When sorting based on the X and Y coordinates, the upper left is •...
Output Parameters (Shape Search II) Specify how to treat the coordinates to be output to the external device as measurement results. This item can be changed if necessary. Normally, the factory default value will be used. Important • After setting up the measurement parameters, changing the output parameters will cause measurement results to vary accordingly.
Key Points for Adjustment Select the adjustment method referring to the following points. When the measurement results are unstable Searching other positions Parameter to be adjusted Remedy If the precision is low, check "High-Prec.". Measurement parameter If detection or resulting judgement are unstable, set a smaller value for "Candidate LV", specify a smaller value for "Candidate LV".
External Reference Tables (Shape Search II) Data name Set/Get Data range 0: No judgement (unmeasured) 1: Judgement result OK -1: Judgement result NG Judge Get only -10: Error (image format mismatch) -11: Error (unregistered model) -12: Error (Insufficient memory) -20: Error (Other error) Correlation value Get only 0 to 100...
Page 169
Data name Set/Get Data range Judgement upper limit for Set/Get 0 to 100 correlation value Judgement lower limit for Set/Get 0 to 100 correlation value Judgement upper limit for Set/Get 0 to 32 number of detections Judgement lower limit for Set/Get 0 to 32 number of detections...
Shape Search III This function registers a model of an image pattern based on its contour information and detect parts of inputted images that most closely match the model. The correlation value indicating the degree of similarity, measurement target position, and orientation can be output. In shape search III, edge information is used as features, whereas in a normal search mode, color and texture information are used.
Settings Flow (Shape Search III) Set up shape search III according to the following steps. Make sure to set Set as necessary. Start Model (Shape Search III) Detection Point (Shape Search III) Region Setting (Shape Search III) Reference Setting (Shape Search III) Measurement (Shape Search III) Output parameters (Shape Search III) Settings complete...
Model (Shape Search III) Register the specific parts of the image to measure as the Model. Before registering as a Model, verify the position to inspect on the workpiece. Position information entered at Model registration time is included in the Model information. If the position to detect at measurement time differs from the registered position, it will not be accurately detected.
Page 173
Note • By saving the Registered model image, the same image, with any detailed setting updates, can be used when re- registering a model. • Saving the Registered model image will increase the Scene data size. • When registering the model, the Center point of the registered model is also automatically registered as the Detection point and Reference coordinates.
Page 174
Registering a model through image generation (Create image) You can register a model using shapes provided in Shape Search III. Use this function when the captured image has excessive noise, or the shape in the image to register as the model is unclear, or is missing a part. In the [Input type] area, select [Create image].
Page 175
Setting value Setting item Description [Factory default] Outside 0 to 9999 (Cross) Length X [100] (Cross) Length Y [100] Specify the distance from the center to the outline of the shape to (Cross) Width X [20] determine the size of the outline. (Cross) Width Y [20] Unit of measure: pixel...
Page 176
Adjusting settings for model registration (detail setting) Adjust detail settings for model registration when you want to stabilize measurements or speed up processing. Otherwise, keep the factory default settings. After adjustments, verify the settings by performing actual measurement. Changing Model Parameters Tuning model parameters enables improvement of unstable detection or faster processing.
Page 177
Changing the Edge Extraction Setting Adjust the edge extraction settings when you cannot detect edges when registering a model, or when detected edges are broken. Re-register the model after the adjustment. Click [Detail setting]. Adjust each setting under [Edge setting]. Setting value Setting item Description...
Displaying, re-registering, and detecting a model (model registration image) The buttons described in the following table are available when a model registration image is saved. You can use these buttons to reconfirm images used for model registration, or re-registering the model after adjusting detail settings.
Detection Point (Shape Search III) You can change the detection point on the Detection Point tab page. Set the detection point by specifying a point in the detected model to use as a measurement coordinate. In default setting, the center position of the registered model is set as the detection point.
Reference Setting (Shape Search III) You can change the reference coordinates on the Ref. setting tab page. Set the reference point and angle within the camera FOV as the reference coordinate. When you register a model, the center point of the registered model is automatically set as the reference point.
Updating the reference coordinate by measuring the displayed image (reference measurement) Measure the image displayed on the setting window and use the measurement result as the reference coordinate. When you want to update the reference angle besides the reference point, select the [Update the angle when measure ref.] check box.
Page 182
Set the Measurement conditions Click [Measurement] in Item Tab area. Set the desired value for each setting. Setting value Setting item Description [Factory default] 0 to 100 Set the threshold to detect candidate points in a rough search. Set this Item Candidate LV [50] to a smaller value when the detection is unstable.
Click [Detail setting] in the Measurement condition area, then set the setting value. Setting value Setting item Description [Factory default] In this function, you can set [Edge level] automatically. • [Checked] Edge level: Auto If edge recognize is not making good progress, un-check this item and set •...
Page 184
Confirm the measurement result on the display (Display setting) Set the check box in the Display setting area. Confirm the measurement processing condition, then set Measurement condition. Setting value Setting item Description [Factory default] Display edge • Checked Check this item when you confirm extracted edge set in image •...
Output Parameter (Shape Search III) Set how to treat the coordinates to be output to the external device as measurement results. This item can be changed if necessary. Normally, the factory default value will be used. Click [Output parameter] in Item Tab area. Set each item's value.
Page 186
Content displayed in the Detail result area The following measurement results are displayed in the Detail result area as text. Displayed Items Description Judge Judgement result Count Number of detections Correlation Correlation value Position X X coordinate of the position where the model is detected. Position Y Y coordinate of the position where the model is detected.
Page 187
Adjusting of the measurement processing speed You can use the following methods to improve measurement processing speed. When the processing speed is late Parameter to be adjusted Troubleshooting Region setting Reference: Region • Measurement processing time takes long time becasue the measurement region is broad. Setting (Shape Search III) Set the measurement region as nallow as possible.
Measurement Results for Which Output is Possible (Shape Search III) The measurement result of Shape Search III is the following. This result is displayed on the measurement result area, and output to extra device is possible by using processing units related on output result. Character Measurement items Description...
External Reference Tables (Shape Search III) Setting the number of Processing unit data setting / Control command or acquisition function, you can refer the following data. Data name Set/Get Data range 0: No judgement (unmeasured) 1: Judgement result OK -1: Judgement result NG Judge Get only -10: Error (image format mismatch)
Page 190
Data name Set/Get Data range Detection point Y Set/Get 0.0000 to 9999.0000 0: Correlation value ascending 1: Correlation value descending 2: Measurement coordinate X ascending Sort condition Set/Get 3: Measurement coordinate X descending 4: Measurement coordinate Y ascending 5: Measurement coordinate Y descending Search No.
Page 191
Data name Set/Get Data range 0: Low Allowable distortion level Set/Get 1: Medium 2: High Noise removal level Set/Get 0 to 100 Display search model 0: OFF Set/Get image 1: ON 0: OFF Complex background Set/Get 1: ON 0: OFF Re-sort Set/Get 1: ON...
Ec Corner This processing item measures a corner position (corner) of a work. The intersection of two lines generated from the edge information of two sides of a square work is measured. A desired corner can be measured by setting the length, direction, edge intensity and other conditions. Used in the Following Case •...
List of Ec Corner Items Item name Description This item is used to set up the measurement area. Region setting Reference: Region Setting (Ec Corner) (p.191) Change as necessary. This is changed when measuring the position deviation from a certain position. Ref.
Reference Setting (Ec Corner) When the model is set, this position is automatically set at the same time as the reference position. This item can be set to change the reference position to any desired position. This is handy for measuring the position deviation from a certain position.
Perform the next measurement, and the reference will be displayed. Line Extraction (Ec Corner) This item sets the conditions for extracting a line. In the Item Tab area, click [Line extraction]. In the "Line extraction cond." area, set the conditions for extracting a line. Setting value Setting item Description...
Corner Extraction (Ec Corner) This item sets the conditions for extracting a corner. In the Item Tab area, click [Corner extraction]. In the "Line 0 cond." area, set the conditions for line 0. Setting value Setting item Description [Factory default] 5 to 4000 Length Set the length for extracting line 0.
Page 197
In the "Corner extraction cond." area, set the conditions for corners. Setting value Setting item Description [Factory default] 10 to 350 Angle Set the angle range for a corner. [90] 0 to 180 ± Set the margin of angle error. •...
Measurement Parameters (Ec Corner) Set the sort conditions/judgement conditions of corners. Data of the specified number is output as measurement data. In the Item Tab area, click [Measurement]. In the "Sort cond." area, set the sorting conditions. Setting value Setting item Description [Factory default] •...
Output Parameters (Ec Corner) Set how to treat the coordinates to be output to the external device as measurement results. This item can be changed if necessary. Click [Output parameter] in the Item Tab area. Specify each of the following items. Setting value Setting item Description...
When the processing speed is slow Parameter to be adjusted Troubleshooting Region setting Specify as small a value as possible for FigureInfo=Region. Minimize the distance between the upper and lower limits of line length range for extracting lines. Minimize the distance between the upper and lower limits of overrun range for extracting corners.
External Reference Tables (Ec Corner) Data name Set/Get Data range 0: No judgement (unmeasured) Judge Get only 1: Judgement result OK -1: Judgement result NG Number of detections Get only 0 to 100 Corner coordinate X Get only -99999.9999 to 99999.9999 Corner coordinate Y Get only -99999.9999 to 99999.9999...
Page 202
Data name Set/Get Data range Line 0 condition Set/Get -1000 to 1000 Lower limit of overrun range Line 0 condition Set/Get -1000 to 1000 Upper limit of overrun range Line 1 condition Set/Get -1000 to 1000 Lower limit of overrun range Line 1 condition Set/Get -1000 to 1000...
Page 203
Data name Set/Get Data range Reference unit number for Set/Get -1 to 9999 reference coordinate Reference type of reference 0: Set by number Set/Get coordinate 1: Unit reference Use coordinates before 0: Not used Set/Get position compensation 1 : Used Coordinate X before position Set/Get -99999.9999 to 99999.9999...
Ec Cross Detect crosshair shapes created by crosshair marks and other edges. The center position of a crosshair shape is measured using the lines created by the edge information on each side of the crosshair. A desired crosshair shape can be measured by specifying the length, direction, edge intensity and other conditions.
List of Ec Cross Items Item name Description This item is used to set up the measurement area. Instead of measuring the entire input image, narrowing the measurement area shortens the processing Region setting time. Reference: Region Setting (Ec Cross) (p.203) Change as necessary.
Reference Setting (Ec Cross) When the model is set, this position is automatically set at the same time as the reference position. This item can be set to change the reference position to any desired position. This is handy for measuring the position deviation from a certain position.
Page 207
Referencing a unit Set a reference by referencing a detection point unit with registered X coordinate, Y coordinate and angle data. In the Item Tab area, click [Ref. setting]. In the display area, the current reference position will be displayed as the crosshair cursor. In the "Method"...
Line Extraction (Ec Cross) This item sets the conditions for extracting a line. In the Item Tab area, click [Line extraction]. In the "Line extraction cond." area, set the conditions for extracting a line. Setting value Setting item Description [Factory default] 5 to 4000 Length Set the length of edges to be extracted.
Cross Extraction (Ec Cross) Set the conditions for intersecting lines. In the Item Tab area, click [Cross extraction]. In the "Line 0 cond." area, set the conditions for parallel line 0. Setting value Setting item Description [Factory default] 5 to 4000 Length Set the length of parallel line 0.
Page 210
Setting value Setting item Description [Factory default] Set a number of parallel line sets that are judged forming a cross. If the image does not have external disturbances, a total of four sets of parallel lines, which configure the cross, are detected, and those parallel lines are at the top, bottom, left, and right sides •...
Measurement Parameters (Ec Cross) Set the sort conditions/judgement conditions of crosshairs. In the Item Tab area, click [Measurement]. In the "Sort cond." area, set the sorting conditions. Setting value Setting item Description [Factory default] • [Cross X] • Cross Y Select the sorting method to be applied to those measurement results •...
Key Points for Test Measurement and Adjustment (Ec Cross) The following content is displayed in the "Detail result" area as text. Displayed items Description Judge Judgement result Cross X X coordinate of measured crosshair Cross Y Y coordinate of measured crosshair Angle Angle of measured crosshair Number of detections...
Measurement Results for Which Output Is Possible (Ec Cross) The following values can be output using processing items related to results output. It is also possible to reference measurement values from expressions and other processing units. Measurement Character Description items string Judge Judgement result...
Page 214
Data name Set/Get Data range 0: 3 × 3 1: 5 × 5 Filter size Set/Get 2: 7 × 7 3: 9 × 9 Lower limit of line length Set/Get 5 to 4000 Upper limit of line length Set/Get 5 to 4000 Combination angle Set/Get 0.0 to 30.0...
Page 215
Data name Set/Get Data range Judgement condition: Lower Set/Get -99999.9999 to 99999.9999 limit of cross Y Judgement condition: Upper Set/Get -99999.9999 to 99999.9999 limit of cross Y Judgement condition: Lower Set/Get -45 to 45 limit of angle Judgement condition: Upper Set/Get -45 to 45 limit of angle...
Classification Used in the Following Case • When various kinds of products on a production line need to be classified and identified Example) Grade recognition of orange packing box Register the classification condition as a model first. Register to “0” Register to “1”...
Settings Flow (Classification) Classification can be set up as follows. Necessary Steps Optional Steps Start Model Registration (Classification) Region Setting (Classification) Measurement Parameters (Classification) Output Parameters (Classification) Settings completed Verify/Adjust results Test measurement List of Classification Items Item name Description This item registers the pattern characteristic of the measurement image as a model.
Page 218
Click [OK]. The model is registered and its central X and Y coordinate values are displayed in the "Setting model" area. The image specified for the model is displayed in the Image Display area. Set the page in the Switch Page area to display models with index numbers 36 or more.
Page 219
Changing Model Parameters Model parameter values can be changed as needed to address unstable measurement results or to increase the processing speed. Normally, the factory default value will be used. After changing a setting, re-register the model. In the "Model parameter" area, select the search mode, then specify a value for each item for that mode.
Deleting a Model Deletes a registered model. Select the model from the list and click [Delete]. Region Setting (Classification) Use the rectangle to set up the measurement region for [Classification]. In the Item Tab area, click [Region setting]. Click [Edit]. The figure setting area is displayed.
Measurement Parameters (Classification) Specify the search measurement conditions and the judgement conditions for the measurement results. In the Item Tab area, click [Measurement]. In the "Measurement condition" area, specify a value for each item. Set value Setting item Description [Factory default] When a check is placed at sub-pixel, the position information can be •...
Output Parameters (Classification) Specify how to treat the coordinates to be output to the external device as measurement results. This item can be changed if necessary. Normally, the factory default value will be used. Important • After setting up the measurement parameters, changing the output parameters will cause measurement results to vary accordingly.
Page 223
Key Points for Adjustment Select the adjustment method referring to the following points. When the measurement results are unstable Searching other positions Parameter to be adjusted Remedy Specify a larger value for the "Prec." If the measurement results are unstable only when "Rotation" is selected, specify a smaller value for the "Skipping angle".
Measurement Results for Which Output Is Possible (Classification) The following values can be output using processing items related to results output. It is also possible to reference measurement values from expressions and other processing units. Measurement items Character string Description Judge Judgement result Index...
Page 225
Data name Set/Get Data range Upper limit of the rotation Set/Get -180 to 180 angle Lower limit of the rotation Set/Get -180 to 180 angle Skipping angle Set/Get 1 to 30 0: OFF Smart mode Set/Get 1: ON Stab. (CR) Set/Get 1 to 15 Prec.
Edge Position This processing item detects the position of the measurement object by using the change in color within the measurement region. Used in the Following Case • To calculate edge coordinates of measurement objects Example) Dimension measurement of finished products Searches edges by the color change in measurement region.
Settings Flow (Edge Positions) Set the edge position with the following steps. Necessary Steps Optional Steps Start Edge Color Specification – For Color Cameras Region Setting (Edge Position) Only (Edge Position) Reference Setting (Edge Position) Output Parameters (Edge Position) Measurement Parameters (Edge Position) Settings completed Verify/Adjust results Test measurement...
Region Setting (Edge Position) This item is used to set up the measurement area. Use a straight line (arrow), circumference, or arc to specify a measurement region for [Edge position]. Note • The edge is scanned from the start point of the area toward the end point. When setting up the measurement region, pay attention to the detection direction of the edge.
Edge Color Specification - For Color Cameras Only (Edge Position) This item selects the color of the edges to be detected. If the target color changes, this setting is not necessary. If the color is not specified, positions in the measurement region where the color changes drastically are detected as an edge.
Page 230
A reference position can be set either directly or by referencing a unit. Specifying directly Click a position on the image you want to use as a reference position, or set coordinate data for that point. In the Item Tab area, click [Ref. setting]. In the display area, the current reference position will be displayed as the crosshair cursor.
Measurement Parameters (Edge Positions) This item specifies the judgement condition for measurement results. Measurement parameter can be changed as needed to address unstable measurement results. In the Item Tab area, click [Measurement]. The edge profile of the measurement region is displayed as a graph in the Image Display area. Detected edge Measurement...
Page 232
Set value Setting item Description [Factory default] • Position (%) for width of a color Edge Upper (only Set a range of a color difference level with which the edge is detected. 0 to 100 Reference: "Appendixes Measurement Mechanism Edge Detection when edge color is [50] to [100] not specified) Edge...
If necessary, set each item in the "Noise removal" area. Set value Setting item Description [Factory default] • For color cameras: 0 to 442 [5] When edges are incorrectly detected due to noise, increase this value. Reference: "Appendixes Measurement Mechanism Noise Level" in Noise level •...
Set value Setting item Description [Factory default] As measurement results, select whether to output coordinate values • [After scroll] Output coordinates to external devices before or after the position compensation is • Before scroll applied. Select whether to reflect the calibration in the values output to the •...
External Reference Tables (Edge Position) Data name Set/Get Data range 0: No judgement (unmeasured) 1: Judgement result OK -1: Judgement result NG Judge Get only -10: Error (image format mismatch) -11: Error (unregistered model) -12: Error (Insufficient memory) -20: Error (Other error) Edge position X Get only 0 to 99999.9999...
Page 236
Data name Set/Get Data range Color camera: 0 to 442 Edge level absolute value Set/Get Monochrome camera: 0 to 255 Edge level specification 0: % Set/Get method 1: Absolute value Clockwise/ 0: Clockwise Set/Get Counterclockwise 1: Counterclockwise 0: Projection Measure type Set/Get 1: Derivation 0: Absolute...
Edge Pitch Finds and counts the edges by measuring the color change within the measurement region. Used in the Following Case • When calculating number of pins of IC or connectors Example) Measurement of number of IC pins • To calculate the pin width and the distance (pitch) between mid-points between two pins Edge Number Pitch (distance between two...
Settings Flow (Edge Pitch) Set the Edge Pitch with the following steps. Necessary Steps Optional Steps Start Region Setting (Edge Pitch) Edge Color Specification – For Color Cameras Only (Edge Pitch) Output Parameters (Edge Pitch) Measurement Parameters (Edge Pitch) Settings completed Verify/Adjust results Test measurement Item List for Edge Pitch...
In the Item Tab area, click [Region setting]. Use the Drawing tools to specify the measurement region. Click [OK] in the Figure setting area. • [OK]: Changes the settings and returns to the previous menu. • [Cancel]: Changes are discarded. Returns to the previous menu. •...
Page 240
If necessary, specify a value for each item in the "Measurement condition" area. For color cameras: Set value Setting item Description [Factory default] Specify a color changing level with which the edge is detected. When the measurement result is lower than the actual number of edges, specify a smaller value for the edge level.
Page 241
If necessary, set each item in the "Noise removal" area. Set value Setting item Description [Factory default] When detection is affected by noise, increase this value. 0 to 442 Noise level Reference: "Appendixes Measurement Mechanism Noise Level" in the "Vision System FH/FZ5 Series User's Manual (Z365)" Set the width for judging noise.
Output Parameters (Edge Pitch) Specify how to treat the coordinates to be output to the external device as measurement results. This item can be changed if necessary. Normally, the factory default value will be used. Important • After setting up the measurement parameters, changing the output parameters will cause measurement results to vary accordingly.
Key Points for Adjustment Select the adjustment method referring to the following points. Parameter to be adjusted Remedy Edge color If edges cannot be detected properly, specify a larger value for the color variance range. Measurement If noise is detected as an edge, specify a larger value for "Noise level" and "Noise width". When the measurement result is lower than the actual number of edges, specify a smaller Edge level value for the "Edge level".
Page 244
Data name Set/Get Data range Edge color R Set/Get 0 to 255 Edge color G Set/Get 0 to 255 Edge color B Set/Get 0 to 255 Edge color difference R Set/Get 0 to 127 Edge color difference G Set/Get 0 to 127 Edge color difference B Set/Get 0 to 127...
Scan Edge Position This processing item detects the position of the measurement object by using the change in color within the measurement region. By dividing the measurement region, the following effects can be expected compared to ordinary edge position measurement. •...
Settings Flow (Scan Edge Position) Set the scan edge position with the following steps. Necessary Steps Optional Steps Start Region Setting (scan edge position) Edge Color Specification – For Color Cameras Only (scan edge position) Reference Setting (scan edge position) Measurement Parameters (scan edge position) Output Parameters (scan edge position) Judgement Conditions (scan edge position)
Region Setting (Scan Edge Position) This item is used to set up the measurement area. Specify the measurement region for [Scan Edge Position] by using wide straight lines. In the Item Tab area, click [Region setting]. Use the Drawing tools to specify the measurement region. To align with the measurement area and change the number of measurement points, uncheck this.
Perform the display setting if required. Placing a check at [Filtered image] makes it easier to change the filtering setting. Set value Setting item Description [Factory default] • [Unchecked] If checked, the filtered image of the ranges set with the Scan sub-region Filtered image •...
Reference Setting (Scan Edge Position) When the measurement region is set, this position is automatically set at the same time as the reference position. This item can be used to change the reference position to any desired position. Note Reference position usage method: Measuring the distance from a specific position •...
Referencing a unit Set a reference by referencing a detection point unit with registered X coordinate, Y coordinate and angle data. In the Item Tab area, click [Ref. setting]. In the display area, the current reference position will be displayed as the crosshair cursor. In the "Method"...
Page 251
Set the value of each item in the "Measurement" area. For color cameras: Edge Color Not Specified Edge Color Specified Set value Setting item Description [Factory default] Specify the edge number used to extract edges. 0 to 99 Edge numbers are assigned to detected edges starting from 0 and going Edge No.
Page 252
Set value Setting item Description [Factory default] • Absolute (only when the measurement Select whether a black-to-white change or a white-to-black change should Density change method is be recognized as a density change in the specified region. "Derivation") • [Light→Dark] •...
In the "Approximate line" area, specify the point to be used for the calculation of approximate lines. Set value Setting item Description [Factory default] • ON When a check is placed at [ON], an approximate line is found by Noise cancel •...
Setting item Set value Description Specify the upper and lower limits of the long distance Long distance Max. 0 to 99999.9999 maximum judged to be OK. Specify the upper and lower limits of the long distance Long distance Min. 0 to 99999.9999 minimum judged to be OK.
Specify each of the following items. Set value Setting item Description [Factory default] • [After scroll] As measurement results, select whether to output coordinate values to Output coordinates • Before scroll external devices before or after the position compensation is applied. Select whether to reflect the calibration in the values output to the •...
Key Points for Adjustment Select the adjustment method referring to the following points. When the measurement results are unstable Parameter to be adjusted Remedy If the color of the edges to be detected is decided, specify the color with [Edge color]. If results are not stable even with the color specified, specify a larger value for the color variance range.
External Reference Tables (Scan Edge Position) Data name Set/Get Data range 0: No judgement (unmeasured) 1: Judgement result OK -1: Judgement result NG Judge Get only -10: Error (image format mismatch) -11: Error (unregistered model) -12: Error (Insufficient memory) -20: Error (Other error) Peak edge position X Get only 0 to 99999.9999...
Page 258
Data name Set/Get Data range Edge No. Set/Get 0 to 99 Edge level lower limit Set/Get 0 to 100 Color camera: 0 to 442 Noise level Set/Get Monochrome camera: 0 to 255 Noise width Set/Get 0 to 9999 Edge color level Set/Get 0 to 442 Upper limit of the maximum...
Page 259
Data name Set/Get Data range Edge level lower limit Set/Get 0 to 442 absolute value Edge level specification 0: % Set/Get method 1: Absolute value Scan sub-region Set/Get 1 to 100 Mask size Set/Get 0 to 200 Display area Set/Get 0 to 99 0: OFF Noise cancel...
Scan Edge Width This processing item detects the position of the measurement object by using the change in color within the measurement region. By dividing the measurement region, you can get the following values. • Local width of the work •...
Set the measurement point and the filter size for the region. Set value Setting item Description [Factory default] 1 to 100 Scan sub-region Set the measurement point for the region. 1 to 200 Set the filter size when smoothing the measurement point vicinity. When 5 Mask size 0 to 200 is set, smoothing is processed for a total of 11 points: the measurement...
Place a check at "Edge color specification" in the "Color setting" area. This item selects the color to be detected as edges. Setting methods Description Specify a region on the image that includes the target color. The average color of the Image Display area specified region is registered.
Page 264
You can specify enable/disable for each edge measurement number. Set value Setting item Description [Factory default] Set the edge measurement number for which the edge profile is Sub-region No. [0] to 99 displayed. Specify enable/disable for the displayed edge measurement •...
Page 265
For monochrome cameras: When the measurement method is "Projection" When the measurement method is "Derivation" Set value Setting item Description [Factory default] As the measurement type, specify either projection or derivation. • [Projection] Reference: "Appendixes Measurement Mechanism Edge Detection Measure type •...
Set value Setting item Description [Factory default] If a valley appears in the histogram around the edge threshold value due 0 to 100 to noises, smoothen the edge profile using a filter to prevent wrong error Filter strength detection from being detected. Strengthening the filter smoothen the edge profile further.
Key Points for Test Measurement and Adjustment (Scan Edge Width) The following contents can be displayed as text in the "Detail result" area. Displayed items Description Judge Judgement result Edge width Max. The maximum value of edge width Edge width Min. The minimum value of edge width Edge width Ave.
External Reference Tables (Scan Edge Width) Data name Set/Get Data range 0: No judgement (unmeasured) 1: Judgement result OK -1: Judgement result NG Judge Get only -10: Error (image format mismatch) -11: Error (unregistered model) -12: Error (Insufficient memory) -20: Error (Other error) Edge width Max.
Page 269
Data name Set/Get Data range Monochrome edge detection 0: Light→dark Set/Get mode 1: Dark→light Edge level lower limit absolute Color camera:0 to 442 Set/Get value Monochrome camera: 0 to 255 Edge level specification 0: % Set/Get method 1: Absolute value Measurement point Set/Get 1 to 100...
Circular Scan Edge Position This processing item detects the position of the circular measurement object by using the change in color within the measurement region. Used in the Following Case • To obtain the center of the circle and the radius from multiple edges of a circular measurement object Searches the edge with the change in color within the measurement region.
Region Setting (Circular Scan Edge Position) This item is used to set up the measurement area. Specify the measurement region for [Circular Scan Edge Position] by using circular shapes. In the Item Tab area, click [Region setting]. Use the Drawing tools to specify the measurement region. To align with the measurement area and specify the measurement point again, uncheck "Fix region count".
Perform the display setting if required. Placing a check at [Filtered image] makes it easier to change the filtering setting. Set value Setting item Description [Factory default] • [Unchecked] If checked, the filtered image of the ranges set with the Scan sub-region Filtered image •...
Reference Setting (Circular Scan Edge Position) When the measurement region is set, this position is automatically set at the same time as the reference position. This item can be used to change the reference position to any desired position. This is handy for measuring the position deviation from a certain position.
In the scene in the "Unit" area, select a detection point unit. Perform the next measurement, and the reference will be displayed. Measurement Parameters (Circular Scan Edge Position) Measurement parameters can be changed as needed to address unstable measurement results. Normally, the factory default value will be used.
Page 276
For monochrome cameras: When the measurement method is "Projection" When the measurement method is "Derivation" Set value Setting item Description [Factory default] As the measurement type, specify either projection or derivation. • [Projection] Measure type Reference: "Appendixes Measurement Mechanism Edge Detection •...
Page 277
If necessary, set each item in the "Noise removal" area. Set value Setting item Description [Factory default] • For color cameras 3 to 442 [5] When detection is affected by noise, increase this value. Noise level • For monochrome Reference: ...
Judgment Conditions (Circular Scan Edge Position) Specify the range to be judged as OK. In the circle calculation parameter, set the calculation method as required. Set value Setting item Description [Factory default] • [Approximation Specify the circle calculation method. circle] When the calculation from the smallest enclosing circle is selected, •...
Output Parameters (Circular Scan Edge Position) Specify how to treat the coordinates to be output to the external device as measurement results. This item can be changed if necessary. Normally, the factory default value will be used. Important • After setting up the measurement parameters, changing the output parameters will cause measurement results to vary accordingly.
Key Points for Test Measurement and Adjustment (Circular Scan Edge Position) In addition to the camera input image, the measured region, a graphic display of the measured results, and the edge position (the crosshair cursor) are also displayed as results in the Image Display area. Edge position display (Sub image 0) Display of edge position in each divided part (Sub image 1)
Measurement Results for Which Output Is Possible (Circular Scan Edge Position) The following values can be output using processing items related to results output. It is also possible to reference measurement values from expressions and other processing units. Measurement items Character string Description 1: OK...
Page 282
Data name Set/Get Data range Reflect to overall 0: ON Set/Get judgement 1: OFF Display region Set/Get 0 to 359 0: Not fixed Fix region count Set/Get 1: Fixed Disabled region Set/Get 0 to 360 Reference X Set/Get 0 to 99,999.9999 Reference Y Set/Get 0 to 99,999.9999...
Page 283
Data name Set/Get Data range Monochrome edge 0: Light→Dark Set/Get detection mode 1: Dark→Light Edge level Lower limit color camera: 0 to 442 Set/Get absolute value monochrome camera: 0 to 255 Edge level specification 0: % Set/Get method 1: Absolute value 0: Projection Measure type Set/Get...
Circular Scan Edge Width This processing item detects the width of the measurement object by using the change in color within the measurement region. Used in the Following Case • When getting multiple widths of a circular object Important • Processing is different for color images and monochrome images. If the camera type, color camera, or monochrome camera, was changed from a previous setup, a reset of some settings may be needed.
Item List for Circular Scan Edge Width Item name Description This item is used to set up the measurement area. Region setting Reference: Region Setting (Circular Scan Edge Width) (p.283) This item selects the color information for the edges to be detected. Edge color Reference: Edge Color Specification - For Color Cameras Only (Circular Scan Edge Width) (for color cameras only)
Page 286
Set value Setting item Description [Factory default] Set the measurement point. Scan sub-region Use either the "Divide num" or the "Divide angle" for this setting. 3 to 360 Set the number of divisions for the circle. Divide number The specified value is used as the measurement point. When the width measure type is circumference 1.000 to 179.999...
Edge Color Specification - For Color Cameras Only (Circular Scan Edge Width) This item selects the color of the edges to be detected. If the target color changes, this setting is not necessary. If the color is not specified, positions in the measurement region where the color changes drastically are detected as an edge.
Measurement Parameters (Circular Scan Edge Width) Measurement parameters can be changed as needed to address unstable measurement results. Normally, the factory default value will be used. After changing a setting, check whether measurement can be done properly by performing an actual measurement.
Page 289
For monochrome cameras: When the measurement method is "Projection" When the measurement method is "Derivation" Set value Setting item Description [Factory default] As the measurement type, specify either projection or derivation. • [Projection] Measure type Reference: "Appendixes Measurement Mechanism Edge Detection •...
Set value Setting item Description [Factory default] Set the width for judging noise. 0 to 9999 When detection is affected by noise, increase this value. Noise width Reference: "Appendixes Measurement Mechanism Noise Width" in the "Vision System FH/FZ5 Series User's Manual (Z365)" If a valley appears in the histogram around the edge threshold value due 0 to 100 to noises, smoothen the edge profile using a filter to prevent wrong error...
Output Parameters (Circular Scan Edge Width) Specify how to treat the coordinates to be output to the external device as measurement results. This item can be changed if necessary. Normally, the factory default value will be used. Important • After setting up the measurement parameters, changing the output parameters will cause measurement results to vary accordingly.
Measurement Results for Which Output Is Possible (Circular Scan Edge Width) The following values can be output using processing items related to results output. It is also possible to reference measurement values from expressions and other processing units. Measurement items Character string Description Judge...
Page 293
Data name Set/Get Data range Lower limit of number of lost width Set/Get 0 to 360 count 0: No color specification Edge color specification Set/Get 1: With color specification Edge color R Set/Get 0 to 255 Edge color G Set/Get 0 to 255 Edge color B Set/Get...
Intersection This processing item measures a corner position (corner) of a work. Calculate approximate lines from the edge information on two sides of a square work to measure the angle formed at the intersection of the two lines. Used in the Following Case •...
List of Intersection Items Item name Description This item sets the scan edge area (wide line) for each the two sides to be measured. Region setting Reference: Region Setting (Intersection) (p.293) This item sets the color of the edges to be detected. If the target color changes, this setting is not necessary.
Setting value Setting item Description [Factory default] 1 to 100 Scan sub-region Set the measurement point for the region. Set the filter size when smoothing the measurement point vicinity. When 5 Mask size (Filter 1 to 1000 is set, smoothing is processed for a total of 11 points: the measurement size) point and the 5 pixels before and after it.
Set the color to be detected as edges. Setting Methods Description Set a region on the image that includes the target color. The average color of the set Image Display area region is registered. Click the reference color on the color chart to set it. The RGB values for the set color are Color chart displayed at the bottom.
If necessary, finely adjust with numeric input and the arrow buttons. To remeasure on the displayed image and set the reference, click the [Measure ref.] button. To use data before position compensation for the reference setting coordinates, place a check at "Use point coordinate before scroll".
Page 299
Set the value of each item in the "Measurement" area. For color cameras: Edge Color Not Specified Edge Color Specified Setting value Setting item Description [Factory default] Set the edge number used to extract edges. 0 to 99 Edge numbers are assigned to detected edges starting from 0 Edge No.
Page 300
Setting value Setting item Description [Factory default] As the measurement type, select either projection or derivation. • [Projection] Reference: "Appendixes Measurement Mechanism Edge Measure type • Derivation Detection Method" in the "Vision System FH/FZ5 Series User's Manual (Z365)" • Absolute value (only when the Select whether a black-to-white change or a white-to-black measurement method is...
In the "Approximate line" area, select the point to be used for the calculation of approximate lines. Setting value Setting item Description [Factory default] When a check is placed at [ON], an approximate line is found • ON Noise cancel by excluding the points with large deviation among the •...
Output Parameters (Intersection) Set how to treat the coordinates to be output to the external device as measurement results. This item can be changed if necessary. Important • After setting up the measurement parameters, changing the output parameters will cause measurement results to vary accordingly.
Measurement Results for Which Output Is Possible (Intersection) The following values can be output using processing items related to results output. It is also possible to reference measurement values from expressions and other processing units. Character Measurement items Description string Judge Judgement result Intersection coordinate X...
Character Measurement items Description string The maximum distance between the approximate line and edge position Long distance Max. of line 1 PMAXD1 of line 1 (plus direction) The minimum distance between the approximate line and edge position Long distance Min. of line 1 PMIND1 of line 1 (plus direction) The maximum distance between the approximate line and edge position...
Page 305
Data name Set/Get Data range Peak edge position Y of line 1 Get only 0.0000 to 99999.9999 Bottom edge position X of line 1 Get only 0.0000 to 99999.9999 Bottom edge position Y of line 1 Get only 0.0000 to 99999.9999 Edge position X Ave.
Page 306
Data name Set/Get Data range Edge color R (line 0) Set/Get 0 to 255 Edge color G (line 0) Set/Get 0 to 255 Edge color B (line 0) Set/Get 0 to 255 Difference R (line 0) Set/Get 0 to 127 Difference G (line 0) Set/Get 0 to 127...
Page 307
Data name Set/Get Data range Edge number (line 1) Set/Get 0 to 99 Edge level (line 1) Set/Get 0 to 100 Noise level (line 1) Set/Get 0 to 442 Noise width (line 1) Set/Get 0 to 9999 Edge color level (line 1) Set/Get 0 to 442 Monochrome edge detection mode...
Color Data Inspect by finding the average color of the measurement region and using its difference from the registered reference color and the color variation in the measurement area. Alternatively, you can only detect the color tone while neglect the effect of image brightness. For monochrome cameras, examination is performed by measuring the difference between the average density of the measurement region and the registered reference density (density average), and the density deviation in the measurement region (density deviation).
List of Color Data Items Item name Description This item is used to set up the measurement area. While the input image can be measured as a whole, a quick and reliable measurement can be performed Region setting by set up the measured range. Reference: Region Setting (Color Data) (p.307) Set it when masking a region.
Note • When a check is placed at "Auto update reference color.", the average color within the region is automatically registered as the reference color when the region is registered. Each time the region is updated, the reference color is updated. To hold the reference color constant, uncheck this option and register the reference color with the measurement parameters.
Page 311
Creating a static mask from an image of another unit In the Static mask set area, select "Make from other unit image". Set the unit number and image data number. Setting value Setting item Description [Factory default] Specify the number of the unit whose image will be referenced. The reference unit should be able to output binarized images.
Page 312
Creating a dynamic mask In the Mask setting area, select "Dynamic mask". Set the unit number and image data number in the Unit reference area. Setting value Setting item Description [Factory default] Set the number of the unit being referred to for the mask region. The reference unit should be able to output binarized images.
Measurement Parameters (Color Data) Set the reference color and judgment conditions. For color cameras: In the Item Tab area, click [Measurement]. If necessary, check the "Normalization" option in the "Correction condition" area. Normally, the factory default value will be used. After changing a setting, check whether measurement can be done properly by performing an actual measurement.
Judgement Condition (Color Data) This item specifies the judgement condition for measurement results. When the setting has been changed, click [Measurement] to verify whether measurements can be made correctly. In the RGB Judgement condition area, set the judgement condition. Setting item Setting value Description Specify the upper and lower limit values for the difference between the...
For monochrome cameras When the setting has been changed, click [Measurement] to verify whether measurements can be made correctly. Set up the judgement condition. Setting item Setting value Description Specify the upper and lower limit values for judging the average density of Density average 0 to 255 the measurement region.
Key Points for Adjustment Select the adjustment method referring to the following points. When the measurement results are unstable Parameter to be adjusted Remedy Measurement For a color camera, place a check at [Normalization]. When the processing speed is slow Parameter to be adjusted Remedy Region setting...
Page 317
Data name Set/Get Data range Average G component Get only 0 to 255 value Average B component Get only 0 to 255 value Color difference Get only 0 to 442 Color deviation Get only 0 to 221 Density average (for monochrome cameras Get only 0 to 255 only)
Page 318
Data name Set/Get Data range Upper limit for density deviation Set/Get 0 to 127 (for monochrome cameras only) Lower limit for density deviation Set/Get 0 to 127 (for monochrome cameras only) Upper limit for H average Set/Get 0 to 359 value Lower limit for H average Set/Get...
Gravity and Area Inspect using the area of the specified color. Used in the Following Case • Label deviation measurement Center of gravity Specified Measurement color region Measurement can be enabled by gravity coordinates of specified color in measurement region. •...
Settings Flow (Gravity and Area) Set the Gravity and Area with the following steps. Necessary Steps Optional Steps Start For color cameras: Color Specification (Gravity and Area) Mask Setting (Gravity and Area) For monochrome cameras: Binarization (Gravity and Area) Reference Setting (Gravity and Area) Region Setting (Gravity and Area) Measurement Parameters (Gravity and Area) Output Parameters (Gravity and Area)
Color Specification (Gravity and Area) When connecting a color camera, specify the color to be measured. There are two specification methods: specifying the color to be extracted in the image or specifying the color with the hue, saturation, and brightness values.
Page 322
To specify multiple colors, place a check at "More ranges of color extraction". Set value Setting item Description [Factory default] More ranges of • Checked If you place a check at this option, you can set up to 8 colors. color extraction •...
Binarization (Gravity and Area) When a monochrome camera is connected, the 256-tone grayscale images taken in from the camera are converted into binary black-and-white images before the images are measured. Converted white pixels are measured. This specifies the level for converting grayscale images into binary images. In the Item Tab area, click [Binary].
Mask Setting (Gravity and Area) Mask the measurement region when measuring it. There are two types of masks, namely, a static mask that sets the mask region independent of measurement and a dynamic mask that uses images generated in another unit for each measurement. Creating a static mask A static mask can be created manually or from an image of another unit.
Page 325
Setting value Setting item Description [Factory default] Specify the number of the unit whose image will be referenced. The reference unit should be able to output binarized images. Unit No. For example, select a labeling filter processing image for advanced filtering.
Setting display Perform the display setting if required. Setting value Setting item Description [Factory default] Select the type of an image to be displayed. • Measure image Measure image: Measured image Image type • Mask binary image Mask binary image: Binarized image for masking •...
Make fine adjustments using numeric value inputs or the arrow buttons as required. To remeasure on the displayed image and set the reference, click the [Measure ref.] button. To use data before position compensation for the reference setting coordinates, place a check at "Use point coordinate before scroll".
Page 328
Set value Setting item Description [Factory default] [None] The empty section in the center is not filled in. In the measurement region, the part between the extracted-color start point and end point in the X-axis direction is measured as having the extracted color.
Output Parameters (Gravity and Area) Specify how to treat the coordinates to be output to the external device as measurement results. This item can be changed if necessary. Normally, the factory default value will be used. Important • After setting up the measurement parameters, changing the output parameters will cause measurement results to vary accordingly.
Measurement Results for Which Output Is Possible (Gravity and Area) The following values can be output using processing items related to results output. It is also possible to reference measurement values from expressions and other processing units. Measurement items Character string Description Judge Judgement result...
Page 331
Data name Set/Get Data range 0: Black 1: White Background color Set/Get 2: Red 3: Green 4: Blue 0: OFF Fill profile Set/Get 1: Fill profile 2: Filling up holes 0: OFF Color inv. (reverse for monochrome) Set/Get 1: ON Reference area Set/Get 0 to 999999999...
Page 332
Data name Set/Get Data range 0: Not use Use point coordinate before scroll Set/Get 1: Use Position X before scroll Set/Get -99999.9999 to 99999.9999 Position Y before scroll Set/Get -99999.9999 to 99999.9999 0: Not reverse Region reverse Set/Get 1: Reverse Dilate erosion level Set/Get -10 to 10...
Labeling You can count the number of labels with a specified color or find the area and center of gravity of a specified label number. Used in the Following Case • Label count inspection Label Specified color Measurement region Examination is based on the number and the area of labels in the measurement region. The extracted labels are sorted by area or gravity center and re-numbered.
Settings Flow (Labeling) Labeling can be set up as follows. Necessary Steps Optional Steps Start For color cameras: Mask Setting (Labeling) Color Specification (Labeling) For monochrome cameras: Reference Setting (Labeling) Binarization (Labeling) Output Parameters (Labeling) Region Setting (Labeling) Measurement Parameters (Labeling) Settings completed Verify/Adjust results Test measurement...
Color Specification (Labeling) When connecting a color camera, specify the color to be measured. There are two specification methods: specifying the color to be extracted in the image or specifying the color with the hue, saturation, and brightness values. This section describes how to specify colors in an image and gives an example of the procedure for finely adjusting with numeric input afterwards.
Page 336
To specify multiple colors, place a check at "More ranges of color extraction". Set value Setting item Description [Factory default] More ranges of • Checked If you place a check at this option, you can set up to 8 colors. color extraction •...
Binarization (Labeling) When a monochrome camera is connected, the 256-tone grayscale images taken in from the camera are converted into binary black-and-white images before the images are measured. Converted white pixels are measured. This specifies the level for converting grayscale images into binary images. In the Item Tab area, click [Binary].
Region Setting (Labeling) This item is used to set up the measurement area. It is possible to measure the entire input image, but restricting the range enables accurate measurement in a short period of time. Use a rectangle, straight line, circle (ellipse), wide circle, or polygon to specify a measurement region for [Labeling].
Mask Setting (Labeling) Mask the measurement region when measuring it. There are two types of masks, namely, a static mask that sets the mask region independent of measurement and a dynamic mask that uses images generated in another unit for each measurement. Creating a static mask A static mask can be created manually or from an image of another unit.
Page 340
Setting value Setting item Description [Factory default] Specify the number of the unit whose image will be referenced. The reference unit should be able to output binarized images. Unit No. For example, select a labeling filter processing image for advanced filtering.
Setting display Perform the display setting if required. Setting value Setting item Description [Factory default] Select the type of an image to be displayed. • Measure image Measure image: Measured image Image type • Mask binary image Mask binary image: Binarized image for masking •...
To use data before position compensation for the reference setting coordinates, place a check at "Use point coordinate before scroll". Referencing a unit Set a reference by referencing a detection point unit with registered X coordinate, Y coordinate and angle data. In the Item Tab area, click [Ref.
Page 343
Set value Setting item Description [Factory default] This option can be used only when there is a section of the designated color in the measurement region that does not need to be measured. When "Checked" is set, the whole area outside of the measurement region is extracted as having the specified color.
Page 344
Set the extraction conditions. Set value Setting item Description [Factory default] • [Not selected] • Area • Gravity X • Gravity Y • Elliptic major axis • Elliptic minor axis • Elliptic ratio • Rectangle width • Rectangle height Extraction condition Set the extraction conditions.
Judgement Conditions (Labeling) In the Item Tab area, click [Judgement]. If necessary, specify a value for each item. To set feature quantities 4-7, click the [Feature data 4-7] button. Set value Setting item Description [Factory default] Judgement condition • [None] •...
Output Parameters (Labeling) Specify how to treat the coordinates to be output to the external device as measurement results. This item can be changed if necessary. Normally, the factory default value will be used. Important • After setting up the measurement parameters, changing the output parameters will cause measurement results to vary accordingly.
Key Points for Test Measurement and Adjustment (Labeling) The following content is displayed in the "Detail result" area as text. Displayed items Description Judge Judgement result Number of labels Number of labels Area Area Gravity X Gravity X Gravity Y Gravity Y The image specified in the Sub-image number in image display setting is displayed in the Image Display area.
Measurement items Character string Description Feature quantity 0 to 7 [1] FDA1 to FDH1 Measurement date of feature quantity Feature quantity 0 to 7 [2] FDA2 to FDH2 Measurement date of feature quantity • • • • • • • •...
Page 349
Data name Set/Get Data range Reference Y Set/Get 0 to 99999.9999 Color inv. 0: OFF Set/Get (reverse for monochrome) 1: ON 0: OFF Filling up holes Set/Get 1: ON 0: OFF Outside trimming Set/Get 1: ON Upper limit of the object area Set/Get 0 to 999999999 range...
Page 350
Data name Set/Get Data range 0 to 2499 (For FZ5-3xx, FZ5-6xx) Label No. Set/Get 0 to 9998 (For FH-1xxx, FH-3xxx, FZ5-8xx, FZ5-11xx, FZ5-12xx) 0 to 2500 (For FZ5-3xx, FZ5-6xx) Upper limit of the number of Set/Get 0 to 9999 (For FH-1xxx, FH-3xxx, FZ5-8xx, FZ5-11xx, labels FZ5-12xx) 0 to 2500 (For FZ5-3xx, FZ5-6xx)
Page 351
Data name Set/Get Data range 0: Black 1 : White × 10 168 + N Background color N Set/Get 2: Red 3: Green 4: Blue Setting unit of reference Set/Get -1 to 9999 coordinate Setting type of reference 0: Numerical Set/Get coordinate 1: Unit...
Page 352
Data name Set/Get Data range 0: OFF 1: Number of labels 2: Total area 3: Area 4: Gravity X 5: Gravity Y 6: Elliptic axis angle × 10 600 + N Judgement condition N Set/Get 7: Elliptical approximate major axis 8: Elliptical approximate minor axis 9: Ratio for flat approximate ellipse 10: Width of circumscribed rectangle...
Label Data You can specify a desired label number and obtain measurement values for that label stored by other processing units. The processing items that can be set up as reference objects are the following items that perform the labeling processing. •...
Settings Flow (Label Data) Set up the label data with the following steps. Necessary Steps Optional Steps Start Setting (Label Data) Output Parameters (Label Data) Settings completed Verify/Adjust results Test measurement List of Label Data Items Item name Description Specify the unit number and label number of the processing unit that is designated as the reference object.
When the setting has been changed, click [Measure] in the Detail area to verify whether measurements can be made correctly. Set up the judgement condition. Note • The values beside each item are measurement results of the displayed image. Take these values into consideration to determine the upper and lower limit values.
Measurement Results for Which Output Is Possible (Label Data) The following values can be output using processing items related to results output. It is also possible to reference measurement values from expressions and other processing units. Measurement items Character string Description Judge Judgement result...
Defect Detect defects and contamination using color variation within the measurement region. This is real color processing, so even if defect and contamination colors change or the background color changes, stable inspection is possible. Used in the Following Case • Detecting defects, contaminations and spots on plain measurement objects Find defects by the color change within the measurement region Defect...
Settings Flow (Defect) Make the defect/contamination settings with the following flow. Necessary Steps Optional Steps Start Mask Setting (Defect) Region Setting (Defect) Output Parameters (Defect) Measurement Parameters (Defect) Settings completed Verify/Adjust results Test measurement List of Defect Items Item name Description This item is used to set up the measurement area.
Region Setting (Defect) This item is used to set up the measurement area. Use a rectangle, wide line, ellipse (circle), wide circle, wide arc or polygon to specify a measurement region for [Defect]. Up to 8 figures can be drawn. Important A mask cannot be made with only one region specified using Wide line, Wide circle, or Arc, as the figure.
Mask Setting (Defect) Mask the measurement region when measuring it. There are two types of masks, namely, a static mask that sets the mask region independent of measurement and a dynamic mask that uses images generated in another unit for each measurement. Important A mask cannot be made with only one region specified using Wide line, Wide circle, or Arc, as the figure.
Page 361
Creating a static mask from an image of another unit In the Static mask set area, select "Make from other unit image". Set the unit number and image data number. Setting value Setting item Description [Factory default] Specify the number of the unit whose image will be referenced. The reference unit should be able to output binarized images.
Page 362
Creating a dynamic mask In the Mask setting area, select "Dynamic mask". Set the unit number and image data number in the Unit reference area. Setting value Setting item Description [Factory default] Set the number of the unit being referred to for the mask region. The reference unit should be able to output binarized images.
Measurement Parameters (Defect) This item specifies the judgement condition for measurement results. Measurement parameters can be changed as needed to address unstable measurement results or to increase the processing speed. Note Defect detection mechanism • After measurement region is drawn, a rectangle (defect Defect detection region detection region) is automatically formed in this region.
Page 364
Set value Setting item Description [Factory default] Place a check when you want to measure the size of defects. This item can divide the high defect detection regions into groups and • Checked output the surface and center of gravity coordinates of the group with Area measurement •...
Set up the judgement condition. Set value Item Description [Factory default] 0 to 999 Specify the range of defect judgement values that Defect judgement [0] to [100] are judged to be OK. 0 to 307200 (for a 0.3-megapixel camera) Specify the range of area judgement values that are Area judgement 0 to 1920000 (for a 2-megapixel camera) judged to be OK.
Key Points for Adjustment Select the adjustment method referring to the following points. When the measurement results are unstable Noise is detected as defects. Parameter to be adjusted Remedy Measurement Specify a larger value for "Defect judgement" in the judgement conditions. Judgement will be NG.
External Reference Tables (Defect) Data name Set/Get Data range 0: No judgement (unmeasured) 1: Judgement result OK -1: Judgement result NG Judge Get only -10: Error (image format mismatch) -11: Error (unregistered model) -12: Error (Insufficient memory) -20: Error (Other error) Defect Get only 0 to 999...
Page 368
Data name Set/Get Data range Static mask unit reference Set/Get -1 to 9999 Static mask image no Set/Get 0 to 99 Dynamic mask unit Set/Get -1 to 9999 reference no Dynamic mask image no Set/Get 0 to 99 0: Static mask Mask type Set/Get 1: Dynamic mask...
Precise Defect Defects and contamination on plain measurement objects can be detected with high precision by performing differential processing on the image. By changing the size of elements used for detection, comparison intervals, etc., fine customization of speed and precision is possible. Used in the Following Case •...
Region Setting (Precise Defect) This item is used to set up the measurement area. Use a rectangle, wide line, ellipse (circle), wide circle, wide arc or polygon to specify a measurement region for [Precise Defect]. Up to 8 figures can be drawn. Important A mask cannot be made with only one region specified using Wide line, Wide circle, or Arc, as the figure.
Mask Setting (Precise Defect) Mask the measurement region when measuring it. There are two types of masks, namely, a static mask that sets the mask region independent of measurement and a dynamic mask that uses images generated in another unit for each measurement. Important A mask cannot be made with only one region specified using Wide line, Wide circle, or Arc, as the figure.
Page 373
Creating a static mask from an image of another unit In the Static mask set area, select "Make from other unit image". Set the unit number and image data number. Setting value Setting item Description [Factory default] Specify the number of the unit whose image will be referenced. The reference unit should be able to output binarized images.
Set the unit number and image data number in the Unit area. Setting value Setting item Description [Factory default] Set the number of the unit being referred to for the mask region. The reference unit should be able to output binarized images. Unit No.
Page 375
Set value Setting item Description [Factory default] Specify the X-axis size of defects/contamination to be detected. The higher 4 to 64 Size X this value, the higher the degree of defects for large defects. Specify in units [16] of pixels. Specify the Y-axis size of defects/contamination to be detected.
If necessary, set the value of each item in the "Measurement condition" area. Value input method: Reference: "Appendixes Basic Knowledge about Operations Inputting Values" in the "Vision System FH/FZ5 Series User's Manual (Z365)" The "Area meas. LV" can be set also by dragging the slider or by clicking the buttons at the ends of the slider.
Page 377
Setting value Setting item Description [Factory default] Specify the range of defect judgement values Defect judge 0 to 999 that are judged to be OK. 0 to 999,999,999.9999 0 to 307,200 (0.3 megapixel cameras) Specify the range of area judgement values that Area judge 0 to 1,920,000 (2 megapixel cameras) are judged to be OK.
Output Parameters (Precise Defect) Specifies whether or not the judgement results of this processing unit is reflected in the scene overall judgement. Click [Output parameter] in the Item Tab area. Choose whether or not to reflect this in the scene overall judgement in "Reflect to overall judgement"...
Measurement Results for Which Output Is Possible (Precise Defect) The following values can be output using processing items related to results output. It is also possible to reference measurement values from expressions and other processing units. Measurement items Character string Description Judgement Judgement result...
Page 380
Data name Set/Get Data range Inclined defect detection 0: OFF Set/Get direction 1: ON Upper limit of defect Set/Get 0 to 999 judgement value 0: OFF Area measurement Set/Get 1: ON Area meas, LV Set/Get 0 to 999 Upper limit of area Set/Get 0 to 999999999.9999 judgement...
Fine Matching Differences can be detected in a fast and highly precise way by overlapping registered fine images with input images (matching). Used in the Following Case • To precisely detect trivial defects at the edges of text and patterns Example) Stain measurement on the label Image of OK parts Image of...
Settings Flow (Fine Matching) Set up fine matching in the follow steps. Necessary Steps Optional Steps Start Model Registration (Fine Matching) Diff. Image Disp. (Fine Matching) Measurement Parameters (Fine Matching) Output Parameters (Fine Matching) Settings completed Verify/Adjust results Test measurement List of Fine Matching Items Item name Description...
Note • Specify [Boundary inspection] in [Model register] and [Inspection] in [Measurement] according to the inspection objectives. Inspection: Labeling Boundary inspection: ON (please choose a reliable method) Measuring defects on model Inspection: Binary Boundary inspection: ON Inspection: Labeling For fast measurement Boundary inspection: OFF For small defect measurement...
Page 384
Changing Model Parameters The range can be changed as needed to address unstable measurement results. Normally, the factory default value will be used. After changing a setting, check whether measurement can be done properly by performing an actual measurement. In the "Model parameter" area, specify a value for each item.
Difference Image Display (Fine Matching) This sets the reference grayscale used when calculating differences between the model and the inspected object image. Modify this setting as necessary when defects cannot be detected successfully. Normally, the factory default value will be used. After changing a setting, check whether measurement can be done properly by performing an actual measurement.
Page 386
Input the "Difference" in the "Difference parameter" area. Set value Item Description [Factory default] This sets the reference grayscale used when calculating differences between the model and the inspected object image. Pixels with a difference equal to or greater than Difference are converted to white and other pixels are converted to black, so that only defects are converted to white and measured.
Measurement Parameters (Fine Matching) This item specifies the judgement conditions for measurement conditions and measurement results. In the Item Tab area, click [Measurement]. Select "Inspection" in the "Measurement condition" area. Set value Setting item Description [Factory default] Images that are different from the model will be converted into binary images internally. "Inspection"...
Page 388
Set value Item Description [Factory default] Specify the conditions by which label number is re-assigned. When sorting referencing the X and Y coordinates, the upper left is the origin. This will not affect the coordinate systems set up through the [Camera Image Input] calibration. Number re-assigning begins from the labels with smaller areas.
Setting item Set value Description Specify the X and Y axis move ranges for the center of gravity positions that are judged to be OK. Defect pos X -99999.9999 to 99999.9999 When the "Labeling" is used, the center of gravity position of the label number will be specified instead.
Key Points for Adjustment Select the adjustment method referring to the following points. When the measurement results are unstable When non-existent defects are detected around the boundary Parameter to be adjusted Remedy Model Uncheck "Boundary inspection". Measurement Set "Labeling" as the "Inspection". When noise is detected as defects/defects cannot be detected Parameter to be adjusted Remedy...
External Reference Tables (Fine Matching) Data name Set/Get Data range 0: No judgement (unmeasured) Judgement result Get only 1: Judgement result OK -1: Judgement result NG Number of labeling Get only 0 to 9999 Area Get only 0 to 999999999.9999 Position X Get only -99999.9999 to 99999.9999...
Character Inspection Using model images registered in a [Model Dictionary], this processing item performs character recognition by correlation searches. Important • The model dictionary needs to be created in advance. Reference: Model Dictionary (p.411) Used in the Following Case • When identifying standard character data (check of product model name) Example) Product type inspection Important •...
List of Character Inspection Items Item name Description This item specifies the processing unit number for the model dictionary to use for character recognition. Dictionary Reference: Dictionary Parameters (Character Inspection) (p.391) This item is used to set up the measurement area. Instead of measuring the entire input image, narrowing the measurement area shortens the processing Region setting time.
Region Setting (Character Inspection) This item is used to set up the measurement area. Instead of measuring the entire input image, narrowing the measurement area shortens the processing time. This item specifies the measurement region of [Character Inspection] using a rectangle. In the Item Tab area, click [Region setting].
Page 395
Set value Setting item Description [Factory default] If characters are too close together to read in well, set a larger value. Specify the allowable overlapping width Horizontal succession [0] to 99 possible to read models in the unit of pixel. This item is valid when "Direction"...
Output Parameters (Character Inspection) Select how measurement results are output to an external device. This item can be changed if necessary. Normally, the factory default value will be used. Click [Output parameter] in the Item Tab area. Specify a value for each item. Set value Setting item Description...
Key Points for Adjustment Select the adjustment method referring to the following points. When the measurement results are unstable When the reading is unstable Parameter to be adjusted Remedy Measurement If characters are close, specify larger values for "Horizontal succession", "Vertical succession". The judgement is NG (insufficient memory).
Page 398
Output of Character String in PLC Link In PLC Link communication, if you check the [Character output] for output parameters, the character string and NULL(0x00) are output to the data output area of PLC Link. Reference: Output Parameters (Character Inspection) (p.394) Output Format Take the following case as an example.
Page 399
Output of Character string with Non-procedure Communications Check the [Character output] in Output parameter to output the character string with Non-procedure communication. Reference: Output Parameters (Character Inspection) (p.394) Output Format Take the following case as an example. Number of measurement is one. Reading character string is 32.
Page 400
Output of Character string with EtherNet/IP Message Communications In EtherNet/IP message communication, output of character string is possible using UNITDATA command which acquires the measurement value. Outputs the character string data measured in Character Inspection and NULL (0x00). Reference: Communicating with the Sensor Controller with EtherNet/IP Message Communications, Non- procedure Communications and UNITDATA or UD in Non-procedure Command Details in Vision System FH/ FZ5 Series User's Manual for Communications Settings (Z342).
External Reference Tables (Character Inspection) Data name Set/Get Data range 0: No judgement (unmeasured) Judge Get only 1: Judgement result OK -1: Judgement result NG Chara. Num Get only 0 to 32 NG cause Get only 0x0000 to 0x000F Read string Get only Character string 0: ON...
Page 402
Data name Set/Get Data range 1000+N -1: None Unit No. Get only (N=0 to 31) 0 to 9999 1032+N Detected index Get only 0 to 35 (N=0 to 31) 1064+N Detected model No. Get only 0 to 4 (N=0 to 31) 1096+N Chara.
Date Verification This processing item creates a target string from the current date/time and compares it with read-in strings. Used in the Following Case • When inspecting date of manufacture Example) Inspecting date labels to be attached to products Settings Flow (Date Verification) Follow the steps below to set up [Date Verification].
List of Date Verification Items Item name Description This item sets parameters of the verification string. Verification Reference: Verification Parameters (Date Verification) (p.402) This item sets the date/time format and update conditions. Date parameter Reference: Date Parameters (Date Verification) (p.404) Set this to print the date encrypted in such a way that it is difficult for the user to recognize.
Page 405
Label Description 0 to 9 Normal numeric value input A to Z Normal alphabet input ‘ - . : / Normal mark input Character presence judgement Number judgement The last two digits of the current year mYYYY Four digits of the current year Two digits of the current year in the Japanese Heisei calendar Current month Current day...
Date Parameters (Date Verification) This item sets the date/time format and update conditions. In the Item Tab area, click [Date parameter]. When comparing with character strings with an expiration date limit, set each item in the "Period setting" area. Set value Setting item Description [Factory default]...
Page 407
Note Use the following examples as reference for setting of the date parameter. E.g.1 Measurement is performed on 9/30, and the period setting is: Year: 1, Month: 1, Day: 1. • [Month→Day]: A month is added to 9/30, and the result will be 10/30. A day is added to 10/30, and the result will be 10/31.
Code Parameters (Date Verification) Preset what the codes show so that date verification is possible even when printing the date encrypted in such a way that it is difficult for the user to recognize. The setting methods are to set on the screen or set with a PC. Important •...
Page 409
Input a character string of up to 4 characters. Setting with a PC Code files are complex, so performing the settings with a PC makes file editing easier and minimizes mistakes. Saving an empty CSV file first and then editing and reading it with a PC makes setting the values more efficient. Saving code files Make an empty file for editing on the PC.
Code file format • The first line shows the "Code". • The second line shows the "Flag". Input "1" when used. • The third line and subsequent lines contain codes for each number. Months and days start from "1". Reading code files In the Item Tab area, click [Code parameter].
Test Measurement (Date Verification) The following content is displayed in the "Detail result" area as text. Displayed items Description Judge Judgement result Target string Target string setting is displayed. Read string A character string read from the OCR unit is displayed. Measurement Results for Which Output Is Possible (Date Verification) The following values can be output using processing items related to results output.
Page 412
Data name Set/Get Data range 0: Not used Code month 1 flag Set/Get 1 : Used 0: Not used Code month 2 flag Set/Get 1 : Used 0: Not used Code day 1 flag Set/Get 1 : Used 0: Not used Code day 2 flag Set/Get 1 : Used...
Model Dictionary Register a model to use for [Character Inspection]. Model data registered in the [Model Dictionary] can be referred to from multiple [Character Inspection] items in the same scene. Used in the Following Case • To create the dictionary to be used for Character Inspection and Date Verification Example) Inspecting printed characters Important •...
Item name Description This item can be changed if necessary. Measurement Reference: Measurement Parameters (Model Dictionary) (p.414) When registering multiple characters as models, auto registration is handy. This method encloses a Auto registration character string, cuts out one character at a time from it and registers them as models. Reference: Model Automatic Registration (Model Dictionary) (p.415) Model Registration (Model Dictionary) Register the characters and marks as the model.
Page 415
In the Item Tab area, click [Model]. When the measurement object is rotating, set the Angle range for the "Model parameter" area. Reference: Changing Model Parameters (p.414) Select the index to register the model in, then click [New]. Use the Drawing tools to specify the model registration range. Click [OK] in the Figure setting area.
Changing Model Parameters Model parameter values can be changed as needed to address unstable measurement results or to increase the processing speed. Normally, the factory default value will be used. After changing a setting, check whether measurement can be done properly by performing an actual measurement. Important •...
Model Automatic Registration (Model Dictionary) This method encloses a character string, cuts out one character at a time from it and registers them as models. When an auto extraction region is set enclosing the character string, the characters are automatically extracted one at a time.
Key Points for Test Measurement and Adjustment (Model Dictionary) The following content is displayed in the "Detail result" area as text. Displayed items Description Judge Judgement result Key Points for Adjustment Select the adjustment method referring to the following points. When the measurement results are unstable Parameter to be adjusted Remedy...
2D Code Read in 2D Code. Processing can also classify the read-in results. With 2D Code, detailed communication and reading result can be output. Used in the Following Case • To classify with 2D Code Example) 2D code is read and character string is output. 4 3 8 2 5 6 Important •...
Item name Description This item specifies the judgement condition for measurement results. Set the code type and the number of Measurement characters to be judged as OK. Reference: Measurement Parameters (2D Code) (p.418) Set the measurement results. Judgement results can be classified. Result setting Reference: Results Settings (2D Code) (p.422) Output...
Page 421
To teach, click [Teaching]. The detailed settings are set automatically. Set value Setting item Description [Factory default] Stop and terminate the process if the measurement for this processing 50 to 99999 Timeout item cannot be completed within the specified time period. Note that [99999] the actual timeout time may be longer than the specified time period.
Page 422
Set value Setting item Description [Factory default] 50 to 2448 Code length Specify the code length. [50] • [Auto] Mirror setting • Normal Specify whether to reverse the image horizontally. • Reverse Magnify level: • [Checked] Select whether to automatically set the reduction ratio of Auto •...
Page 423
Make the display settings for read-in character strings. Set value Setting item Description [Factory default] Display of decoded • [Unchecked] Place a check when displaying the read-in character strings on the characters. • Checked screen. • Black • White Color •...
Setting item Set value Description Integrated quality Specify the integrated quality to be judged as OK. (lower limit value) (only 0.0 to 4.0 It can be set when the code type is DataMatrix, PDF417 or when the read mode is MicroPDF417.
Page 425
Set value Setting item Description [Factory default] Set the output destination. When Ethernet is selected, the destination IP address is • [RS-232C/ determined by the system settings. Communication output RS-422] Reference: Non-procedure Communications in the Vision • Ethernet System FH/FZ5 Series User’s Manual for Communications Settings (Cat.
Page 426
Character Output Characters are output in the ASCll format as follows: • When read successfully Header + character count + code quality + reading characters + FCS + footer + delimiters • When not read successfully Header + error code + error characters + FCS + footer + delimiters Item Description What is specified for the Header is output.
Key Points for Test Measurement and Adjustment (2D Code) The following contents are displayed in the Detail Result Pane. Displayed items Description Judge Judgement result Index matched as the result of comparison with the classification comparison character Index strings Detected character count Number of characters detected Detected character strings Character strings detected...
Page 428
Displayed items Description A quality grade which shows the contrast of the start pattern, stop pattern, or specified line. RAP edge contrast Verify the smallest contrast between bar and space. A quality grade which shows the brightness uniformity of the start pattern, stop pattern, or RAP modulation specified line.
Page 429
Important • Codes may not be recognized if the code size is set too small or too large. • Use input images with a size of 2500 × 2500 pixels or less. Images as described below would not be measurable. •...
Measurement Results for Which Output Is Possible (2D Code) Measurement items Character string Description Judgement result Judgement result Decoded character Character count count Index matched as the result of comparison with the classification comparison Index character strings The rate is calculated based on the "the number of error code word to be correctable", which is determined by the size and the error correction level, Cell recognition rate and the number of error code words that are actually corrected.
Page 431
Measurement items Character string Description A quality grade which shows the contrast of the start pattern, stop pattern, or RAP edge contrast specified line. Verify the smallest contrast between bar and space. A quality grade which shows the brightness uniformity of the start pattern, RAP modulation stop pattern, or specified line.
Page 432
Output of Character String in PLC Link In PLC Link communication, check the [Character output] to output the character string. Reference: Output Parameters (2D Code) (p.422) Output Format Take the following case as an example. Number of measurement is one. Reading character string is 32. Command: Read character strings 0123456789...UV, Command, Response, and Data Output area are as follows.
Page 433
How to get the character string Perform the Data Output Request (DSA) and Data Output Completion (GATE) as in the case of Data Output via PLC Link serial data output. All character string is included in one data. Thereby, Data Output Request (DSA) is performed once there is only one 2D Code unit.
Page 434
Output of Character string with EtherNet/IP Message Communications In EtherNet/IP message communication, output of character string is possible using UNITDATA command which acquires the measurement value. Outputs the character string data which is measured in Character Inspection and NULL (0x00). Reference: Communicating with the Sensor Controller with EtherNet/IP Message Communications, Non- procedure Communications and UNITDATA or UD in Non-procedure Command Details in Vision System FH/ FZ5 Series User's Manual for Communications Settings (Z342).
External Reference Tables (2D Code) Data name Set/Get Data range 0: No judgement (unmeasured) Judge Get only 1: Judgement result OK -1: Judgement result NG Decoded character count Get only Number of characters included in code detected Decoded character string Get only Character string included in code detected 0 to 35...
Page 436
Data name Set/Get Data range RAP overall quality Get only 0 to 4 Code word yield Get only 0 to 4 Unused error correction Get only 0 to 4 Decodability Get only 0 to 4 Defect Get only 0 to 4 Modulation Get only 0 to 4...
Page 437
Data name Set/Get Data range 0: Automatic 1: M QR code ECC level Set/Get 2: L 3: H 4: Q Timeout Set/Get 50 to 99999 ms 0: Not output Character output flag Set/Get 1 : Output 0: Not set Output range specify Set/Get 1: Set Output ending digit...
Page 438
Data name Set/Get Data range Flag showing character string 0 : Not displayed Set/Get display results 1 : Displayed 0: Black 1 : White Character string display color Set/Get 2: Red 3: Green 4: Blue Character string display size Set/Get 10 to 200 0: OFF Communication header...
Barcode Read in barcodes. Processing can also classify the read-in results. Used in the Following Case • To read in barcodes and output them to an external device Example) A read character string is output. 4 3 8 2 5 6 Important •...
List of Barcode Items Item name Description This item is used to set up the measurement area. Region setting Restricting the measurement area can shorten the processing time. Reference: Region Setting (Barcode) (p.438) This item specifies the judgement condition for measurement results. Set the code type and the number of Measurement characters to be judged as OK.
Measurement Parameters (Barcodes) This item sets the judgement conditions for measurement conditions and measurement results. When the Teaching button is pressed, the code type and advanced settings are set automatically. If you then click the Measure button, measurement is executed, the detected barcode region is displayed on the image and the measurement results are displayed as measurement value of the judgement condition.
Page 442
When making the detailed settings, click "Details" and set each item. Set value Setting item Description [Factory default] • Checked Composite reflex Select whether or not to read composite code. • [Unchecked] Select whether or not to perform check using the check digit. When •...
Page 443
If you select [GS1 DataBar] or [GS1-128] for the code type, set a group separator replacement condition. Set value Setting item Description [Factory default] Replace group If you select [GS1-128] or [GS1 DataBar] for the code type, check this • [Checked] separator with specified checkbox to replace each group separator with another character •...
Results Settings (Barcode) Results can be classified according to the judgement results. In the Item Tab area, click [Result setting]. Register the character string that will be the reference for classification. Setting item Set value Description Classification string Set the Verification string. Up to 1023 characters can be set. Checked: '*' and '?' are handled as normal characters.
Key Points for Test Measurement and Adjustment (Barcode) The following content is displayed in the "Detail result" area as text. Displayed items Description Judge Judgement result Index Index matched as the result of comparison with the classification comparison character strings Character count Number of characters detected Character strings detected...
Measurement Results for Which Output Is Possible (Barcode) The following values can be output using processing items related to results output. It is also possible to reference measurement values from expressions and other processing units. Measurement items Character string Description Judgement Judgement result Number of decoded character...
Page 447
Output of Character String in PLC Link In PLC Link communication, check the [Character output] to output the character string and NULL(0x00) to the data output area of PLC Link. Reference: Output Parameters (Barcode) (p.442) Output Format Take the following case as an example. Number of measurement is one.
Page 448
Output of Character string with Non-procedure Communications Check the [Character output] in Output parameter to output the character string with Non-procedure communication. Reference: Output Parameters (Barcode) (p.442) Output Format Take the following case as an example. Number of measurement is one. Reading character string is 32.
Page 449
Output of Character string with EtherNet/IP Message Communications In EtherNet/IP message communication, output of character string is possible using UNITDATA command which acquires the measurement value. Outputs the character string data which measured in Character Inspection and NULL(0x00). Reference: Communicating with the Sensor Controller with EtherNet/IP Message Communications, Non- procedure Communications and UNITDATA or UD in Non-procedure Command Details in Vision System FH/ FZ5 Series User’s Manual for Communications Settings (Z342).
External Reference Tables (Barcode) Data name Set/Get Data range 0: No judgement (unmeasured) 1: Judgement result OK -1: Judgement result NG Judge Get only -10: Error(image format mismatch) -11: Error(unregistered model) -12: Error(insufficient memory) -20: Error(other errors) Decoded character count Get only Number of characters detected Decoded character string...
Page 451
Data name Set/Get Data range Reflect to overall 0: ON Set/Get judgement 1: OFF 0: JAN/EAN/UPC 1: Code39 2: Codabar 3: ITF Code type Set/Get 4: Code93 5: Code128/GS1-128 6: GS1 DataBar 7: Pharmacode Flag used for special 0: '*"? are considered to be wild cards Set/Get character judgement 1: '*"? are considered to be character strings...
Page 452
Data name Set/Get Data range 0: OFF Auto Set/Get 1: ON Magnify level Set/Get 0 to 4 Classification comparison 300 to 335 Set/Get Verification string used for classification character string 0: Not output Character output flag Set/Get 1: Output 0: RS-232C Output device Set/Get 1: Ethernet...
OCR User Dictionary Use the OCR user dictionary to store dictionary data to be used in [OCR]. Use this function when you need to recognize special font characters or other characters that cannot be recognized using the built-in dictionary for [OCR]. The dictionary data stored in the [OCR User Dictionary] can be referenced from multiple instances of [OCR].
Settings Flow (OCR User Dictionary) Set up the OCR user dictionary according to the following steps. Necessary Steps Optional Steps Start Dictionary Reference (OCR User Dictionary) Dictionary Operation (OCR User Dictionary) Settings completed Check result/adjust parameters Test measurement List of OCR User Dictionary Items The following items can be set in the OCR user dictionary.
Page 455
Setting Pattern Enable/Disable For each character type, enable the patterns that you want to use for OCR and disable the patterns that you do not want to use. In the Item Tab area, click [Dictionary Reference]. Select the character type from the list in the registered characters list area. Set the items in the registered characters list area.
Dictionary Operation (OCR User Dictionary) Dictionary operations are saving dictionary data to a file and loading dictionary data from a file. Saving Dictionary Data to a File The dictionary data of an OCR user dictionary processing unit can be saved to a file. In the Item Tab area, click [Dictionary Operation].
Note • Dictionary data can be saved and loaded as a file with the extension “cbd”. Key Points for Test Measurement and Adjustment (OCR User Dictionary) You can adjust the parameters while you perform test measurements and check the measurement results to increase the measurement precision and speed.
Characters in images can be recognized and read as text information using the internal font information without the need to prepare dictionary data. Using your own dictionary data (OCR User Dictionary), you can also recognize characters in a special font. OCR provides a higher level of recognition stability than character inspection when reading closely spaced characters, curved text strings, and other deviational characters.
Settings Flow (OCR) Set up OCR according to the following steps. Necessary Steps Optional Steps Start Dictionary Settings (OCR) Region Setting (OCR) Dictionary Registration (OCR) Measurement Parameters (OCR) Date Parameters (OCR) Judgement Conditions (OCR) Code Parameters (OCR) Settings completed Output Parameters (OCR) Check results/adjust parameters Test measurement List of OCR Items...
Region Setting (OCR) For the measurement region, set the region of the image over which you want to detect characters.. By narrowing the measurement region (as opposed to measuring the entire input image), this function allows you to shorten the processing time. In the Item Tab area, click [Region setting].
Measurement Parameters (OCR) Set the measurement conditions. Setting the Measurement Parameters Set the conditions for measurement processing and the parameters that are required for measurement. Click [Measurement] in the Item Tab area. In the measurement area, specify a value for each item. Setting value Setting item Description...
Page 462
To recorgnize a character string <a three alphabetic code>-<a four-digit current year>-<current month>, enter ""$$$-mYYYY/mMM"" in the string format area." Label Description 0 to 9 Normal numeric value input A to Z Normal alphabetic character input ' - . : /() Normal symbol input Uppercase alphabetic character judgement, Numeric character judgement and Symbol judgement...
Page 463
Click [Detail setting] in the measurement area and set each item. Setting value Setting item Description [Factory default] • Common Font Set the font of the characters to be recognized. • [Dot] Set the thickness of the characters to be recognized. If the cut-out characters have a fine shape or are broken, increase the Thick Threshold -128 to 128 [0]...
Page 464
Setting value Setting item Description [Factory default] Set an upper and lower height limit as a percentage of the neighboring character for recognition of characters as hyphens (-). Characters that fit between the upper and lower limits of the [Hyphen Threshold] are 0 to 100 Hyphen Threshold recognized as hyphens.
Page 465
Teaching of Characters to be Recognized The optimum measurement parameters can be set by teaching characters included in the image. In the measurement area, click [Teaching]. The teaching screen appears. Setting value Setting item Description [Factory default] Select this checkbox to teach without the correct result. If Teach without •...
Judgement Conditions (OCR) Set the conditions for judging the measurement results. In the Item Tab area, click [Judgement condition]. In the inspection condition area, set a value for each item. Setting value Setting item Description [Factory default] Set the inspection mode. Read the printed character strings and inspect them with the •...
Page 467
Setting value Setting item Description [Factory default] Set a lower limit value for the similarity. The similarity is the level of resemblance of the character that is Similarity 0 to 100 [60] read to the font information of the correct string. The more the read character resembles the font information of the correct string, the higher the similarity.
Page 468
Setting value Setting item Description [Factory default] The setting is enabled if [OCV] is specified for the inspection mode • [Unchecked] and [Unit] is specified for the OCV condition. • Checked Click on the [Verification limits 1] checkbox to turn it ON to verify the character string on the first line.
Setting value Setting item Description [Factory default] • Unchecked If you want to set the similarity and stability judgement conditions Batch setting • [Checked] at once for all characters, select the “Batch setting” checkbox. Lower limit of 0 to 100 [60] Set a lower limit value for the similarity.
Setting value Setting item Description [Factory default] Select the checkbox of the character type that you want to use for Character type • Unchecked OCR. specification • [Checked] Unchecking the checkmark will cause the characters specified in [OCR user dictionary] to be disabled from use. Click [Measure].
Setting value Setting item Description [Factory default] To register all successfully measured characters in the dictionary The initial state of • [Checked] after confirmation measurement, select the “The initial state of code is register • Unchecked code is register” checkbox. The registration state of each character after confirmation measurement will be “register”.
Page 472
In the Select Line (line selection) area, set a value for each item. Setting value Setting item Description [Factory default] • [Line No.1] • Line No.2 Set the line to which the usage period that will be set in the Select Line •...
Setting value Setting item Description [Factory default] Set an appropriate count back time from the current time. Set in Back margin 0 to 99 [0] units of minutes. Set this when the printing time is different from the inspection time. Set an appropriate count forward time from the current time.
Page 474
Click [...] next to “10”. A software keyboard appears. Enter “X”. A maximum of four characters can be entered. Setting on a computer Code files are complex. Using a computer to configure settings reduces mistakes and allows easy editing. By saving a blank CSV file, editing the file on a computer, and then loading the file, you can efficiently configure settings.
Page 475
Format of the Code File • “Item” appears on the 1st line. • “Flag” appears on the 2nd line. To use the item, set “1”. • On the 3rd and following lines, the code corresponding to each number appears. The month and day start from “1”. Loading a Code File Click [Code parameter] in the Item Tab area.
Output Parameters (OCR) Use this item to change the output parameters. The output parameters are the conditions and parameters for outputting measurement results to other processing units or external devices. Normally, the factory default values can be used. Click [Output parameter] in the Item Tab area. Specify a value for each item.
Key Points for Test Measurement and Adjustment (OCR) You can adjust the parameters while you perform test measurements and check the measurement results to increase the measurement precision and speed. Select the adjustment method by considering the following point. Check the measurement results that can be displayed and output in “Measurement Results for Which Output Is Possible”.
Page 478
When the Measurement Results Deviate or are Imprecise You can use the following methods to improve measurement precision and stability. When the measurement results are unstable Parameter to be adjusted Troubleshooting If the measurement region is large, excessive time may be required for measurement processing.
Parameter to be adjusted Troubleshooting Date parameter In date verification, the margin set before and after the date may be too large. (Reference: Date For date verification, set the “Back margin” and “Ahead margin” to a smaller value. Parameters (OCR) (p.469)) Adjusting Parameters Other Than Measurement Precision and Speed You can use the following methods to adjust parameters other than measurement precision and speed.
Page 480
Refer to the “External Reference Tables” for the parameters that can be referenced, including measurement results. (Reference: External Reference Table (OCR) (p.482)) Character Measurement item Description string Judge The judgement result of the processing unit Chara. Num(Line No.1) NUM0 Number of characters on the 1st line Chara.
Page 481
Top channel Name Description 3rd character, 3233 (ASCII code of the character 2 ASCII code of the character 3) 4th character 31st character, +15ch 5556 (ASCII code of the character U ASCII code of the character V) 32th character +16ch NULL, NULL 0x0000 (NULL, NULL) Note...
Page 482
Response (Sensor Controller to PLC) 0123456789…UV(Character string data) NULL (0x00) Note • If no character string, the response is as follows. • When output the multiple lines, NULL(0x00) is inserted between the lines and at the end of the last line. When the following case, output result is "ABC0x001230x000x00".
Page 483
Output of Character string with EtherNet/IP Message Communications In EtherNet/IP message communication, output of character string is possible using UNITDATA command which acquires the measurement value. Outputs the character string data which is measured with OCR and NULL(0x00). Reference: Communicating with the Sensor Controller with EtherNet/IP Message Communications, Non- procedure Communications and UNITDATA or UD in Non-procedure Command Details in Vision System FH/ FZ5 Series User’s Manual for Communications Settings (Z342).
External Reference Table (OCR) By specifying a number, you can access the following data from processing items that support processing unit data setting/acquisition, and from control commands. Data name Set/Get Data range 0: No judgement (unmeasured) Judge Get only 1: Judgement result OK -1: Judgement result NG Chara.
Page 485
Data name Set/Get Data range Upper Limit of Hyphen Set/Get 0 to 100 and Character Height Lower Limit of Hyphen Set/Get 0 to 100 and Character Height 0: Standard dictionary Built-in Dictionary Type Set/Get 1: Dot dictionary Thick Threshold Set/Get -128 to 128 Dot Pitch X Set/Get...
Page 486
Data name Set/Get Data range Format String(Line Set/Get Character string No.3) Format String(Line Set/Get Character string No.4) Verification string(Line Set/Get Character string No.1) Verification string(Line Set/Get Character string No.2) Verification string(Line Set/Get Character string No.3) Verification string(Line Set/Get Character string No.4) Lower Limit of Chara.
Page 487
Data name Set/Get Data range Upper limit of verification string(Line Set/Get 1 to 1024 No.4) Verification string(Line 0: Disabled Set/Get No.1) flag 1: Enabled Verification string(Line 0: Disabled Set/Get No.2) flag 1: Enabled Verification string(Line 0: Disabled Set/Get No.3) flag 1: Enabled Verification string(Line 0: Disabled...
Page 488
Data name Set/Get Data range 0: Not used 1141 Code hour 2 flag Set/Get 1: Used 0: Not used 1142 Code minute 1 flag Set/Get 1: Used 0: Not used 1143 Code minute 2 flag Set/Get 1: Used 0: Not used 1150 String year 1 flag Set/Get...
Page 489
Data name Set/Get Data range 32000+NN (NN=0 to NNth character Get only 0 to 100 similarity of third line 33000+NN (NN=0 to NNth character Get only 0 to 100 similarity of fourth line 40000+NN (NN=0 to NNth character stability Get only 0 to 100 of first line 41000+NN (NN=0 to...
Circle Angle Used in the Following Case • To correct the tilting of circle measurement objects Example) Appearance measurement while correcting the nut rotation Draw a circle to encircle the part that has the basic features of the image in order to define the registering conditions for featured points/measured points.
Note • The center position of the measured object should be always fixed in order to efficiently use the Circle Angle. Prior to Circle Angle, processing items related to position correction should be performed, making the central coordinates of the measurement object stay at a fixed position.
Region Setting (Circle Angle) This item is used to set up the measurement area. This item specifies the measurement region for [Circle Angle] with a circle. Ellipses cannot be set. If measurement results are unstable, change detection conditions as needed. Note •...
Set value Setting item Description [Factory default] Specify the interval degrees for extracting points. The color of all the points on the circumference (360° circumference/skipping angle) corresponding to the set skipping angle. Example) When the scale unit is 0.6° Measure 600 point on this line in the pixel unit. 0.1 to 10 Skipping angle [0.4]...
Key Points for Test Measurement and Adjustment (Circle Angle) The following content is displayed in the "Detail result" area as text. Displayed items Description Judge Judgement result Rotation angle Measured Angle Center position X Center position X of circle in measurement results Center position Y Center position Y of circle in measurement results Reference angle...
External Reference Tables (Circle Angle) Data name Set/Get Data range 0: No judgement (unmeasured) Judge Get only 1: Judgement result OK -1: Judgement result NG Center position X Get only 0 to 99999.9999 Center position Y Get only 0 to 99999.9999 Rotation angle Get only -180 to 180...
Glue Bead Inspection Inspect the coated condition of coating (sealer, etc.). You can inspect coating of a specified color for gaps or runoffs along the coating path. In addition to inspecting the above, you can also measure the maximum width, minimum width and average of coating.
List of Glue Bead Inspection Items Item name Description Color Set the color of coating to be extracted. (for color cameras only) Reference: Color Setting (Glue Bead Inspection) (p.495) This item specifies the binary level for converting 256-tone grayscale images input from the Binarization camera into binary images.
Page 498
About color charts Color phase Color saturation Brightness In multiple setting areas, specify each item. Setting value Setting item Description [Factory default] More ranges of Checked If you place a check at this option, you can set up to 8 colors. color extraction [Unchecked] If necessary, set the display conditions...
Binarization (Glue Bead Inspection) When a monochrome camera is connected, the 256-tone grayscale images taken in from the camera are converted into binary black-and-white images before the images are measured. Converted white pixels are measured. This specifies the level for converting grayscale images into binary images. In the Item Tab area, click [Binary].
Region Setting (Glue Bead Inspection) Set the inspection region and extract the coating path. All you need is register three items--measurement region, start line and end line--and then click [Register route], and a path will be extracted automatically. Click [Region setting] in the item tab area. Click [Inspection area] and register the measurement region.
Page 501
Important • Make sure that nothing protrudes from the measurement region. • If they diagonally bisect the glueing, the areas will become the maximum width making it impossible to accurately measure the area. • Set the distance between the start line and end line wider than expected glue break width. To inspect glue bead in made in round shape, register two Glue Bead Inspection processing items to perform inspection in two regions.
If necessary, set the following parameters in the "Model parameter" area. Setting value Setting item Description [Factory default] Specify a glueing route width to be judged as "OK". When it exceeds the 2 to 100 Route limit width set area the inspection result will be "NG". [10] The unit is pixel.
In the "Display setting" area, set the image display settings. Setting value Setting item Description [Factory default] • [Checked] Binary image Use this option when binary images are displayed. • Unchecked When the setting has been changed, click [Measure] in the "Detail" area to verify whether measurements can be made correctly.
Key Points for Test Measurement and Adjustment (Glue Bead Inspection) The following content is displayed in the "Detail result" area as text. Displayed items Description Judge Judgement result State Coated condition of measured coating Min. width Maximum width of measured coating Max.
Measurement Results for Which Output is Possible (Glue Bead Inspection) Character Measurement items Description string 1: OK Judge 0: Unmeasured -1: NG Condition of measured result 0: Detectable 1: Gapped 2: Path error State -1: Unmeasured -2: Region not yet registered -3: Coating not yet detected -4: Excessive path (insufficient memory) Min.
External Reference Tables (Glue Bead Inspection) Data name Set/Get Data range 0: No judgement (unmeasured) Judge Get only 1: Judgement result OK -1: Judgement result NG Status of measure result Get only Min. width of measure result Get only Max. width of measure result Get only Average width of measure Get only...
Page 507
Data name Set/Get Data range Upper limit of the maximum Set/Get 0.0000 to 99999.9999 width Lower limit of the maximum Set/Get 0.0000 to 99999.9999 width Upper limit of average width Set/Get 0.0000 to 99999.9999 Lower limit of Average width Set/Get 0.0000 to 99999.9999 Upper limit of gap width Set/Get...
Page 508
Data name Set/Get Data range 165 + N × 10 Register the min. color Set/Get 0 to 255 (N = 0 to 7) saturation N 166 + N × 10 Register the max. color Set/Get 0 to 255 (N = 0 to 7) brightness N 167 + N ×...
Compensate image This chapter describes how to apply positional compensation for measurement objects in the input image in order to measure accurately. Position Compensation ..........508 Filtering ................513 Background Suppression..........518 Brightness Correct Filter ..........521 Color Gray Filter .............. 524 Extract Color Filter ............
Position Compensation The positional deviation of measurement objects can be corrected using measured values saved by other processing units. Compare the measured coordinates with the reference coordinates of the applicable processing unit, and move the image by the amount of the difference. Used in the Following Case •...
Processing Units That Can Be Combined with Position Compensation Position compensation corrects positions according to measured values (coordinates) from the immediately preceding processing unit. Combining the following processing units with position compensation is effective. Processing unit type Processing item name Reference: Search (p.95) Processing unit that performs search or matching Reference: Flexible Search (p.110)
Page 512
Set value Setting item Description [Factory default] This performs a position compensation by referring to the coordinates measured with the search processing unit or edge position processing unit [Note 1] immediately before the [Position [1 unit scroll] Compensation] (automatic processing unit). This moves the image by the difference between the measured coordinates and the reference coordinates of the referring search processing unit or edge position processing unit.
Key Points for Test Measurement and Adjustment (Position Compensation) The image specified in the Sub-image number in image display setting is displayed in the image display area. Sub image number. Explanation of image to be displayed After compensation Before compensation Measurement Results for Which Output Is Possible (Position Compensation) The following values can be output using processing items related to results output.
Page 514
Data name Set/Get Data range 0: OFF With rotation Set/Get 1: ON Reference position X Set/Get Exp. character string Reference position Y Set/Get Exp. character string Reference angle Set/Get Exp. character string Measurement position X Set/Get Exp. character string Measurement position Y Set/Get Exp.
Filtering Process the images acquired from cameras in order to make them easier to measure. Used in the Following Case • Cutting out unnecessary background images to exclude them from the measurement region Before Filtering After Filtering • When noise is to be removed Before Filtering After Filtering •...
Filtering Parameters (Filtering) Treat the images loaded from the camera in order to make them easier to measure. You can select from 10 filtering methods to match the image state. In the Item Tab area, click [Filter parameter]. Set each item while checking the image. Set value Setting item Description...
Page 517
Filtering Options and Examples Treat the images loaded from the camera in order to make them easier to measure. Types of filtering The problems to be treated Filtering description Example Makes stable searching Weak smoothing Small flecks on the measurement Makes flecks less visible.
Page 518
Notes on Filtering Setting If filtering is applied to the image, the area around the image frame will become unstable. When a [Filtering] processing item has been set in the scene, ensure that measurement ranges, etc. set for other processing items are not included in the area around the image frame.
Region Setting (Filtering) It is possible to target the entire screen, but restricting the range can shorten the processing time. In the Item Tab area, click [Region setting]. Use the Drawing tools to specify the measurement region. Click [OK] in the Figure setting area. •...
Background Suppression Specifying a brightness range to use for measurement eliminates the section outside that range as background. In addition, the extracted range is converted into values of 0 to 255, so the contrast can be emphasized. Used in the Following Case •...
Page 521
Set the background suppression level. There are two setting methods: specifying the section in the image whose contrast is to be emphasized or specifying the extraction range with numeric values. For color cameras: Set value Item Description [Factory default] The upper and lower limits for the background suppression level RGB common are set in common for RGB.
Region Setting (Background Suppression) It is possible to target the entire screen, but restricting the range can shorten the processing time. In the Item Tab area, click [Region setting]. Use the Drawing tools to specify the measurement region. Click [OK] in the Figure setting area. •...
Brightness Correct Filter The filter can be used to correct the effect of the material and shape of the lighting and the measurement object. Used in the Following Case • This is used when the image is non-uniform due to the effect of the material and shape of the lighting and the measurement object.
Filter Setting (Brightness Correct Filter) This item sets the filter. In the "Item Tab" area, click [Filter setting]. In the "Display" area, click [Change display] to switch between camera image types. The displayed contents of the image display area will be switched. Setting value Setting item Description...
Set the details. Setting value Setting item Description [Factory default] Adjust the contrast of an image after the correction. 1 to 63 Gain Specifying a larger value emphasizes the density differences within the image. 0 to 255 Adjust the brightness of an image after the correction. Offset [128] Specifying a larger value increases the brightness of the image.
Color Gray Filter This processing item converts a color image input from a color camera into a monochrome image. The available filters are "Primary color filter (RGB)", "Complementary color filter (CMY)", "Brightness filter", and "HSV filter". This processing item cannot be used with monochrome images. Such use causes a judgement of NG (incompatible image). Note •...
Page 527
When RGB is selected Select the type of color filter in the "RGB filter" area. If "Custom filter" is selected, set the "Gain (Red)", "Gain (Green)", and "Gain (Blue)" as necessary. Set value Setting item Description [Factory default] • [Red filter] •...
Set value Setting item Description [Factory default] "Fast": The color extraction range is set only by hue. • Fast HSV filter "Fine": Extraction is set by standard hue, hue range, and color • [Fine] chroma. Specify the standard hue (tone) for the HSV filter. The density Standard Hue [0] to 359 decreases as the difference in hue from the standard hue...
Extract Color Filter The color image is extracted by color. Up to 8 ranges can be set. However, this processing item cannot be used with monochrome images. Used in the Following Case • To extract an object of different color. Example) When extracting objects that include 8 colors Input image Output image...
Page 530
As necessary, select Fill profile. Set value Item Description [Factory default] [None] The empty section in the center is not filled in. In the measurement region, the part between the extracted-color start point and end point in the X-axis direction is measured as having the extracted color.
To specify multiple colors, place a check at "More ranges of color extraction". Set value Setting item Description [Factory default] More ranges of color • Checked If you place a check at this option, you can set up to 8 colors. extraction •...
Click [OK] in the Figure setting area. • [OK]: Changes the settings and returns to the previous menu. • [Cancel]: Changes are discarded. Returns to the previous menu. • [Apply]: Updates the settings without leaving edit window. Output Image (Extract Color Filter) Set value Setting item Description...
Page 533
Data name Set/Get Data range 131 + 10 × N OR/NOT setting [N] 0: OR Set/Get (N = 0 to 7) (N = 0 to 7) 1: NOT Register the max. color hue 132 + 10 × N Set/Get 0 to 359 (N = 0 to 7) (N = 0 to 7) Register the min.
Anti Color Shading This filter eliminates color unevenness in the image. Unevenness is eliminated either by converting the two specified colors toward the color midway between them or by converting one of the two specified colors to approach the other. However, this processing item cannot be used with monochrome images. Used in the Following Case •...
Page 535
Adjust the color, conversion direction, and Anti Color Shading level as necessary. The picked up 2 colors are displayed at Color 1 and Color 2. Fine adjustments can also be made to the R, G, and B values and on the color chart. Set value Setting item Description...
Region Setting (Anti Color Shading) It is possible to target the entire screen, but restricting the range can shorten the processing time. In the Item Tab area, click [Region setting]. Use the Drawing tools to specify the measurement region. Click [OK] in the Figure setting area. •...
Stripes Removal Filter II Eliminating a striped pattern or other background makes it possible to stably extract just the defect without it being affected by the background. Used in the Following Case • To eliminate vertical stripes, or horizontal stripes from the target. •...
Filter Setting (Stripes Removal Filter II) This item sets the filter. In the "Item Tab" area, click [Filter Setting]. In the "Display" area, click [Change display] to switch between camera image types. The displayed contents of the image display area will be switched. Setting value Setting item Description...
Page 539
This sets the filter settings. Setting value Setting item Description [Factory default] • [Normal] • Vertical Direction • Horizontal Specify the filter direction. • Upper right • Lower right The value is set based on the size of the defect to be extracted or the size of the stripes.
Correction method: For "Pinstripe off" Setting value Setting item Description [Factory default] • [Light and darkness] Stripe brightness • Light This item selects the color of the stripes to be deleted. • Darkness Region Setting (Stripes Removal Filter II) It is possible to target the entire screen, but restricting the range can shorten the processing time. In the Item Tab area, click [Region setting].
External Reference Tables (Stripes Removal Filter II) Data name Set/Get Data range 0: No judgement (not yet measured) Judge Get only 1: Judgement result OK -1: Judgement result NG 0: Thick striped pattern suppression Correction method Set/Get 1: Thin striped pattern suppression 0: Vertical and horizontal 1: Horizontal Direction...
Polar Transformation Wide circle and fan shape images are transformed in polar coordinates and converted into orthogonal coordinate images. The converted image is a measurement object for processing units in later stages. Used in the Following Case • This is used for judging characters printed around the circumference of caps and the like. Example) Label layout ABCDE Important...
Page 543
When Circumference is selected, set the items in the "Circle setting" area. When Wide arc is selected, detailed settings are not required. Set value Setting item Description [Factory default] Set the angle for starting extraction when the figure is a wide Cut out angle [0] to 359 circle.
Key Points for Test Measurement and Adjustment (Polar Transformation) The image specified in the Sub-image number in image display setting is displayed in the image display area. Sub image number Explanation of image to be displayed Post-conversion image Measurement image Measurement Results for Which Output Is Possible (Polar Transformation) The following values can be output using processing items related to results output.
Trapezoidal Correction If measurement is performed with the measurement object tilted or the camera tilted, the input image is converted to orthogonal coordinates. Used in the Following Case • Processing a trapezoidal image shot tilted to make it easier to inspect Perform processing so that a trapezoid-shaped image in which the object is displayed diagonally can be more easily inspected.
Page 546
Set the reference position. Set value Setting item Description [Factory default] Set the method for setting the reference position. When fixed value is selected, specify the vertex position on the • [Figure] Setting method image. • Operation After setting with an expression, if the setting is changed to a fixed value, the result of the expression is reflected as a fixed value.
Page 547
Example of Setting The setting examples for the reference position and measurement position. Pattern 1 Pattern 2 Camera: Fixed tilt Camera: Fixed vertical Camera Camera Work: No chatter Work: Chatter Setting item Measurement object Measurement object Reference position Figure Figure Measure position Figure Operation...
Page 548
Specify on the image which four points whose information to use for distortion compensation. Select "Figure" for the reference position and click Edit. On the image, specify which information for the positions where the four specified points should be to use for distortion compensation.
Page 549
Specify with the expression which four points to use the information of for compensation. Set the processing unit for acquiring the positions before the processing unit for trapezoidal distortion compensation. Select "Figure" for the reference position and click Edit. On the image, specify which information for the positions where the four specified points should be to use for distortion compensation.
Region Setting (Trapezoidal Correction) Specify as a rectangle the range for compensating in the image. Narrowing the compensation range instead of measuring the entire input image shortens the processing time. In the Item Tab area, click [Region setting]. Click [Edit]. The figure setting area is displayed.
External Reference Tables (Trapezoidal Correction) Data name Set/Get Data range 0: No judgement (unmeasured) Judge Get only 1: Judgement result OK -1: Judgement result NG 0: None Interpolation mode Set/Get 1: Linear interpolation 0: See unit 4 Method Set/Get 1: Expression 0: Camera image Input image Set/Get...
Machine Simulator You can simulate the movement of an alignment mark and verify the operation of alignment-related processing items without an actual stage or robot. Actual coordinate system conditions (origin position, magnification, axis angle) can be set as desired in this processing item group. For the origin position, set the rotating center of the stage.
List of Machine Simulator Items Item name Description Select a processing item (stage data or robot data) under which external device information needed for Machine setting calculation of travel distance of the actuator is held. Reference: Machine Setting (Machine Simulator) (p.551) Set the origin position, magnification and the axis angle of the real coordination system.
Actual Setting (Machine Simulator) Use the procedure below to set actual-coordinate conditions (origin position, magnification, axis angle) in camera coordinates. Set the conditions for the coordinate system of the stage or robot used. Camera coordinates are the coordinates of the image captured by the camera, as measured in pixels. The camera- coordinate origin is at camera top-left.
Movement Setting (Machine Simulator) Set the movement amount of each axis needed to move the image. When simulating a movement from other than the origin return position, also set the current axis position. In the Item Tab area, click [Movement setting]. Select the target image to move in the Source image area.
Key Points for Test Measurement and Adjustment (Machine Simulator) The image specified in the Sub-image number in image display setting is displayed in the image display area. Sub image. Explanation of image to be displayed 0, 2 to 31 Measurement image (Same when a list of positions is displayed) Input image Key Points for Adjustment Adjust the setting parameters referring to the following points.
External Reference Tables (Machine Simulator) Data name Set/Get Data range 0: No judgement (unmeasured) Judge Get only 1: Judgement result OK -1: Judgement result NG -1: Current scene referred Reference scene No. Set/Get 0 to 9,999: Pointed scene referred -1: No reference Reference unit No.
Image Subtraction The registered model image and measurement image are compared and only the different pixels are extracted and converted to an image. Used in the Following Case • When you want to extract from the image only the parts that are to be inspected Coating Before application After application...
Operation Mode (Image Subtraction) Set how to switch model registration and difference extraction at the time of measurement. In the Item Tab area, click [Operation mode]. Set each item in the "Operation mode" area. Setting value Setting item Description [Factory default] Always use the initially registered model image to perform difference extraction processing.
Model (Image Subtraction) Register the region you want to compare, as a model. Normally the background image (image not showing what you want to extract at the time of measurement) is registered as a model. In the Item Tab area, click [Model]. In the "Model parameter"...
Disp. Image Sub. (Image Subtraction) Set the method for extracting the difference images. Set this option when the difference cannot be extracted correctly such as when there are a lot of noises. In the Item Tab area, click [Disp. image sub.]. Set each item in the "Revision processing"...
Color (Image Subtraction) Set the background color of the difference image (color of the parts not recognized as differences). Set this option if necessary, such as when the background color is similar to the color of the extraction object and the object is difficult to see.
Key Points for Adjustment (Image Subtraction) Key Points for Adjustment Select the adjustment method referring to the following points. When the extraction is unstable State Parameter to be adjusted Troubleshooting Turn ON the normalization. The density is adjusted before Affected by lighting change Disp. image sub. difference extraction, so that the extraction is not affected by changes in the total image brightness or the lighting fluctuations.
External Reference Tables (Image Subtraction) Data name Set/Get Data range 0: No judgement (unmeasured) Judge Get only 1: Judgement result OK -1: Judgement result NG 0: OFF Boundary inspection Set/Get 1: ON Boundary level Set/Get 0 to 9 0: OFF Normalization Set/Get 1: ON...
Advanced Filter This function filters images acquired from the camera to facilitate measurement. With advanced filter, up to 16 image filter libraries such as “Filtering”, “Color/Gray Filter”, and “Background Suppression” can be set and used in a single processing item. By combining image filters, highly flexible filter processing can be performed, and custom filters can be used to create your own customized filtering.
Important • Processing is different for color images and monochrome images. If the camera type, color camera, or monochrome camera, was changed from a previous setup, a reset of some settings may be needed. Settings Flow (Advanced Filter) Set up advanced filter settings according to the following steps. Necessary Steps Optional Steps Start...
Filtering Settings (Advanced Filter) This function filters the image acquired from the camera to make it easier to measure. The filtering method can be selected as appropriate for the image condition. Adding a Filter Image filtering methods can be added by selecting filters from the filter list. Note •...
Page 568
Adding/Inserting Filters Selected from the List To add a new filter, select the filter from the list and add. Click [Add] in the filter setting list area. If you want to insert a filter in a position selected in the list, click [Insert]. The “Select filter”...
Page 569
Setting item Description Filter for monochrome images. Same function as the brightness correct filter in the “Filtering” processing item. Corrects the effects of lighting as well as properties of the object of measurement such as Brightness Correct Filter material and shape. Reference: Changing the Brightness Correct Filter Settings (Monochrome Images Only) (p.575) Filter for monochrome images.
Page 570
Adding a copy of an already-set filter To use the filter settings of a filter that has already been set in the list in the filter setting list area, copy the settings and add the filter. Select the filter that you want to copy in the list in the filter setting list area. Click [Copy].
Page 571
2 images operation filter setting screen Select the filter whose settings you want to change in the list in the filter setting list area. Click [Edit]. The filter edit screen appears. Specify a value for each item in the filter edit screen. Setting items for filters other than 2 images operation Setting value Setting item...
Page 572
Setting Items for 2 Images Operation Filter Setting value Setting item Description [Factory default] • Measurement This can be set when “2 images operation filter” is selected in “Filter image Setting”. Target image 2 • [Pre filter image] As target image 2, set the image that is used with the target image in the •...
Page 574
Changing the Filter Settings The same filter settings as in the “Filtering” processing item can be changed. The following setting screen appears if the “Weak smoothing”, “Strong smoothing”, “Dilate”, “Erosion”, “Median”, “Edge extraction”, “Extract horizontal edges”, “Extract vertical edges”, or “Enhance edges” filter settings are edited.
Page 575
Setting value Setting item Description [Factory default] Count 1 to 9 [1] Set the number of times the filter is applied. FH/FZ5 Processing Item Function Reference Manual Advanced Filter...
Page 576
Changing the Background Suppression Filter Settings. The same filter settings as in the “Background Suppression” processing item can be changed. Color images Monochrome images Advanced Filter FH/FZ5 Processing Item Function Reference Manual...
Page 577
Color images Setting value Setting item Description [Factory default] RGB common/RGB • [RGB common] Select whether the RGB upper limit and lower limit values are set to RGB individual • RGB individual common or RGB individual. Enabled when “RGB common” is selected in “RGB common / RGB individual”.
Page 578
Setting value Setting item Description [Factory default] This can be set when the “Uneven removal” checkbox is selected. • [Normal] Set the direction of filtering of the image. Set the direction that is Filter direction • Vertical perpendicular to the direction of the changes in darkness and lightness of the •...
Page 579
Setting value Setting item Description [Factory default] Set an odd value for the size of the filter for stripes and defects. • Thick stripe off (morphology difference) 3×3 to 63×63 Set a “Filter size” larger than the size of the stripes and defects that you Filter size [3×3] want to detect.
Page 580
Binarization settings screen for monochrome images Setting items in the [Color Ext.] (color extraction) settings screen for color images Setting value Setting item Description [Factory default] • Checked More color ranges To extract multiple colors, select the “More color ranges” checkbox. •...
Page 581
Setting value Setting item Description [Factory default] • Measurement image • [All color image] Display Set the image that you want to display in the settings screen. • Color selected image • Binary image Setting Items in the Binarization Settings Screen for Monochrome Images Setting value Setting item Description...
Page 582
Label condition settings screen for monochrome images Setting value Setting item Description [Factory default] • Checked To fill the blank “donut hole” surrounded by the extracted color with the Filling up holes • [Unchecked] extracted color, select the “Filling up holes” checkbox. If there is a part you do not want to measure in the place where the •...
Page 583
Setting value Setting item Description [Factory default] • Area ascending • [Area descending] • X ascending • X descending • Y ascending • Y descending • Elliptic major axis ascending • Elliptic major axis descending • Elliptic minor axis ascending •...
Page 584
Setting value Setting item Description [Factory default] • [None] • Area • X • Y • Elliptic major axis • Elliptic minor axis • Elliptic ratio • Rectangle width • Rectangle height Set the conditions for extracting a label. Extraction condition •...
Page 585
Changing the Custom Linear Filter Settings You can change the linear filter settings that allow you to set custom filter coefficients. To set the filter coefficients, click the “Setting” button. Setting value Setting item Description [Factory default] Count 1 to 9 [1] Set the number of times the filter is applied.
Page 586
Changing the Custom Rank Filter Settings You can change the rank filter settings that allow you to set custom filter coefficients. Setting value Setting item Description [Factory default] Count 1 to 9 [1] Set the number of times the filter is applied. Set an odd value for the size of the filter mask.
Page 587
Changing the Image Operation Filter Settings You can change the settings for the filter that converts the pixel values of an image. Setting value Setting item Description [Factory default] • [Arithmetic operation] • Bit operation Operation type Set the type of operation that is used for pixel calculation. •...
Page 588
Setting value Setting item Description [Factory default] This can be set when “Bit shift” is selected for “Operation type”. Set the bit shift method. • Right bit shift • [Right bit shift] Bit shift to the right. This makes the pixel values smaller and the image Bit shift mode •...
Page 589
Changing the 2 Images Operation Settings You can change the settings for the filter that operates on paired pixel values of two images. Setting value Setting item Description [Factory default] • [Calculation] Operation type Set the type of operation that is used for 2 images operation. •...
Page 590
Changing the Binary Filter Settings (Monochrome Images Only) You can change the settings of the filter that binarizes images. Setting value Setting item Description [Factory default] Set the level for conversion of a 256 gradation grayscale image to a binary 0 to 255 Binary level image.
Page 591
Changing the Color Gray Filter Settings (Color Images Only) The same filter settings as in the “Color Gray Filter” processing item can be changed. Setting value Setting item Description [Factory default] Set the filter type. • RGB filter • [RGB filter] Filter type Set the color extraction range using R, G, B.
Page 592
Setting value Setting item Description [Factory default] This can be set when “HSV filter” is selected for “Filter type”. Set the standard hue (tone). Standard Hue 0 to 359 [0] The greater the difference in hue from the standard hue (difference in tone), the smaller the density value.
Page 593
Setting value Setting item Description [Factory default] [0] to [255] Set the saturation (difference in saturation). [0] to [255] Set the vividness (difference in vividness). • Checked To exclude a selected color extraction range from the extracted colors, select Exclude this color •...
Page 594
Changing the Anti Color Shading Filter Settings (Color Images Only) The same filter settings as in the “Anti Color Shading” processing item can be changed. Setting value Setting item Description [Factory default] Color 1 0 to 255 [255] After the range is set, the two colors that are furthest apart in the set range are picked out.
Page 595
Changing the Settings for Image Subtraction Filter Change the settings for the filter similar to "subtract only" of the "Image subtraction" processing item. Different screens are displayed according to the settings for model registration mode. Important When an Image Subtraction Filter is added, always place it on the top of the list as the filter No.0. ●...
Page 596
The procedures below are used when a single image is used. Set the parameters. To register a model after setting the parameters, click [Register model]. The message "Please set model." is displayed when a model has not been registered or a model needs to be registered.
Page 597
Setting value Setting item Description [Factory default] Set the image that is output to the Image Display area. • Binary image • [Binary image] Hides the background color. Output image • All color image • All color image Displays the background color. The window to set the background color is different for color images and monochrome images.
Page 598
Click [OK]. • [OK]: Changes the settings and returns to the previous menu. • [Cancel]: Changes are discarded. Returns to the previous menu. Change the display settings in the Image Display area if necessary and check the settings. Setting value Setting item Description [Factory default]...
Page 599
To register or correct a model, click [Model setting]. The Model setting window is displayed. Note When displaying the Model setting window, for the image files in the folder specified in [Folder name] is checked. [Image format mismatch] is displayed if the size or color of the image file and the input image is different. Specify the destination to save the model image and set whether or not to use a measured image as the model image.
Page 600
Set the model image target file. Select the check box for the files to register as the model from the model image list. Up to 100 image files can be registered as the model. Setting value Setting item Description [Factory default] Displays the number of images to be used as a model.
Page 601
Set the model parameters for the model image. Setting value Setting item Description [Factory default] Difference image is used as is in this method. When the image of the registered model and the target object after application can be taken at the same exact position, there is no position •...
Page 602
To register a model after setting the parameters, click [Register model]. The message "Please set model." is displayed when a model has not been registered or a model needs to be registered. Note When displaying the Model setting window, for the image files in the folder specified in [Folder name] is checked. [Image format mismatch] is displayed if the size or color of the image file and the input image is different.
Page 603
For images with color background For images with monochrome background Click [OK]. • [OK]: Changes the settings and returns to the previous menu. • [Cancel]: Changes are discarded. Returns to the previous menu. Change the display settings in the Image Display area if necessary and check the settings. Setting value Setting item Description...
Region Settings (Advanced Filter) Use this setting to set, as the measurement area, the area on the image that you want to filter. By narrowing the measurement region (as opposed to measuring the entire input image), this function allows you to shorten the processing time. In the Item Tab area, click [Setting].
Output Image Settings (Advanced Filter) You can change the output image settings. These settings specify the image that is output as the measurement result. The image set as the output image can be used as the measurement image on other processing units of the measurement flow. Setting value Setting item Description...
Items Displayed in the Detail Result Area The following measurement results are displayed in the “Detail result” area as text. Displayed item Description Judge Displays the judgement result for the processing unit. Items Displayed in the Image Display Area You can specify a sub-image number to display the next image in the image display area. Sub image number Description The advanced filter image appears.
Page 607
To adjust the image subtraction filter Refer to the image subtraction processing item. Reference: Key Points for Adjustment (Image Subtraction) (p.561) When noise is extracted as difference / when defects cannot be extracted Parameter to be Description adjusted Image subtraction filter Adjust the difference.
• Mask size: 3 × 3 Make settings so that a width around the image frame equal to 1 pixels is not included in the measurement range. The Measurement region is set within the range with 1-pixel width a part from borders in screen (within the dotted line frame) The 1-pixel area adjacent to the image frame (the gray area) is not included in the...
Panorama Images from multiple cameras are combined into one image. Pay attention to the characteristics of images to compensate the image positions and angles when combining them. Therefore, users can acquire precise combined images without strictly designing the camera placing positions.
Page 610
Item Description Placement combining images arranged horizontally. Three patterns: two images, three images, and four images. Camera Camera allotment allotment number 0 number 1 one line Camera Camera Camera allotment allotment allotment number 0 number 1 number 2 Camera Camera Camera Camera allotment...
Overlapping parts Overlapping parts Overlapping parts Camera Camera Camera Camera allotment allotment allotment allotment number 0 number 3 number 1 number 2 Adjust the image positions. Use the Offset X and Y buttons on the setting screen to align the overlapping parts of the adjacent images that are being combined.
Page 612
Set a camera number for each camera allotment number. The camera allotment numbers indicate the positions where the cameras are placed in the camera arrangement, and are fixed. Assign the desired camera number to the camera allotment number. Setting Setting item Description [factory default] Camera allotment...
Image Combination (Panorama) Set the image combination method. In the "Item Tab" area, click [Combine]. Set each item in the "Position" area. Set value Setting item Description [Factory default] Select the camera allotment number of the position to be adjusted. •...
Page 614
In the "Combine setting" area, set the combination method. Setting item Description This option combines images panoramically so that the detected feature points (same Combine location on the object as positioned differently on the different images) line up with each other in the combined image.
Key Points for Test Measurement and Adjustment (Panorama) The image specified in the Sub-image number in image display setting is displayed in the image display area. Sub image number Explanation of image to be displayed Post-combination image Key Points for Adjustment Select the adjustment method referring to the following points.
External Reference Tables (Panorama) Data name Set/Get Data range 0: No judgement (unmeasured) 1: Judgement result OK -1: Judgement result NG Judge Get only -10: Error (image format mismatch) -11: Error (unregistered model) -12: Error (insufficient memory) -20: Error (other errors) Image count Set/Get 2 to 4...
Support Inspection and Measurement This chapter explains how to set calculations and how to get or view data. Unit Macro ................ 617 Unit Calculation Macro............ 618 Calculation ............... 619 Line Regression............... 630 Circle Regression ............636 Precise Calibration ............639 User Data ................
Page 618
Detection Point ..............810 Camera Calibration............813 Data Save ................. 827 Conveyor Calibration ............829...
Unit Macro User's original measurement processing can be performed. Unit macros are convenient if you want to build a new measurement processing by combining filters and measurement processing's, create a complex display that cannot be realized with the result display processing items, or write original text in the detail text display.
Unit Calculation Macro You can perform calculations, as well as setting/acquiring. This function is convenient when the user wants to calculate a value using an original calculation formula or change the set value or system data of a processing item. Used in the Following Case •...
Calculation Used in the Following Case • When changing the inspection details through use of calculation results Example) Calculating the width of the measurement object Width calculation can be performed by first calculating two edge positions and setting up the arithmetic expression which is used to calculate the edge position difference.
Settings (Calculation) Up to 8 expressions "Calculation 0" to "Calculation 7" can be set up in one single unit. Note • Calculation results cannot be output to external devices when you only set up expressions. When calculation results are output to external devices, set processing items related to results output in units after "Expression" with flow editing.Reference: Output result (p.869) In the Item Tab area, click [Setting].
To display comments in the "Detail result display" area, check "Comment view". Set up the judgement upper limit and the judgement lower limit for "Judgement condition". Setting item Set value Description Judgement This is a judgement condition for the expression. -999999999.9999 to 999999999.9999 condition Set upper and lower limits for judging as OK.
Page 624
Expression Display Area This area is for setting expressions. The expressions are displayed in the following manner. [Function] [Unit No] [Submenu of Arithmetic Expression] [Unit No] [Operator] [Numeric value] [Unit No] [Operator] [Submenu of Expression] Unit Area This area is where processing item values set in unit are selected. Clicking [ ] displays the unit number and unit name that have been set up in the currently displayed scene.
Page 625
Function Button Area Buttons for inputting functions. Function Description Calculates the sine. The result will be returned within the range of -1 to 1. SIN (equation) Indicates the angle designated in the numerical expression in degrees. Calculates the cosine. The result will be returned within the range of -1 to 1. COS (equation) Indicates the angle designated in the numerical expression in degrees.
Page 626
Function Description Calculate the angle of Line 1 and Line 2 in the part that does not go across the Y axis. The same angle can be obtained from both Line 1 and Line 2. Y axis Line 1 ANGL (first linear coefficient A, first linear coefficient B, first linear coefficient C, X axis...
Expression Usage Examples Perform Judgement by Combining Unit Judgement Results Example 2: Perform judgement by combining the judgement results of unit 0 and unit 1 If a judgement of OK for both unit 0 and unit 1 is achieved, a judgement of OK for the calculation will be achieved.
Page 628
Using Values of Other Expressions Up to 8 expressions can be set in 1 expression unit. The value of other expressions set within the same unit can also be used. Since expression results obtained by the expression are displayed as D00 to D07 and judgement results of expression are displayed as J00 to J07, this is set to "U3.D00"...
Page 629
Set expressions in the following manner. • Calculation 0: DIST (U1.SX, U1.SY, U2.SX, U2.SY) This expression is used to calculate the distance between the reference positions of unit 1 and unit 2. The function "DIST" calculates the distance between 2 points. •...
Key Points for Test Measurement and Adjustment (Calculation) The following content is displayed in the "Detail result" area as text. Displayed items Description Judge Judgement result Expression0 Expression result of Expression 0 Expression1 Expression result of Expression 1 Expression2 Expression result of Expression 2 Expression3 Expression result of Expression 3 Expression4...
External Reference Tables (Calculation) Data name Set/Get Data range 0: No judgement (unmeasured) Judge Get only 1: Judgement result OK -1: Judgement result NG Expression result of 5 to Expression 0 - Set/Get -999999999.9999 to 999999999.9999 Expression result of Expression 7 Judgement result of 13 to Expression 0 -...
Line Regression Calculates the line that generates the shortest total distance from multiple measurement coordinates (Line Regression). It can also calculate the intersection and angle between two lines and the distance between a line and a point. Used in the Following Case •...
Line 0 (Line Regression) In the Item Tab area, click [Line 0]. Set it to remove noise points when calculating lines. Set value Setting item Description [Factory default] When a check is placed at [ON], an approximate line is found by •...
Point (Line Regression) "Point" is only valid if "Calculate distance between line and point" is selected in "Select function". Click [Point] in the Item Tab area. Click [...] for the expression and set the expression. The Setting Expression window is displayed. After setting up the expression, click [OK].
Measurement Results for Which Output Is Possible (Line Regression) The following values can be output using processing items related to results output. It is also possible to reference measurement values from expressions and other processing units. Measurement items Character string Description Judgement Judge...
Page 636
Data name Set/Get Data range 0: Noise cancel OFF Noise cancel 0 Set/Get 1: Noise cancel ON 0: Noise cancel OFF Noise cancel 1 Set/Get 1: Noise cancel ON Number of points 0 Set/Get 2 to 8 Number of points 1 Set/Get 2 to 8 0: Nearest unit...
Page 637
Data name Set/Get Data range Expressions (Line 1 Point 1 Set/Get Exp. character string coordinate Y) Expressions (Line 1 Point 2 Set/Get Exp. character string coordinate X) Expressions (Line 1 Point 2 Set/Get Exp. character string coordinate Y) Expressions (Line 1 Point 3 Set/Get Exp.
Circle Regression Calculates the circle that generates the shortest total distance from multiple measurement coordinates (Circle Regression). Used in the Following Case • This is used when calculating the center and radius of a circle. Use in cases in which an approximate circle is to be calculated from multiple measurement coordinates.
When Calculation is Selected Click [...] for the expression and set the expression. The Setting Expression window is displayed. After setting up the expression, click [OK]. The expression is confirmed. Key Points for Test Measurement and Adjustment (Circle Regression) The following content can be confirmed in the "Detail result" area using text. Displayed items Description Judge...
External Reference Tables (Circle Regression) Data name Set/Get Data range 0: No judgement (unmeasured) Judge Get only 1: Judgement result OK -1: Judgement result NG Central X Get only -99999.9999 to 99999.9999 Central Y Get only -99999.9999 to 99999.9999 Radius Get only 0 to 99999.9999 0: After scroll...
The accuracy of the calibration will be affected by the accuracy of the Calibration Plate. If the Pattern is printed on paper, the quality of the paper and/or degree of print jitter also affects the accuracy of the calibration. If sub-pixel level accuracy is required,use OMRON pattern plate (FZD-CAL 3D Calibration Tool). FH/FZ5 Processing Item Function Reference Manual...
Set the input image conversion method (calibration parameters). This only calculates the parameters used in calibration. The actual correction is performed from the image correction tab. Setting with the Pattern Plate The parameters are calculated automatically by shooting the Omron pattern plate (FZD-CAL 3D Calibration tool). In the Item Tab area, click [Calibration settings].
Page 643
Shoot the pattern plate and set each item. Set value Setting item Description [Factory default] Shooting the plate multiple times enables detection with grid 1 to 10 Repeat count points stabilized even for images with high noise levels. Set the number of repetitions.
Page 644
Note • When the plate is small relative to the field of view, the plate is moved and the grid point is extracted multiple times. By selecting a through image and repeating Operations 4-6, the information can be scanned in for plates laid out at different positions.
Page 645
In the "Sampling" area, click [Register model]. Use the Drawing tools to register the model. Adjust the search region as necessary. The default value setting is for the entire screen. Click [Search region]. Use the drawing tools to specify the measurement region. Click [OK] in the Figure setting area.
Important • After generating calibration parameters, if you edit or delete coordinates, the calibration parameters are updated. • The deleted coordinates are deleted from the list. Set the grid points to be edited or deleted from the list. Click [Edit] or [Delete]. If you clicked [Edit], execute StepReference: ...
Input the numeric values in the Camera lens adjustment area. Set value Setting item Description [Factory default] 3.0000 to 200.0000 Focal length Input the focal distance of the camera used for shooting in mm. [16] 1.0000 to 15.0000 CCD pixel width Set the camera pixel size.
Measurement Results for Which Output Is Possible (Precise Calibration) The following values can be output using processing items related to results output. It is also possible to reference measurement values from expressions and other processing units. Measurement items Character string Description Judge Judgement result...
User Data User data is data that can be shared by scenes in the sensor controller. User data values are stored as system data, and the same user data can be accessed from different scenes. User data processing items can be used to set and acquire user data.
List of User Data Items The following items can be set in user data. Item name Description Set the values and calculation expressions to be set as user data. The number of user data items that can Setting be used is 100. Reference: Settings (User Data) (p.648) Settings (User Data) Set the values and calculation expressions to be set as user data.
Items Displayed in the Detail Result Area The following measurement results are displayed in the “Detail result” area as text. Displayed item Description Judge Displays the judgement result for the processing unit. Items Displayed in the Image Display Area You can specify a sub-image number to display the next image in the image display area. Sub image number Description The measurement image appears.
Set Unit Data Used in the Following Case • When you want to overwrite processing unit data while measuring Example) Adjust the search range based on the size of measurement object. • Measurement the width of the measurement object by “1 Edge position” and “2 Edge position”...
Parameter Settings (Set Unit Data) In the "Data setting" area, select the target unit to overwrite. The data number, data name, and data range that can be used in the target units are displayed on the right side. Click [...] for "Data No." and set the target data number. The designated data No.
Get Unit Data Used in the Following Case • When you want to acquire processing unit data while measuring Example) Acquire the background removing level of ProcItem prior to measurement Object Unit: [Filtering] Acquired data: “129” (lower limit of the background removing level) Parameter Settings (Get Unit Data) In the "Data setting"...
Important • Only numeric data can be obtained for the processing unit data acquisition. • To get character string data, use the macro customize functions. • Those items whose data range are described as "Character String" in the external reference data list are character string data.
Set Unit Figure Used in the Following Case • When changing the measurement area based on the measurement results Example) Adjust the search measurement region based on the results of edge position measurement. [Search] Before modifying the [Search] After modifying the Measurement region Measurement region Modifying...
Parameter Settings (Set Unit Figure) Up to 8 figures can be set for each set unit figure. To set multiple figures for one target unit, set different register figure Nos. Click the target unit in the "Setting target data" area and check the No. column. In the "Data setting"...
Key Points for Test Measurement and Adjustment (Set Unit Figure) The following content is displayed in the "Detail result" area as text. Displayed items Description Judge Judgment result Setting target data 0 Judgment result Setting target data 1 Judgment result Setting target data 2 Judgment result Setting target data 3...
Measurement Results for Which Output Is Possible (Set Unit Figure) The following values can be output using processing items related to results output. It is also possible to reference measurement values from expressions and other processing units. Measurement items Character string Description Judge The latest processing unit judgement result...
Get Unit Figure Acquires and displays figures drawn by other processing units. Used in the Following Case • When you want to acquire data such as coordinates from figure information Example) Acquiring data from figure information (model, measurement region) set in a unit. Rectangle View X: 250 Y: 200...
Measurement Results for Which Output Is Possible (Get Unit Figure) The following values can be output using processing items related to results output. It is also possible to reference measurement values from expressions and other processing units. Measurement items Character string Description Judge The latest processing unit judgement result...
Page 662
Measurement items Character string Description • For ellipses 0: X coordinate for center point 1: Y coordinate for center point 2: Radius in X direction 3: Radius in Y direction • For circles 0: X coordinate for center point 1: Y coordinate for center point 2: Radius •...
External Reference Tables (Get Unit Figure) Data name Set/Get Data range 0: No judgement (unmeasured) Judge Get only 1: Judgement result OK -1: Judgement result NG Number of figures Get only Number of figures acquired Size of figures Get only Size of figures acquired Target processing unit No.
Trend Monitor Enables the history of the measurement results to be displayed on the monitor. Used in the Following Case • When you want to prevent repeated occurrences of failed product Judgement upper limit 450.000 Limits of warning (upper limit) 400.000 Limits of warning (lower limit)
Item name Description This item can be changed if necessary. Normally, the factory default value will be used. Output Specify whether to reflect the judgement result to the overall judgement of the scene. parameter Reference: Output Parameters (Trend Monitor) (p.670) Measurement Value (Trend Monitor) Select the measurement value to be viewed on the trend monitor.
Display Range (Trend Monitor) If what you want to see is not on the screen, scroll the graph up and down or zoom in/out. Also, items displayed horizontally can be toggled. In the Item Tab area, click [Display range]. A graph is displayed in the "Image Display" area. Note •...
Page 667
Set value Setting item Description [Factory default] • [Last 200] • Last 1000 • Last 5000 Select the number of items displayed in the Display number of cases • Last 10000 horizontal direction on the graph. • Last 50000 • Last 100000 Draws a rectangle that shows the maximum and minimum of measurement data for every •...
Judgement (Trend Monitor) Sets the warning range for prompting caution before large numbers of NGs occur as well as OK/NG judgement conditions. Judgement Warning upper limit Limits of warning (upper limit) Limits of warning (lower limit) Warning Judgement lower limit Note •...
In the "Warning" area, specify values for "Upper" and "Lower". The setup method is the same as the setup method for the "Judgement" area. Set value Setting item Description [Factory default] -999999999.9999 Upper to [999999999.9999] Specify the warning range for encouraging caution before frequent occurrence of NGs.
Page 670
Set up a filter as necessary. Set value Setting item Description [Factory default] • All Judge • Only OK Sets the judgement results that are displayed. • [Only NG] • Count ascending • [Count descending] Sort order Sets the sort order for the judgement results to display. •...
Data Save (Trend Monitor) The measurement results recorded in the trend monitor can be saved in a USB memory stick or SD card (for FH series). Since the data is saved in CSV format, it can be edited on the PC. The data to be saved includes all the statistical data, the value and time stamp when NG occurs (up to 36 items) and the measurement result on the graph (up to 1000 items).
Displayed items Description Average of measurement values during period recorded - standard deviation of the Minus σ measurement values Average of measurement values during period recorded - standard deviation of the Minus 3σ measurement values × 3 Measurement count Measure count since the beginning of measurement Number of measurements since starting to make measurements - NG count in number of OK count measurements...
Important • If the total measurement value data exceeds -1.0 × 10^11 to 1.0 × 10^11, the measurement will be disabled (NG). Regularly clear the measurement values so that the total measurement value data stays within the range. External Reference Tables (Trend Monitor) Data name Set/Get Data range...
Page 675
Data name Set/Get Data range 0: OFF Grouping flag Set/Get 1: ON Grouping count Set/Get -999999999.9999 to 100000 0: 1,000 1: 5,000 Number saved Set/Get 2: 10,000 3: 50,000 4: 100,000 0: Standard format Save format Set/Get 1: Extended format FH/FZ5 Processing Item Function Reference Manual Trend Monitor...
Image Logging This is used when saving measurement images to on-board memory, RAMDisk or USB memory. This enables preparation of logging conditions using an expression and is more flexible than the system image logging conditions settings. However, the settings of this unit are enabled if "None" is set on the [Image logging] in [Logging setting] of [System] menu.
Logging Conditions (Image Logging) Indicate the image to perform logging for. If 4 cameras are connected, image logging is performed for 4 cameras each time. Click [Logging condition] in the Item Tab area. Set the logging conditions. Set value Setting item Description [Factory default] •...
Save Destination (Image Logging) Note • The save file name is the prefix and measurement ID. Reference: Output Format (Data Logging) (p.685) Click [Destination] in the Item Tab area. Set the logging images save destination. Enabled when "Save to memory + file" is selected as the save destination in the system image logging settings.
Important • If conditional branching is used, the number of files saved may vary from the specified number. • If the operation mode is [Double Speed Multi-input mode], images taken by odd-numbered measurements are stored in a file different from one containing images taken by even-numbered measurements. •...
Image Conversion Logging This processing item is used to save a measurement processing image in RAM Disk or USB memory. This enables preparation of logging conditions using an expression and is more flexible than the system image logging conditions settings. The save range within the image can be specified in rectangle and the image save format (BMP or JPG) can be specified.
Page 681
Set value Setting item Description [Factory default] • [None] No images are saved. Saves the images only if an NG occurs. If an NG occurs downstream from the image conversion logging processing unit, Condition • Only NG image conversion logging is not performed. Judgement uses the measurement value at the point in time when measurement processing is executed for image convert logging.
Destination (Image Conversion Logging) Note • The save file name is the prefix, measurement ID and extension. Reference: Output Format (Data Logging) (p.685) Set the logging images save destination. Set value Setting item Description [Factory default] Specify the name of the folder to which the image is to be saved. (Max: 32 characters) Folder name The following characters cannot be set.
Important • If the operation mode is [Double Speed Multi-input mode], images taken by odd-numbered measurements are stored in a file different from one containing images taken by even-numbered measurements. • If the operation mode is [Non-stop adjustment mode], the number of files in the folder may vary from the specified number before and after non-stop adjustment.
External Reference Tables (Image Conversion Logging) Data name Set/Get Data range 0: No judgement (not yet measured) Judge Get only 1: Judgement result OK -1: Judgement result NG Calculation result Get only -99999.9999 to 99999.9999 0: No judgement (not yet measured) Judgement result Get only 1: Judgement result OK...
Data Logging This is used to save measurement data in storage or USB memory. Used in the Following Case • When performing analysis using measurement data Logging is performed for measurement results and these are read into an external device such as a PC. Example: Analysis using spreadsheet program statistical processing Important •...
Settings (Data Logging) Indicate the data to perform logging for. Logging can be performed for up to 8 data using one "Data logging" processing item. Note • If you want to perform logging for 9 or more data using one record Reference: Additional Explanation (Data Logging) (p.687) In the Item Tab area, click [Setting].
Output Format (Data Logging) Sets the output format for logging data. In the Item Tab area, click [Output format]. Set up each item as necessary. Set value Setting item Description [Factory default] Half-width alphanumeric characters are used for File name. (Max: 128 characters) File name datalog.csv...
Page 688
Set value Setting item Description [Factory default] • OFF • [Comma] Field separator • Tab Select the separator for output data. • Space • CR+LF • OFF • Comma Record separator • Tab Select the separator each time data is output. •...
Additional Explanation (Data Logging) When 9 or More Data Items Are Output as One Record Up to 8 Value can be output with one [Data Logging] Processing Item. When 9 or more data items are to be output as 1 record, perform settings in the following manner. •...
Unit 3 [Data logging] Unit 4 [Data logging] Remarks setting details setting details 127 + N (N = 0 to 7) Comment Character string 135 + N (N = 0 to 7) Expression Expression character string Output destination file name Character string Sub folder name Character string...
Elapsed Time Calculate the elapsed time in milliseconds after the measurement starts. You can add this processing item to a scene and setup is not required. Used in the Following Case • When combining with the conditional branch for stopping measurement after the specified processing time has elapsed.
Note • Time elapse can be confirmed on the main screen "Detail result" area. Measurement Results for Which Output Is Possible (Elapsed Time) The following values can be output using processing items related to results output. It is also possible to reference measurement values from expressions and other processing units.
Wait Used in the Following Case • When pausing the measurement flow and setting processing in standby for a specific period of time Example) Measure in one place ↓ Move camera Set up the wait time ↓ Measure in other place After stopping proItem within the specific time period.
Focus This function helps you bring the camera into focus. Used in the Following Case • Use this function to make adjustments so as to facilitate inspection of input images that tend to become out of focus. focus has shifted due to change in the height of the target work, etc., adjust the focus. Before processing After processing Important...
Set the focus value. The focus value is displayed chronologically in real time in the graph area. Set up the judgement condition. Set value Setting item Description [Factory default] 0.0000 to 255.0000 Focus This item specifies the judgement value for focus. [50.0000] Region Setting (Focus) Set the range of focus adjustment.
Output Parameters (Focus) Specifies whether or not the judgement results of this processing unit is reflected in the scene overall judgement. Click [Output parameter] in the Item Tab area. Choose whether or not to reflect this in the scene overall judgement in "Reflect to overall judgement"...
Iris This function assists the aperture operation to adjust the amount of light taken in by the camera according to the change in illumination intensity. Used in the Following Case • When brightness at the measurement site changes: Operate the iris so that input images of low brightness can be inspected with ease. Before processing After processing Important...
Page 698
Set value Setting item Description [Factory default] 0 to 255 Upper limit [240] Brightness Set the range used to determine whether or not the range brightness of pixels is valid. 0 to 255 Lower limit [20] Set up the judgement condition. For color cameras: Set value Setting item...
Region Setting (Iris) Set the range of iris adjustment. In the Item Tab area, click [Region setting]. Click [Edit]. The figure setting area is displayed. Specify the range of iris adjustment. The rectangle covering the entire screen is set. Adjust the size and position of the rectangle. Click [OK] in the Figure setting area.
External Reference Tables (Iris) Data name Set/Get Data range 0: No judgement (unmeasured) Judge Get only 1: Judgement result OK -1: Judgement result NG Count Get only 0 to 100 Average Get only Average R component value Get only 0 to 255 Average G component value Get only 0 to 255...
Parallelize This processing item is used exclusively for the FH/FZ5-8/FZ5-11/FZ5-12. The measurement time can be reduced by dividing one part of the measurement flow to two or more tasks and doing each one in parallel. Measurement processing of the processing unit can be done in parallel when the operation mode's parallel processing is ON.
Parallelize Task This processing item is used exclusively for the FH/FZ5-8/FZ5-11/FZ5-12. The measurement time can be reduced by dividing one part of the measurement flow to two or more tasks and doing each one in parallel. Measurement processing of the processing unit can be done in parallel when the operation mode's parallel processing is ON.
Statistics To reduce measurement variation of a given measurement processing item, multiple measurement results are stored in the processing item and statistical processing is performed at a specified timing. Up to 8 data can be set for statistical processing per processing item. Used in the Following Case •...
Statistical Parameters (Statistics) Set the number of data to be stored as well as processing timing. The greater the number of data held, the less the measurement variation becomes. Click [Statistical parameter] in the Item Tab area. Set the maximum number of data to be saved in the "Max.
Data Setting (Statistics) Set the data to be processed using a calculation formula. Up to 8 data can be set. In the Item Tab area, click [Data setting]. In the "Data setting" area, specify each item. Up to 8 data can be set. Setting value Setting item Description...
In the "Change display range" area, set the upper and lower limit values of graph display range. If the window is entered after measurement is performed a few times and [Default] is clicked, a display range suitable for these measurement values is automatically set. Setting value Setting item Description...
Key Points for Test Measurement and Adjustment (Statistics) The following content is displayed in the "Detail result" area as text. Displayed items Description Judge Judgement result Calculated time Number of measurements performed Statistical result 0 Statistical processing result of data 0 Statistical result 1 Statistical processing result of data 1 Statistical result 2...
Measurement Results for Which Output Is Possible (Statistics) The following values can be output using processing items related to results output. It is also possible to reference measurement values from expressions and other processing units. Measurement items Character string Description Judge Judgement result Calculated time...
Page 709
Data name Set/Get Data range 1002 + N × 10 Number of valid data Set/Get 0 to 100 (N = 0 to 7) 1003 + N × 10 Maximum Set/Get -999999999.9999 to 999999999.9999 (N = 0 to 7) 1004 + N × 10 Minimum Set/Get -999999999.9999 to 999999999.9999...
Calibration Data Reference Calibration data and distortion compensation data held under other processing items can be referenced. Referenced data will be used to perform coordinate conversion processing and distortion compensation processing on measurement results after this processing unit. As for distortion compensation processing, you can select not only "Compensate measurement result," but also "Compensate measurement image".
List of Calibration Data Reference Items Item name Description Select the processing unit which holds calibration data. Data can be referenced not only from the Calibration current scene, but also from other scenes. Reference: Distortion Correction (Calibration Data Reference) (p.710) Select the processing unit in which the distortion compensation data to be referenced is held.
Distortion Correction (Calibration Data Reference) Select the processing unit in which the distortion compensation data to be referenced is held. In the Item Tab area, click [Distortion correction]. Place a check at [Distortion correction] and select the reference scene number and reference unit number.
Key Points for Test Measurement and Adjustment (Calibration Data Reference) The following content is displayed in the "Detail result" area as text. Setting item Description Judge Judge Affine transformation parameter A Affine transformation parameter B Affine transformation parameter C Affine transformation parameter D Affine transformation parameter E Affine transformation parameter F X magnification...
Page 714
Data name Set/Get Data range Origin Y Get only X-axis angle Get only 0.000000 to 360.000000 Y-axis angle Get only 0.000000 to 360.000000 XY-axis angle Get only 0.000000 to 180.000000 Lens focus [mm] Get only CCD1 pixel size [μm] Get only Plate height [mm] Get only Depth setting...
Position Data Calculation Calculates position data and angle data used in the Position Data Calculation based on the measurement results of multiple processing items. Up to 4 measurement results can be used for the calculation. It lets users easily calculate "The angle of a line between 2 points" and "the center point of two points" that are often used in alignment applications.
Calculation Setting (Position Data Calculation) Calculates position data and angle data used in the axis movement amount calculation based on the measurement results of multiple processing items. In the Item Tab area, click [Calculation setting]. In the "Select calculation target position"...
Page 717
Data necessary for angle data (: data needed to be entered) Point 0 Point 1 Point 2 Point 3 Angle calculation Position Position Position Position method selection Angle Angle Angle Angle Point 0 Point 1 Point 2 Point 3 ...
Output Setting (Position Data Calculation) Specifies whether or not the judgement results of this processing unit is reflected in the overall judgement. Click [Output setting] in the Item Tab area. Choose whether or not to reflect the judgement result in the scene overall judgement in "Reflect to overall judgement"...
Character Setting item Description string Calculation angle (Point 3-1) TH31 Angle created by connecting Point 3-1. Calculation angle (Point 3-2) TH32 Angle created by connecting Point 3-2. External Reference Tables (Position Data Calculation) Data name Set/Get Data range 0: No judgement (unmeasured) Judge Get only 1: Judgement result OK...
Page 720
Data name Set/Get Data range Lower limit of calculate angle Set/Get -180.0000 to 180.0000 Point 0:X Set/Get Exp. character string Point 0:Y Set/Get Exp. character string Point 0:Angle Set/Get Exp. character string Point 1:X Set/Get Exp. character string Point 1:Y Set/Get Exp.
Stage Data Stage data is a processing item that sets and preserves the data related to the stage of connecting to the Sensor controller. Set the data based on the specifications of the stage you are going to use. When using a processing item which operates stages like the ones below, or which uses stage data, refer to this processing item.
Page 722
Setting value Setting item Description [Factory default] Usable "Stage types" are displayed. Select a stage. Usable "Stage types" are as follows: XY stage UVWR stage XYθ stage X(Y) stage When you select [X-axis] as measurement axis, [X-stage] is set. When you select [Y-axis] as measurement axis, [Y-stage] is set.
Page 723
Setting value Setting item Description [Factory default] Select the rotation direction defined in the equipment is positive or negative compared to the rotation direction in the stage coordinate system. Polarities are as follows: Positive polarity/negative polarity When positive rotation direction of the device is •...
Page 724
Setting the Data for Each Stage (XYθ Stage and θXY Stage) You can set 3-axis stage, i.e. XYθ stage and θXY stage in this function. If XYθ stage or θXY stage is selected, the XYθ stage setting area is displayed. Click [...] in [X-axis limit] in the XYθ...
Page 725
Setting value Setting item Description [Factory default] Select the θ axis drive type. Direct drive: A drive system which matches the θ axis rotation with the motor's axis of rotation. Rotation stage • [Direct drive] Motor θ axis type • Linear drive Linear drive: A system which controls the θ...
Page 726
Setting the Data for Each Stage (UVW Stage and UVWR Stage) You can set 3-axis stage, i.e. UVW stage and 4-axis stage,i.e. UVWR stage in this function. If UVW stage or UVWR stage is selected, the "UVW or UVWR stage specific settings" area is displayed.
Page 727
Likewise, click [...] in [VY] in the Setting by XY coordinate system area to set a value for the V axis pivot point's Y coordinate in the return to origin status. Likewise, click [...] in [WX] in the Setting by XY coordinate system area to set a value for the W axis pivot point's X coordinate in the return to origin status.
Page 728
Setting value Setting item Description [Factory default] Select the slider operation type when the stage is rotated. Linear Movement of axis when a stage is rotated Image diagram The stage slider tilts. The pivot point position does not move from the top of the ball screw axis.
Page 729
Setting value Setting item Description [Factory default] Set the axis direction of the V axis to either forward or backward with respect to the X axis or Y axis direction in the XY coordinate system that is parallel or perpendicular to each UVWR axis. Y axis XY coordinate system that becomes parallel or vertical...
Page 730
Setting value Setting item Description [Factory default] -99999.9999 to 99999.9999 Set the upper and lower limit values for the R axis movement range. Units R-axis limit [-99999.9999] to of the coordinate system set in calibration is used. [99999.9999] • [Setting by XY Axis parameter coordinate system] Select the pivot point parameter of each UVWR axis either by coordinate...
Page 731
Setting value Setting item Description [Factory default] Set the length of line segment connecting the stage rotation center and U axis pivot point in the return to origin (each axis' movement amount is 0) status. Y axis XY coordinate system that becomes parallel or vertical Rotation center to UVWR axes...
Page 732
Setting value Setting item Description [Factory default] Set the angle from the X axis of the line segment connecting the stage -360.000000 to rotation center and W axis pivot point in the return to origin (each axis' θ3 360.000000 movement amount is 0) status. As for the angle, the X axis is set to 0° and [0.000000] the direction from X axis forward to Y axis forward is set to +.
Page 733
Select [Lefthand] or [Righthand] in Lefthand Righthand [Coordinate]. Camera Camera Camera position is Z-axis respects to the surface where put on the work piece including movement axis. [Lefthand]: Clockwise from camera vision. [Righthand]: Counterclockwise from camera vision. X stage X stage Clicking […] in [Y-axis relative angle(X-axis standard)], set relative angle of X-axis.
Page 734
Set parameters depending on each of Stage (Xθ stage and Yθ stage) In this setting area, set Xθ stage and Yθ stage. Selecting [Xθ stage] in [Stage type], [Xθ(Yθ) stage setting] is displayed. Set parameters in [Xθ(Yθ) stage setting] area. Select type of Stage in [Movement axis] When you select [X-axis] in [Xθ(Yθ) stage setting] area.
Page 735
Setting value Setting Item Description [Factory default] This parameter is for selecting type of Stage. • [X-axis] Movement axis When you select X-axis, set as Xθ stage. • Y-axis When you select Y-axis, set as Yθ stage. Set coordinate. [Lefthand]: Clockwise from camera vision. [Righthand]: Counterclockwise from camera vision.
Page 736
Setting value Setting Item Description [Factory default] Select the q axis drive type. [Direct drive]: Movement method comberting rotation of θ-axis to rotation axis of motor. Rotation stage • [Direct dirive] Motor θ-axis type • Linear drive Linear dive: Control rotation of θ-axis with linear movement of motor rotation.
Page 737
Set parameters depending on each of Stage (θX stage and θY stage) In this setting area, set θX stage and θY stage. Selecting [θX(θY) stage] in [Stage type], [θX(θY) stage setting] is displayed. Set parameters in [θX(θY) stage setting] area. Select type of Stage in [Movement axis] When you select [X-axis] in [θX(θY) stage setting] area.
Page 738
Setting value Setting Item Description [Factory default] This parameter is for selecting type of Stage. • [X-axis] Movement axis When you select X-axis, set as Xθ stage. • Y-axis When you select Y-axis, set as Yθ stage. Set coordinate. [Lefthand]: Clockwise from camera vision. [Righthand]: Counterclockwise from camera vision.
Setting value Setting Item Description [Factory default] Select the q axis drive type. [Direct drive]: Movement method comforting rotation of θ-axis to rotation axis of motor. Rotation stage • [Direct drive] Motor θ-axis type • Linear drive Linear dive: Control rotation of θ-axis with linear movement of motor rotation.
External Reference Tables (Stage Data) Data name Set/Get Data range 0: No judgement (unmeasured) Judge Get only 1: Judgement result OK -1: Judgement result NG 0: XY stage 1: XYθ stage 2: θXY stage 3: UVW stage Stage type Set/Get 4: UVWR stage 5: Xθ...
Page 741
Data name Set/Get Data range 0: X-axis positive 1: X-axis negative U-axis direction Set/Get 2: Y-axis positive 3: Y-axis negative 0: X-axis positive 1: X-axis negative V-axis direction Set/Get 2: Y-axis positive 3: Y-axis negative 0: X-axis positive 1: X-axis negative W-axis direction Set/Get 2: Y-axis positive...
Robot Data Sets and stores data related to robots. This processing item is required when using the following processing items in an equipment environment containing robots. • Vision master calibration • PLC master calibration • Calibration Data Reference • Transfer Position Data •...
Data Setting (Robot Data) Set data based on the specification of the robot. In the Item Tab area, click [Data setting]. Select the type of the robot in the "Robot setting" area. Selecting "four axis (XYZR) robot" will enable you to select the rotation polarity. Setting value Setting item Description...
Page 744
4-axis (XYZR) robot Selecting "Four axis (XYZR)" will display the "Four axis (XYZR) setting" area. Click [...] in X-axis limit in the "Four axis (XYZR) setting" area to set the upper and lower limit values. Likewise click [...] in Y-axis limit to set the upper and lower limit values. Likewise click [...] in θ-axis limit to set the upper and lower limit values.
Measurement Results for Which Output Is Possible (Robot Data) The following values can be output using processing items related to results output. It is also possible to reference measurement values from expressions and other processing units. Measurement Character Description items string Judge Judgement result...
Vision Master Calibration This processing item is specifically provided for calibration between the camera coordination system and the control equipment coordinate system. This processing item automatically calculates the entire axis movement amount of the control equipment necessary for calibration. For that reason, it possible to perform accurate calibration more easily than previously. Important •...
Settings Flow (Vision Master Calibration) Set the image master calibration with the following steps. Make sure to set Set as necessary. Start Machine Setting Calibration result (Vision Master Calibration) (Vision Master Calibration) Calibration (Vision Master Calibration) Sampling Setting (Vision Master Calibration) Settings complete Check results/make adjustments Test measurement...
Machine Setting (Vision Master Calibration) Select a processing unit (stage data or robot data) under which external device information needed for calculation of axis movement amount is held. Important • [Vision Master Calibration] refers to [Stage Data] or [Robot Data]. Be sure to register [Stage Data] or [Robot Data] with a given scene.
Page 749
Select the line of the calibration data that you want to set. Set each item in the "Calibration target" area. Setting value Setting item Description [Factory default] Select an image input unit to be used for sampling Input image unit [<Nothing>] measurement.
Page 750
Select whether or not to output distortion compensation parameters in the Distortion type area. Setting value Setting item Description [Factory default] Trapezoidal • [Checked] Select whether or not to output trapezoidal compensation parameters set distortion • Unchecked for each data. •...
Page 751
Select [Enable] or [Disable] in Homing operation selection area. Setting value Setting Item Description [factory default] Homing Select [Enable] or [Disable] during sampling. • [Enable] operation Enable: Outputs the Homing operation output flag. • Disable selection Disable: Not output the Homing operation output flag, then turns OFF it constantly. Homing operation selection Selecting [Enable] for the Homing operation selection turns the Homing operation output flag to ON and forces the Homing operation to be done from the PLC when switching the Sampling movement type.
Note • A moving amount after Homing operation is output when Homing operation selection is [Enable] after calibration is complete. If [Disable] is selected, output the moving amount of next position from current position. • Output the moving amount 0 after turning ON the Homing operation output flag. [Disable] is selected. the moving amount 0 is output leaving the homing operation flag.
Page 753
In this Precise calibration setting area, specify each item. In this calibration, there are two methods for sampling. Creatable calibration data limit 8. One method is creating sample one by one. Other one is creating all samples at the same time. [One by one] in [Sampling method] This function widens the sampling measurement area more than [All at once] because it calculates the visual field range for each of calibration data.
Page 754
Note • When you select X(Y) Stage and set X axis as movement axis, only [Y division number] can be applied. In this case, [X division number] is grayed out. When you select Y axis to the movement axis, [Y division number] is grayed out. •...
Page 755
If necessary, set each item in the Advanced setting area. Setting value Setting item Description [Factory default] • [Only division point num] Stopping criteria for rotation Select the end condition for rotational movement in this • When error reaches sampling calibration.
Page 756
Number of movement points = N × M Simultaneous parallel movement Number of movement times = 1 for all data When the parallel movement sampling at [All at once] is selected. • Samples all data at once movement. • The Sampling movement range is the maximum movement range based on the number of movement points set in the parallel movement sampling settings and the...
Page 757
Number of movement points = Division points Simultaneous parallel movement for all data Number of movement times = 1 Rotation only is one method of rotational movement When you select [All at once] on the Rotation movement sampling. • Samples all data at once movement. •...
Return to origin position Move the stage to make the workpiece enter the camera field of view Camera field of view XY stage The workpiece is not within the camera field of view, By setting the axis position after moving as the starting axis position, so calibration cannot be performed.
Page 759
Setting value Setting item Description [Factory default] Display Display 0 to 7 Sets the calibration data number that displayed the setting setting calculation results. Data No. Item Description First calibration data Displays details of the first calibration parameter. Precise calibration data Displays details of the calibration data.
Page 760
Error detection values This value is for confirming the accuracy of calibration result. Output the error detection values when the Stage has θ-axis. This value is calculated using a calibration data calculated in Master calibration and a measurement result sampled rotation movement. If a problem of magnification, axis angle or center position of rotation is occurred, this value may be larger.
Page 761
4) The absolute distance value of each coordinate from calibration conversion result and sampling position. 5) Defines a maximum value of X coordinate Sampling position1 side as X maximum error detection value. (x1,y1) Sampling position2 Y coordinate side is same as X coordinate (x2,y2) side.
Page 762
2) Sampling measurement is executed. Sampling position 2 Coordinate of camera (x2, y2) Sampling position 1 Coordinate of camera (x1, y1) Reference position (X,Y) 3) Calibration is executed from the sampling Sampling position 2 result, converts sampling position to Coordinate of camera (x2, y2) coordinate.
Causes and remedies when differ of Error detection value and Maximum error detection value is large. If Error detection value or Maximum error detection value is bigger than the required accuracy of application, refer to the following table. The error value may be large when the sampling measurement failed. In this case, confirm its measurement.
Page 764
Key Points for Adjustment Select the adjustment method referring to the following points. While executing calibration State Parameter to be adjusted Troubleshooting Confirm the "NG cause" appears in the detail result display and perform appropriate countermeasures. Setting NG • The processing item setting is not correct. Check if the settings are correct including the processing items being referred to.
Measurement Results for Which Output Is Possible (Vision Master Calibration) The following values can be output using processing items related to results output. It is also possible to reference measurement values from expressions and other processing units. Character Measurement items Description string Judge...
Page 766
Data name Set/Get Data range Calibration step No. Get only NG cause Get only Data no. Get only -1: Current scene refered Scene No. Set/Get 0 to 9,999: Pointed unit refered -1: No reference Unit No. Set/Get 0 to 9,999: Pointed unit refered 0: Absolute position movement output method Set/Get...
Page 767
Data name Set/Get Data range 202+Nx10 Position Y of data N Set/Get Exp. character string (N: 0 to 7) 203+Nx10 Sampling judge expression of dataN Set/Get Exp. character string (N: 0 to 7) 204+Nx10 Sampling judge lower of dataN Set/Get -999,999,999.9999 to 999,999,999.9999 (N: 0 to 7) 205+Nx10...
Page 768
Data name Set/Get Data range 14007+Nx10000 X magnification of dataN Get only (N: 0 to 7) 14008+Nx10000 Y magnification of dataN Get only (N: 0 to 7) 14009+Nx10000 Origin X of dataN Get only (N: 0 to 7) 14010+Nx10000 Origin Y of dataN Get only (N: 0 to 7) 14011+Nx10000...
PLC Master Calibration This processing item is specifically provided for calibration between the camera coordination system and the control equipment coordination system. In this processing item, the axis movement amount of the control equipment necessary for calibration can be set freely.
Settings Flow (PLC Master Calibration) Set the PLC master calibration with the following steps. Make sure to set Set as necessary. Start Machine setting Calibration result (PLC Master Calibration) (PLC Master Calibration) Calibration (PLC Master Calibration) Sampling Setting (PLC Master Calibration) Settings complete Check results/make adjustments Test measurement...
Machine Setting (PLC Master Calibration) Select a processing item (stage data or robot data) under which external device information needed for calculation of axis movement amount is held. Important • [PLC Master Calibration] refers to [Stage Data] or [Robot Data]. Be sure to register [Stage Data] or [Robot Data] with a given scene.
Page 772
Check the calibration data items that you want to set. Calibration data is created for the checked numbers. Select the line of the calibration data that you want to set. Set each item in the "Calibration target" area. Setting value Setting item Description [Factory default]...
Sampling Setting (PLC Master Calibration) This item sets data related to sampling. Set the number of samplings and the actual coordinate positions for each sampling. Displayed contents may change depending on selected type of Robot or Stage. In the Item Tab area, click [Sampling setting]. Set each item in the Measurement number area.
Calibration Result (PLC Master Calibration) The created calibration data is displayed in this item. The calibration data can be adjusted directly using the Edit function. It is also possible to confirm the sampling data used for the calculation. In the Item Tab area, click [Calibration result]. This item confirms the calibration data you created.
Key Points for Test Measurement and Adjustment (PLC Master Calibration) The following content is displayed in the "Detail result" area as text. Displayed items Description Judge Judgment result Calibration method Calibration method The image specified in the Sub-image number in image display setting is displayed in the image display area. Sub image.
Measurement Results for Which Output Is Possible (PLC Master Calibration) The following values can be output using processing items related to results output. It is also possible to refer to measurement values from expressions and other processing units. Character Measurement items Description string Judge...
Page 777
Data name Set/Get Data range 1001 + N × 10 Y-direction movement of parallel position Set/Get -999,999,999.9999 to 999,999,999.9999 (N: 0 to 99) No.N 2000 + N × 10 X-direction movement of rotation position Set/Get -999,999,999.9999 to 999,999,999.9999 (N: 0 to 99) No.N 2001 + N ×...
Transfer Position Data Calculates the post movement position/angle data when each axis of a stage or robot is moved for a given distance. Use this when you want to measure the stage after moving a given distance and obtain the pre- movement position/angle data.
Item list of Transfer Position Data Item name Description Select a processing item (stage data or robot data) under which external device information needed for Machine setting calculation of axis movement amount is held. Reference: Machine Setting (Transfer Position Data) (p.777) The item sets data related to conversion.
Transfer Parameter (Transfer Position Data) The item sets data related to conversion. Sets a calculation formula using the pre-conversion position and axis position and post-conversion axis position. Click [Transfer parameter] in the Item Tab area. Set each item in the Current point position area.
Page 781
If the stage type of the reference data is the UVW stage Setting value Setting item Description [Factory default] U-axis Set how far the U axis position moved from the origin. V-axis Set how far the V axis position moved from the origin. W-axis Set how far the W axis position moved from the origin.
Page 782
Selects Y-axis as movement axis when Xθ(Yθ) or θX(θY) Stage are set in reference data. Setting value Setting item Description [Factory default] Y-axis Set the measurement distance of Y-axis from homign operation. θ-axis Set the measurement distance of θ-axis from homign operation. Set each item in the Transferred axis position area.
Page 783
If the stage type of the reference data is the UVWR stage Setting value Setting item Description [Factory default] U-axis Set how far the U axis position moved from the origin. V-axis Set how far the V axis position moved from the origin. W-axis Set how far the W axis position moved from the origin.
Note • The values beside each item are measurement results of the displayed image. Take these values into consideration to determine the upper and lower limit values. Setting item Setting value Description Specify the range of X-axis conversion that is Transferred position X -99999.9999 to 99999.9999 judged to be OK.
Key Points for Adjustment Select the adjustment method referring to the following points. State Parameter to be adjusted Troubleshooting The arithmetic expression may be empty. Set the correct Judgment was NG. Calculation setting arithmetic expression. It cannot be selected Check if the reference scene number is selected correctly. Check if because the reference unit Machine setting stage data processing items or robot data processing items are...
Page 786
Data name Set/Get Data range Current θ-axis(linear drive) Set/Get Exp. character string Current U-axis Set/Get Exp. character string Current V-axis Set/Get Exp. character string Current W-axis Set/Get Exp. character string Current R-axis Set/Get Exp. character string Transferred X-axis Set/Get Exp. character string Transferred Y-axis Set/Get Exp.
Calc Axis Move Calculate the movement amount of each axis of the external device necessary to adjust the measurement position and angle to the reference position and angle. Set the measurement position/angle and reference position/angle using an arithmetic expression. Used in the Following Case •...
List of Calc Axis Move Items Item name Description Select a processing item (stage data or robot data) under which external device information needed for Machine setting calculation of axis movement amount is held. Reference: Machine Setting (Calc Axis Move) (p.786) Set the reference position/angle and measurement position/angle using an arithmetic expression.
Calc. Parameter (Calc Axis Move) Set the reference position/angle and measurement position/angle using an arithmetic expression. If multiple cameras are used, the setting data can be created easily by using the position/angle calculation processing items. In case there is a difference between the reference position/angle and the measurement position/angle, you can compensate it by setting the offset.
Page 790
Click [Calc. parameter] in the Item Tab area. Set each parameters using arithmetic expressions. If no reference data is selected The following parameters are displayed in this menu based on the stage type. Displayed θXY UVW UVWR θX(θY) selec XYθ X(Y) Xθ(Yθ) content...
Page 791
Displayed θXY UVW UVWR θX(θY) selec XYθ X(Y) Xθ(Yθ) content axes axes Current axis position (X-axis is (X-axis is (X-axis is X-axis selected as the selected as the selected as the ...
Judgement Condition (Calc Axis Move) This item specifies the judgement condition for measurement results. When the setting has been changed, click [Measure] to verify whether measurements can be made correctly. In the "Judgement condition" area, set each item. If the reference data is the XYθ stage The following parameters are displayed in this menu based on the stage type.
Output Parameter (Calc Axis Move) Set how to treat the coordinates to be output to the external device as measurement results. This item can be changed if necessary. Normally, the factory default value will be used. Click [Output parameter] in the Item Tab area. Specify each of the following items.
Page 795
Displayed content XYθ θXY UVWR X(Y) Xθ(Yθ) θX(θY) 3 axes 4 axes (θ axis (θ axis (θ axis (θ axis θ axis angle movement direct direct direct direct drive) drive) drive) drive) ...
Measurement Results for Which Output Is Possible (Calc Axis Move) The following values can be output using processing items related to results output. It is also possible to reference measurement values from expressions and other processing units. Character Displayed item Description string Judge...
External Reference Tables (Calc Axis Move) Data name Set/Get Data range 0: No judgement (unmeasured) Judge Get only 1: Judgement result OK -1: Judgement result NG X-axis movement Get only Y-axis movement Get only θ-axis movement Get only -180.0000 to 180.0000 θ-axis(linear drive) Get only U-axis movement...
Page 798
Data name Set/Get Data range Current X-axis movement Set/Get Exp. character string Current Y-axis movement Set/Get Exp. character string Current θ-axis movement Set/Get Exp. character string Current θ-axis(linear drive) Set/Get Exp. character string Current U-axis movement Set/Get Exp. character string Current V-axis movement Set/Get Exp.
Calc Axis Move by Multipoint Calculate the movement amount of each axis of the external device necessary to adjust the measurement position to the reference position. Set the measurement position and reference position using an arithmetic expression. At least 2 or 3 measurement points are needed to calculate axis movement amounts. Axis movement amounts can usually be stably calculated by installing a camera at each measurement point and measuring 4 or 5 measurement points.
List of Calc Axis Move by Multipoint Items Item name Description Select the processing items (stage or robot data) containing information about external device necessary Machine setting to calculate the axis movement amount. Reference: Machine Setting (Calc Axis Move by Multipoint) (p.798) Set the reference position and measurement position using an arithmetic expression.
Calc. Parameter (Calc Axis Move by Multipoint) Set the reference position and measurement position using an arithmetic expression. The displayed parameters differ depending on the selected stage type. Click [Calc. parameter] in the Item Tab area. Select the measurement method in the "Measure type"...
Page 802
Set each item in the "Matching method" area. Setting value Setting item Description [Factory default] • Least square method Execute positioning as sum of squares of errors in all points (*) become the minimum. • [Least square method] • Maximum error minimization Matching method •...
Page 803
Set the noise reduction method in the "Noise removal Setting" area. Setting value Setting item Description [Factory default] This means the available mark number after the noise point removal. For example, when you need minimum 3 points Required point number 2 to 8 for positioning and set 4 as a number of points in "Position for calc...
Page 804
Side measurement Use the procedure below to measure position and angle by detecting the edges of the sides of a rectangular or square object to measure. Set at least two of the measurement points so as to measure the same side. Use the Edge Position processing item for edge measurement.
Page 805
Setting value Setting item Description [Factory default] Point 0 This setting is enabled when [2 points setting] is selected. Select each of the two points among the points set in the position setting area. The two points selected must be Point 1 measurement points used to measure the same side.
Judgement Condition (Calc Axis Move by Multipoint) This item specifies the condition for measurement results. In the Item Tab area, click [Judgement condition]. In the "Judgement condition" area, set each item. If the reference data is the UVWR stage Setting value Setting item Description [Factory default]...
Key Points for Test Measurement and Adjustment (Calc Axis Move by Multipoint) The following content is displayed in the "Detail result" area as text. Displayed items Description Judge Judgment result X axis movement X axis movement amount Y axis movement Y axis movement amount θ...
Measurement Results for Which Output Is Possible (Calc Axis Move by Multipoint) The following values can be output using processing items related to results output. It is also possible to reference measurement values from expressions and other processing units. Character Displayed item Description string...
External Reference Tables (Calc Axis Move by Multipoint) Data name Set/Get Data range 0: No judgement(unmeasured) Judge Get only 1: Judgement result OK -1: Judgement result NG X-axis movement Get only Y-axis movement Get only θ-axis movement Get only -180.0000 to 180.0000 θ-axis(linear drive) Get only U-axis movement...
Page 811
Data name Set/Get Data range Current Y-axis movement Set/Get Exp. character string Current θ-axis movement Set/Get Exp. character string Current θ-axis (linear drive) Set/Get Exp. character string Current U-axis movement Set/Get Exp. character string Current V-axis movement Set/Get Exp. character string Current W-axis movement Set/Get Exp.
Detection Point Obtains position/angle information by referring to the coordinate values measure with the Measurement Processing Unit. Measurement can be performed based on precise detection points and reference position data by making the Measurement Processing Unit with the detection point and reference position data refer to the Detection Point Processing Unit.
Parameter Setting (Detection Point) Set how to acquire position/angle data necessary to set detection points. Select the setting method for detection points in the [Setting type] area. Setting value Setting item Description [Factory default] Calculate the position and angle used as the detection point from data in the previous Processing Unit.
Measurement Results for Which Output Is Possible (Detection Point) The following values can be output using processing items related to results output. It is also possible to reference measurement values from expressions and other processing units. Measurement Character Description items string Judge Judgement result...
Camera Calibration By setting the camera calibration, the measurement result can be converted and output as actual dimensions. It allows users to perform more flexible adjustment and edit using the measurement flow compared to the calibration function provided as the camera image input processing item. •...
Page 816
List of Camera Calibration Items Item name Description Set a given pixel to make the calibration setting. Calibration parameters are calculated automatically when Specify point actual coordinates of specified locations are set. Reference: Specify point (Camera Calibration) (p.815) Value Set the magnification ratio as a numeric value to make the calibration setting. Reference: Value Appointment (Camera Calibration) (p.816) appointment Make the calibration setting based on the measurement results.
Specify point (Camera Calibration) Specify a given pixel to make the calibration setting. Calibration parameters can be calculated by setting the actual coordinates of specified locations. Up to 100 points can be set. In the Item Tab area, click [Specify point]. In the [Display] area, click [Change display] to select the camera image type.
Value Appointment (Camera Calibration) Set the magnification ratio as a numeric value to make the calibration setting. In the Item Tab area, click [Value appointment]. Set the [Value appointment] area. Setting value Setting item Description [Factory default] Lefthand: Clockwise is forward when Left-hand specifying the coordinates.
Click [Generate calibration parameters]. The calibration parameters will be generated. Sampling (Camera Calibration) Make the calibration setting based on the measurement results. After measuring a position using the measurement processing items in the measurement flow, set the position as an actual coordinates to calculate calibration data.
Page 820
Set the actual coordinates for the specified point. The actual coordinate input window is displayed. Actual coordinate Setting value [Factory default] Actual coordinate X, Y -99999.9999 to 99999.9999 [0] The measurement result is added to the list. Set the 2nd, 3rd and subsequent points in the same way. Edit or delete the coordinates as required.
Dimension Measure (Camera Calibration) Make the calibration setting based on the measurement results. After measuring work width using the measurement processing items in the measurement flow, set the actual work width to calculate calibration data. In the Item Tab area, click [Dimension measure]. Set the [Dimension measure] area.
Page 822
If "Length" is selected for [Dimension measure]. Setting value Setting item Description [Factory default] • Width reference unit in the Select the scan edge width processing unit in the Width unit No. measurement flow current scene. • [<None>] If "2 points" is selected for [Dimension measure]. Setting value Setting item Description...
Page 823
Note The following processing items can be used for two point measurement in sampling. • Search • EC Circle Search • ECM Search • Ec Corner • Ec Cross • Shape Search II • Shape Search III • Edge Position •...
Data Display (Camera Calibration) Display the generated calibration data. The calibration data can be adjusted or edited as necessary. In the Item Tab area, click [Data display]. In the [Calibration data] area, confirm the calibration data. Item Description These are calibration conversion values. Camera coordinates are converted to actual coordinates based on these values.
Page 825
In the [Calibration data] area, confirm the modification made. Compensate the calibration result The calibration result can be compensated by setting the compensation amounts such as magnification ratios and offsets for the actual dimensions and actual coordinates. Set the compensation values in the [Parameter] area.
Measurement Results for Which Output Is Possible (Camera Calibration) The following values can be output using processing items related to results output. It is also possible to reference measurement values from expressions and other processing units. Measurement Character Description items string Judge Judgement result...
Page 827
Data name Set/Get Data range Number of sampling specifications Set/Get 0 to 100 Operational sampling number Set/Get -1 to 99 -1: OFF Sampling unit X Set/Get 0 to 9999 -1: OFF Sampling unit Y Set/Get 0 to 9999 Maximum number of figure data Get only 0: Individual Sampling mode...
Page 828
Data name Set/Get Data range XY angle (before compensation) Get only Compensation ratio X Set/Get 0.5000 to 1.5000 Compensation Y Set/Get 0.5000 to 1.5000 Compensation angle X Set/Get -180.0000 to 180.0000 Compensation angle Y Set/Get -180.0000 to 180.0000 Origin offset X Set/Get -9999.9999 to 9999.9999 Origin offset Y...
Data Save Set data that you want to manage or store in units of scenes in this processing item using a arithmetic expression. The set data can be saved in the controller main unit or as scene data. Used in the Following Case •...
To display comments in the "Detail result display" area, check "Comment view". Key Points for Test Measurement and Adjustment (Data Save) The following content is displayed in the "Detail result" area as text. Displayed items Description Judge Judgement result Save data N (N = 0 to 15) Stored data Key Points for Adjustment Select the adjustment method referring to the following points.
Conveyor Calibration Conveyor Calibration is an FH Sensor Controller processing item exclusively for conveyor tracking application. Conveyor Calibration cannot be launched from an FH Sensor Controller User Interface. Use Sysmac Studio for this function. For more information, refer to: the Vision Sensor FH Series Conveyor Tracking Application Sample Scene and Sample Macro User's Guide Used in the Following Case...
Branch This chapter describes setting methods for when branch processing is performed. Conditional Branch ............832 End..................837 DI Branch................838 Control Flow Normal ............841 Control Flow PLC Link ............ 846 Control Flow Parallel............852 Control Flow Fieldbus............. 857 Selective Branch..............
Conditional Branch Expressions and conditions are set, and processing after this processing item is divided into two according to the comparison calculation. Used in the Following Case • When two more types of products are on the production line and inspection is to be performed separately for each Example) Detect the printing quality of candy boxes.
Set value Description [Factory default] Expression A Set the evaluation expression that is to be the basis for Up to 256 characters branching. Set the expression through calculation. Expression B Reference: Settings (Calculation) (p.620) • -1: [End processing] Select the destination unit number for when the result •...
Note • The judgement result for a processing unit is finalized when that processing unit is processed. • The overall judgement is finalized when all processing unit measurement is complete. Conditional Branch Settings Examples The overall judgement result for processing up to the unit number in which the expression is set is acquired and subsequent measurement is branched according the result.
Important • Parameters for units that do not pass through a conditional branch The measurement results other than the unit judgement result (JG) retain the measurement results from the previous time the unit passed through the conditional branch. The JG for units that do not pass through the condition branch becomes unmeasured (0).
Measurement Results for Which Output Is Possible (Conditional Branch) The following values can be output using processing items related to results output. It is also possible to reference measurement values from expressions and other processing units. Measurement items Character string Description Judge Judgement result...
This processing item only needs to be added to the scene. Operations such as condition setting are unnecessary. Please set at the last unit of each branch. Used in the Following Case • When finishing the last Processing Item of a branch Example) Conditional Conditional Branch Search...
DI Branch Starting from this processing item, processing is branched according to the information input to terminal blocks DI0 to DI4. Up to 32 branch destinations can be set. Used in the Following Case • When products on one production line are to be inspected according to a time interval Example) Detect the printing quality of candy different candy boxes.
Settings (DI Branch) Select the destination unit. Perform settings according to the information input in DI. In the item tab area, click [Setting]. Click the DI input from the input signal list for which the branch destination is to be set up. At "Destination unit", click [ ] and set the destination unit.
In the "Timeout" area, specify a value for each item. Setting value Setting item Description [Factory default] Click on the [Use timeout] checkbox to turn it ON if you • Unchecked Use timeout want the input condition branching processing to time •...
Control Flow Normal This function is used to put the currently executed measurement flow in the wait state to allow execution of a specific communication command from an external device. Used in the Following Case • To execute a communication command during measurement flow processing Example: Branches into multiple defect processing items based on the measurement result of the 2D code.
Settings Flow (Control Flow Normal) Set up control flow normal according to the following steps. Necessary Steps Optional Steps Start Settings (Control Flow Normal) Output Parameters (Control Flow Normal) Settings completed Check results/adjust parameters Test measurement List of Control Flow Normal Items The following items can be set in control flow normal.
In the “Timeout” area, specify a value for each item. Setting value Setting item Description [Factory default] If you want to clear the measurement flow wait state after a certain period of time elapses, select the “Use • [Checked] Use timeout timeout”...
Key Points for Test Measurement and Adjustment (Control Flow Normal) You can adjust the parameters while you perform test measurements and check the measurement results to increase the measurement precision and speed. Select the adjustment method by considering the following point. Check the measurement results that can be displayed and output in “Measurement Results for Which Output Is Possible”.
External Reference Table (Control Flow Normal) By specifying a number, you can access the following data from processing items that support processing unit data setting/acquisition, and from control commands. Data name Set/Get Data range 0: No judgement (unmeasured) Judge Get only 1: Judgement result OK -1: Judgement result NG 0: Flow not stopped...
Control Flow PLC Link This function is used to put the currently executed measurement flow in the wait state to allow execution of a specific communication command from an external device. Used in the Following Case • To execute a communication command during measurement flow processing Example: Branches into multiple defect processing items based on the measurement result of the 2D code.
Settings Flow (Control Flow PLC Link) Set up control flow PLC link according to the following steps. Necessary Steps Optional Steps Start Settings (Control Flow PLC Link) Output Parameters (Control Flow PLC Link) Settings completed Check results/adjust parameters Test measurement List of Control Flow PLC Link Items The following items can be set in control flow PLC link.
In the “Timeout” area, specify a value for each item. Setting value Setting item Description [Factory default] If you want to clear the measurement flow wait state after a certain period of time elapses, select the “Use • [Checked] Use timeout timeout”...
Key Points for Test Measurement and Adjustment (Control Flow PLC Link) You can adjust the parameters while you perform test measurements and check the measurement results to increase the measurement precision and speed. Select the adjustment method by considering the following point. For the display of measurement results and the results that are output, check Reference: Measurement Results for Which Output Is Possible (Control Flow PLC Link) (p.849).
Data name Set/Get Data range 0: NG Unit judgement in timeout Set/Get 1: OK 5000 Wait state clear command Set only 1: Clear the wait state Timing Chart (Control Flow PLC Link) To execute a command using a Control Flow PLC Link processing item during a measurement flow, control the sensor controller paying attention to the timing of the signals from the external device.
Page 853
10. The user (PLC) sets the command code to be executed during measurement and the command parameters, during measurement, and turns ON the measuring command execution signal (XEXE signal). (In the above example, this is clearing of the wait state by the processing unit data setting command.) After this, steps 6 through 9 are performed.
Control Flow Parallel This function is used to put the currently executed measurement flow in the wait state to allow execution of a specific communication command from an external device. Used in the Following Case • To execute a communication command during measurement flow processing Example: Controls the timing of multiple camera image input events by command.
Settings Flow (Control Flow Parallel) Set up control flow parallel according to the following steps. Necessary Steps Optional Steps Start Settings (Control Flow Parallel) Output Parameters (Control Flow Parallel) Settings completed Check results/adjust parameters Test measurement List of Control Flow Parallel Items The following items can be set in control flow parallel.
Page 856
Setting value Setting item Description [Factory default] If you want to clear the measurement flow wait state after a certain period of time elapses, select the “Use • [Checked] Use timeout timeout” check box. • Unchecked This should normally be used with the check box selected.
Output Parameters (Control Flow Parallel) You can set this item to change the output parameters. The output parameters are the conditions and parameters for outputting measurement results to other processing units or external devices. Normally, the factory default values can be used. Click [Output parameter] in the Item Tab area.
Measurement Results for Which Output Is Possible (Control Flow Parallel) The measurement results provided by control flow parallel are shown below. The measurement results appear in the “Detail Result” area, and you can also use result output processing items to output the measurement results to an external device.
Control Flow Fieldbus This function is used to put the currently executed measurement flow in the wait state to allow execution of a specific communication command from an external device. Used in the Following Case • To execute a communication command during measurement flow processing Example: Branches into multiple defect processing items based on the measurement result of the 2D code.
Settings Flow (Control Flow Fieldbus) Set up control flow Fieldbus according to the following steps. Necessary Steps Optional Steps Start Settings (Control Flow Fieldbus) Output Parameters (Fieldbus Flow Control) Settings completed Check results/adjust parameters Test measurement List of Control Flow Fieldbus Items The following items can be set in control flow Fieldbus.
In the “Timeout” area, specify a value for each item. Setting value Setting item Description [Factory default] If you want to clear the measurement flow wait state • [Checked] after a certain period of time elapses, select the “Use Use timeout •...
Key Points for Test Measurement and Adjustment (Control Flow Fieldbus) You can adjust the parameters while you perform test measurements and check the measurement results to increase the measurement precision and speed. Select the adjustment method by considering the following point. For the display of measurement results and the results that are output, check Reference: Measurement Results for Which Output Is Possible (Control Flow Fieldbus) (p.860).
Data name Set/Get Data range 0: NG Unit judgement in timeout Set/Get 1: OK 5000 Wait state clear command Set only 1: Clear the wait state Timing Chart (Control Flow Fieldbus Flow) To execute a command using a Control Flow Fieldbus processing item during a measurement flow, control the sensor controller paying attention to the timing of the signals from the external device.
Page 864
7. The controller (master) sets the command code and command parameters to be executed during measurement, and turns ON the measuring command execution signal (Flow Command Request signal). (In the above example, this is the Set Unit Data command.) 8. The sensor controller (slave) turns ON the measuring command executing signal (Flow Command Busy signal).
Page 865
1. Set the command code and command parameters to be executed by the user (PLC). (In the above example, this is the measurement command.) 2. The user (PLC) turns ON the control command execution signal (EXE signal). 3. The sensor controller turns ON the processing busy signal (BUSY signal). 4.
Selective Branch The calculation and selection value are set, and based on the matching results of the calculation result and selection value, they branch out from this processing item. Up to 32 branch destinations can be set. Used in the Following Case •...
Selective Branch (Selective Branch) This item sets the branch conditions. Up to 32 branch destinations can be set. Branch destinations can be easily enabled or disabled using the checkboxes. Only set the necessary items. In the Item Tab area, click [Selective Branch]. In the "Condition setting"...
Output Parameter (Selective Branch) Specifies whether or not the judgement results of this processing unit is reflected in the scene overall judgement. Click [Output parameter] in the Item Tab area. Select the "Reflect to overall judgement". Setting value Setting item Description [Factory default] Reflect to overall...
Important • Normally the “Use timeout” check box should be selected. Unchecking the [Use timeout] checkbox may cause the measurement flow to become stuck in an infinite loop when measurements are started depending on the selective branching settings. • If using selective branching within the block for the parallelization task in the measurement flow, set it up so that branching occurs only within the relevant block for the parallelization task.
External Reference Tables (Selective Branch) Data name Set/Get Data range 0: No judgement (unmeasured) 1: Judgement result OK -1: Judgement result NG Judge Get only -10: Error(image format mismatch) -11: Error(unregistered model) -12: Error(insufficient memory) -20: Error(other errors) Condition No. Get only -1 to 31 Branch place...
Output result This chapter describes setting methods for when measurement results are output to the external devices. Data Output ..............870 Parallel Data Output ............871 Parallel Judgement Output..........872 Fieldbus Data Output ............873...
Data Output Used in the Following Case • Output data to the external devices such as programmable controller and PC with the no- order mode via the serial interface. With serial data output, output starts immediately after the end of processing of serial data output in the flow. The output data include measured values and operational results, etc.
Parallel Data Output Used in the Following Case • Used when outputting data to external devices such as a programmable controller or a PC via the parallel interface. The output data include measured values and operational results, etc. Parallel I/F Controller Reference: The settings for the parallel data output, refer to "Chapter 2 Methods for Connecting and Communicating with External Devices Parallel Communications"...
Parallel Judgement Output Used in the Following Case • Used when outputting judgement results to external devices such as a programmable controller or PC via the parallel interface. The output data include the Unit and scene judgement results as well as the judgement results for the operation results.
Fieldbus Data Output Used in the Following Case • Used when outputting data to an external device, such as a programmable controller, via the Fieldbus interface. The output data include measured values and operational results, etc. Fieldbus Data Output Controller Reference: The settings for the Fieldbus data output, refer to "Chapter 2 Methods for Connecting and Communicating with External Devices EtherCAT Connections (FH Only) / Communicating with EtherNet/IP"...
Page 876
MEMO Fieldbus Data Output FH/FZ5 Processing Item Function Reference Manual...
Display result This chapter describes how to display strings and figures in the window that displays the measurement results. Result Display..............876 Display Image File ............881 Display Last NG Image............ 883 Conveyor Panorama Display.......... 889...
Result Display Used in the Following Case For your convenience in verifying measurement results, text and figures will be displayed in the "Image display" area. The following content can be displayed. Example) Displaying options, such as Display string, Display value, Display judge, Display item name, Display date, on screen.
Result Display In the "List of result display" area, select the number with which to set the object and click [Add]. Select the object to be added in the Select Items to Display window and click [OK]. The selected object is added to the "List of result display" area and the Image Display area. In the "List of result display"...
Page 880
Setting item Setting item Description • Solid line Style Select the line type. • Dashed line Width 1 to 10 Modify the line width. OK Color Displayed in green. NG Color Displayed in red. Displayed using OK color or NG color based on the judgment results. Specify Color Judgement measurement values subject to judgment and set up respective judgment...
Page 881
Setting item Setting item Description • Bold • Italic Style Specify the character decoration. • Under line • Mark out OK Color Displayed in green. NG Color Displayed in red. Displayed using OK color or NG color based on the judgment results. Specify Color Judgement measurement values subject to judgment and set up respective judgment...
Display Unit String Setting item Description Select the processing item name from among the scenes being displayed. Item Processing items for barcode, 2D code, and character inspection can be selected. Select a character string contained in the selected processing item name. •...
Display Image File Displays image files in the external memory device, i.e. USB memory or RAMDisk. Used in the Following Case • Use when you want to display camera input images to be used as reference or work images that are OK or NG (Judgment is Passed or Failed). Example) Display OK image and Camera Image Input side by side.
Select the image to be displayed on the Properties Dialogue Box. Important • The images in image file 0 to 3 can be displayed by specifying the sub image number on the RUN window/ ADJUST window. Reference: "Chapter 3 Performing Test Measurement/Starting Operation Arranging the Window Changing Display Contents, such as Image Mode"...
Display Last NG Image You can store the Specified the measurement image of Processing Unit, maximum 4 images, or specified data by arithmetic expression. Since the stored images or data are remained even if you operate the window. Used in the Following Case •...
Page 886
Expression Settings The measurement details used for NG judgment are set up using an expression. Click [No.] to set the expression on the [Judgement expression] area. The No. selected will be displayed below the list. Click [...] for the expression and set the expression.
Image Saving (Display Last NG Image) Specifies the target unit to be saved and number of times images are saved when an NG occurs. Click [Image save] in the Item Tab area. Specify each of the following items. Set value Setting item Description [Factory default]...
Set up the judgement condition. Note • For stored data, refer to Measurement Results for Which Output Is Possible (Display Last NG Image) on p.887. Output Parameters (Display Last NG Image) Specifies whether or not the judgement results of this processing unit is reflected in the scene overall judgement. Click [Output parameter] in the Item Tab area.
Measurement Results for Which Output Is Possible (Display Last NG Image) The following values can be output using processing items related to results output. It is also possible to reference measurement values from expressions and other processing units. Measurement items Character string Description Judge...
Page 890
Data name Set/Get Data range Condition comment M Exp comment character string for inclusion processing unit 164 to 171 Set/Get (M = 0 to 15) Data exp M Exp character string for inclusion processing unit 1/2 First 180 to 195 Set/Get (M = 0 to 15) half is 1, second half is 2.
Conveyor Panorama Display Conveyor Panorama Display is a processing item exclusively for the FH Sensor Controller and is specifically used for the conveyor tracking application. Conveyor Panorama Display cannot be operated on the FH Sensor Controller. Use Sysmac Studio. For more information, refer to: ...
Manual Revision History The manual revision symbol is an alphabet appended at the end of the manual number found in the bottom left- hand corner of the front or back cover. Cat. No. Z341-E1-09 Revision No. Rev. No. Reprint symbol Rev.
Page 894
MEMO Manual Revision History FH/FZ5 Processing Item Function Reference Manual...
Index Symbols Auto 174, 175 '*' '?' is treated as character data. 422, 442 Auto magnify level θ axis type Auto setting 311, 528 θ XY stage Auto Update θ-axis mobility range 722, 742 Automatic 312, 319, 321, 333, θ-axis movement 553, 771 335, 495, 497 θ1...
Page 896
Calibration 104, 115, 127, 141, 152, Color IN 246, 261, 271, 285, 295 164, 183, 197, 209, 220, 232, 240, 253, 264, Color inv. 319, 333, 495, 528 277, 289, 300, 327, 344, 353, 387, 491, 501 Color OUT 261, 271, 285, 295 Calibration Data Reference Color set Calibration method...
Page 897
Density average Division row number 751, 752 Density change 230, 250, 263, Dot size 309, 323, 338, 359, 371 274, 287, 298 Density deviation Dynamic Range Derivation 230, 249, 263, 274, 287, 298 Destination setting EC Circle Search Destination unit Ec Corner Detail candidate 393, 414...
Page 898
Figure 877, 878 High contrast mode Figure type High speed alignment mode File count in folder 676, 680 High-Prec. 162, 180 File name Histogram Fill outline 326, 528 Horizontal succession Fill profile 326, 500, 528 HSV filter 524, 526 Filling up holes 326, 340, 528 Hue range Filter Size...
Page 899
Lefthand 42, 69, 816, 819 Move axis Length 193, 194, 195, 206, 207, 819 Move range Lens distortion Multi search Lighting on 31, 82 Multiple output 102, 162, 180 Line connect level 193, 206 Multi-slope Line length Line Regression Nearest unit 631, 636, 811 Linear 77, 726...
Page 900
Overlay rejection Overrun Panorama Radius Parallel count Radius range Parallel Data Output Rate 299, 631 Parallel Judgement Output R-axis 727, 779, 781 Parallel sampling setting 751, 752 R-axis mobility range Parallelize Read mode Parallelize Task Reading character Pattern select 32, 54, 55 Reading character output Permissible error Record separator...