Page 2
F400 Color Vision Sensor Operation Manual Produced June 1999...
Page 3
OMRON, 1999 All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior written permission of OMRON.
Page 4
Please read this manual and other related manuals carefully and be sure to understand the information provided before attempting to install or operate the F400. The manuals for the F400 are outlined in the fol- lowing table.
Page 5
3-2-4 Position Compensation using Edges ....3-2-5 Area and Center of Gravity, and Center of Gravity and Axis Angle ......
Page 6
......3-3-5 Area and Center of Gravity, and Center of Gravity and Axis Angle .
Page 7
This section provides general precautions for using the F400 Color Vision Sensor. The information contained in this section is important for the safe and reliable application of the F400 Color Vision Sensor. You must read this section and understand the information contained before attempting to set up or operate a F400 Color Vision Sensor.
Page 8
Caution Dispose of F400 components as industrial waste. Caution To prevent damage from static electricity, use a wrist strap or another device for pre- venting electrostatic charges when touching terminals or connector signal lines. Caution Do not turn OFF the power while a message is being displayed indicating that proces- sing is being performed.
SECTION 1 Introduction This section describes features, measurement modes, and menu tree of the F400 Color Vision Sensor. Features ........
Page 10
Color Pickup Mode The Color Pickup mode is used to extract only specified colors. Simply click the color to be displayed on the screen to register it as a pickup color. Up to 8 colors can be registered per scene.
Page 11
24 Position and orientation of object can be compensated before measurement. p. 37 There are four methods: Using search, edge, area and center of gravity, or center of gravity and axis angle. Camera Color of object and color read by camera can be adjusted auto- matically using white balance.
Page 12
Area and Center of Gravity p. 67, 147 The binary center of gravity and area can be used to calculate the size (i.e., the area) and the position (i.e., the center of gravity) of the measurement object. Center of Gravity and Axis Angle p.
Page 13
Section Menu Trees Menu Trees Color Pickup and Color Filter Modes have different menu hierarchies. The menu hier- archies are outlined in the following diagrams. The same hierarchy exists under each scene. Color Pickup Shutter speed p. 24 Scene 0...
Page 14
63 Area & gravity p. 67 Gravity & axis p. 67 Measurement Measurement Surface defects p. 52 region region 0 to 15 Search p. 55 Edge p. 63 Area & gravity p. 67 Gravity & axis p. 67 Expression Judgement p.
The keys that can be used and their corresponding functions are displayed at the bot- Operations tom of the screen. Color Bar The F400 will be in Color Filter Mode if the color bar is displayed and in Color Pickup Mode if the color bar is not displayed. 2-1-2 Input Devices —...
Page 17
Used to move the cursor up and down to select items. The Up Key will increase a value by 1 and the Down Key will decrease a value by 1. Continue pressing the Up or Down Key to quickly increase or decrease a value.
1. Move the cursor to the desired function using the Up, Down, Left, and Right Cursor Keys. Adjust Position compensation Measurement region Expression 2. Press the ENT Key. In this example, the cursor will move to the Adjust menu. Repeat this step to move to lower levels. Adjust Position compensation Adjust Measurement region...
Page 19
Section Menu Operations 1. Move the cursor to the item for which a value is to be changed and press the ENT Key. The cursor size will change to a cursor the size of a single digit. Correlation : 79 [80:100] Position X : 180.000...
Section Menu Operations 3. Use the Up and Down Keys to move to the next item. The numeric value will be set. Upper[200] Lower[128] 2-1-5 Drawing Measurement Regions — Filter/Pickup — This section explains drawing methods for model and measurement regions.
Page 21
Section Menu Operations 2. Use the Up and Down Keys to specify the radius and press the ENT Key. The arrows for specifying the line width for the circumference will be displayed. 3. Use the Up and Down Keys to set the line width. The arrows for specifying the line width will be displayed.
Section Starting and Quitting 3. Select NOT mode in the second drawing (an ellipse in this example) and press the ENT Key. The arrow for drawing an ellipse will be displayed. Ellipse Circle Circumference Polygon 4. Set two diagonally opposing corner points of a rectangle enclosing the ellipse to draw the ellipse.
---- --ms Color thr Note The startup scene and startup mode that appear when power is turned ON can be set. Use these settings to make daily operation more efficient once the F400 is ready for actual operation. Startup Mode on p. 107...
Section Starting and Quitting 2. Select SET to display a list of scene processing options. The options will not be displayed if measurement conditions are already set for the selected scene num- ber. The scene number must be changed or the settings cleared before the options can be changed.
Section Starting and Quitting 1. Place the cursor on the scene number displayed on the screen (Scn 0 in this example) and press the ENT Key. A list of scene numbers will be displayed. Move the cursor using the Down Key to display the next group of scene numbers from 9 to 15.
Quitting — Filter/Pickup — The user can quit the F400 and turn OFF the power at any time except while saving or loading data. Save all measurement settings to flash memory before quitting. The data in flash memory is loaded each time the F400 is started. Any changes made will be lost unless they are saved to the flash memory.
Page 27
Cancel Saving data Note Do not input the RESET command or turn OFF the power while saving data. The data may be lost, and the F400 may not operate properly the next time it is started. When the data has been saved, the display will return to the main screen.
SECTION 3 Settings This section describes how to set measurement conditions for F400 visual inspections. The following headings are used in this section to indicate the measurement modes to which an operation is appli- cable. — Color Filter — — Color Pickup —...
1. Move the cursor to the operation mode in the main screen (Monitor in this exam- ple) and press the ENT Key. A list of modes will be displayed. 2. Move the cursor to SET and press the ENT Key. A list of setting modes will be displayed.
Page 30
Right Key to change the displayed item. Note 1. If adjustment items are hard to read, use the SHIFT + ESC Keys to switch between clear and filled backgrounds. Select the background that makes the screen most legible. Refer to 5-4 Display Settings.
1/10000 s *Default value 1. Move the cursor to Shutter on the screen for the image to be adjusted and press the ENT Key. The Shutter Speed Window will be displayed. Use the Left and Right Keys to change the list of options if Shutter does not appear on the list.
Page 32
Blue Grey 3. Press the ENT Key. The color filter setting will be saved and the display will return to the Adjust (image adjustment) Window. Note The selected color filter will be used for measurement. A different color filter can be set for position displacement compensation.
Window will be displayed. The image will be converted to a color grayscale image and a A mark will appear on the color bar. Use the Left and Right Keys to change the list of options if Color select does not appear on the list.
Page 34
Section Adjusting Images 3. Press the SHIFT + ENT Keys to select the color band. Pressing the SHIFT + ENT Keys will alternately change between 90_ and 180_. The number indicates the cursor position. Use this number as reference for setting the filter color.
:Change 7. Repeat the same operation to change the lower limit. 8. Move the cursor to OK and press the ENT Key. The display will return to the Color Selection Window. 9. Press the ENT Key again. The saturation range will be saved.
Page 36
Adjusting Images Changing Cursor Size If the cursor size does not match the size of section to be extracted, press the SHIFT + ENT Keys to change the cursor size. (Max. 64 x 64 pix.) Changing Background Color of Pickup Color...
Page 37
TRIG Key. Color pickup will be performed for the specified section of the image. The image will then change to a pickup color image and the selected color will be displayed. If the picked up color is hard to see, press the SHIFT + TRIG Keys to select one of...
Page 38
TRIG:Pick up SFT+ESC:Option Color pickup cursor 5. Move the cursor to the next section to be extracted and press the TRIG Key. Repeat this procedure to pick up all the colors for measurement. Press the ESC Key to cancel colors selected using the TRIG Key. The last pickup color selection will be canceled.
Page 39
1/2000s Calibration 512.000 Color thr :Switch 2. Use the Left and Right Keys to display the pickup color number to be changed or cleared and press the ENT Key. The processing options will be displayed. Pickup color Color 0 :Change...
Filtering — Color Filter — The image read by the Camera can be manipulated to create an image that is easier to measure, by using smoothing or edge enhancement. Smoothing displays a smoothed image with reduced noise. Smoothing allows sup- pression of the effects of uneven lighting due to an uneven or damaged surface.
3. Press the ENT Key. The filtering settings will be saved and the display will return to the Adjust (image adjustment) Window. Note The selected filtering method is used for measurement. Different filtering can be set for position displacement compensation.
Page 42
Background Background density (cut) 1. Move the cursor to BGS levels (0:255 in this example) and press the ENT Key. The BGS Levels Setting Window will be displayed. Use the Left and Right Keys to change the list of options if BGS levels does not appear on the list.
Output Calibration — Filter/Pickup — Calibration can be set to output the measurement results in physical units, such as Set the relationship between the physical coordinates and the camera coordinates to convert the measurement results from pixels to physical units, such as m, mm, or If calibration data is not set, the default settings will remain, and measurements using the camera coordinates will be output.
512.000 Red thr :Switch 2. Move the cursor to the item to be changed and press the ENT Key. Options are available for items indicated by a Bmark. The magnification is changed by changing the numeric value. 3. Press the ENT Key. The settings will be saved.
— Filter/Pickup — The F400 has four methods of position compensation: Search, edge enhancement and extraction (edge), area and center of gravity, and center of gravity and axis angle. A measurement region must be set before position compensation can be performed.
Page 46
1. Move the cursor to SET/Position compensation/Region and press the ENT Key. The Position Compensation Selection Window will be displayed. The win- dow shown in step 2 will be displayed if Position compensation is selected in Color Pickup Mode. Color Filter Mode...
Section Position Compensation 3. If Clear has been selected, move the cursor to Execute and press the ENT Key. This region will be cleared. Execute Cancel Note The measurement regions selected here are for position compensation. Separate measurement regions can be set for measurement.
Page 48
:Change Registering a Model A characteristic part of the measurement image, such as a mark or corner, is regis- tered as a model. The model can be of any size. Since the position in which the model is registered serves as a reference position for position compensation, place the object so that it is properly located within the screen before registering it as a model.
Page 49
Setting the Search Region Set a range in which to search for the model. The search can be made on the whole input screen. However, the search range can be limited to reduce the processing time and increase the accuracy. The procedure is the same as for measurement.
The light and dark regions between measurement object colors are found. The posi- tion of the measurement object is compared to a reference position, the amount of displacement is calculated, and the image is scrolled by that amount before a mea- surement is performed.
Page 51
38 Drawing Position Compensation Regions Draw a position compensation region. Draw one box for one region to include the edges. When a region has been drawn, edge positions are measured. Since these positions become reference positions, draw the region after placing a measurement object so that sections to be inspected do not exceed beyond the screen area.
Page 52
Performs position compensation in X and Y directions simultaneously. This mode is nor- mally selected. Priority mode: Scrolls in one direction and then the other direction. The region 0 is processed first. Select this mode when there is a large displacement. For more information, refer to the Glossary .
Gray images with 256 gradations are processed into binary data; black pixels (0) and white pixels (1). The F400 uses the white pixels to measure the object. Select area and center of gravity, or center of gravity and axis angle in the position compensation region in advance.
Page 54
Set the level for processing gray images with 256 gradations into binary images. Since the F400 uses the white pixels to measure the object, adjust the binary level so that the area for which the center of gravity and axis angle are to be calculated is white.
Page 55
The center of gravity and axis angle of the white pixels in the region will be found. Regions can be drawn by combining up to 3 figures. Once the region is drawn, the center of gravity will be calculated. This center of gravity will become the reference position.
Page 56
Setting Evaluation Criteria for Position Compensation Criteria for area is set to determine whether or not the measurement object is properly within the measurement region. The procedure is the same as for object measurement.
(clear filled). 3. Press the ENT Key. The number will be set and a list of measurement methods will be displayed. The list of options will differ depending on the scene mode. Color Filter Mode Color Pickup Mode Surface defect Area &...
Page 58
1.Area & gravity Clear 1. In the selection window for measurement region numbers, select the number of the region to be changed or cleared and press the ENT Key. A list of options will be displayed. Measurement region 0.Line defect 1.Area &...
Section Measurement Methods 3. If Clear has been selected, move the cursor to Execute and press the ENT Key. The setting will be cleared and the display will return to the window shown in step This region will be cleared.
Page 60
Specify 2 opposite corners. Radius Center Note Do not draw a measurement region in a section with marks, patterns, or letters. These will be detected as defects and the measurement will be incorrect. Measurement region Marks and letters inside measurement regions are detected as defects.
Page 61
Section Measurement Methods 2. Select the shape to be drawn and press the ENT Key. A list of defect processing options will be displayed. 3. Select Region . The cursor for drawing regions will be displayed. Surface defect (line) Region Conditions 4.
Density MAX : 250 [255] Density MIN : 50 [0] 3. When the setting changes are completed, move the cursor to End and press the ENT Key. The evaluation criteria will be saved and the display returned to the window shown in step 1.
Page 63
Section Measurement Methods The extent of conformity with the model is shown as the correlation value. The OK/NG judgement is determined by comparing the correlation value and the position with an evaluation criteria. OK if the correlation value for the model is within the specified range.
Page 64
Refer to 3-1-4 Picking Up Measurement Colors . p. 28 Pickup color number currently displayed. Color selection Color 0 :Change 1. Move the cursor to Color no. and press the ENT Key. The Pickup Color Selection Window will be displayed. Search Color no. Model registration Search region Conditions 2.
Page 65
4. Select OR or NOT. The model drawing cursor will be displayed. Ellipse Circle Circumference Polygon 5. Draw the shape in the region to be registered as the model. When one drawing has been completed, a message to confirm whether or not another drawing is to be added will be displayed.
Page 66
Measurement Methods Refer to 2-1-5 Drawing Measurement Regions . p. 12 6. Move the cursor to Add if a drawing is to be added and press the ENT Key. Repeat steps 3 to 5. Draw figure 7. When all drawings have been completed press the ESC Key. The cursor will be displayed.
Page 67
Changing and Clearing Drawings Drawings are cleared in the Draw Figure Window. 1. Use the Up and Down Keys to select the drawing to be changed or cleared. The selected drawing will be displayed in solid lines. Drawing number and registered drawings...
Page 68
Section Measurement Methods Setting Search Region Set the region to search for the model. The search can be made on the whole input screen. However, the search region can be limited to reduce the processing time and increase the accuracy.
Page 69
Setting Evaluation Criteria Evaluation criteria are set for the correlation with the model and the coordinates where the model was found. Set upper and lower limits for an OK result for both the model correlation and model coordinates. Correlation range for OK evaluation...
— Filter/Pickup — With edge processing, the position where the color of the measurement object chan- ges (the edge) is found, the position, width, or other values for the measurement object are determined, and measurements are performed. The direction for the edge search and the color changes can be set for each region.
Page 71
Refer to 3-1-4 Picking Up Measurement Colors . p. 28 Pickup color number currently displayed. Color selection Color 0 :Change 1. Move the cursor to Color no. and press the ENT Key. The Pickup Color Selection Window will be displayed. Edge Color no. Region Conditions...
Page 72
7 3. Once the color is displayed, press the ENT Key. The pickup color for measure- ment will be selected and the display will return to the window shown in step 1. Drawing Measurement Regions Draw a measurement region. Draw one box for one region to include the edges.
Page 73
Refer to 2-1-5 Drawing Measurement Regions for information on drawing meth- ods for measurement regions. p. 12 When the drawing has been completed, the display will return to the screen shown in step 1. The registered drawing will be displayed in solid lines. Setting Edge Detection Condition and Evaluation Criteria Set the evaluation criteria for edges.
Conditions Region Conditions 2. Move the cursor to the desired item and change the evaluation criteria. Items with a B mark have further options available. Input numeric values for items with brackets ([ ]). Refer to 2-1-4 Inputting Values .
Page 75
Measurement Methods Center of Gravity and Axis Angle The center of gravity and axis angle for the white pixels is found. Finding the axis angle increases processing time. Select the area and center of gravity method when the axis angle is not required.
Page 76
1. Move the cursor to Binary and press the ENT Key. The Binary Level Settings Window will be displayed. Area and center of gravity Binary Region Conditions 2. Move the cursor to the upper limit and use the Left and Right Keys to change the numeric value.
Page 77
Auto :Move :Change 4. Move the cursor to OK and press the ENT Key. The binary levels will be set and the display will return to the window shown in step 1. Selecting Color Pickup Numbers (Color Pickup Mode Only) Select the colors to be used in measurement from the registered pickup colors.
Page 78
1. Drawing Measurement Regions The center of gravity and axis angle of the white pixels in the region will be found. Shape and Number of Drawings A combination of three figures can be drawn.
Page 79
Region Conditions Conditions 2. Move the cursor to New and press the ENT Key. A list of drawing shapes will be displayed. 3. Select the shape to be drawn. A list of drawing methods will be displayed. 4. Select OR or NOT. The region drawing cursor will be displayed.
Page 80
3. Select Correct or Clear and press the ENT Key. Correct The drawing cursor will be displayed. Correct the drawing. Clear The drawing will be cleared and the display will return to the one in the above step 1. Correct Clear Setting Evaluation Criteria Set the area and center of gravity, or the center of gravity and axis angle evaluation criteria.
Page 81
[–180.000 : 180.000] 3. When the evaluation criteria changes have been completed, move the cursor to End and press the ENT Key. The evaluation criteria will be saved and the display will return to the window shown in step 1.
Expressions — Filter/Pickup — Outputs to external devices via the terminal blocks or RS-232C can be set. Even if the expression is not used, overall evaluation of drawn regions will be output to the OR terminal of the terminal block.
Page 83
BS: Deletes the item before the cursor. Constants from 0 to 999.999 can be set. Sub-menus (*1) Submenus when R0 to R15 or P0 to P1 is selected are as shown in the following tables. Surface Defect Measurements Measurement item...
Page 84
Axis angle for drawn measurement region Differential axis: DA* Difference between measured and reference axis angles Note Items indicated with an asterisk (*) are shown only for center of gravity and axis angle measurements. Judge JG When “JG” is set for a judgement output expression, the following two levels of judge- ment are made.
Page 85
0.000 is judged to be OK. When “JG” is set for a judgement output expression, the first judgement shown above is made. If OK, “0.000” will be output to external devices. If NG, “–1.000” will be output to external devices.
Page 86
Use this function if the expression does not fit within the range set by the brackets ([ ]). Judge 0 to 15 are displayed as “PR.0 to PR.15” and Data 0 to 7 as “RS.0 to RS.7.” Example 1: Obtain the length of a straight line connecting two points and add 120.25 to that value.
Page 87
Set an expression for the Expression/Data to output values. Data 0. [RS.0+1 Since RS.0 becomes “0” when the power is turned OFF or when set to the Set mode, the number of measurements is also reset. 1. Move the cursor to Judge or Data of the SET/Expression.
Page 88
2. Move the cursor to the number for which an expression will be set and press the ENT Key. The Edit Expressions Window will be displayed. 3. Move the cursor to the brackets ([ ]) where the expression is to be input and press the ENT Key. A list of items will be displayed.
Page 89
Section Expressions 7. When Judge has been selected, the evaluation criteria for OK/NG judgements must be set. Input numeric values in the brackets ([ ]). Set upper and lower limits for OK judgement. Refer to 2-1-4 Inputting Values . p. 10 Judge0.
SECTION 4 Checking and Executing Measurements This section describes how to monitor if correct measurements are being performed with the set measurement conditions. It also describes how to perform measurements. Checking Measurements ......
1. Move the cursor to the operating mode in the main window ( SET in this example) and press the ENT Key. The Operation Mode Selection Window will be dis- played.
4. After all measurement results have been displayed, input the next STEP signal or press the TRIG Key. If the next STEP signal is input or the TRIG Key is pressed while measurement results are still being displayed, the display will be inter-...
Page 93
0. If the SHIFT + ENT Keys are pressed while the screen for the individual region is displayed, the screen for changing conditions will be displayed, and the evaluation criteria can be changed while monitoring the measurement values.
Page 94
Section Checking Measurements Note The measurement results that are displayed can also be set in SYS/Display set- tings . 5-4-1 Measurement Screen Settings p. 100 All Results of Regions Position compensation and judgements for all the regions are displayed in one list.
Page 95
Individual Region The measurement values for each region are displayed separately. If the SHIFT + ENT Keys are pressed from this screen, the screen for changing conditions will be displayed, and the evaluation criteria can be changed while monitoring the measure- ment values.
Page 96
Calculation results for the each of the output expressions are displayed individually. If the SHIFT + ENT Keys are pressed while this screen is displayed, the screen for changing conditions will be displayed, and the evaluation criteria can be changed while monitoring the calculation results.
Page 97
Checking Measurements I/O Monitor Contents of output from the F400 to an external device, or input from an external device to the F400 are displayed. The list displayed is read-only. RS-232C (3 lines max.): I/O data is displayed unedited as character strings. When a measurement is performed, the rows displayed will scroll upwards.
Page 98
Section Checking Measurements Display Order for Measurement Values If the items in the square parentheses ([ ]) are selected, display images can be switched in the orders indicated by using the Up/Down Keys. [Region] [Judge] [Data] [All] All results of regions...
1. Move the cursor to the operating mode in the main window ( MON in this exam- ple) and press the ENT Key. The Operating Mode Selection Window will be dis- played.
4. After all measurement results have been displayed, input the next STEP signal or press the TRIG Key. If the next STEP signal is input or the TRIG Key is pressed while measurement results are still being displayed, the display will be inter-...
SECTION 5 System Settings This section describes the system setting procedures for the F400. For the communications specifications setting procedures, refer to Section 6 Communications with External Devices. White Balance ....... .
The adjustment result is displayed in the upper-right corner of the screen. If the intensity at the center of the screen is at a suitable level for the white balance, the message Check: OK will be displayed. Adjust the lighting until this message appears.
Display settings Set key operation Startup mode Error method Version 2. Move the cursor to End and press the ENT Key. The display will return to the win- dow displayed in step 1. Judge : Terminal blockB Data : RS-232CB...
Error method Version 2. Select the type of data and Load or Save . If Scene data or Image data is selected, the screen for selecting the scene num- ber or the image number will be displayed. System data Load...
Hyper Terminal is being used, refer to the manual for that software. Note Do not turn OFF the power while a message is being displayed in any save or load operations. Data in memory will be destroyed, and the F400 may not operate correctly the next time it is started.
Image Types to be Stored and Measurement Result Display The F400 can store up to 16 measured images. It is possible to set the F400 to only store images which resulted in NG judgements, or to store all images regardless of the measurement result.
Image input Camera run-cycle (Image Time-delay transferred to F400) 33.3 ms Display result Select the data displayed for measurement results. (The default setting is “None.”) For details refer to 4-1-1 Adjusting Evaluation Criteria while Viewing Measurements . p. 85...
Page 108
Display settings Set key operation Startup mode Error method Version 2. Move the cursor to the item to be changed and press the ENT Key. The settings will be displayed. Select the required setting. Character color WhiteB Background color :...
Changing the Display Image — Filter/Pickup — When in Monitor or Run mode, stored images can be displayed on the screen. By dis- playing a stored image on the screen, the reason for a previous NG judgement can be checked. Also, measurement can be re-performed on the stored image with different evaluation criteria.
Page 110
“Last :” will be in reverse black/white for NG images..(Mem j) Either no image is stored in memory, or an image other than a measurement image (eg. an image loaded from a personal computer) is displayed. Last 2...
Page 111
Section Display Settings Switching Screens Screens can be switched in Monitor mode or Run mode using the SHIFT + Up/Down Keys. Last : (Mem j) Last 2 (Mem j) Last 1 (Mem j) Last (Mem j) (see note 1) jfreeze or jthrough...
Section Key Allocation Key Allocation — Filter/Pickup — The allocation of functions to console keys can be changed. These settings are only valid in Monitor and Run modes. Selection Function None There are no functions for keys with this setting.
ON and pressing the TRIG Key. When this setting is set to OFF , the F400 will start up in the most recently saved status. The default setting is for scene 0 and MON (Monitor) mode.
While the BUSY signal is ON, the F400 is processing data and cannot receive STEP signals. The ERR terminal can be set to turn ON in order to notify an external machine that a STEP signal has not been received while the BUSY signal is ON.
The setting will be saved. STEP in BUSY: ERR ON 4. Move the cursor to End and press the ENT Key. The setting will be saved, and the display will return to the window shown in step STEP in BUSY: ERR ONB...
Page 116
The system version information will be displayed. White balance Communications settings Output Backup Display settings Set key operation Startup mode Error method Version 2. Move the cursor to OK and press the ENT Key to exit. F400-C10 Series Ver.2.00 XXXX/XX/XX XX:XX...
Page 117
SECTION 6 Communications with External Devices This section describes the communications settings and I/O formats for communications with external devices. Terminal Blocks ......
The DI0 to DI7 inputs can be used to execute measurements continuously or to switch scenes as shown in the following table. DI7 is the input trigger. A delay of at least 1 ms must, be provided after DI0 to DI6 are set before DI7 is turned ON.
This signal notifies the external device when the F400 is outputting valid data. Used to time the reading of the measurement result at the external device. The time that GATE is turned ON can be set as required for the external device to correctly read the measurement result.
Page 120
This signal notifies the external device when the F400 is outputting valid data. Used to time the reading of the measurement results at the external device. The time that GATE is turned ON can be set as required for the external device to correctly read the measurement results.
Page 121
DI0 to 3 DI 4 DI5 to 6 DI 7 Execution signal. Set DI0 to 6 to ON, wait at least 1 ms and then turn ON DI7. The BUSY terminal will turn ON during continuous measurement. Changing Scenes Enter Run mode...
Page 122
Section Terminal Blocks The following timing chart shows changing the scene and then reading images. Enter Run mode Leave Run mode DI0 to DI3 STEP input STEP input STEP input Image read Scene changed Image read Image read Overall judgement Status is maintained until the next measurement result is output.
Page 123
Requests the next data output from the external device. The F400 will not output data until this terminal is turned ON. Turn ON the DSA terminal when the external device is ready to receive data and the F400 has finished measurement.
Startup mode Error method Version 2. Move the cursor to the item to be changed and press the ENT Key. Options are available for items indicated by a Bmark. New values can be input in the paren- theses. ON state: NG : ONB Select from options.
Setting Communications (RS-232C) — Filter/Pickup — The RS-232C port can be used to save and load data, on an external device. This section describes the setting used for the RS-232C port. The same communications settings must be used on both the F400 and the external device.
Section RS-232C Port 2. Move the cursor to the item to be changed and press the ENT Key. Options are available for items indicated by a Bmark. New values can be entered in the parentheses. Baud rate : 38400bpsB Data length :...
Measurement results are output in ASCII in order from the smallest output number to the largest. When a command is input, OK or ER will be output when the F400 output has ended. Do not input the next command until this output is received.
Page 130
EXP is used to read the results of expressions. Input EXP < Output_type > < Output_number > Specify 0 for Judge (terminal block) or 1 for Data (RS-232C port) as the output type. Specify the output number as follows: Output type...
Page 131
Input command incorrect: ER Example Input: EXPPARA (or EP) 0 0 The upper limit of the evaluation criteria set for output terminal 0 (DO 0) of the terminal block is read. Output: 100.000 delimiter OK delimiter The upper limit is set to 100.000.
Page 132
The following response will be made from the F400: Parameter correctly set: Parameter incorrectly set: ER Example Input: MP 0 1 400 The lower limit of X criteria for the search registered in region 0 will be changed to 400.000. Output: OK...
Page 133
Upper limit of criteria (–9,999.999 to 9,999.999) Lower limit of criteria (–9,999.999 to 9,999.999) Upper-left corner X coordinate of region (0 to 511) Upper-left corner Y coordinate of region (0 to 483) Lower-right corner X coordinate of region (0 to 511)
Page 134
Lower limit of axis angle criteria (–180.000 to 180.000) Note Items with asterisks (*) are for center of gravity and axis angle measurements only. MEASURE (M): Measure MEASURE is used to perform measurements one at a time or to stop and start contin- uous measurements. Performing One Measurement...
Page 135
The following response is output from the F400: Correctly performed: Incorrectly performed: MENUKEY MENUKEY is used to change the RS-232C input to menu operation. No execution result (OK/ER) will be output from the F400 for this command. Input MENUKEY Output Nothing is output for this command.
Page 136
Axis measurement Axis reference Axis displacement Note Items with asterisks (*) are for center of gravity and axis angle measurements only. POSIDATA (PD): Position Data POSIDATA is used to read the position compensation result and the position com- pensation amount.
Page 137
Specify a position compensation region number of 0 or 1. The parameter will change according to the position compensation method regis- tered in the specified position compensation region. The parameters are the same as those for the MEASPARA command. For details of parameters, refer to that sec- tion. Output The specified parameter will be output from the F400.
Page 138
SCENE 2 The measurement scene will be changed to scene 2. Output: SCNLOAD: Scene Load SCNLOAD is used to load scene data from the computer or other external device con- nected to the RS-232C port. Input SCNLOAD < Scene_number >...
Page 139
SCNSAVE is used to save scene data to the external device. Input SCNSAVE < Scene_number > Specify a scene number between 0 and 15. The scene data is transferred using the Xmodem (-CRC or -SUM) protocol. Output The following response will be output from the F400.
Page 140
SECTION 7 Troubleshooting This section lists the errors that may occur during F400 operation, along with their probable causes and remedies.
Page 141
Section Troubleshooting If a message marked with ERR is displayed, the error indicator for the F400 and the error terminal on the terminal block will turn ON. Message Probable Cause and Remedy Adjusting white balance is Adjustment of RGB was not possible.
SThe RS-232C cable is correctly connected. SThe terminal block is correctly wired. SThe communications settings for communications with the external device have been correctly set. If the error still occurs after performing the above checks, the F400 unit may be faulty. Contact your OMRON representative.
Page 143
Conversion to a binary image involves separating the grayscale image into black pix- els (0) and white pixels (1). (Pixels are the basic picture element.) The binary level is the level used to distinguish between 0 and 1. Measurements are performed for the white areas.
Page 144
Noise level: Level for determining whether edge exists or not. If below the set level, no edges will be considered to exist. Normally, it can be set to the default value. However, if edges are not properly detected due to noise, adjust the setting level.
Page 145
To calculate the displacement in the Y direction. If the displacement is too large, use Priority Mode. In this mode, the image is scrolled for the displacement in one direction and then in the other direction, ensuring stable position compensation. The region that is drawn first is processed first.
Glossary Colorgray Filter It is possible to create a filter for the object to be detected. The hue and saturation for the object to be detected are set. Refer to Introduction Manual (Z131) for details. Surface Defect One of the measurement methods used by the F400. Surface defect measurements detect uneven or damaged areas caused by uneven density.
Page 147
(Camera coordinates) 484 mm (= 484 pixels) direction 512 mm (= 521 pixels) Coordinate System The coordinate system is set for either left-handed or right-handed coordinates. Origin The position of the origin (0,0) is specified. Screen center Upper-left corner of screen...
Page 148
1. A good sample of the image pattern is registered. This pattern is the “model.” Registered as model 2. The part within the input image that is most similar to the model is detected, and the degree of similarity to the model is expressed as a correlation value. The cor- relation value is between 1 and 100.
Page 149
Scene 1 Trigger The trigger input is the signal to start measurement. It can also be used as a signal to start operations such as image input. The simplest way to input a trigger is to press the TRIG Key on the console. In practice, a trigger is usually input using the STEP termi- nal on the terminal block as a trigger for measurements, or from a peripheral device, such as a personal computer, via RS-232C.
Page 150
White Balance The white can be balanced to adjust the color of images. Depending on the environment or the kind of light, the image read by the Camera may appear tinted, even if it is white. For correct measurement, the sensitivity of R.G.B. must be adjusted so that the image will really appear in white in accordance with the light source.
Page 151
When the axis angle is used, the measurement time is increased. If only the area and center of gravity of the object are required, use the area and gravity method.
Page 152
Note If the area (number of white pixels) of an object inside the measurement region is the same as that of the model, it will be deemed to be good, even if the shape is different from the model. When discriminating objects according to shape, use the search measurement method.
Index values. See input terminal blocks, 112 version. See software version output, 75 terminals See also input terminals; output terminals white balance, 96, 146 signal operation and timing, 112 trigger, 145 troubleshooting, 135 Xmodem protocol, 121...
Need help?
Do you have a question about the F400 - 06-1999 and is the answer not in the manual?
Questions and answers