Page 2
INTRODUCTION Be sure to read this manual carefully before using this product to ensure proper use. There are two manuals available for this Micro−Imagechecker A200 series: (1) Micro−Imagechecker A−series Hardware Manual, and (2) User’s Manual. Please read the manual appropriate for your needs. Please ensure that the correct manual is read in accordance with objectives for use.
Page 3
WARNINGS AND CAUTIONS To be observed at all times Read the manual carefully before installing, running, maintaining or inspecting the equipment. This manual uses two safety flags to indicate different levels of danger. WARNING If critical situations that could lead to user’s death or serious injury are assumed by mishandling of the product: −...
Page 4
PRECAUTIONS TO BE TAKEN BEFORE USING THE IMAGECHECKER Installation Environment Avoid using the Micro−Imagechecker A200 in the following types of locations: − Locations with direct sunlight or environmental temperatures that exceed a range of 0°C to 50°C. − Locations with a relative humidity exceeding a range of 35%RH to 75%RH or that are subject to condensation due to dramatic temperature fluctuations.
Page 5
− Use monitor, monitor cable, keypad, camera and camera cable models and serial numbers specified by Panasonic Industrial Devices SUNX Co., Ltd. Be aware that malfunctions, damage, destruction, etc. due to use of models or serial numbers other than those specified by Panasonic Industrial Devices SUNX Co., Ltd.
Page 7
Table of Contents Chapter 1 Features of the A230 Character Recognition Type Features of the A230 Character Recognition Type .....
Page 8
Table of Contents OCR Type A230 Selecting Camera ..........
Page 9
OCR Type A230 Table of Contents Chapter 6 Position and Rotation Adjustment Position and Rotation Adjustment ........
Page 10
Table of Contents OCR Type A230 Setting the Judgment Conditions ........
Page 11
OCR Type A230 Table of Contents 12.2 Gray Scale Window Checker Setup ....... .
Page 12
Table of Contents OCR Type A230 Chapter 16 Communications (Serial and Parallel) 16.1 Communications Function ........
Page 13
OCR Type A230 Table of Contents 16.9.3 Using Serial Input to Switch the Display Camera ... . 16 − 51 16.9.4 Using Parallel Input to Switch the Display Camera ..
Page 15
Chapter 1 Features of the A230 Character Recognition Type Features of the A230 Character Recognition Type . . . 1 − 3...
Page 16
Features of the A230 Character Recognition Type OCR Type A230 1 − 2...
Page 17
OCR Type A230 Features of the A230 Character Recognition Type 1.1 Features of the A230 Character Recognition Type Features of the A230 Character Recognition Type Character recognition is possible using the neural net (character recognition checker) See p. 7 − 3.
Page 18
Features of the A230 Character Recognition Type OCR Type A230 Features of the A230 Character Recognition Type Simultaneously measure the number of leads, lead width, and lead pitch (Lead Inspection Checker). See p. 10 − 3. − Inspects pitch, breakage and bending of IC and connector leads.
Page 19
OCR Type A230 Features of the A230 Character Recognition Type 1.1 Features of the A230 Character Recognition Type You can use the Smart Matching function to count the number inspection targets and check them against a registered image. See p. 9 − 3.
Page 20
Features of the A230 Character Recognition Type OCR Type A230 Features of the A230 Character Recognition Type 1 − 6...
Page 21
Chapter 2 Outline of Functions Outline of Functions ......2 − 3...
Page 22
Outline of Functions OCR Type A230 2 − 2...
Page 23
OCR Type A230 Outline of Functions Outline of Functions Outline of Functions Item Function Description Page Inspection environment Setting Help function This function is provided in order to enable preparations you to set the camera and lighting correctly 19 − 3 for inspection.
Page 24
16 − 5 parameters. − The A230 can communicate with FP− Series PLCs manufactured by Panasonic Industrial Devices SUNX Co., Ltd. without a program on the external device side (using the Computer Link communication mode).
Page 25
Chapter 3 Screens and Basic Operations Main Screen ........3 −...
Page 26
Screens and Basic Operations OCR Type A230 3 − 2...
Page 27
OCR Type A230 Screens and Basic Operations Main Screen Main Screen (1) Model information Shows the name and version number for the controller software you are using. (2) Version Version of the software being used. (3) Product type and title Shows the currently displayed or selected type number.
Page 28
Screens and Basic Operations OCR Type A230 Main Screen ENVIRONMENT Allows you to set the start method, camera mode, communication and display setting. SAVE DATA Allows you to save the setup data. SETTING HELP TOOLS Functions to adjust camera, adjust lighting settings, and check the connection for parallel communication.
Page 29
OCR Type A230 Screens and Basic Operations Keypad Keypad 3.2.1 Keypad All operations and settings for the A220 Multichecker are carried out with a special compact keypad. (1) A button The start and test button. When this button is pressed, images are taken in from the camera, and an inspection is carried out.
Page 30
Screens and Basic Operations OCR Type A230 Keypad 3.2.2 Operating the Cursor lever/ENTER button Buttons A, B and C: These buttons have the functions displayed at the bottom of the screen. Operating the cursor: The cursor can move in any of 8 directions. To move the cursor, move the lever to the desired direction.
Page 31
OCR Type A230 Screens and Basic Operations Main Screen Operations Main Screen Operations 3.3.1 Menu Selection Use the cursor lever to select an item, then press ENTER to confirm your selection. The selected screen will be displayed. To return to the previous menu, press C (Esc.).
Page 32
Screens and Basic Operations OCR Type A230 Main Screen Operations 3.3.2 Switching the Image Displayed on the Monitor Press B in the main menu to change the displayed image. However, display settings performed here are temporary, and if the power is switched off, or a type switch is executed, the settings in 1.
Page 33
OCR Type A230 Screens and Basic Operations Main Screen Operations 3.3.3 Changing Display Items Select the screen display items for the type that you have selected. Use 6. Initial Display Settings in the Type menu to make the initial settings for when the power is switched on and when you switch between types.
Page 34
Screens and Basic Operations OCR Type A230 Main Screen Operations Display content −Screen Display Select one of Main Menu, Data Monitor, Checker List or Spreadsheet, or select Off to display nothing. Main Menu: Displays the menus for performing settings and inspection.
Page 35
OCR Type A230 Screens and Basic Operations Main Screen Operations −Status Display Select which item (either the Outputs or Time) is to be displayed on the bottom of the screen. Select Off to display nothing. Outputs: Displays the ON/OFF status of the parallel output (RDY, ERR, STR, OVF and D1 to D8).
Page 36
Screens and Basic Operations OCR Type A230 Setting Numerical Values Setting Numerical Values Move the cursor lever left and right to move the highlighting to the digit to be changed, then move the cursor lever up and down to increase or decrease the highlighted value.
Page 37
Chapter 4 Inspection Procedure Before Starting an Inspection (Checker Setting Procedure) ..... . 4 − 3 IC Inspection Example ......4 −...
Page 38
Inspection Procedure OCR Type A230 4.11 Checker Area Setting Method ....4 − 26 4.11.1 Rectangle / circle (oval) ....
Page 39
OCR Type A230 Inspection Procedure 4.1 Before Starting an Inspection (Checker Setting Procedure) Before Starting an Inspection (Checker Setting Procedure) Select a checker suitable for the inspection to be performed. See: 4−2 IC Inspection Example (p. 4 − 4) 4−3 Connector Inspection Example (p. 4 − 12) 4−4 IC Inspection Example (p.
Page 40
Inspection Procedure OCR Type A230 IC Inspection Example IC Inspection Example In this example, we will use an IC to illustrate what kinds of inspection are possible and how to perform them. Number of leads Refer to “4.2.2 Inspection of Pitch No.
Page 41
OCR Type A230 Inspection Procedure IC Inspection Example Step 1 Register a good example as the reference for inspection Select a target object example on which the printing is clear and free of omissions. Capture the text on the camera.
Page 42
Inspection Procedure OCR Type A230 IC Inspection Example Press the A key in the CHAR. VERIF. menu to perform a test, and confirm that the result is OK. If the result is not OK, change the process conditions (Condition menu item) and judgment conditions and continue to test until the result is OK.
Page 43
OCR Type A230 Inspection Procedure IC Inspection Example From the menu select Checker − LEAD INSPECTION. The Lead Inspection Checker setting menu will appear. [4] LEAD INSPECTION Detected:NG Cnt. : 0 No. 1 Width: OK Pitch:OK Checker Setting 21. Shape Plane 22.
Page 44
Inspection Procedure OCR Type A230 IC Inspection Example Select Detect Judgment, and set the correct number of leads. Select Width Judgment and set the correct lead width after referring to the value in Result. Select Pitch Judgment and set the correct lead pitch after referring to the value in Result.
Page 45
OCR Type A230 Inspection Procedure IC Inspection Example 4.2.3 Mark Detection (Gray Scale Window Checker) Use a Gray Window checker to inspect a mark printed on an article and determine whether or not it is acceptable. With the checker you can check the average brightness value to determine whether or not the mark is present, and its quality (blurring etc.).
Page 46
Inspection Procedure OCR Type A230 IC Inspection Example Step 1 Set the conditions for an acceptable product With the Gray Scale Window checker, inspection is performed based on the settings in Average Judgment. First, perform an inspection on a good article, and then set the judgment conditions based on the results of this.
Page 47
OCR Type A230 Inspection Procedure IC Inspection Example Press the A (Test) key to perform a test. Note the average displayed on the top right of the screen. Select the Average Judgment, and set the maximum and minimum values for an acceptable article.
Page 48
Inspection Procedure OCR Type A230 Connector Inspection Example Connector Inspection Example In this example we will use a connector to illustrate what kinds of inspection are possible and how to perform them. Refer to 4.3.1, Connector Measurement (Gray Scale Edge Checker) for details (p.
Page 49
OCR Type A230 Inspection Procedure Connector Inspection Example Select Checker Setting from the menu, and set the scan method for inspection. Item Description of Setting Shape Select either Plane scan or Line scan. Direction Select either vertical or horizontal for the scan direction (in the case of Plane scan only).
Page 50
Inspection Procedure OCR Type A230 Connector Inspection Example Step 2 Set the judgment conditions for the dimensions A Gray Scale Edge checker can perform judgments based on the number of edges detected, it cannot measure dimensions. To do this, use the detected results in a numerical calculation as illustrated below.
Page 51
OCR Type A230 Inspection Procedure IC Inspection Example IC Inspection Example In this example we will use ICs to illustrate what kinds of inspection are possible and how to perform them. 4.4.1 Counting ICs (Smart Matching) Refer to p.9 − 3 for details.
Page 52
Inspection Procedure OCR Type A230 IC Inspection Example Select Template. Enclose one of the articles to be counted in a rectangular marquee to register it as a template. Proceed to specify an Output Point. The Output Point specifies the positional coordinates of the inspection target.
Page 53
OCR Type A230 Inspection Procedure IC Inspection Example Step 2 Perform an inspection Return to the main menu and press the A (Start) key to perform an inspection. The number of articles detected inside the search area is displayed on the top right of the screen.
Page 54
Inspection Procedure OCR Type A230 Displayed Image and Test Functions Displayed Image and Test Functions The execution sequence when performing a test is position and rotation adjusters, then other checkers. Numerical calculation, judgment output, and spreadsheets are not included in a test, and there is no parallel or serial output.
Page 55
OCR Type A230 Inspection Procedure Hiding Images and Menus Hiding Images and Menus Menu display when a checker number is being selected. If you select a number for a checker that has already been set, the settings are displayed and the checker pattern is displayed brightly. If you select a number for a checker that has not been set, the settings are not displayed.
Page 56
Inspection Procedure OCR Type A230 Checker Pattern Display Checker Pattern Display The pattern for the selected checker is displayed more brightly than the patterns for other checkers. Note On the main menu, none of the checkers are displayed brightly unless Make Bright at NG is set to YES. If Make Bright at NG is set to NO, only the checker detecting the reject is displayed brightly.
Page 57
OCR Type A230 Inspection Procedure Checker Pattern Display Smart Matching “+” marks are displayed at the positions specified as the output points for the checker pattern and pattern. If no pattern was detected, “+” marks are not displayed. Gray scale edge checker display The checker pattern is displayed along with straight lines to mark the positions where edges were detected.
Page 58
Inspection Procedure OCR Type A230 Specifying Position and Rotation Adjustment Group Specifying Position and Rotation Adjustment Group Sets the active position and rotation adjustment number within the product type. Only pre−set position and rotation adjuster can be set here. The corresponding position and rotation adjuster pattern is displayed brightly during number selection.
Page 59
OCR Type A230 Inspection Procedure Selecting Camera Selecting Camera Use the Select Camera setting for each checker to select scanning for the image captured by either camera A or Camera B. If only one camera is connected, or if the setting for the capture camera in the Type menu is something other than AB, it is not possible to select anything but A (otherwise, an error message will be displayed).
Page 60
Inspection Procedure OCR Type A230 4.10 Area Setup and Out−of−Area Range Setting 4.10 Area Setup and Out−of−Area Range Setting Area coordinates can be set in the ranges X: 0 to 511, Y: 0 to 479. When the area has been set correctly, it is executed at the specified position from the next test.
Page 61
OCR Type A230 Inspection Procedure 4.10 Area Setup and Out−of−Area Range Setting In the case of images for which the correction angle is 0°, there are sections where the off−screen area is displayed. Areas cannot be set in these sections.
Page 62
Inspection Procedure OCR Type A230 4.11 Checker Area Setting Method 4.11 Checker Area Setting Method 4.11.1 Rectangle / circle (oval) Press ENTER to switch between Move all, Move start point, Move end point and Fix. Press C to go in the opposite direction.
Page 63
OCR Type A230 Inspection Procedure 4.11 Checker Area Setting Method 4.11.3 Polygon Press ENTER to switch between Move all and Set node. Press C to go in the opposite direction. When moving a node, pressing A twice adds an additional node, and pressing A and B deletes a node.
Page 64
Inspection Procedure OCR Type A230 4.12 Setting Masking 4.12 Setting Masking Mask areas can be set for gray scale window checkers. A mask area is an area within an inspection or extraction area where inspection or extraction is not performed. Setting a mask area is one way of adapting a checker’s inspection area or an extractor’s area to a complex shape.
Page 65
OCR Type A230 Inspection Procedure 4.13 Filter Setup 4.13 Filter Setup You can use filter processing with Character Verification checkers and Smart Matching checkers to eliminate unwanted parts. Both dilation and erosion filters are available. These filters work on a captured image, performing dilation or erosion before inspection.
Page 66
Inspection Procedure OCR Type A230 4.14 Changing Shapes 4.14 Changing Shapes A shape change is applied at the position displayed before the change, with the default size of the changed shape. A shape cannot be changed if the whole of the inspection area is included within the mask area.
Page 67
OCR Type A230 Inspection Procedure 4.15 Entering Upper and Lower Limit Values 4.15 Entering Upper and Lower Limit Values This section describes how to enter upper and lower limit values in the setup menu for each checker. Example: Judgment conditions The parameters for entering upper and lower limit values are normally displayed as in Max, Min.
Page 68
Inspection Procedure OCR Type A230 4.16 Copying a Checker 4.16 Copying a Checker Procedure: Set the number of the checker for the destination. Select Copy checker. Set the checker number for the source checker within the same type. Note Only checker numbers that have already been set are displayed when you are selecting the copy source for the checker number.
Page 69
OCR Type A230 Inspection Procedure 4.17 Deleting a Checker 4.17 Deleting a Checker Procedure: Set the number of the checker to be deleted. Select Delete checker and confirm. A message saying, “Delete?” is displayed. Select and confirm Yes if you want to delete or NO to cancel the deleting.
Page 70
Inspection Procedure OCR Type A230 4.17 Deleting a Checker 4 − 34...
Page 71
Chapter 5 Environment and Product Type Setting Item List ....... . . 5 −...
Page 72
Environment and Product Type OCR Type A230 5 − 2...
Page 73
OCR Type A230 Environment and Product Type Setting Item List Setting Item List Environment settings set the operating environment and are common for all product types. Product Type settings are set for each inspection target. Setting item Setting menu Explanation...
Page 74
Environment and Product Type OCR Type A230 Environment Settings (Environment settings common for all types) Environment Settings (Environment settings common for all types) 5.2.1 Menu screen Set environment settings such as the camera mode and shutter speed for use in inspections, and also the I/O settings.
Page 75
OCR Type A230 Environment and Product Type 5.2 Environment Settings (Environment settings common for all types) 5.2.2 Camera Set the camera mode, shutter speed, and whether or not to use flash illumination. [5] ENVIRONMENT Camera 11. Camaera Mode Normal Frame 12.
Page 76
Environment and Product Type OCR Type A230 Environment Settings (Environment settings common for all types) 13. Flash Set to Yes in the case that you wish to use flash illumination. Set this when you have selected Normal Frame for the camera mode. This initial setting is Unused.
Page 77
OCR Type A230 Environment and Product Type 5.2 Environment Settings (Environment settings common for all types) 5.2.4 Start Type Set the number of the type that starts up when the power is turned on. − If you set No. 1, No. 1 will always start up when the power is turned on.
Page 78
Environment and Product Type OCR Type A230 Environment Settings (Environment settings common for all types) 5.2.5 Communication Set serial, parallel or other communications. [5] ENVIRONMENT Communication 41. Com. Mode Normal Mode 42. RS232C 43. Serial Output 44. Perallel Output 45. Type Switch Min.
Page 79
OCR Type A230 Environment and Product Type 5.2 Environment Settings (Environment settings common for all types) 5.2.6 Display Setting Sets the screen display. [5] ENVIRONMENT Display Setting 51. Display Brightness Image:Dark 52. Outside Region Value 53. Language English 51. Display Brightness This function changes the display brightness.
Page 80
Environment and Product Type OCR Type A230 Environment Settings (Environment settings common for all types) 5.2.7 Save Image Mode Allows you to set up how images are saved. The maximum number of images that can be stored is 8. If you select Continuity, Trap, or Lim. Cond. as the save mode, you can select Overwrite: Yes or No for the saved image memory for all of the save modes.
Page 81
OCR Type A230 Environment and Product Type 5.2 Environment Settings (Environment settings common for all types) 71. Overwrite Yes: When the total 8 images have been saved in the image save memory, the oldest image is overwritten if there is a trigger to capture more images.
Page 82
Environment and Product Type OCR Type A230 Environment Settings (Environment settings common for all types) 5.2.8 Initialize This returns the Environment settings to the original factory settings. The Language setting is not initialized even if you initialize, so the currently displayed language remains the selected language.
Page 83
OCR Type A230 Environment and Product Type Product Types Product Types You can register a maximum of 32 sets of inspection condition data in the controller. This inspection data is called a TYPE, and each type is managed by giving it a title. The Type screen allows you to switch between product types, copy or delete them, and set how to display them.
Page 84
Environment and Product Type OCR Type A230 Product Types Initialize all Types Returns all product type settings to the original factory settings. Note that if you select this, all the product data you have entered will be deleted. Rest: Displays the amount of available memory for setting the product type data.
Page 85
OCR Type A230 Environment and Product Type Product Types 5.3.2 Creating a New Product Type Number Procedure: Input and set the new type number that you wish to create. 5.3.3 Entering a Product Type Title Procedure: Select Input Type Title.
Page 86
Environment and Product Type OCR Type A230 Product Types 5.3.4 Set the Capture Camera Set the image capture camera for each type. Two cameras can be connected (camera A and camera B), so select from among the following five possibilities.
Page 87
OCR Type A230 Environment and Product Type Product Types 5.3.5 Select the Camera/Image Select the camera image to be displayed on the monitor. The display selected here takes priority when the power is switched on, or the type is switched (the display camera, and image change settings done with the B button in the main menu are temporary settings that remain valid until the power is switched off or the type is changed).
Page 88
Environment and Product Type OCR Type A230 Product Types 5.3.6 Switching Between Product Types Procedure: Enter the type number for the type you want to switch to and press C , and the type is switched and you return to the main menu.
Page 89
OCR Type A230 Environment and Product Type Product Types Notes Even if you are copying a product type that has already been set, the source product type data overwrites the current data, so make sure that the data for the currently selected product type is no longer required.
Page 90
Environment and Product Type OCR Type A230 Product Types 5.3.9 Selecting Initial Display Settings For the current product type, select the initial settings for particular menus and display items. The settings made here are used for the display when the controller power is turned on.
Page 91
OCR Type A230 Environment and Product Type Product Types 5.3.10 Initializing All Product Type Data Returns all product type settings to the original factory settings. Note that if you select this, all the product data you have entered will be deleted.
Page 92
Environment and Product Type OCR Type A230 Product Types 5 − 22...
Page 93
Chapter 6 Position and Rotation Adjustment Position and Rotation Adjustment ....6 − 3 The Various Modes for Position/Rotation Adjustment Checkers ........6 −...
Page 94
Position and Rotation Adjustment OCR Type A230 6 − 2...
Page 95
OCR Type A230 Position and Rotation Adjustment 6.1 Position and Rotation Adjustment Position and Rotation Adjustment Position and rotation adjusters find the difference of adjustment required between the coordinates recorded as setup (reference point) and the coordinates found when executed. Individual checkers come under a position and rotation adjuster group, and by applying the amount of adjustment, checker coordinates can be adjusted by an appropriate amount for inspection.
Page 96
Position and Rotation Adjustment OCR Type A230 The Various Modes for Position/Rotation Adjustment Checkers The Various Modes for Position/Rotation Adjustment Checkers Gray scale edge checker: Position adjustment Gray edge checkers are used as the base checkers, calculating adjustments ∆X and ∆Y from the results of vertical and horizontal scanning checkers.
Page 97
OCR Type A230 Position and Rotation Adjustment 6.2 The Various Modes for Position/Rotation Adjustment Checkers Gray scale edge checker: Horizontal detection rotation adjustment Gray scale edge checkers are used as the base checkers, and the amount of adjustment ∆X, ∆θ (angle of rotation) is calculated from the results of two horizontal checkers.
Page 98
Position and Rotation Adjustment OCR Type A230 The Various Modes for Position/Rotation Adjustment Checkers Gray scale edge checker: Vertical detection rotation adjustment Gray scale edge checkers are used as the base checkers, and the amount of adjustment ∆Y, ∆θ (angle of rotation) is calculated from the results of two vertical checkers.
Page 99
OCR Type A230 Position and Rotation Adjustment 6.2 The Various Modes for Position/Rotation Adjustment Checkers Matching checker: One checker position adjustment The amount of adjustment ∆X, ∆Y, can be calculated from the results of using a single matching checker as the base checker.
Page 100
Position and Rotation Adjustment OCR Type A230 The Various Modes for Position/Rotation Adjustment Checkers Matching checker: One checker rotation adjustment The amount of adjustment ∆X, ∆Y, ∆θ can be calculated from the results of using a single matching checker as the base checker.
Page 101
OCR Type A230 Position and Rotation Adjustment 6.2 The Various Modes for Position/Rotation Adjustment Checkers Priority For position adjustment using gray scale edge checkers, the checkers can be prioritized. Either horizontal or vertical direction checkers can be given priority. Whether or not to apply adjustment using a second checker can be determined according to the result of the prioritized checker.
Page 102
Position and Rotation Adjustment OCR Type A230 The Various Modes for Position/Rotation Adjustment Checkers Setting the base position A position and rotation adjuster is a checker that obtains the amount of adjustment between the coordinates (reference point) set at the time the checker is set up, with the coordinates at the time the checker is executed.
Page 103
OCR Type A230 Position and Rotation Adjustment 6.3 Setting a Position/Rotation Adjustment Checker Setting a Position/Rotation Adjustment Checker The only time that it is possible for you to select the type for a Position/Rotation Adjustment checker is when you are creating a new one. If a checker has already been set for the number that you select, either select a new number or delete the checker set for the selected number and perform the settings again.
Page 104
Position and Rotation Adjustment OCR Type A230 Setting a Position/Rotation Adjustment Checker Select Pos. Adj. The setting menu for position adjustment using gray edge detection is displayed. Use Select Camera to select the camera, and Delete Checker to delete the checker as required.
Page 105
OCR Type A230 Position and Rotation Adjustment 6.3 Setting a Position/Rotation Adjustment Checker Next perform the checker settings. Select either Vertical Checker or Horizontal Checker. The setting procedure is the same for both vertical and horizontal checkers. Here we will set a horizontal checker, so select Horizontal. Checker to display the Checker Setting menu.
Page 106
Position and Rotation Adjustment OCR Type A230 Setting a Position/Rotation Adjustment Checker Set the base position. Refer to page 6 − 10 Setting the base position for details. [1] POS. ROT. ADJ. Jud:NG No. 1 Gray Edge :Pos. Adj. Select Camera...
Page 107
OCR Type A230 Position and Rotation Adjustment 6.3 Setting a Position/Rotation Adjustment Checker 6.3.2 Setting a Horizontal Detection Rotation Adjustment Checker or a Vertical Detection Rotation Adjustment Checker that uses Gray Edge Detection This explains how to use a Gray Scale Edge checker as an adjustment checker.
Page 108
Position and Rotation Adjustment OCR Type A230 Setting a Position/Rotation Adjustment Checker Select Hor. Det. Rot. Adj. The setting menu for position adjustment using gray edge detection is displayed. Use Select Camera to select the camera, and Delete Checker to delete the checker as required.
Page 109
OCR Type A230 Position and Rotation Adjustment 6.3 Setting a Position/Rotation Adjustment Checker Next perform the checker settings. Select either Checker 1 or Checker 2. The setting procedure is the same for both checkers. Select Checker 1 to display the Checker 1 setting menu.
Page 110
Position and Rotation Adjustment OCR Type A230 Setting a Position/Rotation Adjustment Checker Set the base position. Refer to page 6 − 10 Setting the base position for details. [1] POS. ROT. ADJ. Jud:NG No. 1 Gray Edge :Hor. Det. Rot.
Page 111
OCR Type A230 Position and Rotation Adjustment 6.3 Setting a Position/Rotation Adjustment Checker 6.3.3 Setting One Checker Position Adjustment that uses Matching This explains how to use a Matching checker as an adjustment checker. If you are unfamiliar with the operation of Matching checkers, read chapter 8 (Smart Matching).
Page 112
Position and Rotation Adjustment OCR Type A230 Setting a Position/Rotation Adjustment Checker Select One Chkr. Pos. Adj. The setting menu for one checker position adjustment using matching is displayed. Use Select Camera to select the camera, and Delete Checker to delete the checker as required.
Page 113
OCR Type A230 Position and Rotation Adjustment 6.3 Setting a Position/Rotation Adjustment Checker Next perform the checker settings. Select Checker Setting to display the setting menu. [1] POS. ROT. ADJ. No. 1 Matching:One Chkr. Pos. Checker Setting 21. Template )−( 22.
Page 114
Position and Rotation Adjustment OCR Type A230 Setting a Position/Rotation Adjustment Checker Set the base position. Select Base, and press the A (Test) key to display the current detection coordinates, detection angles and correlation values (a maximum of five). [1] POS. ROT. ADJ.
Page 115
OCR Type A230 Position and Rotation Adjustment 6.3 Setting a Position/Rotation Adjustment Checker 6.3.4 Setting Theta Rotation Adjustment that uses Matching This explains how to use a Matching checker as an adjustment checker. If you are unfamiliar with the operation of Matching checkers, read 8 Smart Matching.
Page 116
Position and Rotation Adjustment OCR Type A230 Setting a Position/Rotation Adjustment Checker Select Theta Rot. Adj. The setting menu for theta rotation adjustment using matching is displayed. Use Select Camera to select the camera, and Delete Checker to delete the checker as required.
Page 117
OCR Type A230 Position and Rotation Adjustment 6.3 Setting a Position/Rotation Adjustment Checker Next perform the checker settings. Select Checker Setting to display the setting menu. [1] POS. ROT. ADJ. No. 1 Matching:One Chkr. Pos. Checker Setting 21. Template )−( 22.
Page 118
Position and Rotation Adjustment OCR Type A230 Setting a Position/Rotation Adjustment Checker Set the base position. Select Base, and press the A (Test) key to display the current detection coordinates, detection angles and correlation values (a maximum of five). [1] POS. ROT. ADJ.
Page 119
OCR Type A230 Position and Rotation Adjustment 6.3 Setting a Position/Rotation Adjustment Checker 6.3.5 Setting One Checker Rotation Adjustment and Two Checker Rotation Adjustment that uses Matching This explains how to use a Matching checker for adjustment. If you are unfamiliar with the operation of Matching checkers, read 8 Smart Matching.
Page 120
Position and Rotation Adjustment OCR Type A230 Setting a Position/Rotation Adjustment Checker Select One Chkr. Rot. Adj. The setting menu for one checker rotation adjustment using matching is displayed. Use Select Camera to select the camera, and Delete Checker to delete the checker as required.
Page 121
OCR Type A230 Position and Rotation Adjustment 6.3 Setting a Position/Rotation Adjustment Checker Next perform the checker settings. Select Checker Setting to display the setting menu. [1] POS. ROT. ADJ. No. 1 Matching:One Chkr. Pos. Checker Setting 21. Template )−( 22.
Page 122
Position and Rotation Adjustment OCR Type A230 Setting a Position/Rotation Adjustment Checker Set the base position. Select Base, and press the A (Test) key to display the current detection coordinates, detection angles and correlation values (a maximum of five). Set base point 1 and base point 2 from among these.
Page 123
OCR Type A230 Position and Rotation Adjustment 6.4 Position Adjustment Groups Position Adjustment Groups A particular position adjustment is associated with checkers by specifying the position adjustment group number for the checker to use. Inspection checkers initially have the position adjustment group number set to “0”, so if you want a checker to use a position adjuster, you must first define the position adjustment, then specify its position adjustment group number.
Page 124
Position and Rotation Adjustment OCR Type A230 Position Adjustment Groups Example 1: Checker areas R1 and R2 are both given position adjustment group No.1 (G=1), as shown in Figure 1. Because both checkers use the same position adjustment group the whole workpiece can be inspected reliably with only a single position adjuster, even if the workpiece is misaligned as shown in Figure 2.
Page 125
OCR Type A230 Position and Rotation Adjustment 6.4 Position Adjustment Groups (2) Inspection using two separate groups, group No.1 (G=1) and No.2 (G=2): Position adjustment is carried out independently for each checker, so the checkers can move on both sides.
Page 126
Position and Rotation Adjustment OCR Type A230 Position Adjustment Groups Example 4: By specifying the position adjustment group number, a position adjuster can be set to adjust the result of an earlier position adjuster (multiple position adjustment). This can be repeated to give several layers of nesting.
Page 127
OCR Type A230 Position and Rotation Adjustment 6.4 Position Adjustment Groups (2) When the position adjusters have been nested, each adjusting the result of the previous adjuster: Each adjuster works on the result of the position adjustment checker specified by the group number, so that all the edges required are successfully detected.
Page 128
Position and Rotation Adjustment OCR Type A230 Position Adjustment Groups Multiple Position/Rotation Adjustment Checker Settings It is possible to set multiple Position/Rotation Adjustment checkers for one image. The Position/Rotation Adjustment checkers are executed in order from the smallest checker number.
Page 129
OCR Type A230 Position and Rotation Adjustment 6.4 Position Adjustment Groups Set the area and conditions for the checker. Position/Rotation Adjustment checker No. 1 (Vertical Detection Rotation Adjustment) Group No. 0 TEST Character Verification checker Position/Rotation Adjustment No. 1 checker No. 2 Group No.
Page 130
Position and Rotation Adjustment OCR Type A230 Position Adjustment Groups 6 − 38...
Page 131
Chapter 7 Character Recognition: Dictionary and Character Recognition Function About the Character Recognition ....7 − 3 About the Dictionary ......7 −...
Page 132
Character Recognition: Dictionary and Character Recognition Function OCR Type A230 7 − 2...
Page 133
About the Character Recognition About the Character Recognition The A230 character recognition type recognizes characters using the neural net. To be concrete, this function checks one by one letters or symbols extracted within a set area to compare with the character image registered in a dictionary beforehand and reads the label attached to the one in a dictionary in the highest match (recognition values).
Page 134
Learning is done after the registration of the extracted letters or symbols (the labeling). Learning is required each time the content of a dictionary is changed. (The A230 has an “additional learning” function by which only the changed parts of a dictionary is re−learned.)
Page 135
OCR Type A230 Character Recognition: Dictionary and Character Recognition Function 7.3 Procedure for Setting Character Recognition Procedure for Setting Character Recognition Creating Dictionary Register a font to be recognized into a dictionary and start the learning process. Set segmentation conditions.
Page 136
Delete Dictionary 7.4.1 Dictionary Configuration The character recognition A230 has five dictionaries, which can only be used for the character recognition function, and up to 40 characters, including symbols, can be registered in each. OCR−B font is registered in Dictionary No.1 and OCR−A font in Dictionary No.2 at shipping from the factory.
Page 137
OCR Type A230 Character Recognition: Dictionary and Character Recognition Function Dictionary 7.4.2 Procedure for Setting the Dictionaries Set dictionaries according to the following procedure. 0123456789 Flow Registered Related parameters characters: − Segmentation Color 2 4567 8 − Segmentation Condition 1 Segmentation −...
Page 138
Character Recognition: Dictionary and Character Recognition Function OCR Type A230 Dictionary 7.4.3 Setting a Dictionary Set the Segmentation Conditions. Area setting Set the area by surrounding the characters. Segmentation Color If the characters to be extracted are darker against a background, select “Black”.
Page 139
OCR Type A230 Character Recognition: Dictionary and Character Recognition Function Dictionary Filter Cotracts or expands the area in the segmentation color. If the dotted characters are to be extracted, expand them to connect the dot interval, enabling an easier extraction.
Page 140
Character Recognition: Dictionary and Character Recognition Function OCR Type A230 Dictionary Registering Dictionary Label a character segmented. Select Dic. Registration. → The screen for selecting the segmented characters is displayed. Select the characters to be registered (for labeling them) and press the <ENTER>...
Page 141
OCR Type A230 Character Recognition: Dictionary and Character Recognition Function Dictionary Repeat steps 1 to 3, above, for the number of characters you want to register. If you registered 0 up to 9, one by one, the registration screen changes as shown below.
Page 142
Character Recognition: Dictionary and Character Recognition Function OCR Type A230 Dictionary Leaning Select the “Learn” − “Learn” from the menu to execute learning. Additional learning is a function for a dictionary to learn only the parts added from the one learned beforehand. Accordingly, it can learn in a short time compared to the regular learning function.
Page 143
OCR Type A230 Character Recognition: Dictionary and Character Recognition Function Dictionary Dictionary Editing Verifies or deletes the registered image. Verifying a registered image Select “Dic. Check”. Select the label and pattern you want to verify. The image registered in the selected label and pattern appears in the size registered.
Page 144
Character Recognition: Dictionary and Character Recognition Function OCR Type A230 Dictionary 7.4.4 Deleting a Dictionary Delete a dictionary. Select “Delete Dictionary”. Select whether to delete only the dictionary currently selected or to delete all dictionaries, 1 through 5. When dictionaries 3 through 5 are selected: Select “Selected Dictionary”...
Page 145
OCR Type A230 Character Recognition: Dictionary and Character Recognition Function Recognizing Character Recognizing Character Select Camera 21. Character Recognition Area Checker Setting Segmentation Color Segmentation Direction Dictionary No. Condition Separate Char. Height Max. Char. Height Min. Char. Width Max. Char. Width Min.
Page 146
Character Recognition: Dictionary and Character Recognition Function OCR Type A230 Recognizing Character 7.5.1 Procedure for Setting Character Recognition 20011215 Output of Recognition Flow Related parameters character string: For checker settings 20 1 0 1215 −Segmentation Color 1 Character −Segment. Direction segmentation −Condition...
Page 147
OCR Type A230 Character Recognition: Dictionary and Character Recognition Function Recognizing Character 7.5.2 Setting the Character Recognition Checker Setting Character Segmentation Area Setting Enclose the characters to be recognized to set the area Segmentation Color Select “Black” for segmenting characters darker against a background and “White”...
Page 148
Character Recognition: Dictionary and Character Recognition Function OCR Type A230 Recognizing Character Processing conditions Make these settings is such situations as when characters to be verified are joined, etc. This is used for the characters connected to be extracted. This is useful for recognizing the connected characters.
Page 149
OCR Type A230 Character Recognition: Dictionary and Character Recognition Function Recognizing Character 252. Character Height Max.−255.Character Width Min. This is the parameter for the separate processing. The size of characters (images) registered in a dictionary is used. If the registered characters are different from the characters to be read in size, you can change the size by enclosing the recognition area.
Page 150
If you intend to only output the recognized characters from the A230 and not to specify a judgment character string, then set the judgment character string in this way.
Page 151
OCR Type A230 Character Recognition: Dictionary and Character Recognition Function Recognizing Character Specifying the Character Specify the character string. Here ”0123456789” is specified. Finally, highlight “Input is completed” and press <ENTER> key. This completes the settings of the String judgment.
Page 152
Character Recognition: Dictionary and Character Recognition Function OCR Type A230 Recognizing Character Example: Target of recognition: O (alphabet) Recognition result: 1st ranking: 0 (numeral), 2nd ranking: O (alphabet) Recognized character when “!” is set: O (alphabet) (ranked 2nd) Recognized character when “!” is not set: 0 (numeral) (ranked 1st) <@>:...
Page 153
OCR Type A230 Character Recognition: Dictionary and Character Recognition Function Recognizing Character In “Output Char.”, set the maximum number of characters that can be recognized in a character string. Note Example of the String Output Serial output settings Output character: 10 Invalid digit: Replace Checker No.
Page 154
Character Recognition: Dictionary and Character Recognition Function OCR Type A230 Recognizing Character 7.5.3 Verifying the Result Verify the recognition character string and the overall judgment result. The recognized character string and the judgment result made using the judgment character string are displayed in the upper part of the screen in all the menus of the Character Recognition Checker.
Page 155
OCR Type A230 Character Recognition: Dictionary and Character Recognition Function Recognizing Character Verifying the Result Details for Each Character You can verify the details of each recognized character in “Result”. Select “Result”. → As shown, the first and second character recognition rankings and their respective recognition values are displayed.
Page 156
Character Recognition: Dictionary and Character Recognition Function OCR Type A230 Recognizing Character 7 − 26...
Page 157
Chapter 8 Character Verification Checker About the Character Verification Checker ... 8 − 3 8.1.1 Character Verification Setting Menu ..8 − 6 Pattern or Character Selection .
Page 158
Character Verification Checker OCR Type A230 8 − 2...
Page 159
OCR Type A230 Character Verification Checker About the Character Verification Checker About the Character Verification Checker Character Select Camera 2. Checker 22. Char. Verif Checker Setting Area Segmentation Color Segment Area Min. Background Process Noise Reduction (background process only when running)
Page 160
Character Verification Checker OCR Type A230 About the Character Verification Checker After specifying the inspection range and performing segmentation, the character portion is extracted and registered as the reference character image for inspection. Inspection involves comparing the characters on other articles to this reference character image.
Page 161
OCR Type A230 Character Verification Checker About the Character Verification Checker The procedure for using the Character Verification checker is as follows. Procedure: Select Checker − CHAR. VERIF. from the menu. Specify a number for the Character Verification checker. If this is the first time to make settings for this number, select either Character or Pattern.
Page 162
Character Verification Checker OCR Type A230 About the Character Verification Checker 8.1.1 Character Verification Setting Menu [2] CHAR. VERIF. Jud. :NG Det. Char.: 0 No. 01 Character 1. Select Camera 2. Checker Setting 3. Condition 4. Sub. Det. Area 5. Sub. Det. Judgment 6.
Page 163
OCR Type A230 Character Verification Checker Pattern or Character Selection Pattern or Character Selection If no settings have been made for the Character Verification checker number that you selected, the first thing to do is select either Character or Pattern.
Page 164
Character Verification Checker OCR Type A230 Register the Reference Character Image (Checker Setting) Register the Reference Character Image (Checker Setting) In order to perform character inspection you must first segment, extract and register the character to be used as the reference for the inspection. Set the inspection range and segmentation conditions and execute the segmentation.
Page 165
OCR Type A230 Character Verification Checker Register the Reference Character Image (Checker Setting) You can perform background processing to eliminate unnecessary noise. If it is not possible to segment a character due to the presence of background noise (such as a base pattern), select Background Process, and set the level for background processing (Low, Middle or High).
Page 166
Character Verification Checker OCR Type A230 Register the Reference Character Image (Checker Setting) Press the A (Register) key to perform segmentation. If the segmentation is performed correctly, press the ENTER key to register the character as the reference for inspection.
Page 167
OCR Type A230 Character Verification Checker Register the Reference Character Image (Checker Setting) Background Processing and Noise Reduction Background processing can be used to patterns and noise captured in the background. Perform the Background Process setting using the following procedure and while checking the image.
Page 168
Character Verification Checker OCR Type A230 Register the Reference Character Image (Checker Setting) Point Depending on the setting used for Background Process, the setting range available for the Area setting changes. Background Start point (X, Y) End point (X, Y)
Page 169
OCR Type A230 Character Verification Checker Setting the Process Conditions Setting the Process Conditions You can use the following settings to set the process conditions for character inspection. If you find that extraction is not going well when the inspection is performed, change these settings and try again.
Page 170
Character Verification Checker OCR Type A230 Setting the Process Conditions Search Area This allows you to specify the range to search for each character. By setting a wider search area, you can avoid missed inspections due to shifted character position.
Page 171
OCR Type A230 Character Verification Checker Setting the Process Conditions Detection Conditions Select from among Fine, Extra Fine, Medium, and Coarse for the search method. Fine: The search method is automatically decided based on the registered template image and the search area size.
Page 172
Character Verification Checker OCR Type A230 Setting the Process Conditions Example: If the Rotation Angle setting is 6° and the Delta Angle setting is 2° , searching is performed every 2° over the range +/−6° . (−6° , −4° , −2° , 0° , +2° , +4° , +6° ) Note When the template is registered, it is a 0°...
Page 173
OCR Type A230 Character Verification Checker Setting the Judgment Conditions Setting the Judgment Conditions Use the judgment conditions to set OK/NG (pass/fail) criteria for the area difference (Sub. Det. Area) and quantity difference (Sub. Det. Judgment) when the target object is compared to the reference character image.
Page 174
Character Verification Checker OCR Type A230 Selecting a Position/Rotation Adjustment Checker Selecting a Position/Rotation Adjustment Checker By setting Position or Rotation Adjustment checkers for the Character Verification checker, you can automatically correct for shifting of the target and correctly perform inspection.
Page 175
OCR Type A230 Character Verification Checker Viewing Inspection Results Viewing Inspection Results Select Result from the CHAR. VERIF. menu to display the Det. Pos., Corre., Sub. Det. and Max. Area in a table. TYPE[ 6] : [2] CHAR. VERIF. Jud. :OK Det. Char.: 10 1 Character ↑:Up...
Page 176
Character Verification Checker OCR Type A230 Copying and Deleting Character Verification Checkers Copying and Deleting Character Verification Checkers It is possible to copy and delete the settings for Character Verification checkers. Copy a Character Verification checker When you want to create a new Character Verification checker, it is possible to copy the settings from an existing Character Verification checker to save time.
Page 179
OCR Type A230 Smart Matching Smart Matching Smart Matching The smart matching checker registers a pre−set base image, and detects images similar to that registered image (called a “template”) from the checker area. The correlation value represents the degree of similarity to the template an image must have to be detected.
Page 180
Smart Matching OCR Type A230 Smart Matching 9.1.2 Checker Settings Create the matching checker and set the checker conditions. 21. Template Register the template image that will serve as the checker base. Set a square area for the checker base. Then set the output point for outputting the coordinate position of the checker results.
Page 181
OCR Type A230 Smart Matching Smart Matching 23. Sequence Set the matching search conditions. Detailed conditions can be set for the sequence in which the search is to be executed. Step Select the step of the sequence that sets the search conditions. There are five steps (1st to 5th).
Page 182
Smart Matching OCR Type A230 Smart Matching Detection results (Result) − Number (Cnt.) Shows the results of the search based on sequence, that is, the number of objects detected in each step. − Correlation (Cor.) Shows the correlation values of objects detected in each step.
Page 183
OCR Type A230 Smart Matching Smart Matching Example: When no rotation angle is set (angle range: 0) Example: When a rotation angle is set (angle range: 10, accuracy: 1) 9 − 7...
Page 184
Smart Matching OCR Type A230 Smart Matching Notes Search accuracy The search accuracy of the matching checker can be set to± 16, 8, 4, 2, or 1 pixel, or to sub pixels in each processing step. The matching checker compresses the template image and...
Page 185
OCR Type A230 Smart Matching Smart Matching If the accuracy of the final output is set at the sub pixel level, the output can be obtained at the sub pixel level regardless of whether the 1st or 5th step is set at sub pixels. If you set the 1st step at sub pixels, the search will take an extremely long time.
Page 186
Smart Matching OCR Type A230 Smart Matching 9.1.3 Subtraction Settings Set the parameters for the subtraction settings. 31. Subtraction Set whether or not to perform subtraction processing. The items cannot be changed. 32. Subtracted Area Judgment Set the upper limit of the subtracted area value searched for in the subtraction processing, and perform an OK/NG judgment.
Page 187
OCR Type A230 Smart Matching Smart Matching Subtraction processing Performs subtraction processing on the points detected by the matching checker. The results are output as the area of the portion where the search image and template images do not match. It overlaps the search image and the template image...
Page 188
Smart Matching OCR Type A230 Smart Matching Deviation processing As shown in the diagram below, deviation processing is used when you only want abnormalities outside the object workpiece to be recognized as differences, but not differences in the outline area of the object workpiece.
Page 189
OCR Type A230 Smart Matching Smart Matching Threshold value = 96 (Deviation × difference) Subtraction calculations Binarization (Deviation × difference) threshold value (Deviation × difference) > threshold value Deviation differentiation result Search image Final result Subtraction result 9 − 13...
Page 190
Smart Matching OCR Type A230 Smart Matching 36. Update Deviation Data Updates deviation data used in deviation differentiation. If the deviation data is not changed a single degree, then it is set at 1.0 for all pixels. As shown below, deviation data is changed only for pixels that are converted to 1 in the threshold value processing performed under the direction of the execution results of the subtraction processing performed immediately prior.
Page 191
OCR Type A230 Smart Matching Smart Matching 9.1.4 Check Template You can verify the set template image and the compressed image being processed. Display the set template image by selecting Check Template and then Template. Verify the search area compressed image and the template compressed image by selecting Check Template and then Middle Step.
Page 192
Smart Matching OCR Type A230 Smart Matching 9.1.5 Result Displays the inspection results. Displays the coordinates and rotation angle of the detected object, and the correlated value. Display the detect point of the detected object by pressing B while the results are displayed.
Page 193
OCR Type A230 Smart Matching Smart Matching Checker Setup Smart Matching Checker Setup Set the number of the matching checker to be created. From Select camera, select which camera (A or B) will supply the image on which the checker will be activated.
Page 195
Chapter 10 Lead Inspection Checker 10.1 About Lead Inspection Checkers ....10 − 3 10.1.1 Lead Inspection Setting Menu ... 10 −...
Page 196
Lead Inspection Checker OCR Type A230 10 − 2...
Page 197
OCR Type A230 Lead Inspection Checker 10.1 About Lead Inspection Checkers 10.1 About Lead Inspection Checkers 2. Checker 24.LeadInspection Select Camera Shape Checker Setting Direction Area Object Edge Thres. Value Condition Detect Judgment Width Judgment Pitch Judgment Pos. Rot. Adj. Group...
Page 198
Lead Inspection Checker OCR Type A230 10.1 About Lead Inspection Checkers 10.1.1 Lead Inspection Setting Menu [4] LEAD INSPECTION Detected:NG Cnt. : 0 Result No. 1 Width: OK Pitch:OK 1. Select Camera 2. Checker Setting 3. Detect Judgment 4. Width Judgment <510.9, 0.0>...
Page 199
OCR Type A230 Lead Inspection Checker 10.2 Set the Method for Lead Inspection 10.2 Set the Method for Lead Inspection Select Checker Setting from the menu and set Plane or Line scan for the Shape, Ver. (vertical) or Hor. (horizontal) for the scan direction, and make settings for Area (inspection range), Object (inspection target color), and Edge Thres.
Page 200
Lead Inspection Checker OCR Type A230 10.2 Set the Method for Lead Inspection Normally, use with the Condition item set to its default value. Change the Condition setting if detection is not working well, or if you want to reduce the detection time.
Page 201
OCR Type A230 Lead Inspection Checker 10.2 Set the Method for Lead Inspection Average Area This sets a range for averaging (starting from the edge position that satisfies the Filter/Width conditions to the setting in Average Area), and allows intervals between protrusions to be detected as edges.
Page 202
Lead Inspection Checker OCR Type A230 10.2 Set the Method for Lead Inspection About the Filter/Width settings X: edge position Scanning direction Direction counting the number of edges No. of edges* *No. of edges = Count for the number of edges detected for each scan line No.
Page 203
OCR Type A230 Lead Inspection Checker 10.3 Set the Judgment Conditions 10.3 Set the Judgment Conditions You can set judgment conditions for the number of leads, lead width, and lead pitch. 3. Detect Judgment 4. Width Judgment <510.9, 0.0> 5. Pitch Judgment <510.9, 0.0>...
Page 204
Lead Inspection Checker OCR Type A230 10.4 Select a Position/Rotation Adjustment Checker 10.4 Select a Position/Rotation Adjustment Checker By setting Position or Rotation Adjustment checkers for the Lead Inspection checker, you can automatically correct for shifting of the target and correctly perform inspection.
Page 205
OCR Type A230 Lead Inspection Checker 10.5 Viewing Inspection and Judgment Results 10.5 Viewing Inspection and Judgment Results Select Result from the LEAD INSPECTION menu to display the Width, Pitch, and Diff. values for the detected object. Refer to these values when setting the judgment and process conditions.
Page 206
Lead Inspection Checker OCR Type A230 10.6 Copying and Deleting Lead Inspection Checkers 10.6 Copying and Deleting Lead Inspection Checkers It is possible to copy and delete the settings for Lead Inspection checkers. Copy a Lead Inspection checker When you want to create a new Lead Inspection checker, it is possible to copy the settings from an existing Lead Inspection checker to save time.
OCR Type A230 Gray Scale Edge Checkers 11.1 Gray Scale Edge Checkers 11.1 Gray Scale Edge Checkers Gray scale edge checkers use gray scale processing for precision detection of changes in gray scale (outlines, boundaries, etc.). They are capable of detecting edge coordinates with sub−pixel precision.
Page 210
Gray Scale Edge Checkers OCR Type A230 11.1 Gray Scale Edge Checkers 11.1.2 Checker Setting Set the gray checking area and set parameters, etc. 21. Shape Select the shape for the checker area. 22. Direction Select the scanning direction for the checker being created.
Page 211
OCR Type A230 Gray Scale Edge Checkers 11.1 Gray Scale Edge Checkers Point Scan Method Two different scanning methods are supported for gray scale edge checkers: Single and projection. The default is single. Single scanning is a method which is beneficial for detecting edges on workpieces where the edges are not straight lines (degraded or rounded edges, or uneven surfaces).
Page 212
Gray Scale Edge Checkers OCR Type A230 11.1 Gray Scale Edge Checkers 24. Area Create or move the checker area. The area cannot be set to a size of less than 7 pixels in the scanning direction. The “Illegal checker area size.” error will appear.
Page 213
OCR Type A230 Gray Scale Edge Checkers 11.1 Gray Scale Edge Checkers Detected Light Threshold Threshold Dark 27. Condition Set the processing conditions for the checker being created. 271. Scan Pitch (Only for individual scans) Set the interval in terms of pixels in the scanning direction at which scanning is performed in the inspection area.
Page 214
Gray Scale Edge Checkers OCR Type A230 11.1 Gray Scale Edge Checkers Point Filter/Width X: Edge position Direction of the scan * Number of edges = count of edges detected for each individual scan line. Number of edges Number of...
Page 215
OCR Type A230 Gray Scale Edge Checkers 11.1 Gray Scale Edge Checkers 274. Average Area (can only be set for individual scans) Set the range for averaging, starting from the edge position that fulfills the filter/width conditions. Direction of the scan...
Page 216
Gray Scale Edge Checkers OCR Type A230 11.1 Gray Scale Edge Checkers 28. Detect Position Set the edge detection point of the checker to be created. Scanning direction Light Dark Figures shown differential values Method Display / output coordinates Differential value...
OCR Type A230 Gray Scale Edge Checkers 11.1 Gray Scale Edge Checkers 11.1.3 Result Display result information for up to 99 detected edges. Diff. Co. X Co. Y −35 175.5 259.0 −50 178.3 258.7 −65 181.5 259.1 −72 184.2 259.2 A: Test In camera mode: Captures an image from the camera and inspects it.
Page 218
Gray Scale Edge Checkers OCR Type A230 11.1 Gray Scale Edge Checkers With projection scanning, the image resulting from projection processing is displayed. B: Disp. All Display the positions of all the edges detected as a pattern. C: Esc. Pressing C returns to the display of results.
OCR Type A230 Gray Scale Edge Checkers 11.2 Gray Scale Edge Checker Setup 11.2 Gray Scale Edge Checker Setup Procedure: Set the number of the gray scale edge checker to be created. For the A220, select which camera (A or B) screen you will move the gray scale edge checker in.
Page 223
OCR Type A230 Gray Scale Window Checkers 12.1 Gray Scale Window Checkers 12.1 Gray Scale Window Checkers Gray scale window checkers are used for calculating the average value for gray scale brightness data within an area. You can set up to 32 checkers per type for the A220, and up to 16 per type for the A100.
Page 224
Gray Scale Window Checkers OCR Type A230 12.1 Gray Scale Window Checkers Position and Rotation Adjustment Group. Set which position and rotation adjuster will adjust the gray scale window checker being created. Copy Checker When creating a checker, copy the data from an existing checker.
Page 225
OCR Type A230 Gray Scale Window Checkers 12.2 Gray Scale Window Checker Setup 12.2 Gray Scale Window Checker Setup Procedure: Set the number of the gray scale window checker to be created. Select Checker Setting, then Shape. Set the inspection area to rectangle, circle or polygon from Shape.
Page 227
Chapter 13 Inspection Results and Output 13.1 Inspection Results and Output ....13 − 3 13.2 Conversion Data ......13 −...
Page 228
Inspection Results and Output OCR Type A230 13 − 2...
Page 229
OCR Type A230 Inspection Results and Output 13.1 Inspection Results and Output 13.1 Inspection Results and Output In addition to displaying inspection results on the screen, it is also possible to output them to external equipment and to perform numerical calculations on the results and create judgment programs to judge the results.
Page 230
Inspection Results and Output OCR Type A230 13.2 Conversion Data 13.2 Conversion Data 13.2.1 Conversion Data This function is useful when you wish to replace the number of measured pixels with the actual dimensions. You can set up to four sets of conversion data for one controller, so it is possible to set them separately for the vertical and horizontal directions and to use for conversion of units.
Page 231
OCR Type A230 Inspection Results and Output 13.2 Conversion Data 13.2.2 Conversion Data Setup Procedure: First, measure the reference target object (a scale or calipers will be useful). For this measurement use an edge detector to obtain the number of pixels between the gradations.
Page 232
Inspection Results and Output OCR Type A230 13.3 Numerical Calculation 13.3 Numerical Calculation 13.3.1 About Numerical Calculations Programmes can be created to carry out numerical calculations on the results of measurements by checkers. You can set up to a maximum of 32 formulas for each type.
Page 233
OCR Type A230 Inspection Results and Output 13.3 Numerical Calculation (4) Maximum/Minimum Displays the upper and lower limits for the numerical calculation result. You can use the Serial command to set and refer to the maximum and minimum values from an externally connected piece of equipment.
Page 234
Inspection Results and Output OCR Type A230 13.3 Numerical Calculation Data Bit Sets the data length for when you will output numerical calculation results using parallel output. Select 8, 16 or 32 bits in accordance with the range of numerical values that you will output.
Page 235
OCR Type A230 Inspection Results and Output 13.3 Numerical Calculation Output control function Use this when there are calculation result registers (with numerical values and judgment results) that you do not want to output using parallel or serial communications. Refer to page 13 − 16, Setting and Canceling Output Control.
Page 236
Inspection Results and Output OCR Type A230 13.3 Numerical Calculation Specific substitution function When a specific substitution is specified, the numerical calculations are only executed when there is a specific start signal for the parallel or serial signal. “ER” is displayed if an error occurs during calculation or if the value of a checker that has not be set is specified.
Page 237
OCR Type A230 Inspection Results and Output 13.3 Numerical Calculation Gray scale edge mode The Detection No. that can be referenced is restricted according to the Detect Position mode. * Front: Only Detection No.1 can be specified * Front / Rear: Only Detection No.1 and No.2 can be specified * Peak: Only Detection No.1 can be specified...
Page 238
Inspection Results and Output OCR Type A230 13.3 Numerical Calculation Atan, Root, Distance Atan is denoted by “@” and root is denoted by “$”. Atan and root can be utilized in calculations using ordinary calculation methods. Parts of a programme enclosed in brackets are evaluated with priority over the rest of the calculation.
Page 239
OCR Type A230 Inspection Results and Output 13.3 Numerical Calculation 13.3.2 Creating a Numerical Calculation Programme Creating a Calculation Programme As an example, here we will explain a calculation program that calculates dimensions using the edges detected by gray edge checkers No. 1 and No. 2.
Page 240
Inspection Results and Output OCR Type A230 13.3 Numerical Calculation Next, select the parameters to be referenced using the cursor lever. Next PA CH SM LD CA OCA QS CV Num. Ope. CHECKER: Next PA CH SM LD CA OCA QS CV Num. Ope.
Page 241
OCR Type A230 Inspection Results and Output 13.3 Numerical Calculation After entry is complete, press C. A confirmation message asks if you wish to register the changes you have made. To register the changes press Yes. To discard the information input select No.
Page 242
Inspection Results and Output OCR Type A230 13.3 Numerical Calculation To Delete a Programme Procedure: Select the register No. of the programme you want to delete. Use the cursors to move the highlight cursor to the “=” location, then press B to delete the programme.
Page 243
OCR Type A230 Inspection Results and Output 13.3 Numerical Calculation 13.3.3 Restrictions Applying to Numerical Calculations Calculation Order If a division is used in a calculation programme, there is sometimes a remainder, and in that case, the digits after the decimal point are discarded. This rounding−off is done not only when all the calculations are finished, but also during the calculation, in accordance with the priority order for arithmetical calculations.
Page 244
Inspection Results and Output OCR Type A230 13.3 Numerical Calculation Example: Correct: CA01 = GW01 + GW02 CA02 = CA01 / 2 Incorrect: CA01 = CA02 / 2 CA02 = GW01 + GW02 Calculation of Negative Values If a negative constant is used in a programme, it must be enclosed in brackets ( ).
Page 245
OCR Type A230 Inspection Results and Output 13.3 Numerical Calculation 13.3.4 Symbols Used by Numerical Calculation Programmes Programme Checker Object Checker used Mode Referenced data symbol numbers Amount of adjustment in horizontal direction (horizontal: ∆X) Position/ Amount of adjustment in vertical direction...
Page 246
Inspection Results and Output OCR Type A230 13.4 Judgment Output 13.4 Judgment Output 13.4.1 About Judgment Output The results of judgments performed on checkers and numerical calculation programmes can be communicated to other devices. The conditions for output are described here.
Page 247
OCR Type A230 Inspection Results and Output 13.4 Judgment Output A: Start Press A to capture an image. The image is then inspected, and, depending on the I/O settings, the judgment result signal is output on the parallel or serial interface.
Page 248
Inspection Results and Output OCR Type A230 13.4 Judgment Output NG Operation When a “NG” result is generated in a Judgment register (i.e. the conditions were not satisfied) you can execute one of the two functions described below (Trap or NG Display).
Page 249
OCR Type A230 Inspection Results and Output 13.4 Judgment Output Example: Use of the <NG Display> function Capture image Capture image Capture image Capture image Capture image Inspection image Judgment result Displayed image Hold Hold NG image 1 NG image 1...
Page 250
Inspection Results and Output OCR Type A230 13.4 Judgment Output 13.4.2 Creating a Judgment Programme In the judgment condition program example described here, JD01 goes on if the Character Verification No. 1 checker judgment result is OK. Procedure: Align the cursor to select the register number for the calculation programme you are going to create and press ENTER.
Page 251
OCR Type A230 Inspection Results and Output 13.4 Judgment Output After entry is complete, press C. A confirmation message asks if you wish to register the changes you have made. To register the changes press Yes. To discard the information input select No.
Page 252
Inspection Results and Output OCR Type A230 13.4 Judgment Output Note If a trap has been specified for the programme, the trap is deleted along with the programme. Setting and Canceling NG Operation (Trap function/NG Display function) Procedure: Set the register No. for the judgment condition that you want to set or cancel (A: NG−Exec is displayed at the bottom left of the screen).
Page 253
OCR Type A230 Inspection Results and Output 13.4 Judgment Output 13.4.3 Restrictions Applying to Judgments 1. Order of use of JR and JD registers (judgment output registers) If the result of judgment in a JR or JD register is to be used by another register, the register being used needs to be set earlier than the register using it.
Page 254
Inspection Results and Output OCR Type A230 13.4 Judgment Output 13.4.4 Symbols Used by Judgment Programmes Checker Program Checker Object Mode Referenced data used symbol number Position/ 1 to 8 Rotation Adjustment Character 1 to 8 Overall judgment result Recog itio...
Page 255
OCR Type A230 Inspection Results and Output 13.5 Spreadsheets 13.5 Spreadsheets When executing, the total number of scans and errors, as well as the count, average, dispersal value, maximum value, minimum value, and range of each of the OK and NG outputs of the designated checker are counted and displayed.
Page 256
Inspection Results and Output OCR Type A230 13.5 Spreadsheets Data items Count: Counts the OK and NG judgments of the designated checker data. Average: Records the average of the OK and NG judgments of the designated checker data. Disperse: Records the dispersal value of the OK and NG judgments of the designated checker data.
Page 257
OCR Type A230 Inspection Results and Output 13.5 Spreadsheets Note The number of scans is the total number of starts on the product type being displayed. The number of OK and NG outputs will count the data after the checker item is designated.
Page 258
Inspection Results and Output OCR Type A230 13.6 Data Monitor 13.6 Data Monitor The Data Monitor function displays the results of numerical calculations and judgment outputs in a list. It is also possible to change the maximum and minimum values for the numerical calculations to be displayed.
Page 259
OCR Type A230 Inspection Results and Output 13.6 Data Monitor − Changing the maximum and minimum values from the Data Monitor. TYPE [ 1] : Page 1 ← : Hide → : Next WIDTH1 0 NG HIGHT 0 NG Change Max. Min.
Page 260
Inspection Results and Output OCR Type A230 13.6 Data Monitor 13.6.2 Data Monitor Display Setting Procedure The following example shows how to select data for display and set a title. Up to five items of data can be set for each screen. The relationship between the setting screen and the Data Monitor display screen is as follows.
Page 261
OCR Type A230 Inspection Results and Output 13.6 Data Monitor Use the cursor lever to select the register to display in the Data Monitor and confirm the selection. Example: Select CA01. After you select a register, the title input window will appear.
Page 262
Inspection Results and Output OCR Type A230 13.6 Data Monitor When you have finished entering the title, use the cursor lever to select Input Complete and confirm to display the title that you input. <A :Lock> It is possible to lock the maximum and minimum values so that they cannot be changed from the Data Monitor.
Page 263
OCR Type A230 Inspection Results and Output 13.7 Checker List 13.7 Checker List This function displays the operational status of checkers in a list, and allows you to verify the set checkers, their numbers, and their results at a glance.
Page 264
Inspection Results and Output OCR Type A230 13.7 Checker List 13 − 38...
Page 265
Chapter 14 Save Data 14.1 Save Data ........14 −...
Page 267
OCR Type A230 Save Data 14.1 Save Data 14.1 Save Data Saves the settings. If setting data is not saved, any changes made will be lost when the power is turned off. Procedure for saving data When checker and other settings are newly changed, a warning message is displayed at the bottom of the main menu until the data is saved.
Page 268
Save Data OCR Type A230 14.1 Save Data Note The following data is not saved in the F−ROM when data is saved: Images saved using the SAVE DATA menu. Results of executing checkers (judgments/detection values) Results of calculations specified for specific substitution of...
Page 269
Chapter 15 Useful Functions 15.1 Loading and Saving Image Data ....15 − 3 15.1.1 Load Image Data ..... . 15 −...
Page 271
OCR Type A230 Useful Functions 15.1 Loading and Saving Image Data 15.1 Loading and Saving Image Data Image data from an image captured by a camera can be saved in memory. Up to 8 screens can be saved. However, image data is only saved while the power is on, so all data will be lost if the power is cut.
Page 272
Useful Functions OCR Type A230 15.1 Loading and Saving Image Data Shows the numerical calculation result CA31 when the highlighted image was saved. (Will not be displayed when the cursor is highlighting the current image.) Shows the numerical calculation result CA32 when the highlighted image was saved.
Page 273
OCR Type A230 Useful Functions 15.1 Loading and Saving Image Data 15.1.4 Reset Image Data Delete a saved image. This saved images that do not have a lock flag set on them. When you select RESET IMAGE DATA, the following message appears: Select Yes to delete all unlocked images.
Page 274
Useful Functions OCR Type A230 15.1 Loading and Saving Image Data 15.1.5 Conditions for deleting image data When the processes listed below are performed, all images are cleared, including locked images. − Power off − Change camera mode (camera setting) −...
Page 275
OCR Type A230 Useful Functions 15.2 Executing a Group Move 15.2 Executing a Group Move Group move is a function for moving a group of already specified checkers that have the same position and rotation adjuster number. Procedure: Select GROUP MOVE from the Checker menu.
Page 276
Useful Functions OCR Type A230 15.2 Executing a Group Move Press ENTER to complete the group move. Notes All results are cleared for checkers which have been group moved. Since the position the checkers are moved to becomes the execution position for the next inspection, the amount of adjustment may prevent a checker from being set within the screen.
Page 277
Chapter 16 Communications (Serial and Parallel) 16.1 Communications Function ..... . 16 − 5 16.2 Communication Settings ..... . . 16 −...
Page 278
Communications (Serial and Parallel) OCR Type A230 16.5 Product Type Switching ..... . . 16 − 29 16.5.1 Items related to serial/ parallel communications .
Page 279
OCR Type A230 Communications (Serial and Parallel) 16.9 Switching the Display Camera ....16 − 50 16.9.1 Serial/Parallel Settings ....
Page 280
Communications (Serial and Parallel) OCR Type A230 16 − 4...
Page 281
OCR Type A230 Communications (Serial and Parallel) 16.1 Communications Function 16.1 Communications Function The Character Verification checker is equipped with both serial and parallel ports. With these ports you can control the Character Verification checker using a PLC or computer.
Page 282
Communications (Serial and Parallel) OCR Type A230 16.1 Communications Function Parallel Serial Input Input Item Details Ref. Ref. I/O terminal Command output page page Specification of Smart IN1 to 2 Matching checker No. (Smart Matching Input 16 − 43 checker No. + IN8) Re−register...
Page 283
OCR Type A230 Communications (Serial and Parallel) 16.2 Communication Settings 16.2 Communication Settings Menu 7. Environment 4. Communication 41. Com. Mode 42. RS232C 43. Serial Output 44. Parallel Output 45. Type Switch Min. In order to control the unit using serial or parallel communication, you must first set the communication settings.
Page 284
Computer Link With this mode you match the communications protocol to that of a specific PLC (Panasonic Industrial Devices SUNX Co., Ltd. PLC−FP Series, Mitsubishi PLC−A Series and FX Series, or Omron PLC−C Series) for inspection data output and reading the Type No.
Page 285
OCR Type A230 Communications (Serial and Parallel) 16.2 Communication Settings 16.2.3 RS232C Set the RS232C parameters in order to use serial communication. RS232C 421. Baudrate (bps) 9600 422. Length 423. Stop Bit 424. Parity None 425. Flow Control None 421. Baud rate (bps) Select the transmission speed for communications (bps).
Page 286
Communications (Serial and Parallel) OCR Type A230 16.2 Communication Settings 423. Stop Bit Select the number of stop bits in each byte (either 1 or 2). 424. Parity Select the type of parity checking to use to check the data. The selection options are None, Odd, or Even.
Page 287
OCR Type A230 Communications (Serial and Parallel) 16.2 Communication Settings 16.2.4 Serial Output Settings (Normal Mode) Select the data, signals and format for performing serial communication using Normal Mode. 431. Output Set the number of digits in the output data (setting range: 1 to 11).
Page 288
Set whether or not to output the judgment results. 438. Char. Recog. Set whether or not to output the recognized string. 439. PLC Type Set the PLC type (Panasonic Industrial Devices SUNX Co., Ltd. PLC−FP series and models from some other manufacturers are available.) 16 − 12...
Page 289
OCR Type A230 Communications (Serial and Parallel) 16.2 Communication Settings Note sIf the number of digits in the output data exceeds the setting for the number of output digits, the Imagechecker will output the OVF (overflow) signal, and will output the required portion of data as zeros.
Page 290
Communications (Serial and Parallel) OCR Type A230 16.2 Communication Settings 4413.Numerical Calculation Select whether or not to output the results of numerical calculation in the case that When handshaking is being performed. If you want to output numerical calculation data, select 8−bit, 16−bit, or 32−bit as the output data length from the Numerical Calculation menu.
Page 291
OCR Type A230 Communications (Serial and Parallel) 16.2 Communication Settings 444. Disp. Img. Change This switches the camera image displayed on the monitor using parallel input. There are two switching methods. Easy mode: Changes between Camera A and Camera B when parallel input IN7 goes on.
Page 292
Communications (Serial and Parallel) OCR Type A230 16.3 Serial/Parallel Communication Command Tables 16.3 Serial/Parallel Communication Command Tables 16.3.1 Serial Command Table Data Transmission Function Notes (*1) External device Inspection start command Numerical calculation for specific substitution not to A230 executed.
Page 293
OCR Type A230 Communications (Serial and Parallel) 16.3 Serial/Parallel Communication Command Tables Data Transmission Function Notes External device Data not registered error Outputs if the type number, the register number or to A230 command the checker number in the command input is not registered yet.
Page 294
Communications (Serial and Parallel) OCR Type A230 16.3 Serial/Parallel Communication Command Tables 16.3.2 Parallel Signal Allocation Table Allocation Signal Output RDY Inspection preparation complete (READY) Error signal (ERROR) Image capture complete (REND) Data output complete signal when handshaking is executed...
Page 295
OCR Type A230 Communications (Serial and Parallel) 16.4 Inspection Execution and Result Output Procedures 16.4 Inspection Execution and Result Output Procedures This section explains how to initiate an inspection and output results using communications. 16.4.1 Items related to serial/parallel communications...
Page 296
41. Com. Mode Select Computer Link in the case that you will be using the Computer Link function to communicate with a PLC (for example, FP Series PLC manufactured by Panasonic Industrial Devices SUNX Co., Ltd.). Otherwise, select Normal Mode. 42. RS232C Set all items to the same settings as the equipment that you will be communicating with.
Page 297
OCR Type A230 Communications (Serial and Parallel) 16.4 Inspection Execution and Result Output Procedures Inspection result output example The output format of the results changes depending on the settings in item 43. (Serial Output). Inspection result example JD01 = ON...
Page 298
Communications (Serial and Parallel) OCR Type A230 16.4 Inspection Execution and Result Output Procedures 16.4.3 Inspection Using Parallel Communication Procedure: Perform the communications settings. Parallel Output 441.Handshake 442.Reset Cond. Latch 443.Setting Template 444.Disp. Img. Change Details Mode Decide on the following settings.
Page 299
OCR Type A230 Communications (Serial and Parallel) 16.4 Inspection Execution and Result Output Procedures − About Parallel Communications Parallel communications without handshaking Judgment results are output using JD01 to JD08. /START /READY /D1 to D8 /REND T1: START signal width (1ms min.) T2: Response time with respect to START signal (1ms max.)
Page 300
Communications (Serial and Parallel) OCR Type A230 16.4 Inspection Execution and Result Output Procedures Notes If an overflow occurs, the number represented by the specified 8−bit range and the OVF signal (overflow flag) are output simultaneously (e.g. if the register number result is “257”...
Page 301
OCR Type A230 Communications (Serial and Parallel) 16.4 Inspection Execution and Result Output Procedures (E): When you have confirmed that STROB on, switch ACK on. At this point, if ACK does not go from off to on within the timeout period (To), handle this as a timeout and abort communication.
Page 302
Communications (Serial and Parallel) OCR Type A230 16.4 Inspection Execution and Result Output Procedures Notes To output judgment results, set Environment − Parallel Output − Judgment to “Out” (even with this setting, zeros are output once). When outputting numerical calculation results, set Environment −...
Page 303
OCR Type A230 Communications (Serial and Parallel) 16.4 Inspection Execution and Result Output Procedures − Data Switching Timing Select from among one of the following three selections from item 442. (Reset Cond.): (1) Hold (latch) (2) Off after image capture...
Page 304
Communications (Serial and Parallel) OCR Type A230 16.4 Inspection Execution and Result Output Procedures Note The timing of the Error output going off when an error has occurred is synchronized with the REND output going on. Off before read With this setting, the data output is switched off before image capture.
Page 305
OCR Type A230 Communications (Serial and Parallel) 16.5 Product Type Switching 16.5 Product Type Switching The following explanation tells you how to switch product types using external equipment. 16.5.1 Items related to serial/parallel communications Parallel Serial Input Input Item Details Ref.
Page 306
Communications (Serial and Parallel) OCR Type A230 16.5 Product Type Switching 16.5.3 Product type switching using serial communication The commands %X01 to %X32 are used for product type switching. When type switching is performed normally, %Y?? is returned as the response (?? = type number to switch to).
Page 307
OCR Type A230 Communications (Serial and Parallel) 16.5 Product Type Switching 16.5.4 Product type switching using parallel communication How to specify the product type number Specify the value of the product type number as being the actual product type number minus 1, and store it as BIN data in IN1 to IN5.
Page 308
Communications (Serial and Parallel) OCR Type A230 16.5 Product Type Switching 16.5.5 Points of caution regarding product type switching − If the TYPE signal is input by specifying the current product type number, READY signal is turned off, but the action that is normally executed on product type switch is not be performed.
Page 309
OCR Type A230 Communications (Serial and Parallel) 16.6 Character Recognition − Change the Judgment String 16.6 Character Recognition − Change the Judgment String 16.6.1 Items Related to Serial Communication Parallel Serial Input Input Item Details Ref. Ref. I/O terminal Command...
Page 310
Communications (Serial and Parallel) OCR Type A230 16.7 Char. Verif. − Character (pattern) Re−registration 16.7 Char. Verif. − Character (pattern) Re−registration The following explanation describes how to re−register a character or pattern using input from external equipment. 16.7.1 Items related to serial/parallel communications...
Page 311
OCR Type A230 Communications (Serial and Parallel) 16.7 Char. Verif. − Character (pattern) Re−registration 16.7.3 Registration method Re−registration using serial communication %O?? Character Verification Checker No. (01 to 16) The commands %O01 to %O16 are used to re−register the Character Verification checker reference image.
Page 312
Communications (Serial and Parallel) OCR Type A230 16.7 Char. Verif. − Character (pattern) Re−registration − Re−registration timing chart Character verification /IN1 to /IN5 checker number Ready signal /READY Character (pattern) /IN6 re−registration input In the case of Thru display, image capture is Re−registration processing...
Page 313
OCR Type A230 Communications (Serial and Parallel) 16.7 Char. Verif. − Character (pattern) Re−registration Re−registration using serial input (A): Send the command (%O01 to %O16 ) with the READY signal in the on state. (C): The READY signal goes off, and the template image re−registration area is displayed.
Page 314
Communications (Serial and Parallel) OCR Type A230 16.7 Char. Verif. − Character (pattern) Re−registration 16.7.4 Character re−registration procedure and notes Re−registration using parallel input Procedure: Specify the number of the Character Verification checker to perform re−registration. Input the re−registration input signal (IN6) for the first time (the READY signal will go off).
Page 315
OCR Type A230 Communications (Serial and Parallel) 16.7 Char. Verif. − Character (pattern) Re−registration Re−registration using serial input Procedure: Send the command (%O01 to %O16 ) that specifies the Character Verification checker number to be re−registered. Input the re−registration input signal (IN6) for the first time (the READY signal will go off).
Page 316
Communications (Serial and Parallel) OCR Type A230 16.7 Char. Verif. − Character (pattern) Re−registration Notes Character Verification checkers other than those of the current type cannot be re−registered. Perform re−registration when the main screen READY signal is in the on state.
Page 317
OCR Type A230 Communications (Serial and Parallel) 16.8 Template (Smart matching) Re−registration 16.8 Template (Smart matching) Re−registration 16.8.1 Serial and Parallel Re−registration Parallel Serial Input Input Item Details Ref. Ref. I/O terminal Command output page page IN1 to IN2 Smart matching (Smart Matching No.
Page 319
OCR Type A230 Communications (Serial and Parallel) 16.8 Template (Smart matching) Re−registration 16.8.3 Re−registration Method Specifying the Smart Matching No. Subtract “1” from the actual Smart Matching checker number, convert to BIN data, and specify on IN1 to IN2. Smart Matching number BIN data lookup table Smart Matching No.
Page 320
Communications (Serial and Parallel) OCR Type A230 16.8 Template (Smart matching) Re−registration − Timing Chart Setting, Execution, Position Adjustment, and Re−registration Area Display = NO Template No. /IN1 to /IN2 /READY Ready signal Template /IN8 re−registration input Setting: Re−registration executed.
Page 321
OCR Type A230 Communications (Serial and Parallel) 16.8 Template (Smart matching) Re−registration Re−registration using serial input Template No. /IN1 to /IN2 Ready signal /READY Template /IN8 re−registration input In the case of Thru display, image capture is Re−registration processing performed first. After this, the checker is executed performed.
Page 322
Communications (Serial and Parallel) OCR Type A230 16.8 Template (Smart matching) Re−registration Setting Position: Re−registration Area Display: No or Yes Execution Position, Adjustment Position: Re−registration Area Display: No Area display when set to “Yes” (first IN8 input) Error example Template No.
Page 323
OCR Type A230 Communications (Serial and Parallel) 16.8 Template (Smart matching) Re−registration Execution Position, Adjustment Position − Re−registration Area Display: Re−registration execution when set to “Yes” (second IN8 input) Error example Template No. /IN1 to /IN2 Ready signal /READY Template /IN8 re−registration...
Page 324
Communications (Serial and Parallel) OCR Type A230 16.8 Template (Smart matching) Re−registration 16.8.4 Notes Regarding Execution Order for Re− registration Setting position (Re−registration Area Display: No) Procedure: Specify the template number for performing re−registration, and input template re−registration input signal IN8.
Page 325
OCR Type A230 Communications (Serial and Parallel) 16.8 Template (Smart matching) Re−registration Adjustment position (Re−registration Area Display: No) Procedure: Specify the template number for performing re−registration, and input template re−registration input signal IN8. READY signal goes off, and the position adjustment checker registered for the position adjustment group No.
Page 326
Communications (Serial and Parallel) OCR Type A230 16.9 Switching the Display Camera 16.9 Switching the Display Camera This function uses external input (serial or parallel) to switch the camera image displayed on the monitor. Switching execution time: Approximately 270ms max.
Page 327
OCR Type A230 Communications (Serial and Parallel) 16.9 Switching the Display Camera 16.9.2 Communication Settings Select [Communication] → [44. Parallel Output]. Parallel Output 441.Handshake Disp. Img. Change Easy Mode 442.Reset Cond. Latch Details Mode 443.Setting Template 444.Disp. Img. Change Details Mode Select the camera switching method.
Page 328
Communications (Serial and Parallel) OCR Type A230 16.9 Switching the Display Camera 16.9.4 Using Parallel Input to Switch the Display Camera Parallel port in Easy Mode Data input port IN7 = Timing for switching the display camera READY = Ready signal...
Page 329
OCR Type A230 Communications (Serial and Parallel) 16.9 Switching the Display Camera Camera number and parallel port for Detailed Mode Display Camera/Image A camera/Thru image B camera/Thru image A camera/Mem image B camera/Mem image IN7 = Display switch timing Data input port IN1 to IN2 = Camera image designation No.
Page 330
Communications (Serial and Parallel) OCR Type A230 16.10 Referencing and Changing the Maximum and Minimum Limits for Numerical Calculations 16.10 Referencing and Changing the Maximum and Minimum Limits for Numerical Calculations Using serial communication to reference and Change the maximum and minimum limits for numerical calculations.
Page 331
OCR Type A230 Communications (Serial and Parallel) 16.10 Referencing and Changing the Maximum and Minimum Limits for Numerical Calculations 16.10.2 Referencing Maximum/Minimum Limits %F?? Register No. (2 digits) %F01 to %F32 are used to reference the maximum and minimum values for a numerical calculation.
Page 332
Communications (Serial and Parallel) OCR Type A230 16.11 Computer Link 16.11 Computer Link 16.11.1 Outline This is a communications mode that has protocols that allow the Image Checker to communicate with certain programmable logic controllers (hereafter PLC). − Because the Image Checker can write inspection results (numerical calculation and judgment results), there is no need for the PLC to perform polling or flag monitoring, and this reduces the load on the PLC communications program.
Page 333
Select 7. Environment − 4. Communication − 43. Serial Output and set 439. PLC Type. 439. PLC Type Panasonic FP: Panasonic Industrial Devices SUNX Co., Ltd. FP Series PLC MELSEC A: Mitsubishi MELSEC−A Series PLC, Q Series PLC MELSEC FX: Mitsubishi MELSEC−FX Series PLC...
Page 334
OCR Type A230 16.11 Computer Link The examples in this manual refer to the Panasonic Industrial Devices SUNX Co., Ltd. FP Series PLCs. If you are using one of the other PLCs, refer to this manual and note the following points.
Page 335
OCR Type A230 Communications (Serial and Parallel) 16.11 Computer Link 2 Product type switching Imagechecker READY ON Ready ON Outputs the Type signal (parallel) TYPE after confirming Ready OFF that Ready is on. Product type No. to switch to Request the product Reads the product type No.
Page 336
Communications (Serial and Parallel) OCR Type A230 16.11 Computer Link 16.11.4 Communication Settings Imagechecker communication settings [4] Environment 41. Com. mode: Computer Link 42. RS232C 421. Baud rate (bps): set to the same as the PLC “Communication speed setting” The units for the communication transmission speed are in bits per second.
Page 337
OCR Type A230 Communications (Serial and Parallel) 16.11 Computer Link 435. Output Char. Set the number of maximum characters per character recognition checker. 436. Numerical Calculation Set whether or not to output the numerical calculation result. 437. Judgment Set whether or not to output the judgment result.
Page 338
Communications (Serial and Parallel) OCR Type A230 16.11 Computer Link − Communication settings <ImageChecker communication settings> [4] Environment 41. Communication mode Computer link 42. RS232C 421. Baudrate (bps) 9600 422. Length 423. Stop Bit 424. Parity 43. Serial Output 432. Top Data Register 434.
Page 339
OCR Type A230 Communications (Serial and Parallel) 16.11 Computer Link PLC data monitor Register Value Description Data (Hex.) Bit 15 Bit 0 00E1 Judgment JD04−JD01 04D2 The value 1234 is stored. CA01 The value −12 is stored. CA02 FFF4 Numeric...
Page 340
Communications (Serial and Parallel) OCR Type A230 16.11 Computer Link Write to PLC command The basic format for the command to write to the PLC is as follows. %EE#WDD000010000212345678 Command: Fixed unit No. Ignore BCC specification Data Write command Data code...
Page 343
OCR Type A230 Vision Backup Tool Ver. 2 17.1 Vision Backup Tool Ver. 2 17.1 Vision Backup Tool Ver. 2 The Vision Backup Tool Ver. 2 (VBT Ver. 2) connects to a computer with a serial cable, and makes it possible to download and upload, as well as copy or delete product types, environments, and image data stored in the Imagechecker from a computer.
Page 344
Vision Backup Tool Ver. 2 OCR Type A230 17.1 Vision Backup Tool Ver. 2 Warnings You can restore desired product types and images using VBT Ver. 2, but if the image data is saved and there is a camera−related discrepancy between the original product type information and the restored product type information, VBT Ver.
Page 347
18.1 Error Processing 18.1 Error Processing If a problem occurs when using the A230 OCR Type for inspection, an error signal is output. In this happens, check the error result and perform appropriate processing on the external equipment. 18 − 3...
Page 348
Error Output OCR Type A230 18.2 Error Signal Output Conditions (Parallel) 18.2 Error Signal Output Conditions (Parallel) Product type switching − When, by parallel input, attempting to switch to a product type that has not been set. Data output when handshaking is not performed during execution −...
Page 349
OCR Type A230 Error Output 18.2 Error Signal Output Conditions (Parallel) Image capturing − When a problem occurs in the process of capturing an image. Example: When the camera settings and the connected camera do not match. − When the image is not captured successfully.
Page 350
Error Output OCR Type A230 18.2 Error Signal Output Conditions (Parallel) Numerical calculation register − When a referenced checker does not exist. − When a formula is not registered in the referenced numerical calculation register. − When a 32−bit overflow occurs during calculation.
Page 351
OCR Type A230 Error Output 18.2 Error Signal Output Conditions (Parallel) Timing chart for errors No parallel output handshake, no error occurs No parallel output handshake, error occurs D1 to D8 D1 to D8 ERROR ERROR Parallel output handshake, no error...
Page 352
Error Output OCR Type A230 18.2 Error Signal Output Conditions (Parallel) 18 − 8...
Page 353
Chapter 19 The Setting Help Tools 19.1 Use Setting Help Tools to Adjust Settings Before Inspecting ........19 −...
Page 354
The Setting Help Tools OCR Type A230 19 − 2...
Page 355
OCR Type A230 The Setting Help Tools 19.1 Use Setting Help Tools to Adjust Settings Before Inspecting 19.1 Use Setting Help Tools to Adjust Settings Before Inspecting It is important to adjust camera and lighting settings properly before performing inspections. The Setting Help Tools help with adjusting the settings, making it easier to set the focus, lighting, and similar parameters.
Page 356
The Setting Help Tools OCR Type A230 19.1 Use Setting Help Tools to Adjust Settings Before Inspecting 1. Lighting Adjustment Checks whether the lighting is uniform. If the lighting is not uniform when there is no workpiece in position, as shown in the figure on the left, a large difference in gray scale is produced, making inspection less reliable.
Page 357
OCR Type A230 The Setting Help Tools 19.1 Use Setting Help Tools to Adjust Settings Before Inspecting 2. Focus Helps you adjust the focus correctly by watching a bar graph on the screen while turning the focus ring on the camera lens.
Page 358
The Setting Help Tools OCR Type A230 19.1 Use Setting Help Tools to Adjust Settings Before Inspecting 3. Aperture Helps you adjust the aperture correctly by watching a bar graph on the screen while turning the iris ring on the camera lens.
Page 359
Press B to switch the line to a vertical line. 5. In Out Monitor Checks the parallel interface by monitoring input states and forcing output states. Useful for checking input and output data flow when the A230 is connected to an external device. Input: ON...
Page 360
The Setting Help Tools OCR Type A230 19.1 Use Setting Help Tools to Adjust Settings Before Inspecting 19 − 8...
Page 367
OCR Type A230 21.1 Menu Layout 21.1 Menu Layout TYPE Copy Type ∀ P5 − 18 ∀ ∀ P5 − 19 P5 − 13 Delete Type ∀ Input Type Title P5 − 15 ∀ P5 − 16 Capture Camera ∀...
Page 368
OCR Type A230 21.1 Menu Layout CHAR. VERIF. 1. Character Select Camera ∀ P8 − 3 Checker Setting 21. Area ∀ P8 − 8 22. Segmentation Color 23. Segment Aera. Min. 24. Background Process 25. Noise Reduction 26. Smart Setting 27.
Page 369
OCR Type A230 21.1 Menu Layout GRAY EDGE Select Camera DETECTION Checker Setting 21. Shape ∀ P11 − 3 ∀ P11 − 4 Direction 23. Scan Method Area Edge Condition Edge Thres. Value 27. Condition 271. Scan Pitch 272. Filter Width 273.
Page 370
OCR Type A230 21.1 Menu Layout Select Camera 6 Dictionary Area Segmentation Color Segment. Condition Segmentation Area Min. Filter Dictionary Registration Segment. Method Dictionary Check Slice Level Learn Copy Dictionary Delete Dictionary Camera Mode Camera ENVIRON- ∀ P5 − 5...
Page 371
OCR Type A230 Index Index Creating a calculation programme ....12 − 11 About judgment output ..
Page 372
Index OCR Type A230 Multiple position/rotation adjustment checker settings ....6 − 36 Handshaking ..15 − 23, 15 − 24 Hide menu functions .
Page 373
Index OCR Type A230 Restrictions applying to Specific substitution function ..12 − 8 judgments ....12 − 25 Spreadsheets .
Page 375
OCR Type A230 Manual Revision History Manual No. Date Description of Changes ARCT1F460E June 2009 First Edition ARCT1F460E−1 July 2013 Second Edition ・Company name change I − 5...