Table of Contents

Advertisement

Quick Links

User's Manual
http://www.nais-e.com/vision/
Panasonic...the new name for
Matsushita Electric Works, Ltd.

Advertisement

Table of Contents
loading

Summary of Contents for Panasonic LightPix AE20

  • Page 1 User's Manual http://www.nais-e.com/vision/ Panasonic...the new name for Matsushita Electric Works, Ltd.
  • Page 2: Safety Precautions

    Before Reading This Manual Thank you for purchasing the LightPixAE20. In this manual, information on the hardware (installation, wiring, etc.) and the software (functions, setting procedures, etc.) is described. Read this User’s Manual carefully before use. Safety Precautions To ensure that you use this product correctly, read this User’s Manual thoroughly before use. Make sure that you fully understand the product and information on safe.
  • Page 3: Table Of Contents

    Table of Contents Precautions before Use .................. iv 1. Overview of Light Pix AE20..............1 Overview ......................2 Product Configuration..................3 Inspection Applications..................4 2. Names and Functions of Parts..............5 About the Main Unit ................... 6 Operation Unit ....................7 2.2.1 Operation Unit ......................7 2.2.2...
  • Page 4 Color Area and Color Judgement ..............32 4.2.1 Overview of Color Area................... 32 4.2.2 Overview of Color Judgement................. 33 4.2.3 Setting Procedures and Modes................34 4.2.4 Setting up the LightPixAE20 in CONFIGURATION Mode........35 4.2.5 Teaching in TEACHING Mode................37 4.2.6 Setting Judgement Criteria in JUDGEMENT CRITERIA SETTING mode ....
  • Page 5 5.2.1 Performing a Reading Operation (Internal Trigger: OFF) ........102 5.2.2 Switching Product Types..................103 5.2.3 Swtiching to TEACHING Mode ................103 5.2.4 Teaching .......................104 6. RS-232C Communication ..............107 Overview .......................108 Command Format ..................110 6.2.1 Reading Data Area: RD ..................110 6.2.2 Writing in the Data Area: WD ................111 6.2.3 Notation Sytem for Data in Command/Response Messages ........112...
  • Page 6: Precautions Before Use

    Precautions before Use Installation Environment Avoid installing the LightPixAE20 in the following locations: Locations with direct sunlight or environmental temperatures exceeding a range of 0ºC to +40ºC. Locations with a relative humidity exceeding a range of 35%RH to 85%RH (without dew condensation at 25ºC) Locations with a lot of fine particles, iron filings, salt, oily smoke or conductive dusts.
  • Page 7 General Cautions Do not connect Ethernet to the connector on the operation unit for connecting the optional cable or the port for connecting the operation unit. Use the operation unit and finder unit of a product number specified by Matsushita Electric Works, Ltd. A breakdown, damage or destruction by using any other than the specified will not be covered by our guarantee.
  • Page 8: Overview Of Light Pix Ae20

    Chapter 1 Overview of Light Pix AE20...
  • Page 9: Overview

    1.1 Overview LightPixAE20 (hereinafter called “the LightPixAE20”) is a device that is integrated with CPU, camera, lens and lighting equipment. With AETOOL software for the LightPixAE20 (free), you can download one of the inspection applications to the main unit, check scanning conditions or images and document the images stored in the main unit (or save them as bmp file).
  • Page 10: Product Configuration

    1.2 Product Configuration Main Unit The LightPixAE20 is a device that is integrated with CPU, a camera and lighting equipment. Inspections can be performed by using the main unit only. You can download one of the inspection applications to the AETOOL. The LightPixAE20 has parallel I/O and serial RS-232C ports for communication with external devices.
  • Page 11: Inspection Applications

    1.3 Inspection Applications There are six kinds of inspection applications available on the LightPixAE20. You can download one of the following inspection applications to the main unit before use. Inspection Applications Type Overview Color Area Measures the registered color area Color Judgement Selects the color of the object from maximum seven registered Color Pattern...
  • Page 12: Names And Functions Of Parts

    Chapter 2 Names and Functions of Parts...
  • Page 13: About The Main Unit

    2.1 About the Main Unit Designations and Descriptions of Each Part Name Description Capture part Camera for capturing images, lens and white LED are built in this part. I/O cable This external input/output cable used for supplying 24 VDC, inputting scan start TRIGGER signal and outputting inspection result signal.
  • Page 14: Operation Unit

    2.2 Operation Unit 2.2.1 Operation Unit Designations and Descriptions of Each Part Name Description Display area Operation status of main unit, modes, inspection results and setting items are displayed in the display area. Refer to the next page for further details. Operating buttons Used for operating the main unit.
  • Page 15: Texts Displayed On The Lcd Monitor Of The Operation Unit

    2.2.2 Texts Displayed on the LCD Monitor of the Operation Unit The display area of the operation unit displays measurement data and setting values and operating status of the LightPixAE20 as a text string. Displayed Mode Description text CONFIGURATION mode Indicates the LightPixAE20 is in CONFIGURATION mode RUN (RUN VIEW) mode Indicates the LightPixAE20 is in RUN mode.
  • Page 16: Lock Function

    2.2.3 Lock Function The LightPixAE20 comes with a built-in Lock function that helps you avoid accidental operation of the operation unit (if connected). As long as this function is activated, the current operation mode and settings of the LightPixAE20 are not changed even if the operating buttons are accidentally pressed. Buttons to be used for setting the Lock function To lock the operation unit: 1.
  • Page 17: Finder Unit

    2.3 Finder Unit Designations and Descriptions of Each Part Name Description Image display area A captured image is displayed when the LightPixAE20 is in RUN-VIEW mode. (Images are not displayed in RUN mode.) Connecting connector Used for connecting the operation unit. Expected service life of the backlight is approx.
  • Page 18: Installation And Wiring

    Chapter 3 Installation and Wiring...
  • Page 19: A List Of Connectable Units And Devices

    3.1 A List of Connectable Units and Devices Connectable unit/device Purpose Ref. Page Operation unit and finder To set inspection conditions and display images unit I/O – power supply unit and To control the LightPixAE20 with external devices such as power supply unit and PLC and import measurement results.
  • Page 20: Connection Between The Units

    3.2 Connection between the Units 3.2.1 Connection the Main Unit to the Operation Unit Use only the specified cable ANE2813 (cable length: 3m) or ANE2823 (cable length: 3m) to connect the main unit to the operation unit. When connecting to only the operation unit (with the finder unit) When connecting the main unit to the operation unit (with the finder unit) and to the external devices such as PLC and POT via RS-232C...
  • Page 21: Connection Of The Operation And Finder Units

    3.2.2 Connection of the Operation and Finder Units You can mount the finder unit on the operation unit without using any cables. Use the connector for connecting the operation unit or finder unit on each unit. To mount the operation unit on the finder unit: 1.
  • Page 22: Fixing And Removing The Main Unit

    3.3 Fixing and Removing the Main Unit 3.3.1 Main Unit Fixing the main unit on a wall Use the three holes on a side of the main unit to fix it on a wall. Avoid installing the main unit as the following figures shown below. Wrong Examples...
  • Page 23 Installation distance between the main unit and the inspection object Keep 15 to 220 mm space between the object and the main unit, but the space varies depending on the product number of the main unit. Since light guides (two red LED lights) are emitted from the LightPixAE20 to the area around the object, adjust the position of the main unit so that the two lights are close (or overlap) each other.
  • Page 24 Conformity to the EMC standard The AE20 will comply with the EMC standards (EN61000-6-4, EN61000-6-2) in EMC Directive (EMC Directive 89/336/EEC). The product must fulfill the following conditions: 1. No USB communication 2. Ferrite core must be used for the wirings as the figures shown below. 3.
  • Page 25: Operation Unit

    3.3.2 Operation Unit Installing the operation unit only Mount the operation unit onto the front side of the mounting plate, insert the mounting frame into the rear side of the operation unit, then tighten the mounting frame with the screws. Sizes of the mounting plate Use 1 to 5mm thick panel.
  • Page 26: Finder Unit

    3.3.3 Finder Unit To mount the finder unit: Assemble the operation unit first, mount the finder unit onto the front side of the mounting plate, and then insert the mounting frame into the rear side of the fixing plate. Sizes of the mounting plate Use 1-5mm thick panel.
  • Page 27: Installation Environment

    3.3.4 Installation Environment Installation Environment Avoid installing the LightPixAE20 in the following locations: Locations with direct sunlight or environmental temperatures exceeding a range of 0ºC to +40ºC. Locations with a relative humidity exceeding a range of 35%RH to 85%RH (without dew condensation at 25ºC) Locations with a lot of fine particles, iron filings, salt, oily smoke or conductive dusts Locations with a lot of dusts, oily smoke, conductive dusts, or corrosive or flammable gases...
  • Page 28: Input/Output Cables For Connecting Power Supply Unit Or External Devices

    3.4 Input/Output Cables for Connecting Power Supply Unit or External Devices The cables for connecting to the power supply unit or external devices are attached on the LightPixAE20. 3.4.1 Sequence of Input/Output Signals Color Signal Input/Output Description White COM (IN) Input COM for input TRIGGER...
  • Page 29: Input Signal

    3.4.2 Input Signal Circuit Notes on Parallel Input • To prevent input signal chattering, use a non-contact input (transistor etc.). If chattering occurs, inputs may be missed or input recognition may be delayed. • Be careful when using only full-wave rectification (including ripples) power supply for DC input, as it may cause abnormal operation.
  • Page 30: Output Signal

    3.4.3 Output Signal Circuit Output part: PhotoMos relay The output load should be within the specified range. See the figure shown below. Notes on Parallel Output • Leakage current at the time of output signal OFF is less than 100 µA. •...
  • Page 31: Power Supply Unit And The Wiring

    Increase Resistance to Noise • Separate the wiring systems for the LightPix AE20 main unit, input devices, and output devices with each other. • When there is a particular concern about noise coming from input/output circuits, it is recommended that the power source for the LightPixAE20 and for input/output should be separately supplied.
  • Page 32: Grounding The Main Unit

    3.4.5 Grounding the Main Unit Observe the followings to connect the grounding cable. • Do not commonly use the ground with other devices. • Grounding should be as close as the main unit as possible, and keep the distance short. •...
  • Page 33: Serial (Rs-232C) Port

    3.5 Serial (RS-232C) Port 3.5.1 Connecting to the External Devices When using the operation unit and finder unit: When NOT using the operation unit and finder unit: Three-cable system for RS-232C: Assignment Cable color Signal Yellow Black...
  • Page 34: Wiring Method

    3.5.2 Wiring Method Example of cable connections Example of cable connection with PLC: Example of cable connection with Matsushita programmable display GT11:...
  • Page 35 Notes on cable connections Observe the followings to prevent the cables from melting down. • Use the untwisted cables for connections. • Avoid soldering cable cores; otherwise, vibration may cut off the cables. • Do not apply load on the cables after making cable connections. Making cable connections with multiple main units If you control multiple main units with one host (including PLC and PC), use the RS-232C-to-RS485/RS485-to-RS232C (commercially available) conversion adapter.
  • Page 36: Inspection Applications

    Chapter 4 Inspection Applications...
  • Page 37: Overview

    4.1 Overview 4.1.1 Inspection Applications There are six kinds of inspection applications available on the LightPixAE20. You can download one of the following inspection applications to the main unit. Inspection Applications Type Overview Color Area Measures the registered color area Checks whether or not the color area exceeds the set limit Color Selects the color of the object from the maximum seven registered colors...
  • Page 38: Inspection Time

    4.1.2 Inspection Time Inspection time refers to the total time required for the following four inspections. 1 Exposure time 0.03 - 50.00 ms, set the exposure time in TEACHING mode Inspection Time 2 Transfer time 4 ms: Fixed 3 Computation Differs depending on the application and “inspection speed”...
  • Page 39: Color Area And Color Judgement

    4.2 Color Area and Color Judgement 4.2.1 Overview of Color Area The Color Area application is used for measuring the registered color area. It judges whether or not the measured color area values are within the set area range, and if the color area values are within the range (OK judgement), the OUT1 signal is turned on, if they are out of the range (NG judgement), the OUT1 signal is turned off.
  • Page 40: Overview Of Color Judgement

    4.2.2 Overview of Color Judgement The Color Judgement application performs inspection to select the color of the object from maximum seven registered colors. With this application, you can set the area range that the obect within the inspection area is judged as OK for each product type 1 - 7.
  • Page 41: Setting Procedures And Modes

    4.2.3 Setting Procedures and Modes The LightPixAE20 can be configured following the steps below: Install the main unit and connect to a power supply unit, Set up devices. Section 3 each unit and external devices. Turn the LightPixAE20 on. Apply 24 V DC Set up the LightPixAE20 system in CONFIGURATION Configure the mode.
  • Page 42: Setting Up The Lightpixae20 In Configuration Mode

    4.2.4 Setting up the LightPixAE20 in CONFIGURATION Mode In CONFIGURATION mode, you can set up the main, operation and finder units and also set and save the inspection/communication conditions as shown below. Refer to section 4.7 ” Detailed Functions in CONFIGURATION Mode” for details of each function.
  • Page 43 ST.NO: (1 to 31) Station Number function: Sets a device number (unit) used for RS-232C communication BAUD.R: (9.6 to 57.6 kbps) Baud Rate function: Sets RS-232C communication speed OUT.D: (0 to 160 ms) in the 20 ms Output Delay function: Outputs inspection results after the original output timing CAP.D: (0 to 160 ms) in the 1 ms...
  • Page 44: Teaching In Teaching Mode

    4.2.5 Teaching in TEACHING Mode In TEACHING mode, you can make and save the following settings for each product type: Exposure time: 0.03 - 50.00 ms Inspection area size/position: Sets the measurement area Color extraction area size/position: Sets the area for measuring the color to be saved Color: Registers the color existing most in the color extraction area When you press the TRIGGER (<6>) button, the color within the color extraction area is registered.
  • Page 45 Operation in TEACHING mode The number in < > in the table below represents the button number of the o peration unit (see the figure on the right). TEACH: OK (teaching for OK product only) TEACH: OK (teaching for OK product only) In INSPECTION (or RUN) In TEACHING mode (“TEACH”...
  • Page 46 TEACH: OKNG (when perform a teaching for OK and NG products) In INSPECTION (or RUN) In TEACHING mode (“TEACH” is displayed.) mode Exposure time: 0.03 to 50.00 ms You can always (default: 3.05) change the <7>: Allows you to decrease product types by exposure time up to 0.03 pressing the <2>...
  • Page 47 Resizing and positioning the reading area Setting item Description Adjustment of inspection area size: SIZE X direction (wide) • <3>: Reduces the inspection area • <4>: Enlarges the inspection area Y direction (length) • <7>: Reduces the r inspection area •...
  • Page 48: Setting Judgement Criteria In Judgement Criteria Setting Mode

    4.2.6 Setting Judgement Criteria in JUDGEMENT CRITERIA SETTING mode In JUDGEMENT CRITERIA SETTING mode, you can set the minimum and maximum area limits that the unit judges as OK in mm . Upon the completion of teaching, the area limits have been set for the type of teaching and detected area.
  • Page 49: Inspection Execution

    4.2.7 Inspection Execution The ways of inspection execution Internal trigger: ON Inspection is automatically executed by switching to RUN mode After switching to RUN mode, input the TRIGGER signal to external devices or Internal trigger: OFF press the TRIGGER button. Inspection judgement results Inspection judgement results are output to the parallel ports of OUT1 to OUT3.
  • Page 50 Checking inspection data The number in < > in the table below represents the button number of the o peration unit (see the figure on the right). Color Area Color Area When inspecting in RUN mode, you can check the area value. When inspecting in RUN mode, you can check the area value.
  • Page 51: Color Pattern Matching

    4.3 Color Pattern Matching 4.3.1 Overview of Color Pattern Matching In the image from which a registed color was extracted, the LightPixAE20 detects the registered base image (template) in the inspection area (, which is called “Searching“). The unit judges whether the detected image is positioned within the allowable range (the base position +/- set range).
  • Page 52 Conditions under which inspection image position is judged as OK If the detected image is positioned within the position of the saved template +/- allowable range (settable in JUDGEMENT CRITERIA SETTING mode), the LightPixAE20 judges as OK. Settings of teaching and judgement criteria X and Y are judged as OK X and Y,or Y or Y are judged as NG.
  • Page 53 About inspection steps The LightPIxAE20 separately searches an image similar to the template within the inspection area at second and third steps. The number of steps varies depending on the inspection speed (settable in CONFIGURATION mode) When the inspection speed is set to “High” or “Middle”, inspection is performed at three steps, and when it is set to “Low”, it is performed at two steps.
  • Page 54 Detailed conditions: Number of detection candidates Number of detection candidates At the first and second steps, if you set the number of detection candidates when there are multiple images having more than the specified degree of similarity, you can detect the images of the specified number. The detected multiple images are called the “number of detection candidates”.
  • Page 55: Setting Procedure And Modes

    4.3.2 Setting Procedure and Modes Make the inspection settings following the steps below: Install the main unit, and connect to a power supply unit, each Set up devices. Section 3 unit and external devices. Turn the LightPixAE20 Apply 24 V DC. Configure the Set up the LightPixAE20 system in CONFIGURATION mode.
  • Page 56: Configuration Mode

    4.3.3 CONFIGURATION mode In CONFIGURATION mode, you can set up the main, operation, and finder units, and save the settings. The setting items available in this mode are as follows: The number in < > in the table below represents the button number of the operation unit (see section 4.7, “Detailed Functions in CONFIGURATION Mode”).
  • Page 57 Function Display on the operation unit Upper: Function name and options (The left LCD display shows default settings.) to be displayed Middle: Name Lower: Description ST.NO: (1 ~ 31) Station Number function: Sets a device number (unit) used for RS-232C communication BAUD.R: (9.6 ~ 57.6 kbps) Baud Rate function: Sets RS-232C communication...
  • Page 58 Function Display on the operation unit Upper: Function name and options (The left LCD display shows default settings.) to be displayed Middle: Name Lower: Description The following four functions are available only if the DETAL function is turned ON. REVI2: (0 ~ 50) Revise2 function: Adjusts the threshold for the degree of similarity at the second...
  • Page 59: Teaching In Teaching Mode

    4.3.4 Teaching in TEACHING Mode In TEACHING mode, you can make and save the following settings for each product type: • Exposure time: 0.03 to 50.00 ms • Inspection area size/position: Sets the area for searching the registered color • Color: Registers the color existing most in the color extraction area •...
  • Page 60 Operation in TEACHING mode Operation in TEACHING mode differ the type of teaching. (The type of teaching is settable in CONFIGURATION mode.) The number in < > in the table below represents the button number of the operation unit (see the figure on the right). TEACH: OK (teaching for OK product only) In INSPECTION (or RUN) In TEACHING mode (“TEACH”...
  • Page 61 TEACH: OKNG (Teaching for OK product and NG product In INSPECTION (or RUN) In TEACHING mode (“TEACH” is displayed) mode TEMP: Saved template NO TEMP: The saved template image is If no template displayed at the left upper is saved area on the finder unit.
  • Page 62 • ALARM signal When the unit failed to complete a teaching, the ALARM signal is displayed or output after executing a teaching. In this case, follow the instructions below: -Freeze the object while executing a teaching -Reset the exposure time manually •...
  • Page 63: Setting Judgement Criteria In Judgement Criteria Setting Mode

    4.3.5 Setting Judgement Criteria in JUDGEMENT CRITERIA SETTING Mode Based on the X-and Y-directional distance between the left upper corner of the inspection area that saved by teaching and the center of the template, set the allowable limit for OK judgement in mm. If the image is located within the range from the left upper corner of the inspection area to the median between the detection positions of the OK product and NG product when an OK/NG teaching was executed, change the limit in this mode as necessary.
  • Page 64: Inspection Execution

    4.3.6 Inspection Execution The Ways of inspection execution Internal trigger: ON Inspection is automatically performed by switching to RUN mode. After switching to RUN mode, input the TRIGGER signal via the external device or Internal trigger: OFF press the TRIGGER button. Inspection judgement results Output judgement results to the parallel ports of OUT1 to OUT3 as the table shown below.
  • Page 65 Checking the measured data When inspecting in RUN mode, you can confirm X- and Y- directional positions, degree of similarity and inspection time. Upper line: Product type number and data type Display Data type: X / Y / Time / M data •...
  • Page 66: Edge Detection

    4.4 Edge Detection 4.4.1 Overview of Edge Detection In a binarized image, the unit detects an edge in the inspection area. When the edge in the same direction as the base edge saved in TEACHING mode and the edges within the base destance +/- allowable limit are detected, it is judged as OK and OUT1 is turned ON.
  • Page 67 Conditions under which measuring results are judged as OK If the detected edge meets the inspection results and following two conditions, it is judged as OK. The edge in the edge direction (X or Y) for which a teaching was executed must be detected. Detection edge distance does not exceed the edge distance for which a teaching was executed +/- allowable range set in JUDGEMENT CRITERIA SETTING mode.
  • Page 68: Setting Procedure And Modes

    4.4.2 Setting Procedure and Modes Inspection is performed following the steps below: Install the main unit, and connect to a power supply unit, Set up devices. Section 3 each unit and external devices. Turn the LightPixAE20 on. Apply 24 V DC. Set up the LightPixAE20 system in CONFIGURATION Configure the mode.
  • Page 69: Setting Up The Lightpixae20 In Configuration Mode

    4.4.3 Setting Up the LightPixAE20 in CONFIGURATION Mode In CONFIGURATION mode, you can set up the main, operation and finder units and also set and save the inspection/communication conditions as shown below. Refer to section 4.7 ”Detailed Functions in CONFIGURATION Mode” for details of each function.
  • Page 70 Function Display on the operation unit (The left LCD display shows default settings.) Upper: Function name and options to be displayed Middle: Name Lower: Description A.SAVE: (ON / OFF) Auto Save function: Allows you to set to save the settings automatically ST.NO: (1 ~ 31) Station Number Sets a device number (unit) used...
  • Page 71: Executing A Teaching In Teaching Mode

    4.4.4 Executing a Teaching in TEACHING Mode In TEACHING mode, you can make and save the following settings for each product type: • Exposure time: 0.03 to 50.00 ms • Binary level: To set a threshold value in order to obtain a binary •...
  • Page 72 Operation in TEACHING mode The teaching procedure differs between for OK product only and for OK/NG products. (Type of teaching is selectable in CONFGURATION mode.) The number in < > in the table below represents the button number of the o peration unit (see the figure on the right).
  • Page 73 TEACH: OKNG (Teaching for OK and NG products) In INSPECTION (or RUN) TEACHING mode (“TEACH” is displayed.) mode Upper line- Binary level: 0 – 255 You can always (default: 150) switch the product <3>: Decreases the value types by pressing <4>: Increases the value <2>...
  • Page 74 Resizing and moving the inspection area Setting items Description Resize the inspection area size: SIZE X direction (width) • The <3> button: Reduces the width • The <4> button: Enlarges the width Y direction (length) • The <7> button: Reduces the length •...
  • Page 75: Setting Up The Judgement Criteria In Judgement Criteria Setting Mode

    4.4.5 Setting Up the Judgement Criteria in JUDGEMENT CRITERIA SETTING mode Based on the base edge distance saved by teaching, the limit for OK judgement specified in mm. When executing a teaching, the proper values for teaching type and detected edge distance are set. Change the allowable limit in this mode as necessary.
  • Page 76: Inspection Execution

    4.4.6 Inspection Execution The Ways of Inspection Execution Internal trigger: ON Inspection is automatically performed by switching to RUN mode. After switching to RUN mode, input the TRIGGER signal to external devices or Internal trigger: OFF press the TRIGGER button. Inspection Judgement Results Judgement results are output to the parallel ports of OUT1 to OUT3 as the table shown below Judgement Results...
  • Page 77: Peak Detection

    4.5 Peak Detection 4.5.1 Overview of Peak Detection In a binarized image, the unit detects a point in the inspection area. If the base point saved in TEACHING mode is detected, and the distance between the left upper of the point in the inspection area where the point is detected and the detected point is within the base position +/- allowable range, the image is judged as OK, and OUT1 is turned ON.
  • Page 78 Conditions under the measuring results are judged as OK As a result of inspection, if the image that meets the following two conditions, it is judges as OK. The points of the images must be detected. The detected X- and Y-directional distances must be within the distance between the left upper of the point in the inspection area and the detected point for which a teaching was executed +/- allowable range set in the JDGEMENT CRITERIA SETTING mode .
  • Page 79: Setting Procedure And Modes

    4.5.2 Setting Procedure and Modes Inspection is performed following the steps below: Install the main unit, and connect to a power supply unit, Set up devices. Section 3 each unit and external devices. Turn the LightPixAE20 on. Apply 24 V DC. Set up the LightPixAE20 system in CONFIGURATION Configure the mode.
  • Page 80: Setting Up The Lightpixae20 In Configuration

    4.5.3 Setting Up the LightPixAE20 in CONFIGURATION In CONFIGURATION mode, you can set up the main, operation and finder units and also set and save the inspection/communication conditions as shown below. Refer to section 4.7 ”Detailed Functions in CONFIGURATION Mode” for details of each function.
  • Page 81 Upper: Function name and options Display on the operation unit to be displayed (The left LCD display shows default settings.) Middle: Name Lower: Description ST.NO: (1 ~ 99) Station Number Station Number function: Sets a device number (unit) used for RS-232C communication BAUD.R: (9.6 ~ 57.6 kbps) Baud Rate function: Sets RS-232C communication...
  • Page 82: Teaching In Teaching Mode

    4.5.4 Teaching in TEACHING Mode In TEACHING mode, you can make and save the following settings for each product type: • Exposure time: 0.03 - 50.00 ms • Binary level: Binary level: To set a threshold value in order to obtain a binary •...
  • Page 83 Operation in TEACHING mode Operation in TEACHING mode differ the type of teaching (the type of teaching is settable in CONFIGURATION mode. The number in < > in the table below represents the button number of the o peration unit (see the figure on the right). TEACH: OK (teaching for OK product only) In INSPECTION (or RUN) TEACHING mode (“TEACH”...
  • Page 84 TEACH: OKNG (teaching for OK and NG products) In INSPECTION (or RUN) In TEACHING mode (“TEACH” is displayed.) mode Upper line You can always Binary level: 0 – 255 (default: 150) switch the product <3>: Decreases the value types by pressing <2> <4>: Increases the value and <5>...
  • Page 85 Resizing and moving the inspection area Setting items Description SIZE: Resize the inspection area size X direction (width) • The <3> button: Reduces the width • The <4> button: Enlarges the width Y direction (length) • The <7> button: Reduces the length •...
  • Page 86: Setting Up The Judgement Criteria In Judgement Criteria Setting Mode

    4.5.5 Setting Up the Judgement Criteria in JUDGEMENT CRITERIA SETTING Mode Based on the base distance in the X and Y directions between the left upper of the point in the inspection area and the detected point saved by teaching, set the limit for OK judgement in mm. When executing a teaching, the proper values for teaching type and for detected distance between the left upper of the point in the inspection area and the detected point are set.
  • Page 87: Inspection Execution

    4.5.6 Inspection Execution The ways of inspection execution Internal trigger: ON Inspection is automatically performed by switching to RUN mode. After switching to RUN mode, input the TRIGGER signal to external devices or Internal trigger: OFF press the TRIGGER button. Inspection judgement results Judgement results are output to the parallel ports of OUT1 to OUT3 as the table shown below.
  • Page 88: Measurement

    4.6 Measurement 4.6.1 Overview of Length Measurement In a binary image, the LightPixAE20 measures the X- and Y-directional lengths of the object in the selected color (black or white) within the inspection ara. The unit checks whether or not the minimum and maximum values for the detected length does not exceed the base length +/- allowable range, and it outputs the judgement result for the maximum and mininum values to OUT2 and OUT1 respectively.
  • Page 89 Example of the images having detectable and undetectable If detection direction= X (Direct.T = X), inspection object color=Black (OUT.T=BLACK) Detectable images Undetectable images Reasons: Only the part having no inspection color, less than 5 pixels and the value less than the minimum value for inspection object is captured.
  • Page 90 Conditions under which measuring result are judged as OK If the inspection results fulfill the following conditions, the LightPixAE20 judges them as OK. Can find out the length in the direction of the object in the color specified in CONFIGURATION mode The measured length does not exceed the limit (the length value for which teaching was executed +/- allowable limit) Example...
  • Page 91: Setting Procedure And Modes

    4.6.2 Setting Procedure and Modes Make the inspection settings following the steps below: Install the main unit, and connect to a power supply unit, Set up devices Section 3 each unit and external devices Turn the LightPixAE20 on. Apply 24 V DC. Set up the LightPixAE20 system in CONFIGURATION Configure the mode.
  • Page 92: Setting Up The Lightpixae20 In Configuration Mode

    4.6.3 Setting Up the LightPixAE20 in CONFIGURATION Mode In CONFIGURATION mode, you can set up the main, operation and finder units and also set and save the inspection/communication conditions as shown below. Refer to section 4.7 ” Detailed Functions in CONFIGURATION Mode” for details of each function.
  • Page 93 Function Display on the operation unit The left LCD display shows default settings. Upper: Function name and options to be displayed Middle: Name Lower: Description ST.NO: (1 ~ 99) Station Number function: Sets a device number (unit) used for RS-232C communication BAUD.R: (9.6 ~ 57.6 kbps) Baud Rate function: Sets RS-232C communication...
  • Page 94: Setting A Minimum Value For A Mesurement Object

    4.6.4 Setting a Minimum Value for a Mesurement Object In JUDGEMENT CRITERIA SETTING and MESUREMENT OBJECT MIN. SETTING mode, set the length of an inspection object. You can set up to four digits including the numbers under the decimal point, but the number of digits you can set varies depending on the type of unit.
  • Page 95: Teaching In Teaching Mode

    4.6.5 Teaching in TEACHING mode In TEACHING mode, you can make and save the following settings for each product type • Exposure time: 0.03 to 50.00 ms • Binary level: To set a threshold value in order to obtain a binary •...
  • Page 96 Operation in TEACHING mode The teaching procedure differs between for OK product only and for OK/NG products. (Type of teaching is selectable in CONFGURATION mode.) The number in < > in the table below represents the button number of the o peration unit (see the figure on the right).
  • Page 97 TEACH: OKNG (teaching for OK and NG products) In INSPECTION (or RUN) TEACHING mode (“TEACH” is displayed.) mode Upper line- Binary level: 0 – 255 You can always switch (default: 150) the product types by pressing <2> and <5> • <3>: Decreases the value buttons at the same •...
  • Page 98 Resizing and moving the inspection area Setting items Description SIZE: Resize the inspection area size X direction (width) • The <3> button: Reduces the width • The <4> button: Enlarges the width Y direction (length) • The <7> button: Reduces the length •...
  • Page 99: Setting Up Judgement Criteria In Judgement Criteria And Measurement Object Min. Setting Modes

    4.6.6 Setting Up Judgement Criteria in JUDGEMENT CRITERIA and MEASUREMENT OBJECT MIN. SETTING modes Based on the base measurement saved by teaching, the allowable limits for OK judgement specified each in X and Y direction in mm. Operation in JUDGEMENT CRITERIA SETTING mode In INSPECTION (or RUN) mode In JUDGEMENT CRITERIA SETTING mode (“SET”...
  • Page 100: Measurement Execution

    Even if you selected X-directional measurement direction in CONFIGURATION mode, Y-directional base length and the allowable range do not affect the inspection results. Similarly, even if you selected Y-directional measurement direction in CONFIGURATION mode, X-directional base length and the allowable range do not affect the inspection results. 4.6.7 Measurement Execution The ways of mesurement execution Internal trigger: ON...
  • Page 101 Checking measurement data When carrying out measurement in RUN mode, you can check the minimum and maximum of the detected length in the X and Y directions. When setting the direction of the inspection object in CONFITURATION mode to X, you can check the default or previous settings by selecting Y, but you should not refer to the settings.
  • Page 102: Detailed Functions In Configuration Mode

    4.7 Detailed Functions in CONFIGURATION Mode Item Description Applica- tion I.SETT: (CANCEL / Returns to the default settings for each item in CONFIGURATION (refer SET) to the section describing CONGIFURATION mode for each application) Initial Setting section 4, “Inspection Applications” for more information on SAVE: (CANCEL / Saves the current configuration data SAVE)
  • Page 103 Item Description Applica- tion CAP.D: (0 ~ 160 ms) 1 Indicates the waiting time for the LightPixAE20 to capture the image after the TRIGGER signal input Capture Delay But, the READY signal is turned off without delay after the TRIGGER signal is input, irrespective of the Capture Delay time.
  • Page 104 Item Description Applica- tion V.IMG1 ~ 8: Displays the saved images (up to eight) and the inspection data. If no V.Image1 ~ 8 image is saved, “EMPTY” is displayed on the operation unit. If any images are saved, the meaured data are displayed on the operation unit Example display: Color Area If no image is saved, ”ENPTY”...
  • Page 105 Item Description Applica- tion DETAL: (ON / OFF) Color Pattern Matching function is used for detecting an image that Color Detail: matches the saved template having more than the certain degree of Pattern Allows you to select similarity Matching the detailed settings of the computation •...
  • Page 106: Parallel Communication

    Section 5 Parallel Communication...
  • Page 107: Operations Through Parallel Communication

    5.1 Operations through Parallel Communication 5.1.1 Using Input Signals from External Devices Inputting signals to each cable from external devices enables the LightPixAE20 to perform the following operations. Input Operation Used signal Input: Executes an inspection TRIGGER signal Operations triggered Switches product types TYPE1 to 3 signals by inputting signals...
  • Page 108 Color Pattern Matching Judgement Results OUT3 OUT2 OUT1 All OK An image having more than the specified degree of similarity is detected. X- and Y-positions (distances) are within the range Image An image having more than the Detection specified degree of similarity is X = OK detected.
  • Page 109: Input/Output Timing

    5.2 Input/Output Timing 5.2.1 Performing a Reading Operation (Internal Trigger: OFF) When you perform inspection by inputting the TRIGGER signal from external devices, follow the timing chart shown below. If you switch product types before executing an inspection, input the signals following the timing chart below.
  • Page 110: Switching Product Types

    5.2.2 Switching Product Types What is product type switch? Product type switch is to call a product type, for which you want to execute an inspection or a teaching, from product types of 1 to 7. To switch product types: Specify a product type number you want to change using TYPE 1-3 signals (see the table shown below).
  • Page 111: Teaching

    5.2.4 Teaching The LightPixAE20 can execute a teaching using the signals from the external devices based on the currently captured image, but exposure time and binary level may be changed after teaching execution. Therefore, execute a teaching only if there is no problem having these values changed. Timing chart: Teaching for OK product only 1.
  • Page 112 Timing chart: Teaching for OK and NG products If the TEACH function is set to OKNG in CONFIGURATION mode, execute a teaching following the instructions below: 1. Confirm that the READY signal is ON and inptut the TEACH signal. 2. Input a product type, for which you want to peform a teaching, to the ports of TYPE 1-3 in more than two milliseconds (T1).
  • Page 113: Rs-232C Communication

    Section 6 RS-232C Communication...
  • Page 114: Overview

    6.1 Overview The LightPixAE20 can load and change the setting values and reading results and execute an inspection and teaching. Communication Specification Item Specification Communication Method Full-duplex Synchronous Method Asynchronous Communication Speed 1200, 2400, 4800, 9600, 19200, 38400, 57600 bit/s (initial value: 9600) Selectable in CONFIGURATION mode Transmission Code ASCII...
  • Page 115 The format used for Command/Response Message Each item Name Specified Range Description character (ASCII values code)/Data Header % (25H) Beginning of a message • %: Number of characters between a header < (3CH) and a terminal code is less than 118. •...
  • Page 116: Command Format

    6.2 Command Format 6.2.1 Reading Data Area: RD External device→LightPixAE20 Receiver: # R D D Head register No.: Five characters (Station No.) x 10 x 10 x 10 x 10 x 10 x 10 x 10 < Fixed Terminal register No.: Five characters x 10 x 10...
  • Page 117: Writing In The Data Area: Wd

    6.2.2 Writing in the Data Area: WD External device→LightPixAE20 Integers Receiver: Head register No.: Five Terminal register No.: Five (Station characters characters No.) < x 10 x 10 x 10 x 10 x 10 x 10 x 10 x 10 x 10 x 10 x 10...
  • Page 118: Notation Sytem For Data In Command/Response Messages

    6.2.3 Notation Sytem for Data in Command/Response Messages The data in command/response messages are described in the following two systems: Decimal Data x 10 : Decimal data Condition System Description Data register “2100” is The specified format for data register of WD specified.
  • Page 119: A List Of Error Codes

    6.2.4 A List of Error Codes Error Error type Description code A BCC error occurred in a command data. FORMAT Headers or command start marks are out of range. • Header: % or < • Command start mark: # The data exceeding the upper limit was sent. •...
  • Page 120: Communication Conditions

    6.3 Communication Conditions The detailed descriptions of the conditions that the LightPixAE20 must fulfill in order to establish RS-232C communication are described below. Communication mode The LightPixAE20 has four modes, but it can establish RS-232C communication in two modes. • RUN (RUN VIEW) mode Communication mode •...
  • Page 121 The LightPixAE20 cannot establish communication in communication mode. In the following cases, the LightPixAE20 cannot receive any command messages even in communication mode. While the LightPixAE20 is capturing images The LightPixAE20 ignores the command message from external devices during image capturing and does not respond to the message.
  • Page 122: A List Of Data Registers For Each Application

    6.4 A List of Data Registers for Each Application 6.4.1 Color Area/Judgement Setting Com- Type of Register Item value Remarks item mand range INSPECTION Area value 1100-1101 0 - Double-word type (pixel) 101376 • For Color Area, The detected area value (number of pixels) for the currently selected product type •...
  • Page 123 Setting Com- Type of Register Item value Remarks item mand range TEACHING Setting of RD/WD 2200 X:351-0 Product type 1: X coordinate at left upper inspection Y:287-0 2201 Y Product type 1: Y coordinate at upper left area 2202 X Product type 1: X coordinate at lower right 2203 Y Product type 1: Y coordinate at lower left 2204 -...
  • Page 124 Setting Com- Type of Register Item value Remarks item mand range CONFIGURA Computatio RD/WD 3100 1: Low / 2: Middle / 3: High (Available only for Color TION n Time Judgement) Initial RD/WD 3200 Product Type Internal RD/WD 3300 0: ON / 1: OFF Trigger Capture RD/WD 3400...
  • Page 125: Color Pattern Matching

    6.4.2 Color Pattern Matching Setting Com- Type of Register Item value Remarks item mand range INSPECTION Detection 1100 0 - 352 X-directional distance Distance 0 - 288 1101 Y-directional distance (Unit:Pixel) Judgement 1102 1: OK Results 0: NG Measurem 1103 ent Time Detection 1104-1105...
  • Page 126 Setting Com- Type of Register Item value Remarks item mand range TEACHING Color RD/WD 2400 X:351-0 Product type 1: X coordinate at upper left Extraction Y:287-0 2401 Product type 1: Y coordinate at upper left Area 2402 Product type 1: X coordinate at lower right setting 2403 Product type 1: Y coordinate at lower right...
  • Page 127 Setting Com- Type of Register Item value Remarks item mand range CONFIGURA Initial 3900 TION Setting) Type of RD/WD 4100 0: OK only / 1: OK&NG Teaching Save RD/WD 4200 0:OFF / 1:All Images / 2:NG Image only Image Condition Teaching RD/WD 4700 (Trigger signal receive when executing a teaching)
  • Page 128: Edge Detection

    6.4.3 Edge Detection Data Setting Com- Type of Item register value Remarks item mand range INSPECTION Detection 1100 0/1: X Edge 2/3: Y Direction Judgement 1102 1: OK Results 0: NG Measurem 1103 Measurement time ent Time Detection 1104-1105 Depends Actual values and double-word type Edge on the...
  • Page 129 Data Setting Com- Type of Item register value Remarks item mand range TEACHING Teaching 2300 0: OK Teaching 1: NG (the ALARM signal is also output.) Results Binary RD/WD 2400 0 - 255 Product type 1 Level 2401 Product type 2 2402 Product type 3 2403...
  • Page 130 Data Setting Com- Type of Item register value Remarks item mand range JUDGEMEN Allowable RD/WD 5100 - X: 0-357 Product type 1: X = 5100 Y = 5101 / Product type 2: X = 5102 Y = 5103 / Product type 3: X = 5104 Y = 5105 / T CRITERIA range (the 5113...
  • Page 131: Peak Detection

    6.4.4 Peak Detection Data Setting Com- Type of Item Register value Remarks item mand range INSPECTON Detection 1100 0 - 352 The X position of the detected point (pixel) Position (Unit:Pixel) RD 1101 0 - 288 The Y position of the detected point (pixel) Judgement 1102 1: OK...
  • Page 132 Data Setting Com- Type of Item Register value Remarks item mand range TEACHING Teaching 2300 0: OK Results 1: NG (The ALARM signal is also output) Binary RD/WD 2400 0 - 255 Product type 1 Level 2401 Product type 2 2402 Product type 3 2403...
  • Page 133 Data Setting Com- Type of Item Register value Remarks item mand range JUDGEMEN Allowable RD/WD 5100 - X: 0-357 Product type 1: X = 5100 Y = 5101 / Product type 2: X = 5102 Y = 5103 T CRITERIA range (the 5113 Y:0-288...
  • Page 134: Measurement

    6.4.5 Measurement Data Setting Com- Type of Item register value Remarks item mand range INSPECTION Detection 1100 0 - 352 X-directional minimum value Length 1101 0 - 288 X-directional maximum value (Unit:pixel) 1102 Y-directional mininum value 1103 Y-directional maximum value Judgement 1104 1: OK...
  • Page 135 Data Setting Com- Type of Item register value Remarks item mand range TEACHING Binary RD/WD 2400 0 - 255 Product Type 1 Level 2401 Product Type 2 2402 Product Type 3 2403 Product Type 4 2404 Product Type 5 2405 Product Type 6 2406 Product Type 7...
  • Page 136 Data Setting Com- Type of Item register value Remarks item mand range JUDGEMEN Allowable RD/WD 5100 - X: 0-357 Product type 1: X = 5100 Y = 5101 / Product type 2: X T CRITERIA Range: 5113 Y:0-288 = 5102 Y = 5103 / Product type 3: X = 5104 Y = 5105 / SETTING Min.
  • Page 137 Data Setting Com- Type of Item register value Remarks item mand range JUDGEMEN Base 5514 Depends Actual values and double-word type T CRITERIA Length: -5541 on the Product Type 1 : X = 5514&5515 Y = 5516&5517 SETTING Man. (mm) type of Product Type 2 : X = 5518&5519 Y = 5520&5521...
  • Page 138: About Aetool And Gt11

    Section 7 About AETOOL and GT11...
  • Page 139: Aetool

    7.1 AETOOL 7.1.1 Overview of AETOOL The AETOOL is software exclusively for LightPixAE20. Before using this software, install it to the PC connected to the LightPixAE20 with USB cable (AB type). Features of the AETOOL The key features of this software are shown in the table below •...
  • Page 140: Obtaining And Installing The Aetool

    After an installation dialog appears on the monitor, install following the message . .When selecting “Panasonic MEW Vision“ > “ LightPixAE20” from the Windows* start menu, you see “About USB driver” on the monitor. Read the descriptions on the installation of a USB driver and follow the instruction for your OS to install.
  • Page 141: Functions Of Gt11

    7.2 GT11 7.2.1 Functions of GT11 Using Matsushita protocol “MEWTOOL”, you can display and change the settings of the LightPixAE20 on GT11, or display reading data or judgment results on GT11. You can use it mainly for controlling the LightPixAE20 or checking reading data while being accessible each other, but the GT11 can communicate with LightPixAE20 only if versions and setting values of GT11 and GTWIN meet the following conditions: GTWIN version: 2.62 or later...
  • Page 142: Connection To The Gt11

    7.2.3 Connection to the GT11 Connection Use optional cable ANE2803 or ANE2823 to connect the LightPixAE20 to the GT11. Connecting to the GT11 with the RS-232C connection cable ANE2803 Wiring with three cables for RS232C Cable color Signal Yellow Black Example connection with the GT11...
  • Page 143: General Specifications, Product Numbers And Dimensions

    Section 8 General Specifications, Product Numbers and Dimensions...
  • Page 144: General Specifications

    8.1 General Specifications General Specifications (in common with all units) Item Specification Rated voltage 24V DC Operating voltage range 21.6 to 26.4V DC (with ripples) Rated power consumption 0.5A or less Operating temperature range 0 to + 40ºC Storage temperature -20 to +60ºC (without icing and dew condensation) Operating/storage humidity 35 to 85 % RH (without icing and dew condensation at 25ºC)
  • Page 145 Operation unit Item Specification Display Three-colors and seven-segmented LCD display Number of switches (buttons) Port for a specified device Connects to the port for main unit *Use an optional cable ANE2813 or ANE2823 when connecting with the main unit. Max. communication distance: 10m (without a finder unit), 3m (with a finder unit) Finder unit Item Specification...
  • Page 146: A List Of Product Numbers

    8.2 A List of Product Numbers Main unit Product name View range (mm) Product number Main unit 2 x 1.6 ANE2000 10 x 8 ANE2010 30 x 25 ANE2020 80 x 70 ANE2030 (70 x 56 to 100 x 80) The main unit comes with the item below.
  • Page 147: Dimensions

    8.3 Dimensions Main Unit: ANE2000 Main Unit: ANE2010/ANE2020/ANE2030 A: Capturing part B: LED lamp C: Power I/O cable (approx. 3m) D: USB connector E: Connector for optional cable...
  • Page 148 Mounting plate Operation unit...
  • Page 149 Finder unit...
  • Page 150: Record Of Changes

    Record of Changes Manual No. Date Descriptions ARCT1F406E May 2005 First Edition...
  • Page 151 2005 ARCT1F406E 200505...

Table of Contents