background image

 

 

130 

Settin

g

 Checkers

Cha

p

ter 6

Matching: 

To find the location of the base image 
(template) within the specified area 
(search area) 

Register two templates and search 
areas to detect the angle created the 
line connected to a detected point 
(output points on x/y coordinates). 
Difference between the registered base 
angle and the detected angle is called a 
correction angle. 

 

Contours 
(Matching) 

To find the base image (template) within 
the specified area (search area) by 
rotating the template up to +/-180° and 
detect the position (output points on x/y 
coordinates) and the angles of the base 
image. 

 

6.16.2 How Checkers Refer to Adjustment Amount 

Since multiple checkers for Position Adjustments can be set, the amount of Position Adjustment to which 
each checker refers differs depending on the number assigned to a Position Adjustment. If you choose 
“01”, AX40 refers to the amount of Position Adjustment of Checker No.1. 

 

Note: 

When a checker tries to refer to the amount of Position Adjustment, only Position Adjustment of the lower 
number than the checker can be quoted. This is because the checker is scanned from the Position 
Adjustment of the lower numbers and Position Adjustment of the lager numbers than the checker has 
only amount of Adjustment previously measured. 

 

 

 

The AX40 features a function that multiple checkers referring to the same Position Adjustment 
can be moved at a time. Refer to page 183 for further information. 

Summary of Contents for Micro-Imagechecker AX40

Page 1: ...AX40 2009 3 panasonic denko co jp ac e ARCT1F462E MACHINE VISION SYSTEM Read this with User s Manual Color Extraction User s Manual Hardware Operations Panasonic Electric Works MICRO IMAGECHECKER ...

Page 2: ... the safety instruction is not observed WARNING Use the product within its specified ratings and environmental conditions Failure to do so might result in abnormal heat and smoke coming from the product Do not use the product in the environment where combustible gas presents This might cause explosion Do not throw the product into fire This might cause the batteries and electronic parts in the pro...

Page 3: ...ort Used for RS232C Communication 27 3 2 2 Connections to the External Device 28 3 3 About Ethernet Port 32 3 3 1 Pin Assignments of TOOL Ports 32 3 3 2 Vision AXTOOL 33 4 Basic Operation 35 4 1 About Screen Monitor 36 4 2 RUN and SETUP Modes 37 4 2 1 About SETUP and RUN Modes 37 4 2 2 Switching between RUN Mode and SETUP Mode 37 4 3 How to Preprocess and Display Images 38 4 4 Basic Operation Usin...

Page 4: ... Results 141 7 1 Overview 142 7 1 1 Calculation and Analysis 142 7 1 2 Outputting Data to External Device 142 7 2 Numeric Calculation CA01 CA99 143 7 2 1 Main Functions 143 7 2 2 Quotable Data and Calculation Functions144 7 2 3 Creating an Arithmetic Expression 147 7 2 4 Specifying the Judge Max Min values Judging the Calculation Results 149 7 2 5 Copying an arithmetic expression 150 7 2 6 Deletin...

Page 5: ...m the External Device 208 10 1 2 The Data Output from the AX40 208 10 2 Input Output Timing 209 10 2 1 Starting Inspection One Time 209 10 2 2 Inspection Start Repeat 210 10 2 3 Switching the Product Types 211 10 2 4 Switching the Display Images 213 10 2 5 Re registering the Template 214 11 RS232C Communication 217 11 1 Overview 218 11 2 Serial Per Start Serial Async 219 11 2 1 Slecting Outputting...

Page 6: ... 14 1 3 Setting Date and Time Using the Calendar Feature 267 14 1 4 Setting IP Address 268 14 1 5 Version Information 268 14 2 Setting Help 269 14 2 1 Making Focal and Aperture Adjustments 269 14 2 2 Checking the Connection by Using I O Monitor 270 15 Troubleshooting 271 15 1 ERROR Error Signal Is Output 272 15 2 A Code Is Displayed in SETUP Mode 274 16 Specifications and Product Numbers 275 16 1 ...

Page 7: ...ted static by touching a grounded part of the equipment first Cleaning Do not use thinners or similar solvents as they may dissolve parts of the unit and cause colors to run Power Use the insulation power with the protection circuit built in AX40 power unit is with the non insulated circuit so that applying an abnormal voltage might damage the internal circuit When using the power without the prot...

Page 8: ...uction described in the Manuals will not be covered by our guarantee Do not change or set items that should not be as described in the manuals or the specifications Breakdown damage or destruction resulting from changing or setting them will not be covered by our guarantee Do not connect the keypad and the PC used for restoring or backing up after completed various settings for the AX40 in order t...

Page 9: ...1 Names and Functions of Parts Chapter 1 Chapter 1 Names and Functions of Parts ...

Page 10: ...t signal can be input 5 CF card slot Supports for a FAT16 formatted and up to 512 MB of compact flash memory 6 TOOL port Ethernet Port Connects to the external device via Ethernet port Use a cross cable for the connection 7 KEYPAD connector Connects to the operation keypad 8 COM1 port RS232C port Connects to an external device via the port 9 Camera connectors Connect up to two cameras CAMERA 1 and...

Page 11: ... an adapter ring for getting the proper field of view Refer to page 15 for selecting view range and lens 4 Lens mount Refers to a C mount 5 Mounting plate A plate to mount a camera The plate insulates with the mounting surface Connect only the specified camera ANMX8310 to the AX40 Do not touch the camera s CCD elements or lens surface Also cap the camera when storing it to prevent dust from accumu...

Page 12: ...mera Cable No Part name Description 1 Connector round female Connects to the camera 2 Connector D sub male Connects to the AX40 Use only the specified camera cable ANMX8330 Do not bend the camera cable forcibly or apply load to the connector joints ...

Page 13: ...archy Cursor Operation Moves the cursor in the up to 8 directions Use this lever to select the menu and move the start and end points 2 ENTER key Confirmation Operation Executes or Determines the selected option 3 Connector Connects the keypad to the AX40 Cursor Operation and Determination Operation with the Cursor Lever Cursor operation Determination ENTER operation If you try to move the cursor ...

Page 14: ...ts are available BRIGHT Brightness Adjusts the brightness Brightness about 20 to 100 V POS Vertical Position Adjusts the screen vertical position per 16 lines H POS Horizontal Position Adjusts the screen horizontal position per 16 pixels PHASE Phase Adjusts the screen flickering CONT Contrast Adjusts the contrast 4 Keypad connector Connects the keypad ANM852 However the Keypad connector is availab...

Page 15: ...7 Installation and Wiring Chapter 2 Chapter 2 Installation and Wiring ...

Page 16: ...ting the peripherals to the AX40 Failure to do so may damage to the device Arrange the wiring not to apply load on the cable connector joints otherwise the disconnection may be occurred When unplugging the cable from the connector be sure to hold it by its plug and avoid exerting unnecessary force on the cable Also do not touch the terminals inside the connectors Take care not to allow water and d...

Page 17: ...s well as strongly alkaline materials such as ammonia and caustic soda Locations subject to direct vibration or impact Locations subject to direct sunlight Locations where the device can become wet with water oil or chemicals Locations where the device is applied with excessive load Noise Countermeasure Keep the AX40 away from the devices that generate large switching surges such as high voltage w...

Page 18: ... facilitate the unit exchange and cable wiring When installing a device such as a control board in front of the AX40 keep 100mm or more space between them in order to prevent an impact from noise radiation or heating Always keep 100mm or more space from the AX40 to facilitate a keypad connection or a wiring ...

Page 19: ...ed on or removed from a 35 mm wide DIN rail DIN EN50022 with a single easy operation To mount the AX40 on the DIN rail 1 Hook the AX40 onto the DIN rail 2 Press the lower part of the device to fix it into position To remove the AX40 from the DIN rail 1 Insert the slot head driver into the mounting lever 2 Press the mounting lever downward 3 Lift and detach the AX40 Mounting the AX40 to the VGA Mon...

Page 20: ...ions with a lot of fine particles iron filings or salt Locations with an atmosphere likely to contain organic solvents such as benzene paint thinner and alcohol as well as strongly alkaline materials such as ammonia and caustic soda Locations subject to direct vibration or impact Locations subject to direct sunlight Locations where the device can become wet with water oil or chemicals Locations wh...

Page 21: ...the VGA monitor using M3 screws and fix the VGA monitor on the mounting plate using M4 screws Mounting Plate Cutting Dimensions When fixing the monitor or parts on the mounting plate or wiring the cables it is recommended to keep 30 to 50 mm spaces around the ANMX830 to prevent the cables from being damaged and to increase work efficiency Never block the ventilation slits ANMX8301 ANMX8300 ...

Page 22: ...suggested that solderless terminals are used to perform wiring If you do not use a solderless terminal use the wires of which diameter is 0 5 mm 2 to 1 25 mm 2 Use up to 0 8 N m of a tightening torque for fixing the terminal block Failure to do so might damage to the product Manufacturer Shape Model No Applicable wire Tightening torque R type 1 25 MS3 A type 1 25 B3A 0 25 to 1 65 mm2 R type 2 MS3 ...

Page 23: ...59 6 3 6 2 4 4 3 101 44 8 3 8 3 5 5 3 115 35 5 31 17 5 10 4 10 4 7 5 8 0 150 23 5 49 11 5 15 6 15 6 10 10 7 186 17 5 66 8 5 31 5 5 20 8 20 8 12 5 13 3 221 14 84 7 42 4 5 26 0 26 0 15 16 0 256 11 5 101 5 5 53 2 3 31 3 31 3 20 21 3 326 8 5 137 2 3 76 2 4 30 1 5 41 7 41 7 30 32 0 467 5 5 207 2 4 121 1 5 54 1 32 0 5 62 5 62 5 40 42 6 608 2 3 277 2 166 1 78 0 5 49 0 5 83 3 83 3 50 53 3 749 2 4 348 1 5 ...

Page 24: ...D resulting in damaging the internal circuit ground Also even in the case where the negative terminal of the power supply is connected to ground when you mount the camera on a device with a different electric potential the parts inside the camera may be damaged Be sure to mount it in an electrically insulated way When you mount the camera using screws without a designated mounting plate bear in mi...

Page 25: ...17 Input and Output Interface Ports Chapter 3 Chapter 3 Input and Output Interface Ports ...

Page 26: ...r AX40 Use fittings and cables show in the tables below Manufacturer Model No Product No Input MC1 5 18 ST 3 5 1840528 Terminal block socket Phoenix Contact Output MC1 5 16 ST 3 5 1840502 Manufacturer Model No Conductor surface area cross section Tightening torque Tightening fittings Phoenix Contact SZ 0 4 x 2 5 0 4 x 2 5 mm2 Less than 0 25 N m Size Conductor surface area cross section Wire Twiste...

Page 27: ...ldered wire because vibrations caused by the device may damage to the wire 3 1 2 Pin Assignments 24V DC electric power is supplied through the terminals on the input terminal block Twist the electric wires for noise reduction Rated Voltage 24V DC Tolerance Voltage Range 21 6 to 26 4V DC Rated Consumption Current 1 camera Less than 0 7A 2 cameras Less than 0 9A ...

Page 28: ...upply with enough capacity approx three times Check the operation of the device when turning the power on Increase Resistance to Noise Separate the systems for wiring to the AX40 input devices and output devices When there is a particular concern about noise coming from input output circuits it is recommended to separately supply the power to the AX40 and to the input output devices Consider the E...

Page 29: ...ive terminal of the power supply to ground see the figure shown below Should the positive terminal of the power supply be connected to ground do not connect the FG terminal of an external device such as PLC etc because the SG terminal of the AX40 may be connected to ground via the FG terminal see the figure shown below The SG terminal of the AX40 is internally connected to the GND terminal 0V For ...

Page 30: ...sync signal COM COMMON For General Output RDY READY Ready signal ERR ERROR Error signal REN READ END Signal for end of image capture STR STROB Not available OVF OVER FLOW FLAG Overflow flag D1 Data D2 Data2 D3 Data3 D4 Data4 D5 Data5 D6 Data6 D7 Data7 D8 Data8 Data output signals Judgement results of D1 to D8 specified for output Output Circuit Rated operating voltage 12 24 V DC Connection Example...

Page 31: ... bulb When such a requirement exists pass it through our Power Photo relay The output load should be within the specified range See the figure shown below maximum 24 mA per 1 signal The output circuit contains no internal fuse When it is necessary to prevent output circuit burnout in the event of an output load short circuit attach an external fuse However there are cases when internal elements ca...

Page 32: ...1 Image switch signal FCT2 FUNCTION2 Template re registration signal IN1 IN1 IN2 IN2 IN3 IN3 IN4 IN4 IN5 IN5 IN6 IN6 IN7 IN7 IN8 IN8 Data input IN1 to IN8 Specify a product type at the time of product type switch Select an image type at the time of a display image switch Specify a checker number at the time of re registering of a template 24V DC 0V Power supply for the AX40 24V DC FUNCTIONAL EARTH...

Page 33: ...use abnormal operation If input power supply to the device is not turned off when using 2 line photoelectric sensor or proximity sensor is used connect bleeder resistance When there exists an LED lead switch such as an LED switch at input contact take care that the voltage more than ON voltage is not applied to the input terminal of the AX40 When current is leaking from the input side input may no...

Page 34: ...listed below does not exceed Flash output sync Signal lag of AX40 This signal lag changes depending on the attached strobe Strobe response time The time differs depending on the used strobe Strobe flash time The time differs depending on the used strobe The camera shutter speed to 1 30 to 1 1000 when using the strobe Do not use the same strobe for the camera connected to another AX40 When a strobe...

Page 35: ...ignment A Hoshiden connector part No TCS6180 is used for the COM RS232C port on the AX40 As for RS232C control AX series can take flow control according to the setting Refer to page 220 for details of communication settings For high speed baud rate normal communication may not achieved depending on the equipment for communication Check the communication status under actual communication environmen...

Page 36: ... with an IBM PC AT ANM81103 Connection with PLC Make the connection with the RS232C cable ANM81303 following the wiring example shown below Since the PLC side of the RS232C cable is not terminated terminate it according to your PLC In case short circuiting is necessary be sure to check the wiring example ANM81303 ...

Page 37: ...put Interface Ports Chapter 3 Connections with PLC by Panasonic Electric Works Co Ltd AX40 FP series Multi communication unit Computer communication unit AX40 FPΣ Communication cassette RS 232C 1 channel type AX40 FP0 ...

Page 38: ...shi PLC AX40 A series Q series 9 pin AX40 A series Q series 25 pin AX40 FX series When you communicate with Mitsubishi Q or A series PLC in Computer Link mode of AX40 use the unit supporting the special protocol for Mitsubishi A series computer link unit Format 4 for PLC ...

Page 39: ...31 Input and Output Interface Ports Chapter 3 Connections with OMRON PLC AX40 9 pin AX40 25 pin Connections with Allen Bradley SLC500 AX40 Allen Bradley SLC500 ...

Page 40: ...ing up and restoring the image data and setting data with Vision AXTOOL Ethernet Port 100BASE Tx 10BASE T Ethernet is a registered trademark of Xerox Corporation in the United States Assigning IP address Choose INFO IP address to assign the IP address 3 3 1 Pin Assignments of TOOL Ports Connecting with PC RJ 45 connector is used for the Ethernet port of the AX40 Use Modular RJ 45 crossing cable ca...

Page 41: ...stored to AX40 When multiple AX40s are used for the same inspection purpose you can use the data for copying Since the setting contents are written in the CSV format you can read the data on Microsoft Excel This will be helpful if you create a document or operation manual For further information refer to the documentation that came with AXTOOL or on line help How to Obtain the AXTOOL To use AXTOOL...

Page 42: ......

Page 43: ...asic Operation Chapter 4 Chapter 4 Basic Operation This section describes the basic setting operation for AX40 Refer to Chapter 5 or later for inspection setting procedures and for details of each function ...

Page 44: ...at is set to Total Judgement returns true 5 Output status of signals If the signals listed below are output signals the squares located under each signal are displayed in green only in RUN mode R Ready signal E Error signal 1 8 D1 D8 signals 6 Execution time Unit ms B Menu Bar Menu bar displays the menu to set the inspection conditions and environment In RUN mode Images checker areas inspection re...

Page 45: ...All the signals including the inspection start signal START signal but excluding key emulation from the external device cannot be accepted Press the A key on the keypad to perform a test but the results will not be output to the external device 1 The product types that are displayed when you turn the AX40 on are the ones that have been selected before the device is turned off 4 2 2 Switching betwe...

Page 46: ...he number of cameras used Select ENVIRONMENT Initial Settings Camera from the TOOL bar Preprocessing for storing the images captured with the camera s The AX40 preprocesses when the images captured with the camera are stored in Memory 1 and or Memory 2 The AX40 provides Extraction process for inspecting with color information Gray process for inspecting with 0 255 gray scale and Differential proce...

Page 47: ...he ENTER key The option that was selected at the step 1 is selected In this manual selecting a menu option in the above way is described as select choose highlight an option 4 4 2 Setting Inputting Values When you set input values follow the instructions below 1 Tilt the ENTER key on the keypad upward downward to modify the value If the ENTER key is tilted left right the digit of the value that yo...

Page 48: ...lecting Change 1 Move the whole rectangle Move the circle by tilting the ENTER key in the desired direction and press the ENTER key to fix the position 2 Fix the start point the white square mark on the rectangle Move and position the start point by tilting the ENTER key in the desired direction Press the C key to go back to the previous step 3 Set the end position the black square mark on the rec...

Page 49: ... key to fix the position 2 Fix the start point the white square mark on the circumscribed rectangle Move the circumscribed rectangle by tilting the ENTER key in the desired direction and press the ENTER key to fix the position Press the C key without pressing the ENTER key to go back to the previous step 3 Set the end position the black square mark on the circumscribed rectangle of the circle Move...

Page 50: ...revious step 3 Set the end position the black square mark on the circumscribed rectangle of the circle Move the end point by tilting the ENTER key in the desired direction and press the ENTER key to fix the position Drawing a Polygon 1 Move the whole line Move the line by tilting the ENTER key in the desired direction and press the ENTER key to fix the position 2 Fix the start point the white squa...

Page 51: ...ak and the next peak 3 Choose the added peak the white square mark on the polygon Move the end point by tilting the ENTER key in the desired direction and press the ENTER key to fix the position Now the next peak can be set The repetitious execution of steps starting from 1 to 3 creates a polygon with maximum 16 peaks Deleting a Peak of Polygon 1 Select the peak you want to delete 2 Press the B ke...

Page 52: ... 2 Live image Real time image Changes in real time Memory image Still image image for inspection Display Image 3 Color Full color image Gray Gray image with 0 255 gray scale or differential image Group A Group H Color extraction image or Binary image Group A H Color extraction image Display Color For display color the display color of an image varies depending on the preprocessing setting of a mem...

Page 53: ...age Switch Option Image to be displayed Live C1 Live image of Memory 1 real time image Live C2 Live image of Memory 2 real time image Memory C1 Memory image of Memory 1 still image for inspection Memory C2 Memory image of Memory 2 still image for inspection 3 Select the image to display The images are switched 2 screen display is not available for the SETUP mode When the CAMERA function is set to ...

Page 54: ...oup A H Preprocess Gray or Differential Binary image of the binary level specified by each group is displayed Group A H All the areas of the colors that are specified as an extraction color are displayed in full color but the other areas are displayed in gray The display colors in which an image can be displayed vary depending on the settings of Memory and Display Image Switch 3 Select a display c...

Page 55: ...47 Chapter 5 Procedure for Setting Inspection Conditions Chapter 5 Procedure for Setting Inspection Conditions ...

Page 56: ...elect a product type number Select a product type number to register the combination of inspection conditions Section 5 5 5 Capture an image Import the image of an inspection object into a memory Section 5 6 6 Set a checker Set an inspection area and inspection condition Section 6 7 Output the results to the external equipment Make the settings for outputting the inspection judgement result OK or ...

Page 57: ...ge captured with the camera that is connected to the Camera 1 port is stored in Memory 1 or Memory 2 Camera 1 2 This function is available if you use two cameras An image captured with the camera that is connected to the Camera 1 port is stored in Memory 1 An image captured with the camera that is connected to the Camera 2 is stored in Memory 2 If you use one camera be sure to connect it to the Ca...

Page 58: ...mera image into Memory 1 or Memory 2 You can set the different processing method between Memory 1 and Memory 2 1 Highlight ENVIRONMENT in the menu bar The ENVIRONMENT menu is displayed 2 Select Initial Settings The Initial Setting menu is displayed 3 Highlight Memory 1 Choose Color Gray Differential image 4 Highlight Memory 2 Choose Color Gray Differential inspection Image ...

Page 59: ...a 256 0 255 grayscale image The brightness of 256 gray scale is called a gray value The higher gray values the brighter pixels the lower gray values the darker pixels If you want to perform an inspection without using any color information a gray image can be used Differential Process The function of calculating the variation of brightness by using the object pixels and the gray scale of the pixel...

Page 60: ...y values or differential values are displayed in white and the rest parts are displayed in black The range of gray scale is called a binary level and eight binary levels A to H can be registered per product type and memory As the color information is only white and black each checker can process the image faster If the brightness of the image or the object changes during inspection however the col...

Page 61: ...e Image Display area Set the area in the following order Move Start Point End Point 6 Slowly open close the aperture of the lens until OK appears in the status display area When OK is displayed in the area take your hands off the aperture 7 Press the ENTER key while OK is displayed Now adjustment of white balance is completed 8 Select SAVE Save from the menu bar to save the modified settings Be su...

Page 62: ... Initial Settings Camera Memory assignment etc Display items during inspection execution A way of saving an image Conversion Data up to 4 product types A way of outputting inspection results output destination type of output data INFO Calendar IP address and White balance 5 5 1 Selecting a Product Type 1 Select TYPE in the tool bar A list of product types is displayed The product type number with ...

Page 63: ... with the product type 1 Highlight the product type number which you want to copy 2 Press the B key The submenu associated with a product type is displayed 3 Select Copy Return to a list of product types 4 Highlight the destination product type No 5 Select Paste from the submenu by pressing the B key After finishing copying the title of the source product type is displayed in the title area of the...

Page 64: ... 3 Choose YES to continue and press the ENTER key If the product type is deleted so the product type title is not displayed Choose NO to return to the list of product types 5 5 4 Deleting All Product Types This is a function to delete all product types at a time 1 Select TYPE from the menu bar The list of product types is displayed 2 Press the B key and select Initialize All Types from the display...

Page 65: ...ose Enter Title from the menu that is displayed by pressing the B key A soft keyboard is displayed 3 Enter the title by choosing an alphabet on the soft keyboard one by one 4 Select the ENTER key on the soft keyboard When the title is surely given a list of product types is displayed and the title is added in the left upper area of the monitor Use the soft keyboard when entering a title BS Deletes...

Page 66: ...ow 1 Highlight the number of the product type that you want to set a shutter speed 2 Select Shutter Speed by pressing the B key The submenu associated the product type is displayed 3 Select a shutter speed The shutter speed you have set appear in the display area for product type Image capture time varies depending on the shutter speed because shutter speed is 33 4 ms Example If Sutter Speed is se...

Page 67: ...ile only the TOOL bar is displayed 2 Select Live C1 When the current image captured with Camera 1 is displayed check the followings The desired object is focused Position the object in the center and horizontal positions of the window as much as possible Be sure to use the light that you are supposed to use for the actual inspection If two cameras are used for capturing the images you should execu...

Page 68: ...displayed in the status area the setting data have been changed Update In this case save the setting data before turning off the device Where to Save the Setting Data The destination locations of the setting data are as follows To AX40 To a CF card a FAT16 formatted FAT CF card with up to 512 MB capacity can be used Storing the setting data in the AX40 1 Select SAVE from the menu bar 2 Make sure t...

Page 69: ...ey Inspection is started and the total judgement results or output status of the signal from terminal board are displayed in the status display area which is located at the left side of the monitor screen At this time even if START signal is input or serial commands for inspection are sent by using the external device the total judgement results or the output status of the signal is displayed the ...

Page 70: ......

Page 71: ...ecify the number of cameras used 2 Set memory 3 Adjust white balance 4 Select a product type number 5 Capture an image 6 Setting Checkers 7 Output the results to the external equipment 8 Display the inspection results 9 Save data 10 Perform inspection in RUN mode ...

Page 72: ...Outputs the feature amount of each gravity coordinate or angle of principal axis angle Yes Yes 93 Smart Matching Detects an image similar to a registered base image template according to the data gray value of the image brightness Extracts the difference between the base image and the detected image by overlapping the two images and extracting the parts having the gray difference With this functio...

Page 73: ...e coordinates of the two edges that can be detected by scanning in vertical direction Yes Yes 131 Gray Edge Horizontal Detects the angle on the basis of the coordinates of the two edges that can be detected by scanning in horizontal direction No Yes Gray Edge Vertical Detects the angle on the basis of the coordinates of two edges that can be detected by scanning in vertical direction No Yes 133 Fe...

Page 74: ...Specify the color to extract Refer to the Use s Manual Color Extraction for details of color extraction For inspection of a gray image or binarized differential image b Setting of binary level Upper and lower limits of binary level Page 70 For inspection of a gray image or differential image c You don t have to make any settings here 4 Set an area Set an inspection area or Mask area which is not r...

Page 75: ...or Gray Differential selected from Initial Settings menu options under ENVIRONMENT 3 Choose the desired checker The setting window of the checker that you selected is displayed The checker types that have already been created cannot be changed e g Changing the Smart Matching to which No 1 is assigned to Contour Matching If you want to reset the checker type delete the checker and recreate a new ch...

Page 76: ...ker number the checker type is displayed in the display area of the destination checker type Deleting the Checker To delete a preset checker 1 Highlight the checker number you want to delete The submenu associated with the checker function is displayed 2 Select Delete The dialog message box appears saying Do you really want to delete 3 Choose YES to continue The checker is deleted and the checker ...

Page 77: ...traction for more information Gray Differential image You do not have to make an image adjust with the AX40 but the image changes depending on the aperture position of lens and brightness of a light for image process Adjust checking the live image Binary Differential Binary image Binary Differential Binary image is used for setting a binary level for binarizing an image The pixels of more than min...

Page 78: ...h the keypad Changing the Binary Level Automatic Setting The AX40 sets the optimum binary level of the current image 1 Select Group Select from the checker menu A subwindow for group selection is displayed 2 Select Modify The list of binary groups is displayed 3 Choose a Modify menu option A H The cursor moves to Upper 4 Select Auto The current image is automatically adjusted to the optimum binary...

Page 79: ... register the values you have set Choose NO to cancel the registration of the changes you have made Return to the checker menu Selecting the Binary Level Group Follow the steps below to select the group of which the optimum binary level has been already set 1 Select Group Select from the checker menu The subwindow for group selection is displayed 2 Choose Select The list of binary groups is displa...

Page 80: ...line scan line The area shapes you can set differ depending on the checker type Setting an area A setting example for binary window checker is explained below 1 Select Area from the inspection menu The menu for area setting is displayed 2 Select Change Shape and press the ENTER key The list of the shapes that is selectable for the selected checker is displayed The shape that is currently selected ...

Page 81: ...ask areas the mask areas are displayed on the screen The way of selecting the areas or mask areas that you wish to edit is described below 1 Select Area from the CHECKER menu The Area menu is displayed 2 Select Change The color of area will be displayed in yellow and its start and end points are shown If you have already set a mask area display the area and the mask area in yellow by tilting the E...

Page 82: ...elect Area from the CHECKER menu The Area menu is displayed 2 Select Delete Mask The mask area is displayed in yellow 3 Make sure the mask area you want to delete is displayed in yellow and press the ENTER key The mask area you specified is deleted Enhanced Color Normally areas are displayed in green and mask areas are in blue but after setting and changing the area and the mask area they are show...

Page 83: ...m the image while the menu is being displayed 1 Press the B key while the checker setting window is displayed The sub menu is displayed 2 Select Background Two options Solid or Translucent are displayed 3 Select Translucent The menu window is turned to translucent light blue color If you want to return the menu window to solid color return to the step 2 and select Solid If the data monitor is disp...

Page 84: ...he translucent menu window 1 Press the B key while the checker setting window is displayed The submenu is displayed 2 Select Hide Menu The menu window is hided The following message is displayed in the status display area in order to inform the menu window is temporarily is hided Hiding Menu 3 Pressing the C key displays the menu The message displayed in the status display area disappears ...

Page 85: ...77 Setting Checkers Chapter 6 6 4 Binary Window 6 4 1 Menu Options Refer to the User s Manual Color Extraction for overview of color extraction and the operating instructions ...

Page 86: ...traction image it allows you to measure the number of pixels in extract or not extract color If the number of measured pixels is within the limitation you have set it will be judged OK otherwise it judged NG Image Type Color Gray Binary Differential Binary Shape of Area Rectangle Circle Polygon 3 to 16 points Available Mask Area Up to 16 Range of Measurement Result 0 to 245760 ...

Page 87: ...hen making a position rotation adjustment specify the number of Position Adjustment You can specify only the Position Rotation Adjustments assigned to the lower numbers than the Binary Edges See page 115 for Position Adjustment and 129 for Rotation Adjustment 5 Select OK Judge Max The value shown on the right of OK Judge Max is highlighted OK Judgement Max Min These are the standard values of the ...

Page 88: ...in the range for the calculated gray average it will be judged OK If the gray average is out of the range it will be judged NG This feature will be helpful if you wish to inspect the change in brightness of your desired areas and to compare the brightness of multiple areas Image Type Gray Differential Shape of Area Rectangle Circle Polygon 3 16 points Available Mask Area Up to 16 Range of Measurem...

Page 89: ...mum minimum values are incorporate into average calculation Use this function when calculating Gray average by ignoring the gray value that may be suddenly occurred 4 Set Max Gray Limit and Min Gray Limit if necessary 5 Select OK Judge Max The value shown at the right of OK Judge Max is highlighted OK Judge Max Min These are the standard values for the measured gray average If the measurement resu...

Page 90: ...82 Setting Checkers Chapter 6 6 6 Binary Edge 6 6 1 Menu Options Refer to the User s Manual Color Extraction for overview of color extraction and the operating instructions ...

Page 91: ...y Shape of Area Line Scan Plane Scan Available Mask Area N A X coordinate value of edges Up to 511 Range of Measurement Results Y coordinate value of edges Up to 479 A triangle mark shown in the figure above indicates the position of the detected edge Relationships between scan directions and coordinate values X coordinate Y coordinate Scan Direction Horizontal Coordinate values of the detected ed...

Page 92: ...reas of rectangles The detecting time of an edge is longer than that of Line Scan If a foreign object is detected in the rectangle areas the AX40 will ignore the object and detect the edges stably Use the Plane Scan function especially for detecting the tips of a circle or a sharp image Plane Scan 2 Select Direction to press the ENTER key Select Horizontal Vertical from the submenu Horizontal scan...

Page 93: ...are the objects of the same color as an object you want to detect It will allow the AX40 to ignore a foreign object if the object is less than the preset values in length Filter Length of the scan directions Width Length of 90 degree angle rotation directions Scan direction Horizontal For example if you want to detect edge A when there are two objects of different sizes in an area set to the same ...

Page 94: ...86 Setting Checkers Chapter 6 6 7 Gray Edge 6 7 1 Menu Options ...

Page 95: ...dges from the start point can be utilized for calculation of the coordinate positions of the edges and be output to the external device Type of Image Gray Differential Shape of Area Line Scan Plane Scan Mask Area N A Number of Detections 0 256 X coordinate 0 511 9 Y coordinate 0 479 9 Measurement Data and Range of Measurement Results Differential Value 0 255 Lines are displayed on the detected edg...

Page 96: ...setting the rectangular areas This feature enables the AX40 to process the edges slower than the Line Scan function If a foreign object is detected in the rectangle areas the AX40 will ignore the object and detect the edges stably Use the Plane Scan function especially for detecting the tips of a circle or sharp image 2 Select Direction and press the ENTER key Select Horizontal Vertical from the s...

Page 97: ...s a pixel that changes from light to dark from high gray to low gray Dark Light Detects a pixel that changes from dark to light from low gray to high gray Both Detects a pixel that changes both from light to dark and from dark to light 6 Select Edge Thresh Specify a value checking the differential value of the detected edge in the Result tab Edge Threshold This is a value to decide whether to dete...

Page 98: ... Outputs the nearest edge from the start point and the end point A and F 2 edges 8 Select OK Judge Max and press the ENTER key The value shown at the right of OK Judge Max is highlighted OK Judge Max Min These are the standard values for the detected edges If the detected edges are within the range between maximum and minimum it will be judged OK 9 Specify the values for OK Judge Max and OK Judge ...

Page 99: ...hapes of the detection parts are round or sharp not linear increase the Width and Filter values Average Range To decide how many pixels of the edge are averaged from the Front detection position If the desired position is not detected as a result of testing with the default value change the Average Range value Increase the Average Range value to detect slightly inside the edges of the object Decre...

Page 100: ...ition of the highlighted object number is placed on the object so that you can check the data on the monitor screen When you desire to view more data highlight the 8th number in the table and move the ENTER key downward Highlight the 1st number and move the ENTER key upward to display the last data When you test using the CHECKER menu operation procedure defers depending on the image currently dis...

Page 101: ...93 Setting Checkers Chapter 6 6 8 Feature Extraction 6 8 1 Menu Options Refer to the User s Manual Color Extraction for overview of color extraction and the operating instructions ...

Page 102: ... 511 9 Gravity Y 0 to 479 9 Automatic detection Projec W in X 1 to 512 Projec W in 1 to 480 Perimeter 1 to 245760 Feature Data and Measurement Results Range Angle 89 9 to 90 0 180 1 Possible to switch Detect Not Detect Under the Condition tab Detection count 3 Feature of object 1 Feature of object 2 Feature of object 3 1 If the shapes of the objects are rectangle circle or triangle the angle of th...

Page 103: ...e object The angle of the principal axis rising from left to right is negative as the figure shown below The angle of the principal axis falling from left to right is positive If an object is rectangle circle or triangle the angle of the principal axis cannot be calculated Calculation of the angle may be infrequently performed but you cannot use the data due to its instability In this case the ang...

Page 104: ...ENTER key When making a position rotation adjustment specify the number of Position Adjustment But you can specify only the Position Rotation Adjustments assigned to the lower numbers than the Binary Edges See page 115 for Position Adjustment and page 129 for Rotation Adjustment 5 Select Max Area Limit and press the ENTER key The value shown at the right of Max Area Limit is selected Max Min Area ...

Page 105: ...nformation specified at step 8 10 Select Descending Ascending 11 Select OK Judge Max and press the ENTER key The value shown at the right of OK Judge Max is highlighted OK Judge Max Min These are the standard values for the object judged OK If the measurement results are within the range between Min and Max it will be judged OK 12 Specify OK Judge Max and OK Judge Min 13 Press the A key to begin t...

Page 106: ...ts the objects that are within or on the inspection area Boundary 2 Off Not detects the objects that are located within or on the frame of the inspection Perimeter Projection Width Yes No Set whether to detect Perimeter or Projection Width Angle of principal axis Yes No Set whether to detect principal axis angle or not 1 When setting Labeling to No Perimeter Projection Width cannot be detected Sin...

Page 107: ... the edge position of the highlighted object number is placed on the object so that you can check the data on the monitor screen When you view the data after or before the 10th choose the 9th number and tilt the ENTER key downward or choose the 1st number and tilt the ENTER key upward When testing using the CHECKER menu operation procedure differs depending on image currently displayed Display Ima...

Page 108: ...100 Setting Checkers Chapter 6 6 9 Smart Matching 6 9 1 Menu Options ...

Page 109: ... of the parameters can be changed Type of Image Gray Differential Shape of Area Rectangle Mask Area Settable up to 16 Number of Detected Images Up to 64 Rotation Angle 30 Detection Count 0 to 64 Correspondence 0 to 100 X coordinate values 511 9 1023 9 Y coordinate values 479 9 959 9 Detection Items and Range of Measurement Results Detection Angle 30 0 30 0 Subtraction number 0 128 Subtraction Max ...

Page 110: ... register as a base image and decide the start and end points Set a mask area if necessary The following messages may be displayed at template setting E0130 image Not has feature This message is displayed when the image in the template area has no or a few Features Contours Check or if necessary change the settings of color extraction and monitor the gray image and differential image If you still ...

Page 111: ...ea has been completed 6 Select Search Area Follow the steps for area setting the Search Area function is set to full screen by default 7 Select Position Adj and press the ENTER key When you make a position rotation adjustment set the number You can set only the position rotation adjustments assigned to the lower numbers than Smart Matching See page 115 for Position Adjustment and 129 for Rotation ...

Page 112: ...check the preset template image 14 Press the A key to begin to test If an image is detected it will be judged OK Check the Judgement Result and Detection Count that appear in the message area of the monitor screen When testing using the CHECKER menu operation procedure differs depending on the image currently displayed Display Image Action Live Test after importing a new image Memory Test with a M...

Page 113: ...pression of 16 x16 pixels total pixels 256 Therefore the smaller pixels the lower compression It is necessary that the higher step the lower accuracy Accuracy 1 means that searching is performed without compression Accuracy S means that detection is executed per subpixel If the accuracy is set to 1 or S the phases after that will be erased and no more phases can be added You cannot assign both 1 a...

Page 114: ... this phase You can set to the number to detect at this phase the range from 01 64 can be specified After specifying the maximum detection number press the ENTER key Corr Min Set minimum correlation within the range between 0 01 and 1 00 When changing the minimum correlation press the ENTER key 4 Press the C key The cursor advances to the next phase 5 After setting whole phases press the C key The...

Page 115: ... and press the ENTER key The cell in the Acc row is highlighted 3 Press the ENTER key 4 Choose any number other than 0 and press the ENTER key Now the phase was added Note that you cannot delete only the middle phases For example if you wish to delete the 4th phase when the phases from 1st to 5th are already assigned the 5th phase will be also automatically deleted ...

Page 116: ...rs having the area value more than the Subtraction Area Min For example if you want to exclude the 10 pixel or less extracted subtraction parts from the standard for judgement set to 11 Subtraction number A standard for detected pixel clusters If the number of pixel clusters is within the range between Min and Max it will be judged OK Setting procedure 1 Highlight Subtraction and press the ENTER k...

Page 117: ...When you check the data after or before the 9th choose the 8th number and tilt the ENTER key downward or choose the 1st number and tilt the ENTER key upward Max Subtraction The Max Subtraction column contains the area values of the biggest cluster among the detected pixel clusters Up to 128 of subtraction can be detected If number of subtractions exceeds 128 the result of subtraction will be 255 d...

Page 118: ...110 Setting Checkers Chapter 6 6 10 Contour Matching 6 10 1 Menu Options Refer to the User s Manual Color Extraction for overview of color extraction and the operating instructions ...

Page 119: ... template image on the basis of the contour information about the edge of the extracted parts and not extracted parts of the registered image If an image like the template exists and its correspondence is more than the preset correspondence value it will be detected But if there are multiple images that are similar to the template the position of the image with the highest correspondence value wil...

Page 120: ...nates of this point are output The output point can be placed on the desired positions of the monitor screen You do not have to place it within the template area Set the output point to Middle Point 1 Press the B key under the condition that the position of the output point can be set 2 When Middle Point appears press the ENTER key The output point moves to the center of the template area 3 Press ...

Page 121: ...acy of detection will increase If you have enough time to spend searching select Thorough otherwise please check to make sure that an image is surely detected after executing a test in Rough mode 8 Select Angle Range Select a rotation angle for searching Specify an angle from 0 to 180 When you set it to 180 AX40 can search within the range of 180 360 Note that it takes more time for searching if y...

Page 122: ...sage area Coordinates are detected in 1 10 pixel and an angle is detected in 0 1 degree Note that the coordinate values multiplied by 10 are automatically output to the external device Example If a detection value is 265 3 the output value will be 2653 The correspondence of one fold values will be output When testing using the CHECKER menu operation procedure differs depending on the image current...

Page 123: ...position of an object with a checker Binary Edge Gray Edge Sets two areas to detect the position of the object One is for detecting the object position in the horizontal direction the other is for detecting the object position in the vertical direction You can also set either of the areas Feature Extraction Finds the position of an object Extraction Image cluster of extract or not extract pixels G...

Page 124: ...heckers for inspection but also amount of other Position Adjustment or Rotation Adjustment Follow the same steps as other checkers Note When a checker tries to refer to the amount of Position Adjustment only Position Adjustment of the lower number than the checker can be quoted This is because the checker is scanned from the Position Adjustment of the lower numbers and Position Adjustment of the l...

Page 125: ...gistering a base position you can perform a test to check if Horizontal Vertical Areas can detect an edge When the image currently displayed is a live image import a new image and begin to test When a Memory image is displayed test with the Memory image currently displayed without importing any images 1 Select POS ADJ EDGE 2 Press the A key while the tab or the item is highlighted If no edge is de...

Page 126: ...he ENTER key When the dialog message appears choose YES to continue If the edges are correctly detected and the base position is registered the following data appears In the Base Position tab Corr Correspondence value of the first image among the sorted images Adj X 0 0 Adj Y 0 0 Base Pos X Coordinate X of the first image among the sorted images Base Pos Y Coordinate Y of the first image among the...

Page 127: ...is registered The error code E0049 may be displayed Since any base position is not registered AX40 cannot work properly Note that if you do the followings after registering it you need to register the base position again Changing area position size and shape Adding horizontal or vertical edge Changing priority Position Adjustment that refers to adjustment amount cannot detect the object If Positio...

Page 128: ...orizontal and Vertical Areas Before registering a base position you can perform a test to check if Horizontal Vertical Areas can detect an edge When a live image is currently displayed import a new image and begin to test When a Memory image is displayed test with the Memory image currently displayed without importing any images 1 Select POS ADJ GRAY EDGE 2 Press the A key while the tab or each it...

Page 129: ...ng the memory image currently displayed without importing any images Registration procedure 1 Highlight the Base Position tab The cursor moves to Base Setting 2 Press the ENTER key When the dialog message shown below is displayed choose YES to continue If the edges were correctly detected and the base position was registered the following information appears in the message area Judgement OK Adj X ...

Page 130: ... Note that if you do the followings after registering it you need to register the base position again Changing area position size and shape Adding horizontal or vertical edge Changing priority The memory you selected is set to extraction process The error code E0100 may be displayed The Position Adjustment Gray edge scans only a gray differential image Make sure that you do not choose a memory tha...

Page 131: ...ea x coordinate and y coordinate If you do not perform sorting when multiple objects were detected AX40 cannot detect the first object so you cannot perform a stable inspection Refer to page 103 for sorting function Testing Before registering a base position you can perform a test to check if Horizontal Vertical Areas can detect an object When a live image is currently displayed a test is performe...

Page 132: ...tration Procedure 1 Select the Base Position tab The cursor moves to Base Setting 2 Press the ENTER key When the dialog message shown below appears choose YES to continue If the edges were correctly detected and the base position was registered the following information appears in the message area In the Base Position tab Adj X 0 0 Adj Y 0 0 Base Pos X Gravity coordinate X of the current object Ba...

Page 133: ...egistered AX40 cannot work properly Note that if you change area position size and shape after registering it you need to register the base position again Position Adjustment that refers to adjustment amount cannot detect the object If Position Adjustment is set to the numbers except 0 the adjustment amount of Position Adjustment or Rotation Adjustment that is registered to the number is referred ...

Page 134: ...gle Range Rotation Accuracy Testing Before registering a base position you can perform a test to check if Horizontal Vertical Areas can detect an edge When a live image is currently displayed import a new image and begin to test When a Memory image is displayed test with the Memory image currently displayed without importing any images 1 Select POS ADJ MATCHING 2 Press the A key while the tab or t...

Page 135: ...sor moves to Base Setting 2 Press the ENTER key When the dialog message appears choose YES to continue If the edges were correctly detected and the base position was registered the following data appears In the Base Position tab Corr Correspondence value of the highest correlation value Adj X 0 0 Adj Y 0 0 Base Pos X Coordinate X of the highest correlation value Base Pos Y Coordinate Y of the high...

Page 136: ...ing it you need to register the base position again The memory you selected is set to extraction process The error code E0100 may be displayed The Position Adjustment Matching scans only a gray differential image Make sure that you do not choose a memory that is set to extraction process Position Adjustment that refers to adjustment amount cannot detect the object If Position Adjustment is set to ...

Page 137: ...ject to detect the position and angle of the object with a checker BINARY EDGE Direction Horizontal GRAY EDGE Direction Horizontal Set two areas to search in the horizontal direction Trigonometric function calculates the slope of the object using the coordinates of the two edges of the object BINARY EDGE Direction vertical GRAY EDGE Direction vertical Set two areas to search in the vertical direct...

Page 138: ...r to Adjustment Amount Since multiple checkers for Position Adjustments can be set the amount of Position Adjustment to which each checker refers differs depending on the number assigned to a Position Adjustment If you choose 01 AX40 refers to the amount of Position Adjustment of Checker No 1 Note When a checker tries to refer to the amount of Position Adjustment only Position Adjustment of the lo...

Page 139: ...e memory image currently displayed without importing a new image 1 Select ROT ADJ BIN EDGE HORIZ or ROT ADJ BIN EDGE VERT 2 Press the A key while the tab or the item is highlighted If no edge was detected the following error number is displayed in the message area E0044 Check the image to make sure that the error code above does not appear or the edges are detected Try to set to the same width bet...

Page 140: ...ck the setting values of areas positions of start and end points or the inspection objects E0042 Base position cannot be detected 6 17 3 What To Do If You Faced a Trouble Judgement result is always NG The following causes may be occurred The object cannot be detected Recheck and reconsider the area size and the detection conditions including Target Filter Width and Priority No base position is reg...

Page 141: ...displayed perform the test after importing a new image When a memory image is displayed perform the test using the memory image currently displayed without import of a new image 1 Select ROT ADJ GRAY EDGE 2 Press the A key while the tab or the item is highlighted If no edge was detected the following error number is displayed in the message area E0044 Check the image to make sure that the error co...

Page 142: ...be detected 6 18 3 What To Do If You Faced a Trouble Judgement result is always NG The following causes may be occurred The object cannot be detected Recheck and reconsider the area size and the inspection conditions Target Filter Width and Priority No base position is registered The error code E0049 may be displayed Since any base position is not registered AX40 cannot work properly Note that if ...

Page 143: ... performed in the descending ascending order of area x coordinate and y coordinate If you do not perform sorting when multiple objects were detected AX40 cannot detect the first object so you cannot perform a stable inspection Execution of a test Before registering a base position you can perform a test to check if Horizontal Vertical Areas can detect an object When a live image is currently displ...

Page 144: ...heck the setting values of areas positions of start end points or the inspection objects E0042 Base position cannot be detected 6 19 3 What To Do If You Faced a Trouble Judgement result is always NG The following causes may be occurred The object cannot be detected Recheck and reconsider the area size and the inspection conditions Target Filter Width Labeling Boundary and Sorting No base position ...

Page 145: ...tering a base position you can perform a test to check if Horizontal Vertical Areas can detect an object When a live image is currently displayed a test is performed after importing a new image When a Memory image is displayed a test is performed with the Memory image currently displayed without importing any images 1 Select POS ADJ Matching 2 Press the A key while the tab or the item is highlight...

Page 146: ... the setting values of areas positions of start end points or the inspection objects E0042 Base position cannot be detected 6 20 3 What To Do If You Faced a Trouble Judgement result is always NG The following causes may be occurred The object cannot be detected Recheck and reconsider the template image the settings of the search area size and the setting value of the sequence No base position is r...

Page 147: ... Contour Matching x 2 Rotation Adjustment Contour x 1 Contour Matching x 1 Execution of a test Before registering a base position you can perform a test to check if Horizontal Vertical Areas can detect an object When a live image is currently displayed a test is performed after importing a new image When a Memory image is displayed a test is performed with the Memory image currently displayed with...

Page 148: ...Theta Angle of the current detected image In the Message Area Judgement OK Corr Matching level of the currently detected image Adj XX 0 0 Adj Y 0 0 Adj Theta 0 0 If the following message appears it means horizontal and vertical edges were not detected Check the template image size of search area and correlation minimum value E0042 Base position cannot be detected 6 21 3 What To Do If You Faced a T...

Page 149: ...141 Chapter 7 Calculation Analysis and Output of Inspection Results Chapter 7 Calculation Analysis and Output of Inspection Results ...

Page 150: ... judged OK or NG and registers the maximum minimum values and ranges Max Min of the inspection results after turning on the device or resetting the system and the average and variance values which were judged OK Data Monitor Outputs to the external device and displays data in table form displayed during inspection or in RUN mode by quoting the numeric calculations judgments and statistic data to t...

Page 151: ...ptable range for OK judgement that you have set If the results of the numeric calculations are within the range it is judged OK otherwise NG The upper limit of the range is called Max and the lower limit of the range Min Preparing for outputting data to the external device It is necessary to quote the data to the data monitor via the numeric calculation To output measured data to the external devi...

Page 152: ...Amount 10 fold 4 X Coordinate 10 fold 5 Y Coordinate 10 fold 6 Proj X Axis 10 fold Position Adjustment Rotation Adjustment PA 01 to 99 1 to 2 7 Proj Y Axis 10 fold Binary Window BW 01 to 99 Area Gray Window GW 01 to 99 Average 1 X Coordinate 2 Y Coordinate 3 Proj X Axis Binary Edge BE 01 to 99 4 Proj Y Axis 01 0 Det Count 1 X Coordinate 10 fold 2 Y Coordinate 10 fold 3 Proj X Axis 10 fold Gray Edg...

Page 153: ...0 fold 1 Corr 2 X Coordinate 10 fold 3 Y Coordinate 10 fold 4 Angle 10 fold 5 Proj X Axis 10 fold Checker Contour Matching CM 01 to 99 6 Proj Y Axis 10 fold Numeric Calcu CA 01 to 99 Num Result Numeric Calculation Previous Data of Numeric calculation OCA 01 to 99 Previous Data of Numeric Calcu 1 Coeff 2 Base Dist Conversion Data CV 1 to 4 3 Base Pixel 1 Memory 1 X 10 fold 2 Memory 1 Y 10 fold 3 Me...

Page 154: ...old A B Subtraction 1 fold 1 fold A B Multiplication 1 fold 1 fold A B Division 1 fold 1 fold A B Left parenthesis A B C Right parenthesis A B C Distance Calculation the distance between two points T 1 fold In case of Figure 1 CA01 Xa Xb CA02 Ya Yb CA03 CA01 T CA02 Absolute value of Subtraction D A D B Absolute values of A B Sine SIN 100 fold 10000 fold θ 100 Cosine COS 100 fold 10000 fold θ 100 A...

Page 155: ...Highlight the Num Calcu tab 3 Highlight CA01 The program cell is highlighted 4 Check to make sure that the cursor moved to the right cell in the Program column and press the ENTER key The subwindow for program setting is displayed The preset arithmetic expressions are shown in the Program area The arithmetic expressions are shown in the upper area and a table of the incorporable symbols is display...

Page 156: ...displayed in the Program area 11 Quote the X coordinate of the GRAY EDGE of Checker No 2 following the steps 5 to 8 GE01011 GE02011 is displayed in the Program area 12 Press the C key twice and select Yes following the message When the dialog message shown below appears choose YES to resister NO to erase the arithmetic expression that you have created and CANCEL to modify the arithmetic expression...

Page 157: ...ps below to specify the judge Max Min while opening the Num Calcu tab 1 Select the program number which you want to assign Judge Max Min and press the B key The subwindow is displayed 2 Select Judge Max Min The Judge Max Min window is displayed 3 Specify the Judge Max Min values 4 Press the C key to set the value The Judge Max Min values are displayed in the Judge Max Min area Now setting of the J...

Page 158: ...d press the B key The subwindow is displayed 4 Choose Paste and press the ENTER key The source arithmetic expression is copied to the target one 7 2 6 Deleting an arithmetic expression The way of deleting an arithmetic expression that you have set is explained below Proceed following the steps below while the Num Calcu tab is selected 1 Select the number of the source program that you want to dele...

Page 159: ...le Data to Numeric calculations on page 144 Example of use The length L of the following object having a slope is calculated by creating a group binary edge checker and a rotation adjustment edge checker and quoting the detected X coordinate Length L can be calculated with the trigonometrical function or only by subtracting the X Y projection distances Length L X projection distance of Binary Edge...

Page 160: ...ist enter the Base Dist 3 Press the ENTER key to enter the Base Dist data and press the ENTER key again For example when set to 10 mm enter 10 See the figure shown below 4 Highlight the Base Pixel Enter the number of the pixels corresponding to 10 mm Check how many pixels are equal to 10 mm with each checker The example that 10 mm is equal to 85 pixels is explained here 5 Enter 85 and press the EN...

Page 161: ...on 2 31 to 2 31 1 an ERROR signal is output because overflow error occurs and the numeric calculation is not perform properly Up to 9999999 7 digits of base distance can be set but in this case if more than 2148 is used for A in the expression above it results in more than 2 31 2 31 1 Therefore if data multiplied by a coefficient calculation results of the numeric calculation prior to incorporatio...

Page 162: ... of characters can be included in the comment 4 Highlight the Enter key on the soft keyboard Now entering a comment is completed Copying Conversion Data 1 Highlight the number of the source conversion data you want to copy and press the B key 2 Select Copy 3 Choose the number of the target conversion data to which you want to copy and press the B key ...

Page 163: ...n Results 4 Choose Paste Now copying the conversion data are completed Deleting Conversion Data 1 Select the number of the conversion data you want to delete and press the B key 2 Choose Initialize Initialize the conversion data following the displayed message ...

Page 164: ...mission of the numbers is performed in priority order of four arithmetic operations Incorporate a division into the last of the calculation as much as possible Example Calculation 1 A B 2 100 Calculation 2 A B 100 2 If B 3 A will differ between the calculations above Calculation 1 A 3 B 2 100 1 the decimal number of 1 5 is omitted 100 A 100 Calculation 2 A 3 B 100 2 A 150 Error signal is output if...

Page 165: ...timing Description E0061 Grammatical error of the program At registration Grammatical error For example CA01 100 BW01 should be CA01 100 BW01 E0062 Calculation error At copying from the existing calculation expression If the numeric calculation No to which is copied is lower than the one quoted to the numeric calculation For example Calculation expression which is to be copied CA05 CA03 BW01 Calcu...

Page 166: ...an be incorporate into judgement output expressions After performing calculations the expressions are displayed with the symbols and numbers 0 9 Reference data Symbol Number Condition for OK judgement Position Rotation Adjustment PA 01 to 99 Ability to detect an object Binary Window BW 01 to 99 Max Min Area does not exceed the limitations of OK Judge Max Min Gray Window GW 01 to 99 Gray Average do...

Page 167: ...A and B is OK 1 Example JD01 A B A B Judgement result of JD01 OK 1 OK 1 OK 1 OK 1 NG 0 NG 0 NG 0 OK 1 NG 0 NG 0 NG 0 NG 0 Exclusive OR XOR Returns OK 1 if the results of both A and B are not the same Example JD01 A B A B Judgement result of JD01 OK 1 OK 1 NG 0 OK 1 NG 0 OK 1 NG 0 OK 1 OK 1 NG 0 NG 0 NG 0 Negation NOT Highlights the cells of judgement results Example JD01 A A Judgement result of JD...

Page 168: ...K For example 1 Select TOOL Calcu Stat Output from the tool bar The subwindow is displayed 2 Select the Judgement tab 3 Select JD01 The cursor moves to the right next cell in the PROGRAM column 4 Check to make sure that the cursor is in the program area and press the ENTER key The program window is displayed 5 Highlight CHECKER A list of checkers is displayed 6 Select 1 Position Adjustment Binary ...

Page 169: ... 4 Outputting Judgement Results to the External Device Outputting Judgement Results to the External Device Up to eight of judgement results can be output to the external device When doing so specify a output number D1 D8 in the OUTPUT column 1 Select the desired judgement number and press the ENTER key 2 Move the cell in the OUTPUT column and press the ENTER key The subwindow is displayed The avai...

Page 170: ...dgement program expression Register the total judgments while the Judgement tab is open 1 Press the B key while the Judgement number is highlighted The subwindow is displayed 2 Choose Total Judge The subwindow is displayed 3 Highlight JD The cursor moves to the value on the right of JD 4 Specify the Judge No that you want to register as a total judgement and press the ENTER key Now registering the...

Page 171: ...gister total judgement following the instructions below while the Judgement tab is open 1 Press the B key while the judgement number is selected The subwindow is displayed 2 Select Save Image The subwindow is displayed 3 Highlight JD The cursor moves to the value on the right of JD 4 Specify the judgement number you want to register as a conditional expression Now you completed the registration of...

Page 172: ...ty order as follows Higher Lower 7 3 8 Error Messages Appears When You Set Judgement Output When you set a judgement program expression judgement program the following messages may be displayed In any case an error is included in the numeric expression Recheck and correct it Message Display timing Description E0061 Formula error At registration Grammatical error For example JD01 CM01BW01 E0062 Cal...

Page 173: ...addition the following data of the results of the numeric expression from which the OK judgement result can be obtained Average value Variance value Max Min Range difference between Max and Min Counting Scanning Number The number of inspections is counted after the device is turned on Judgement result is returned to 0 by turning off the device switching the product types and forcibly resetting the...

Page 174: ...ation Can be displayed in statistics table 6 Max Max Value after starting count Numeric calculation 7 Min Min value after starting count Numeric calculation 8 Range Difference between No 6 Max value and No 7 Mix value Numeric calculation Not displayed Quotable 1 Disperse value is calculated from the following Disperse expression n Xaverage Xn Xaverage Xn Σ n the number of OK counts 7 4 4 Quoting S...

Page 175: ...01 and press the ENTER key CA01 is displayed the Object cell Now setting a target statistics is completed 7 4 5 Deleting a Quoted Item To delete a preset Statistic item follow the steps below while the Statistics tab is open 1 Highlight the number of statistics you want to delete and press the B key The subwindow is displayed 2 Choose Delete The following message is displayed Do you want to delete...

Page 176: ...ghlight the number of statistics you want to reset and press the B key The subwindow is displayed 2 Highlight Reset Statistics The dialog message shown below is displayed 3 Choose YES to continue Count data and the number of scan are all reset Count Data are reset in the following cases Powering off the device Changing Product Types Manually resetting statistics ...

Page 177: ...tion statistics data and product number can be output to the external device You can choose Output Not Output per data Setting Example Example of output results Condition Setting of Result Output Digits of output 5 Invalid digits Delete Result 1 150 110 200 1300 1000 2000 Type 1 Data Min Max Result A 150 110 200 OK B 1300 1000 2000 NG Condition Setting of Result Output Digits of output 4 Invalid d...

Page 178: ...of Numeric Calculation 01 to 99 Calculation result of numeric calculation Output Not Output selectable Judgement of Numeric Calculation 01 to 99 Judgement result for calculation result of numeric calculation Not Output Judgement of Judgement Calculation 01 to 99 Result of judgement Not Output 00 Scan Number OK Count NG Count OK Average OK Disperse Max Min Calculation Result Statistics 01 to 16 Ran...

Page 179: ...ow 1 Select TOOL Calcu Stat Output from the menu under The subwindow for calculation statistics and output setting is displayed 2 Highlight the Data Monitor tab The table with 5 columns and 10 rows is displayed 3 Move the cursor to the desired cell 4 Choose Calcu Result The subwindow is displayed 5 Select the item you want to quote The cursor moves to the number on the right of Calcu 6 Specify the...

Page 180: ...the value on the right of Statistics 3 Specify a statistics number 00 16 and press the ENETER key The subwindow is displayed If the number of scans is quoted specify 00 4 Choose the desired item The symbol beginning with QS is displayed Product Type To quote numbers of product type follow the steps below 1 Follow the same steps 1 3 for Calculation Result and Judgement of Numeric Judgement Calculat...

Page 181: ...ine After a title is displayed it is displayed in the cell 7 5 5 Outputting and Displaying Procedure Setting Output Methods of the Quoted Data If you want to choose whether to output the quoted results of the numeric calculation statistics and product type number to the external device or not follow the instructions below 1 Highlight the cell in which the quoted data are The subwindow is displayed...

Page 182: ...the table If you want to select whether to display data monitor in RUN mode or not select ENVIRONMENT RUN mode Image Settings from menu bar Refer to page 196 for details of the display settings Up to eight of digits can be displayed The asterisk marks are shown for the greater value than eight digits Even in such a case the values are properly output to the external device The data cells that are ...

Page 183: ...e desired items in the Data Monitor table READY signal is turned off and the subwindow is displayed 2 Highlight the Max Min cell The cursor moves to a cell in which a value is 3 Change the value and press the ENTER key 4 Press the C key After the subwindow disappears READY signal is turned on The device does not accept any signal including START signal not including key emulation command from the ...

Page 184: ......

Page 185: ...177 TOOL Chapter 8 Chapter 8 TOOL ...

Page 186: ...e object visually Page 179 Ref Point To register a point that is quotable to a numeric calculation on the screen monitor The coordinate position can be displayed during inspection in RUN mode If the coordinate position is used as the base position of the object the shift amount of the object is calculated with a numeric expression and it can be checked on the screen monitor Page 182 Group Move To ...

Page 187: ...L Marker from the menu bar The window for marker setting is displayed 2 Choose a marker number 1 8 The cursor moves to the cell in the Memory column 3 Choose a memory for setting a marker 4 Highlight Shape 5 Highlight Change Shape The procedure for setting an area is the same for Inspection Area and Mask Area 6 Highlight Color Select Pink or Blue from the menu under Color 7 Press the C key When th...

Page 188: ...arker 1 Highlight the number of the marker you want to copy and press the B key The subwindow is displayed 2 Choose Copy 3 Highlight the number of the marker you want to copy to and press the B key 4 Select Paste Now copying the marker is completed ...

Page 189: ...ing dialog message is displayed choose YES to continue Now the marker was deleted You cannot quote the coordinates of the image to numeric calculation etc Use the ref point function to quote the coordinates No markers are displayed in SETUP mode If you want to set whether to display a marker in RUN mode or not select ENVIRONMENT RUN Mode Image Settings from the menu bar ...

Page 190: ...ich you want to assign to the reference coordinates The blue cross lines are displayed in the image display area The point at which the x and y axes are intersected is a reference point The coordinate values of the reference point are displayed in the upper part of the image display area 3 Move the cursor to the desired position by tilting the ENTER key and press the ENTER key to fix the position ...

Page 191: ...ion Adj and press the ENTER key to specify the position adjustment number to which the checkers to be moved at a time are referring 3 Select a checker you want to move from the checkers of the specified position adjustment No Option Action Yes Checkers are moved No Checkers are not moved at a time regardless of the same position adjustment value 4 Select Move All of the checkers to be moved are di...

Page 192: ......

Page 193: ...185 Environment Settings Chapter 9 Chapter 9 Environment Settings ...

Page 194: ...hout entering the password 190 Min Ready OFF Time ms 0 to 1000 ms Unit 10 ms To specify the minimum value while READY signal is off This function will be helpful if the external device cannot detect the ready signal change from OFF to ON due to high speed inspection or switching Initial settings Language English Japanese To change a display language 189 Display Image Live C1 Live C2 Live C1 C2 Mem...

Page 195: ...Output Not to output inspection results Output Setting Serial Per Start Computer Link Serial Async Ethernet Card To output the selected inspection results to the external device Judgement To output only the judgement to the external device Data Monitor Among the data quoted to Data Monitor to output only the output data that have been set to On to the external device Data Type Both To output both ...

Page 196: ...an four digits when the command digits are fixed to four Serial Settings Port Settings Transmission Speed Bit Length Stop Bit Parity Flow Control Conditions for RS232C communication with the external device 219 Re register Position Setting Position Adjustin g Position To set the position of the re register areas Template Settings Area Display Yes No To switch re resister area display On Off For Ar...

Page 197: ... signal S for serial from the external device enables the device to stop the inspection In such a case the inspection restarts when the signals STA for parallel or S for serial is input from the external device Password Password Request On Off Initial value Off This function allows only the persons that know the password to change from RUN mode to SETUP mode Refer to page 190 for details Min Ready...

Page 198: ...Password 1 Select ENVIRONMENT The ENVIRONMENT menu is displayed 2 Select Initial Settings The menu under Initial Settings is displayed 3 Select Password Request The subwindow is displayed To set the function select ON When switching to the SETUP mode you are required to enter the password 4 Select On The Password Request function is now set to ON Even if the Password Request function is set to ON ...

Page 199: ...e ENTER key The selected letters are displayed Specify the password including up to 8 characters 4 After entering the password select Enter shown at the right corner of the screen When returning to the Initial Setting menu asterisks as many as the password you have set are displayed in the Password field If you press the C key before pressing the ENTER key the password you have set will be cancele...

Page 200: ... display already set in RUN mode are displayed Items selectable in RUN mode Display type Item Display Image Image type Memory 1 2 or Memory 2 Live image or Memory image Image Display Color Checker Area Data Monitor Marker Item Reference Coordinate 9 3 1 Selecting a Display Image When you display an image saved on Memory 1 or Memory 2 you can select a type of image to display As the figure shown be...

Page 201: ... that was selected for initial setting Preprocess Color Gray Group A Group H Group A H Gray Yes Yes Yes No Extraction Yes No Yes Yes Differential Yes Yes Yes No For 2 screen display the images stored in Memory 1 and Memory 2 are displayed in the same color They cannot be displayed in a different color If an image is displayed in the following colors with the 2 screen display feature there are some...

Page 202: ...ory2 display Memory 1 and Memory 2 still image for inspection execution But some parts of the images cannot be displayed depending on the preprocess setting and the display color Example If Display Image Gray Memory 1 Extraction Memory 2 Gray Live C2 or Memory C2 is selectable for switching display images 3 Move the cursor to the image to change and press the ENTER key When you display a live imag...

Page 203: ...ry image of the specified binary level for each group is displayed Group A H All the areas of the colors that are specified as an extraction color are displayed in full color but other areas are displayed in gray Selectable only if the image has been preprocessed with the Extraction feature Only Color is available for the following settings Setting content Selectable Display Change Display image L...

Page 204: ...he submenu is displayed 3 Select On If you do not want to display each item choose Not Display following the step 3 When Data Monitor is displayed in RUN mode you can change the max min value of numeric calculation results that is quoted to Data Monitor Refer to page 175 Inspection area for a checker mask area and inspection position are displayed by displaying the checker Even when the data monit...

Page 205: ...are displayed when Load Saved Image is selected The AX40 quotes the information from the Calendar settings Capture Count After activating AX40 or switching the product types the inspection time of the saved image is displayed How to save the images There are three available ways of saving an image Saving the current memory images using the keypad Save the memory images that have been already impor...

Page 206: ... operating the keys on the keypad Setting Procedure 1 In SETUP mode press the B key The submenu is displayed 2 Highlight Save Memory Image The current memory image is displayed 3 Choose YES The current image that was displayed at the step 2 appears When Save Memory Image is not displayed the current Memory image is already saved ...

Page 207: ...mber of images that can be stored in a memory is 16 sets per memory When the number of images reaches the largest number see page 201 Setting Procedure 1 Select Save Image Mode from the ENVIRONMENT menu The submenu is displayed 2 Select Save Image The subwindow appears 3 Highlight Per Start Now the setting to save images per inspection is competed ...

Page 208: ... a numeric expression has been registered as a conditional expression for Image Save The number of the images that can be stored is up to 16 sets of images Setting Procedure 1 Select Save Image Mode from the ENVIRONMENT menu The submenu is displayed 2 Select Save Image The subwindow appears 3 Highlight Judge Result Now the setting to save images during inspection is completed Registering Condition...

Page 209: ...e old image with the new image Therefore the last 16 sets of images are always stored Not Overwrite This feature allows you to stop saving an image Inspection continues to be executed Setting Procedure 1 Select Save Image Mode from the ENVIRONMENT menu The submenu is displayed 2 Highlight Save Mode The subwindow is displayed 3 Select Not Overwrite or Overwrite Now the setting to save images during...

Page 210: ...gement results NG OK NG OK OK Image Save YES 1st picture YES 2nd picture Display Image Saved Image 1 Saved Image 1 Saved Image 2 Saved Image 2 Saved Image 2 Setting Procedure 1 Select Save Image Mode from the ENVIRONMENT menu The submenu is displayed 2 Highlight Save Mode The subwindow is displayed 3 Select Not Overwrite Overwrite or Display Save Image Now the setting for saving images during insp...

Page 211: ...ed The image information is also displayed To display the next saved image tilt the ENTER key upward or downward 3 Display the image to which you want to refer to and press the ENTER key The current memory image is erased and the specified image is called as a memory image Adjust a checker or execute a test using a saved image that you called while a memory image is displayed If a live image is di...

Page 212: ... on a computer See page 260 for details of Backing up to a CF card and restoring a saved image from a CF card 9 4 9 Removing a Saved Image When removing all the saved images follow the steps below Setting Procedure 1 Select ENVIRONMENT Save Image Mode from the menu bar The Save Image Mode menu is displayed 2 Highlight Reset Image Data The following message appears Do you want to reset the stored i...

Page 213: ...her number than 0 this mode re registers at the position of the adjusted target checker after position adjustment or rotation adjustment assigned to the preset checker number is executed and the target checker is adjusted This mode will be available if the position of the object at re registration is different between at re registration and at setting of the target checker Area Display This is a f...

Page 214: ...o initialize the ENVIRONMENT function follow the steps below Setting Procedure 1 Choose ENVIRONMENT Initialize Environment from the menu bar 2 Select YES following the message Environment data are initialized Display language cannot be changed by initializing environment data ...

Page 215: ...207 Chapter 10 Parallel Communication Chapter 10 Parallel Communication ...

Page 216: ... signal Product Type IN1 4 TYPE TYP signal Display Image IN1 3 FCT1 signal Input Feasible operation by inputting from the external device Re registering Template IN1 7 FCT2 signal 10 1 2 The Data Output from the AX40 The data that are output from the AX40 during inspection The following signals are output from the parallel ports D1 D8 during inspection Input Output Operation Signal to be used Outp...

Page 217: ...REND signal is turned off T2 time for READY signal OFF differs depending on program If the minimum time of READY signal OFF is longer than the inspection execution time T2 time will be the minimum time for READY signal OFF 6 Result is output Result Output Using a CF card and Ethernet After READY signal is recovered the results are output by the time of the next START signal input while READY signa...

Page 218: ...Inspection execution time or Minimum time for READY signal OFF The times vary depending on setting T3 Min 1 ms 1 Make sure that READY signal is on and then input START signal for more than 1 ms 2 READY signal is turned off within 1 ms after START signal input Then image import starts 3 After the image import is completed REND signal is turned on 4 After the program execution starts judgement resul...

Page 219: ...Product type switch The number of the target product type is specified by inputting IN1 4 signals and the product types are switched when TYPE signal TYP is input Specifying the Number of Target Product Type Specifying the number of the product type that you want to call using IN1 4 4 bit Specify the value subtracted one from the actual product type number using binary data Refer to the table show...

Page 220: ...oduct type number as the current product type number to the current product type READY signal is turned off but the following action that is normally executed on product type switch is not be performed Resetting statistics data If the unavailable product numbers are assigned and TYPE signal is input the AX40 cannot execute product type switch properly and outputs ERROR signal The time for switchin...

Page 221: ...FCT1 signal input Assigning the Image to be displayed Assign the types of images to IN 1 3 3 bit Refer to the table shown below Timing Chart 1 Assign the types of the image that you want to display to IN 1 3 Input the data more than 1 ms before FCT1 signal input 2 Input a FCT1 after making sure that READY signal is on After READY signal is turned off the display image is changed 3 Make sure that R...

Page 222: ...he target checker Adjustment Position If Position Adjustment is set to any other number than 0 this mode re registers the template at the adjustment position of the target checker after position adjustment or rotation adjustment is executed and the target checker is adjusted This mode will be available if the position of the re registration position of the object is not the same as the setting pos...

Page 223: ...urn the FCT2 signal off After re registration is completed READY signal is turned on You cannot re register the templates of the following checkers by inputting a signal from the external device Position Adjustment Matching Rotation Adjustment Matching Rotation Adjustment Contour If the image cannot be re registered or the image has no features ERROR signal will be output If the external device ca...

Page 224: ...and then turn the FCT2 signal off 4 Input the second FCT2 signal after checking the re registered area on the screen monitor Re registration is executed 1 After re registration is completed the ready signal is turned on 2 READY signal is turned off upon the READY signal ON 5 Make sure that READY signal is on re registration is completed and then turn the FCT2 signal off The templates of the follow...

Page 225: ...217 Chapter 11 RS232C Communication Chapter 11 RS232C Communication ...

Page 226: ...ecovered Communication is established when the AX40 does not perform image processing tasks when an image import is executed while READY signal is on READY signal OFF time Inspection Execution Time is shorter than that for Serial Per Start Refer to page 209 for Timing Chart Computer Link Computer link supports a specific PLC The AX40 writes inspection results to the specific registers of PLC Since...

Page 227: ...tput setting Not available in Computer Link If the data are under the number of output digits select Delete 0 The following items are available only for computer link mode Refer to page 241 for further details PLC Model Start Register Timeout and Data Type 11 2 2 Format of the Commands from the External Device Serial Setting Specifying the Digit Number of the Items for the Command Item Selection D...

Page 228: ...1200 2400 4800 9600 19200 38400 57600 115200 Initial value 9600 The values above are transmission speed The higher number the faster communication speed Bit length 7 8 Initial value 8 Sets the number of bits per letter Stop Bit 1 2 Initial Value 1 Sets the bit number of the signals that recognizes the end of data Parity None Odd Even Initial value Odd Sets the number of overhead bits to check for ...

Page 229: ...on the number of Output Digit or Invalid Digit Number of Data Up to 50 Output Value 2147483648 to 2147483647 Example of Output The following output results can be obtained for the same Data Conditions and different Output Conditions Data Conditions Judgement D1 NG D2 OK Data Monitor Data 1 215 Data 2 368 Output setting condition Output result 1 Output Data Both Output Digit 5 Invalid Digit Zero 0 ...

Page 230: ...e Changing threshold of edge G 231 Num Calcu Reading Min Max C 235 Commands for reading or changing the setting data stored in the AX40 Num Calcu Changing Min Max N 236 Data Save Storing the current settings in the AX40 M 238 Switching to another product type X 238 Resetting Statistics Data Q 239 Changing Display Image I 239 Others To Emulate the Keypad K 240 About the commands for changing each s...

Page 231: ...product types and environmental data are stored in the folders Program 01 to Program 99 under NAIS Vision AX40 Data Communication direction Command Description Transmission from the External Device F CR 01 to 99 Specify the number of the folders where product types and environmental data are stored Response At normal operation Transmission completed F CR Response Error 1 U CR Cause Command in the ...

Page 232: ... specified numbers are not Smart Matching or Contour Matching Template is not registered with the Smart Matching or Contour Matching already created to the specified number As the image in the re registration area has no feature it cannot be registered as a template When re registration position Adjusting Position Group Position Adjustment or Rotation Adjustment is NG When re registration position...

Page 233: ...ed form or not provided was received Examples A9 C R any other checker number than 01 99 was specified B01 C R not provided command Response Error 2 ERROR signal is output from the parallel output port Z CR Cause The checker types already created to the specified numbers are not Smart Matching or Contour Matching Template is not registered with the Smart Matching or Contour Matching feature alread...

Page 234: ...oup A H The binary level of currently selected product type can be read on AX40 Communication Direction Command Description Sending commands from external device L CR 01 to 08 To specify the number of binary level group Binary level group A B C D E F G H Specified No 01 02 03 04 05 06 07 08 Serial Settings Command digit Valid L a a a b b b CR 01 to 08 Binary level group No aaa 000 to 254 Binary le...

Page 235: ...ormal operation T a a a b b b CR 01 to 08 Binary Level Group No aaa 001 to 255 Binary Level Max bbb 000 to 254 Binary Level Min Response Error 1 U CR Cause Command in the unspecified form or not provided was received Examples T1 80 255 C R any other checker number than 01 08 was specified B01C R not provided command Response Error 2 ERROR signal is output from the parallel output port Z CR Cause T...

Page 236: ...x bbbb 0000 0254 Binary Level Min Response Error 1 U CR Cause Command in the unspecified form or not provided was received Examples T101250255 C R any other checker number than 01 08 was specified B01C R not provided command Response Error 2 ERROR signal is output from the parallel output port Z CR Cause The max value of binary level specified by a sending command is smaller than the min value of ...

Page 237: ...d 4 Digit H n n n n CR 01 99 Checker No nnnn 0001 to 0255 or 1 to 255 Edge threshold nnnn 0001 to 0255 If invalid digit 0 nnnn 0001 to 0255 If invalid digit space Response Error 1 U CR Cause Command in the unspecified form or not provided was received Examples L1 C R any other checker number than 01 08 was specified B01C R not provided command Response Error 2 ERROR signal is output from the paral...

Page 238: ... No aaaa 0001 0255 or 1 0255 Edge Threshold 1 of Horizontal or Base Checker 1 bbbb 0001 0255 or 1 0255 Edge Thresholds 1 of Vertical or Base Checker 2 nnnn 0001 0255 If invalid 0 nnnn 0001 0255 If invalid space Response Error 1 U CR Cause Command in the unspecified form or not provided was received Examples H1C R any other checker number than 01 99 was specified J01C R not provided command Respons...

Page 239: ...1 99 To specify gray edge checker No nnn 001 255 To specify edge threshold Response At normal operation at the end of setting G n n n CR 01 99 Checker No nnn 001 255 Edge threshold Response Error 1 U CR Cause Command in the unspecified form or not provided was received Examples G1 80 C R any other checker number than 01 99 was specified B01 80C R not provided command Response Error 2 ERROR signal ...

Page 240: ... n n CR nnnn 0001 to 0255 or 0001 to 0255 Edge threshold nnnn 0001 to 0255 If invalid digit 0 nnnn 0001 to 0255 If invalid digit space Response Error 1 U CR Cause Command in the unspecified form or not provided was received Examples G1 80 C R any other checker number than 01 99 was specified B01 80C R not provided command Response Error 2 ERROR signal is output from the parallel output port Z CR C...

Page 241: ...fied form or not provided was received Examples G1 80 C R any other checker number than 01 99 was specified B01 80 200C R not provided command Response Error 2 ERROR signal is output from the parallel output port Z CR Cause Checker No specified by a sending command does not include the target checker The edge threshold specified by a sending command is not between 001 and 0255 or 001 and 0255 If a...

Page 242: ...ror 1 U CR Cause Command in the unspecified form or not provided was received Examples G100800100 CR any other checker number than 01 99 was specified B0100800200 CR not provided command Response Error 2 ERROR signal is output from the parallel output port Z CR Cause Checker No specified by a sending command does not include the target checker The edge threshold specified by a sending command is n...

Page 243: ... 2 ERROR signal is output from the parallel output port Z CR Cause The checker number specified by a sending command is not between 01 and 99 Command Digit Fixed 4 Digit Communication direction Command Description Sending command from external device C CR 01 99 Numeric Calculation No Response At normal operation C Min Max CR 01 99 Numeric calculation No Min Fixed 12 Digit 02147483648 to 0021474836...

Page 244: ...end of setting N Min Max CR 01 99 Numeric calculation No Min 11 Fixed 11 Digit 2147483648 to 2147483647 Max 11 Fixed 11 Digit 2147483648 to 2147483647 Response Error 1 U CR Cause Command in the unspecified form or not provided was received Examples N3 1000 25000 C R any other checker number than 01 to 99 was specified B03 1000 25000 C R not provided command Response Error 2 ERROR signal is output ...

Page 245: ...d 12 Digit 02147483648 to 002147483647 or 02147483648 to 002147483647 Max 12 Fixed 02147483648 to 002147483647 or 02147483648 to 002147483647 02147483648 to 002147483647 If invalid digit 0 02147483648 to 002147483647 If invalid digit space Response Error 1 U CR Cause Command in the unspecified form or not provided was received Examples C3 02147483648002147483647 C R any other checker number than 0...

Page 246: ...er Type X This is a command to call the product type to execute inspection Communication direction Command Description Sending Command from External device X CR 01 16 Specify a product type No Response At normal operation Product type change completed Y CR 01 16 Product Type No Response Error 1 U CR Cause Command in the unspecified form or not provided was received Examples X1 C R any other checke...

Page 247: ... to 5 No Display Image 0 Live C1 Memory 1 1 Live C2 Memory 2 2 Live C1 C2 3 Memory C1 Memory 1 4 Memory C2 Memory 2 5 Memory C1 C2 Response Normal Operation Display Image Change Completed I CR Response Error 1 ERROR signal is output from the parallel output port Z CR Cause If a number except 0 to 5 or number of two or more digits is specified Response Error 2 U CR Cause The specified image cannot ...

Page 248: ...ve right downward 4 Move leftward 5 Press the Enter key 6 Move rightward 7 Move left upward 8 Move upward 9 Move right upward A Press the A key B Press the B key C Press the C key Response Normal No response to this command Response Error U CR Cause Command in the unspecified form or not provided was received Example K01C R 2 digit values are specified Only if READY signal is on AX40 is waiting fo...

Page 249: ...Communication Method Full duplex Synchronous Method Asynchronous Communication Speed 1200 2400 4800 9600 19200 38400 57600 115200 bit s Initial value 9600 Transmission Code ASCII Bit Length 7 bit 8 bit Initial value 8 bit Stop Bit 1 bit 2 bit Initial value 1 bit Parity None Odd Even Initial value Odd Flow Control None Soft Low Initial value None Transmission Format Delimiter C R Available PLCs for...

Page 250: ...owing settings Duplicate Detect OFF ACK Timeout 20 ms 20 Control Line NO HANDSHAKING Error Detect BCC NAK Retries 3 ENQ Retries 0 Embedded Responses AUTO DETECT Only integer registers are available Connecting with PLC Refer to page 28 for serial connection with the PLCs in previous page Be sure to connect the following parallel signals Ready signal RDY Error signal ERR Output Data The data that ca...

Page 251: ...No Value Hex Description Remark Bit 15 Bit 0 Judgement 10 E0E1 1 1 1 0 0 0 0 0 1 1 1 0 0 0 0 1 JD04 to JD01 11 0064 The value 100 is stored CA01 Numerical calculation 12 09C4 The value 2500 is stored CA03 13 0041 The value 65 is stored Data 1 Data monitor 14 0190 The value 400 is stored Data 2 Four Judgment data are stored per word The data of JD02 is not set to output but E is output because the ...

Page 252: ... described Setting Procedure 1 In SETUP mode select ENVIRONMENT Result Output Settings from the menu bar The Result Output Settings menu is displayed 2 Select Output Setting The subwindow for Output Setting selection is displayed 3 Choose Computer Link The dialog message shown below appears 4 Select OK The menu options for Computer Link are displayed Now settings for Computer Link are completed ...

Page 253: ...re the data register of this number first and then the rest of the data registers Time Out ms Settable Range 20 to 200000 in 1 ms unit Set the time limit from PLC to Response after data output if there is no response from PLC within the time limitation Time out error will occur and the device will output the error signal Output Data 16 bit 32 bit Specify the bit length of output data The available...

Page 254: ...7 or 8 Initial Value 8 To set the bit number per letter Stop Bit 1 or 2 Initial Value 1 To set the bit number of the signal that recognizes the end of data Parity None Odd Even Initial value Odd To specify the number of overhead bits to check for proper data transmission Flow Control None Software Initial value None To set how to control the handshake flow Setting Procedure 1 In SETUP mode select ...

Page 255: ...247 Chapter 12 Ethernet Communication Chapter 12 Ethernet Communication ...

Page 256: ...points Judgement Results and Analysis data of statistics quoted to Data Monitor up to 50 points Analysis data of statistics up to 50 points Backup and Restore of Setting Image Data Backing up and restoring the setting image data to the computer in which Vision AXTOOL specified for use with the AX40 is installed You can make the settings and backup and restore the image data only while READY signal...

Page 257: ...t Computer Link Serial Async Ethernet CF To select an output destination or output procedure Select Ethernet Output Data Judgement Output Data Monitor Both To select output data Judgement Output Data Monitor and Both are selectable Output Digit 0 11 Specify the maximum number of digits to output Invalid Digit Delete Zero Set invalid digit for data of less than the specified output digit The format...

Page 258: ...e AX40 and the PC with an Ethernet cable Cross Category 5E on the market and activate the machine Establishing Communication between AX40 and Computer To communicate with the AX40 via Ethernet use the software for Telnet The example of communication using HyperTerminal provided with Windows is as described below 1 Start HyperTerminal on the computer 2 Type a name in the box and click OK e g test 3...

Page 259: ... communication via Telnet If disconnecting the communication from Telnet or removing the Ethernet cable before removing power from the AX40 the AX40 may not recognize the connection with the device when you reconnect with the device from Telnet In such cases execute multiple inspections by inputting START signal or pressing the A key on the keypad for proper recognition of the connection ...

Page 260: ...uter 192 168 1 100 Connection with Multiple When communicating between a computer and multiple AX40s you need to use a hub or rooter for 100BASE TX or 10BASE T Connect between the AX40 and a hub router or between a hub router and the computer with a straight cable category 5E It is impossible to synchronously communicate between the AX40 and multiple computers connected to the network You cannot c...

Page 261: ...253 Chapter 13 Using a CF Card Chapter 13 Using a CF Card ...

Page 262: ...uter This function allows you to create a new checker or perform a test using the previously saved image even if you cannot prepare an object Copying the Entire Screen To copy the contents displayed on the entire screen As the data are saved as bitmap it can be edited on the computer Inspection Results Inspection results such as Judgement and data registered to Data Monitor can be saved on a CF ca...

Page 263: ...card while the device is turned off follow the steps below 1 Select CARD from the menu bar in SETUP mode The CARD menu is displayed 2 Select Eject The dialog message box appears saying Do you really want to remove CF card 3 Choose YES After the following message appears and press the ENTER key Now safe to eject 4 Press the eject button located above the slot Eject the Compact Flash memory card by ...

Page 264: ...and press the ENTER key Assign a number between 01 and 99 of the folder in which the setting data you want to restore exist The name of the folder in which image data are saved is preset to Program but a number followed by the folder name must be assigned For example if a number 01 is assigned to a holder the folder name will become Program01 and the image data file will be stored in the Program01...

Page 265: ...s the ENTER key Assign a number between 01 and 99 of the folder in which the setting data you want to restore exist You can specify only the number of the folder where the setting data exist in the CF card 4 Specify the number of the setting data and press the ENTER key Restoring the setting data starts The Restore menu disappears after the restoring is completed Even if only one Product Type file...

Page 266: ...w appears If the following message appears make sure to check if the Compact Flash card is surely inserted E0220 CF card is not inserted 3 Highlight Image and press the ENTER key Then assign a number between 01 and 99 of the folder in which the setting data you want to restore exist The name of the folder in which image data are saved is preset to Image but a number followed by the folder name mus...

Page 267: ...estore The subwindow is displayed If the following message appears make sure to check if the CF card is surely inserted E0220 CF card is not inserted 3 Highlight Image press the ENTER key and then specify the folder number 01 to 99 of the desired folder Only the numbers of the folders saved in the CF card are shown 4 Specify the folder number and press the ENTER key Restoring of the memory image s...

Page 268: ...older in which setting data are saved is preset to Image but a number followed by the folder name must be assigned For example if a number 01 is assigned to a holder the folder name will become Image 01 and a created product type file up to 16 and an environmental file only one will be stored in the Image01 folder 4 Specify the folder number and press the ENTER key Backup of the setting data will ...

Page 269: ...f images are saved in the specified folder Note that if only one set of saved images exist in the memory card this function will import them to Memory Image To Restore Saved Images Follow the same steps to restore the saved images that were used for restoring the memory images Refer to page 259 Even when the images not backed up from AX40 are restored the restoring can be done if they match the fo...

Page 270: ...cond while the desired screen is displayed The following message appears in the lower area of the status display area PRINT SCREEN Now saving Wait a minute Printing of a screen is completed after the menu disappears NO CF CARD The device does not recognize the CF card If the message appears make sure to check if the CF card is surely inserted If you use the CF card that does not have enough storag...

Page 271: ... turned on Therefore if the date has been changed while the device is on the device will keep outputting to the file created on or before the previous date Saved Data Judgement result of judgement up to 8 points Judgement results quoted to data monitor analysis data of statistics up to 50 points The data format is the same as the one that were used for communication with RS232C See page 220 To out...

Page 272: ...data images and copied screen display on a CF card The date and the time displayed on each folder and file are the date and time that the files and folders were backed up last The displayed date and time are quoted from the calendar built in the AX40 If the correct date and time are not displayed select INFO from the menu bar to check the Calendar settings ...

Page 273: ...265 Chapter 14 Information on AX40 and Help Function Setting Chapter 14 Information on AX40 and Help Function Setting ...

Page 274: ...Refer to section 5 4 on page 53 Setting Help Focal Adjustment Aperture Adjustment This feature makes it easy to properly adjust the focus of the imported inspection images and the aperture of the lens You can make aperture adjustment only in the gray memory I O Monitor This feature allows you to make sure to check if the input output terminals of the AX40 are surely connected with the external dev...

Page 275: ... shown at the right of Time is highlighted 3 Move the ENTER key to adjust the value and press the ENTER key The updated date and time are displayed The information on the date and time that is added to the saved image is quoted from the information of the Calendar Back up battery hold the information on the date and time only while the AX40 is not energized If the battery reaches the end of its ef...

Page 276: ...ve from the menu bar to save the new IP address 5 Reboot the device to enable the new setting IP address should be assigned depending on the IP address of the external device Example IP address of external device is 192 168 1 100 IP address of AX40 192 168 1 nnn 192 168 1 Assign the same address as the external device nnn Assign the number between 1 and 254 except 100 IP address initial value 192 ...

Page 277: ...h feature on the monitor screen 2 Select INFO Setting Help Focus or Aperture from the menu bar 3 Move the yellow rectangle to the feature position Set the start position first then the end point 4 Turn the focus ring in the right or left direction until it stops and press the ENTER key 5 Turn in the opposite direction until it stops and press the ENTER key 6 Keep turning the focus aperture ring un...

Page 278: ...l under the signal name the signal is forcibly output Check the output status with the external device 3 Press the ENTER key again while the name of the signal you want to reset is highlighted The circle in white is erased and the signal is reset Check the output status with the external device Monitoring the Input Port 1 Select INFO Setting Help I O Monitor from the menu bar 2 Input a signal from...

Page 279: ...271 Chapter 15 Troubleshooting Chapter 15 Troubleshooting ...

Page 280: ...en the division that is specified as numeric calculation is performed Arithmetic calculation ER is displayed in the calculation result field Item that does not exist is quoted to the Numeric calculation Judgement Statistics and Data Monitor windows If the quoted item is deleted after being quoted Arithmetic calculation Judgement output Statistics Data Monitor ER is displayed in the result display ...

Page 281: ...m the AX40 to the external device When display images were switched When a template was re registered By using parallel I O signal Execution signal FCT1 FCT2 was input by specifying an undefined combination of IN1 IN3 or IN1 IN7 signals By using serial command When each command was input the AX40 returns error response Z to the external device During AXTOOL communication More than 30 seconds has p...

Page 282: ...gure of which principal axis angle such as square perfect circle equilateral triangle cross joint cannot be detected In this case set Theta to No E0047 Position Adjustment Rotation Adjustment Smart Matching Contour Matching Image that fulfills the specified limits cannot be detected Check the preset conditions Are you taking the same object as the object that has been registered as a template Is C...

Page 283: ...275 Chapter 16 Specifications and Product Numbers Chapter 16 Specifications and Product Numbers ...

Page 284: ...6 format Rated voltage 24 V DC Operating voltage range 21 6 to 26 4V DC with ripples Number of camera connections 2 cameras Rated power consumption 0 9 A or less 0 7 A or less when one camera is connected Operating temperature range 0 to 50 C without icing and dew condensation Monitor output 1 ch Color VGA output Storage temperature 20 to 60 C without icing and dew condensation Operating storage h...

Page 285: ...ty noise resistance 4 000V or more Environmental resistance IP50 Default Weight Approx 1 4 kg Approx 1 3 kg Specification of Display Area Detail ANMX8300 ANMX8301 Display element 6 5 inch TFT liquid crystal Number of dots 640 H x 480 V pixels Display color 262144 colors Effective display size 132 5 H x 99 4 V Liquid crystal life 65 000 hours or more Backlight life Average 50 000 hours Picture sign...

Page 286: ...e 12V DC supplied from the controller 10 8 to 13 2V DC Consumed current 0 13 A Operating temperature range Performance guarantee temperature range 0 to 40 C Operating temperature range 0 to 50 C Storage temperature 30 to 60 C Operating humidity range Performance guarantee humidity range 50 to 70 RH without dew condensation at 25 C Operating guarantee humidity range 30 to 70 RH without dew condensa...

Page 287: ... Part Number Backup battery for AX40 Coin cell lithium battery with a cable AFPG804 Random Color Camera Camera Cable Product Name Specification CE Part Number Random Color Camera Random color camera C mount lens CE ANMX8310 Camera Cable support for CE 3m CE ANMX833003CE Camera Cable support for CE 5m CE ANMX833005CE Camera Cable support for CE 10m CE ANMX833010CE Camera Cable support for CE 15m CE...

Page 288: ...th lock when setting focal length of a lens or fixing an exposure adjusting ring Keypad Product Name Specification CE Part Number Cable length 2m ANM85202 Cable length 3m ANM85203 Cable length 5m ANM85205 Cable length 10m ANM85210 Cable length 2m support for CE CE ANM85202CE Cable length 3m support for CE CE ANM85203CE Cable length 5m support for CE CE ANM85205CE Operation Keypad Cable length 10m ...

Page 289: ...Product set for installation on main unit 2 ANMX8301 Mounting bracket Monitor cable attached length 0 5m ANMX8303 Mounting bracket VGA monitor Product Mounting brackets ANMX835 Monitor cable 0 5m for all in one mounting ANMX83310 Monitor cable 1m ANMX83311 Monitor cable 2m ANMX83312 VGA monitor cable Monitor cable 3m ANMX83313 Cable length 0 5m ANMX83330 Cable length 1m ANMX83331 Cable length 2m A...

Page 290: ...direct light conducting ring light Ø 102 indirect light conducting ring light AULFR 100 Flat light 27 x 27 light source AULDL TP2727 Flat light 43 x 35 light source AULDL TP4335 Penetration light flat Flat light 80 x 100 light source AULFL 100 Coaxial light 26 x 28 translucent glass size AULFV 34 Coaxial light Coaxial light 32 x 36 translucent glass size AULFV 50A 10 W type Output 12V 24V switchov...

Page 291: ...283 Chapter 16 Specifications and Product Numbers 16 3 Dimensions AX40 Random Color Camera Product number ANMX8310 ...

Page 292: ...284 Specifications and Product Numbers Chapter 16 Camera Cable Keypad ...

Page 293: ...285 Chapter 16 Specifications and Product Numbers Lens ANB846NL ANB845NL ANB847L ANB843L ANM8850 ANM88501 Unit mm ...

Page 294: ...286 Specifications and Product Numbers Chapter 16 ANM88161 ANM88251 ANB842NL Unit mm ...

Page 295: ...287 Chapter 16 Specifications and Product Numbers Color LCD VGA Monitor ANMX8300 Unit mm Mounting Plate Cutting Dimension ANMX8301 Unit mm Mounting Plate Cutting Dimension ...

Page 296: ...288 Record of Changes Manual No Date Description of Changes ARCT1F462E March 2009 First Edition ...

Reviews: