Panasonic Micro-Imagechecker PV310 Use Manual

Specifications

Brand: Panasonic
Category: Machine Vision Systems
Model: Micro-Imagechecker PV310 (Use Manual)
File Type: PDF
File Size: —
Pages: 363

Read Online

Read the Panasonic Micro-Imagechecker PV310 Use Manual online using the built-in PDF viewer.

Text of the manual

Before Reading This Manual

Thank you for purchasing the IMAGECHECKER PV310. 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. Conventions used in the Safety Precautions WARNING Critical situations that could lead to user’s death or serious injury are assumed by mishandling of the product: • Use the product within its specified ratings and environmental conditions. Failure to do so might lead to abnormal heat and smoke coming from the product. • Do not use this product in areas with inflammable gas. It could lead to an explosion. • Exposing this product to excessive heat or open flames could lead to damage to the lithium battery or other electronic parts. CAUTION Critical situations that could lead to user’s injury or only property damage are assumed by mishandling of the product: • To prevent excessive exothermic heat or smoke generation, use this product at the values less than the maximum of the characteristics and performance that are assured in these specifications. • Do not dismantle or remodel the product. It could lead to excessive exothermic heat or smoke generation. • Do not touch the terminal while turning on electricity. It could lead to an electric shock. • Connect the wires or connectors securely. The loose connection could lead to excessive exothermic heat or smoke generation. • Do not allow foreign matters such as liquid, flammable materials, metals to go into the inside of the product. It could lead to excessive exothermic heat or smoke generation. • Be sure to ground the product. Failure to do so might lead to an electric shock. • Do not undertake construction (such as connection and disconnection) while the power supply is on. It could lead to an electric shock.

Table of Contents

Precautions before Use .....................................v 1 Names and Functions of Parts .........1 1.1 About PV310....................................................................2 1.2 Camera.............................................................................4 1.2.1 Camera Type and Precautions for Use..................4 1.2.2 Double Speed Random Camera: ANM831...........5 1.2.3 Standard Camera: ANM832....................................6 1.2.4 Ultra small camera (ANPVCA1012) .......................7 1.2.5 Camera Cable/Camera Extension Cable.............10 1.2.6 Camera Switching Unit: ANPV3700.....................11 1.3 Keypad............................................................................12 1.4 VGA Monitor ..................................................................13 2 Installation and Wiring......................15 2.1 Connecting Peripherals................................................16 2.2 Installation of PV310.....................................................17 2.2.1 Countermeasure for Heat Radiation.....................17 2.2.2 About Mounting Space...........................................17 2.2.3 Mounting the PV310...............................................18 2.3 VGA Monitor Installation...............................................19 2.3.1 VGA Monitor Installation.........................................19 2.3.2 VGA Monitor: Power Wiring...................................20 2.4 Mounting Camera.........................................................21 2.4.1 Double Speed Random Camera / Standard Camera....................................................................21 2.4.2 Ultra Compact Camera..........................................25 3 Input and Output Interface Ports....27 3.1 Parallel Ports..................................................................28 3.1.1 Wiring to the Terminal Blocks................................28 3.1.2 Pin Assignments.....................................................29 3.1.3 Notes on Power Supply and Wiring......................30 3.1.4 About Grounding.....................................................31 3.1.5 Output Terminals....................................................32 3.1.6 Input Terminals .......................................................36 3.2 About RS-232C (COM1) Port.....................................38 3.3 About Ethernet Port (TOOL Port) ...............................43 3.4 Vision Support Tool AXTOOL Ver. 3 .........................44 4 Basic Operation .................................45 4.1 About Screen Monitor...................................................46 4.2 RUN and SETUP Modes............................................47 4.2.1 About SETUP and RUN Modes........................... 47 4.2.2 Switching between RUN Mode and SETUP Mode ....................................................................... 47 4.3 How to Preprocess and Display Images...................48 4.4 Basic Operation Using the Keypad............................49 4.4.1 Selecting an Option from the Menu...................... 49 4.4.2 Setting (Inputting) Values ...................................... 49 4.4.3 Setting the Inspection Area ................................... 49 4.5 Temporarily Switching the Display Camera Images53 4.5.1 Display Images....................................................... 53 4.5.2 Selecting a Display Camera Image...................... 53 4.5.3 Selecting a Display Gray Value/Binary................. 54 5 Procedure for Setting Inspection Conditions...........................................55 5.1 Setting Inspection Conditions......................................56 5.2 Selecting a Camera Mode...........................................57 5.3 Setting a Shutter Speed...............................................59 5.4 Selecting a Product Type ............................................60 5.4.1 Selecting a Product Type ...................................... 60 5.4.2 Copying an Existing Product Type ....................... 61 5.4.3 Deleting a Product Type........................................ 61 5.4.4 Deleting All Product Types.................................... 62 5.4.5 Entering a Product Type Title................................ 62 5.5 Importing Images into a Memory................................63 5.6 Inspection Overview.....................................................64 5.7 Storing (Revised) Setting Data in the PV310 ...........65 5.8 Executing Inspection....................................................66 5.8.1 Procedure for Inspection Execution...................... 66 5.8.2 Process Sequence for Executing Inspection....... 67 6 Setting Checkers ...............................69 6.1 What Is a Checker?......................................................70 6.1.1 Types and Overview of Checkers ........................ 70 6.2 Basic Settings of Checkers .........................................72 6.2.1 Basic Procedure for Setting Checkers ................. 72 6.2.2 Selecting a Checker Number and a Checker Type......................................................................... 73 6.2.3 Selecting a Camera Image.................................... 75 6.2.4 Preprocessing Settings.......................................... 76 6.2.5 Setting a Slice Level............................................... 80 6.2.6 Setting an Area and a Mask Area......................... 82 6.2.7 Area Size Adjustment Function ............................ 85

6.3 Convenient Functions for Setting a Checker............90

6.3.1 Changing the Menu Window to a Translucent Color.........................................................................90 6.3.2 Temporarily Hiding the Menu Window..................91 6.4 Binary Window..............................................................92 6.4.1 Menu Options..........................................................92 6.4.2 What Is Binary Window?........................................92 6.4.3 Setting Procedure ...................................................93 6.5 Gray Window.................................................................94 6.5.1 Menu Options..........................................................94 6.5.2 What Is Gray Window?...........................................94 6.5.3 Setting Procedure ...................................................95 6.6 Binary Edge...................................................................96 6.6.1 Menu Options..........................................................96 6.6.2 What Is Binary Edge?.............................................96 6.6.3 Setting Procedure ...................................................97 6.7 Gray Edge......................................................................99 6.7.1 Menu Options..........................................................99 6.7.2 What Is Gray Edge? ............................................ 100 6.7.3 Setting Procedure ................................................ 101 6.8 Feature Extraction ......................................................106 6.8.1 Menu Options....................................................... 106 6.8.2 What Is Feature Extraction?................................ 107 6.8.3 Setting Procedure ................................................ 109 6.9 Smart Matching...........................................................113 6.9.1 Menu Options....................................................... 113 6.9.2 What Is Smart Matching?.................................... 114 6.9.3 Setting Procedure ................................................ 116 6.10 Contour Matching.......................................................125 6.10.1 Menu Options....................................................... 125 6.10.2 What Is Contour Matching? ................................ 126 6.10.3 Setting Procedure ................................................ 127 6.11 Flaw Detection ............................................................129 6.11.1 Menu Options....................................................... 129 6.11.2 What Is Flaw Detection? ..................................... 130 6.11.3 Setting Procedure ................................................ 133 6.12 Position Adjustment....................................................140 6.12.1 Overview............................................................... 140 6.12.2 Refering to Position Adjustment Amount Using Checkers............................................................... 141 6.13 Position Adjustment (Binary Edge)..........................142 6.13.1 Setting Procedure ................................................ 142 6.13.2 Saving a Base Position........................................ 143 6.13.3 What To Do If You Faced a Trouble .................. 144 6.14 Position Adjustment (Gray Edge).............................145 6.14.1 Setting Procedure ................................................ 145 6.14.2 Saving a Base Position........................................ 146 6.14.3 What To Do If You Faced a Trouble .................. 147 6.15 Position Adjustment (Feature Extraction)................148 6.15.1 Setting Procedure ................................................ 148 6.15.2 Saving a Base Position........................................ 149 6.15.3 What To Do If You Faced a Trouble...................149 6.16 Position Adjustment (Matching)................................150 6.16.1 Setting Procedure.................................................150 6.16.2 Saving a Base Position........................................151 6.16.3 What To Do If You Faced a Trouble...................151 6.17 Rotation Adjustment ...................................................152 6.17.1 Overview ...............................................................152 6.17.2 How Checkers Refer to Adjustment Amount.....153 6.18 Rotation Adjustment (Binary Edge Horiz., Binary Edge Vert.) .................................................................154 6.18.1 Setting Procedure.................................................154 6.18.2 Saving a Base Position........................................155 6.18.3 What To Do If You Faced a Trouble...................155 6.19 Rotation Adjustment (Gray Edge Horiz., Gray Edge Vert.)............................................................................156 6.19.1 Setting Procedure.................................................156 6.19.2 Saving a Base Position........................................157 6.19.3 What To Do If You Faced a Trouble...................157 6.20 Rotation Adjustment (Feature Extraction) ...............158 6.20.1 Setting Procedure.................................................158 6.20.2 Saving a Base Position........................................159 6.20.3 What To Do If You Faced a Trouble...................159 6.21 Rotation Adjustment (360 Degree Detection).........160 6.21.1 Setting Procedure.................................................160 6.21.2 Saving a Base Position........................................161 6.21.3 What To Do If You Faced a Trouble...................161 6.22 Rotation Adjustment (Matching)................................162 6.22.1 Setting Procedure.................................................162 6.22.2 Saving a Base Position........................................163 6.22.3 What To Do If You Faced a Trouble...................164 6.23 Rotation Adjustment (Contour)..................................165 6.23.1 Setting Procedure.................................................165 6.23.2 Saving a Base Position........................................166 6.23.3 What To Do If You Faced a Trouble...................166 7 Calculation, Analysis, and Output of Inspection Results.......................... 167 7.1 Overview.......................................................................168 7.1.1 Calculation, Analysis, and Display of the Inspection Result Data.........................................168 7.1.2 Outputting Data to the External Device ..............168 7.2 Numeric Calculation (CA01 to CA99)......................169 7.2.1 Main Functions .....................................................169 7.2.2 Reference Data and Calculation Functions .......169 7.2.3 Creating a Numeric Calaulation ..........................173 7.2.4 Specifying the Judge. Max./Min. Values - Judging the Calculation Results.........................................175 7.2.5 Copying a Numeric Calculation...........................175 7.2.6 Deleting a Numeric Calculation...........................176 7.2.7 Projection Distance...............................................177 7.2.8 Conversion into Actual Size Value: Conversion Data .......................................................................178

Restrictions on Numeric Calculation Function ...181

7.2.10 Error Messages Displayed When Setting Numeric Calculation Formula..............................182 7.3 Judgment (JD01 to JD96)......................................... 183 7.3.1 Main Functions......................................................183 7.3.2 Reference Data and Operators...........................183 7.3.3 Creating a Judgment Formula.............................185 7.3.4 Saving Total Judgments ......................................186 7.3.5 Saving a Conditional Formula for Save Image ..187 7.3.6 Restrictions on Judgment ....................................188 7.3.7 Error Messages Displayed When You Set a Judgment Formula ...............................................188 7.4 Statistics (QS01 to QS96)......................................... 189 7.4.1 Main Functions......................................................189 7.4.2 Reference Data.....................................................189 7.4.3 Statistics Items......................................................190 7.4.4 Referring Statistic Object Data ............................190 7.4.5 Deleting the Data Referred to Statistics..............191 7.4.6 Resetting the Counted Results............................192 7.5 Data Monitor................................................................ 193 7.5.1 Main Functions......................................................193 7.5.2 Data Can Be Displayed in the Data Monitor Table194 7.5.3 Data Displaying.....................................................194 7.5.4 Saving the Fixed Name (Title) to the Cell...........195 7.5.5 Changing the Number of Rows and Columns...196 7.5.6 Selecting the Alignment of the Data Monintor....197 7.5.7 Changing Max. / Min. Values in RUN Mode ......198 8 TOOL..................................................199 8.1 What Is TOOL? .......................................................... 200 8.2 Drawing an Image on the Monitor Screen: Marker Function..................................................................... 201 8.2.1 Creating a New Marker........................................201 8.2.2 Copying an Existing Marker.................................202 8.2.3 Deleting a Marker .................................................202 8.3 Reference Point.......................................................... 203 8.4 Group Move................................................................ 204 8.5 RUN Mode Image Settings....................................... 205 8.5.1 Selecting an Display Image .................................206 8.5.2 Displaying Checker Shape, Marker, Reference Point and Data Monitor.........................................208 8.6 Execution Modes........................................................ 209 8.6.1 Overview................................................................209 8.6.2 Setting of Execution Mode...................................210 8.6.3 “Execute All” Execution Mode .............................211 8.6.4 “Automatic Switch” Execution Mode...................212 8.6.5 “User-Defined” Execution Mode..........................214 9 Environment Settings.....................217 9.1 About “Environment Settings” .................................. 218 9.2 Initial Settings...............................................................222 9.2.1 List of Initialization Menu Options ....................... 222 9.2.2 Protecting the Setting Data Using a Password . 223 9.3 Saving Images............................................................225 9.3.1 What Is Image Save?.......................................... 225 9.3.2 Saving Images with the Keypad Operation ....... 226 9.3.3 Saving an Image per Inspection......................... 227 9.3.4 Saving the Images of Which the Conditional Formula Was Judged as NG .............................. 227 9.3.5 Selecting Operation When the Number of Saved Images Reached 16 Pairs................................... 228 9.3.6 Performing Inspection While Only Saved Image Is Displayed (Display a Save Image) ................. 229 9.3.7 Running a Test Using a Saved Image............... 230 9.3.8 Outputting a Save Image to the External Device (Backing up to Compact Flash Memory Card).. 231 9.3.9 Erasing All the Saved Image............................... 231 9.4 Outputting Images......................................................232 9.4.1 What Is Image Outputting?.................................. 232 9.4.2 Setting Output Destination, Output Condition and Output Operation.................................................. 234 9.4.3 Setting Name of Image Save File....................... 236 9.4.4 Behavior When Ethernet Communication Error 237 9.5 Re-Registering the Template....................................239 9.6 Initializing Environment Settings...............................240 10 Parallel Communication.................241 10.1 Communications via Parallel Port ............................242 10.1.1 Input from the External Device............................ 242 10.1.2 The Data Output from the PV310....................... 242 10.1.3 Data Assignment for Handshake........................ 243 10.2 Input/Output Timing According to Start Settings....244 10.2.1 Starting Inspection - Once................................... 244 10.2.2 Starting Inspection - Repeat................................ 245 10.3 Input/Output Timing According to Handshake Settings.......................................................................246 10.3.1 When the Handshake Function Is Set to “No”... 246 10.3.2 When the Handshake Function Is Set to “Yes”. 247 10.4 Data Switch Timing According to Data Reset Conditions..................................................................248 10.4.1 Reset Condition: Hold.......................................... 248 10.4.2 Reset Condition: Off After Read ......................... 249 10.4.3 Reset Condition: Off Before Read...................... 249 10.5 Switching and Registering Data Using External Signals........................................................................250 10.5.1 Switching the Product Types............................... 250 10.5.2 Switching the Display Camera Images.............. 252 10.5.3 Re-registering the Template................................ 253 10.5.4 Restoring the Setting Data Stored in Compact Flash Memory Card............................................. 256

11 RS-232C Communication.............. 257

11.1 Overview......................................................................258 11.2 Serial (Per Start) / Serial (Async.).............................259 11.2.1 Selecting and Setting the Output Data to the External Device.................................................... 259 11.2.2 Formats of the Commands from the External Device................................................................... 259 11.2.3 Setting COM Port................................................. 260 11.2.4 Output Data .......................................................... 260 11.2.5 List of Commands................................................ 262 11.2.6 Details of Commands.......................................... 263 11.3 Computer Link.............................................................283 11.3.1 Overview and Communication Specifications... 283 11.3.2 Setting a Computer Link Communication.......... 286 11.3.3 Setting Output Conditions ................................... 287 11.3.4 Setting Method of Type Switch........................... 288 11.3.5 Configuring the COM Port................................... 289 12 Ethernet Communication.............. 291 12.1 Overview......................................................................292 12.2 Communication Methods..........................................293 12.2.1 Communicating between one PV310 and one Computer.............................................................. 293 12.2.2 Communicating between a Computer and Multiple PV310s................................................... 293 12.3 Result Output ..............................................................294 12.3.1 Setting Procedure ................................................ 294 12.3.2 Establishing Communication between PV310 and Computer....................................................... 294 13 Using a Compact Flash Memory Card.................................................... 295 13.1 Storing Data in a Compact Flash Memory Card....296 13.2 Inserting/removing a Compact Flash Memory Card297 13.2.1 Inserting a Compact Flash Memory Card.......... 297 13.2.2 Removing a Compact Flash Memory Card....... 297 13.3 Backing up/restoring Setting Data and Images......298 13.3.1 Backing up/restoring Setting Data...................... 298 13.3.2 Backing up/restoring Memory Images ............... 300 13.3.3 Backing up/restoring the Saved Images............ 302 13.4 Copying the Screen Display......................................304 13.5 Outputting the Inspection Results to a Compact Flash Memory Card ............................................................305 13.6 Using a Folder Tree....................................................306 14 Information on the PV310 and Help Function Settings............................ 307 14.1 Information on the PV310..........................................308 14.1.1 Options of the INFO. Menu..................................308 14.1.2 Checking Remaining Storage Capacity of Memory .................................................................308 14.1.3 Setting Date and Time Using the Calendar Feature ..................................................................309 14.1.4 Setting IP Address................................................310 14.1.5 Version Information ..............................................310 14.2 Setting Help..................................................................311 14.2.1 Making Light Adjustments....................................311 14.2.2 Making Focal and Aperture Adjustments...........312 14.2.3 Displaying an Image Profile.................................313 14.2.4 Checking Connections Using I/O Monitor..........314 15 Troubleshooting.............................. 315 15.1 ERROR Signal Is Output...........................................316 15.2 Error Code Number Is Displayed in SETUP Mode318 16 Camera Switching Unit.................. 321 16.1 Overview.......................................................................322 16.2 Functions and Settings...............................................323 16.3 Remote Switching Signal...........................................324 17 General Specifications................... 325 18 Product Numbers............................ 333 19 Dimensions ...................................... 339 20 Appendix........................................... 349 20.1 Pin Assignment of Camera........................................350 INDEX .............................................................. 352 Record of Changes ........................................ 355

Precautions before Use

Installation Environment Avoid installing and operating the PV310 in the following locations: • Location with direct sunlight or environmental temperatures that exceed a range of the “operating ambient temperature” for each product. • Locations with a relative humidity exceeding a range of the “operating ambient humidity” for each product or with a condensing due to a sharp temperature change. • Locations with an atmosphere containing corrosive gases or flammable gases. • Locations subject the main unit to direct vibration or impact. • Locations with a lot of fine particles, iron filings or salt. • Locations where the product can become wet with water, oil or chemicals. • Locations with an atmosphere likely to contain organic solvents (such as benzene, paint thinner, and alcohol) or strongly alkaline materials (such as ammonia and caustic soda). • Locations where a load applies onto the unit. • Locations near the devices that generate large switching surges, high-voltage wires and devices, power-driven lines and devices, and transmitting devices, such as radios. Static Electricity • In dry environment, high voltages of static electricity might be generated. When you touch the product, you should always discharge the accumulated static electricity through your body by touching a grounded metal surface. Cleaning • Never use thinners or similar solvents, as they may dissolve the board and lead to colors to run. Power Supply Unit and Power Sequence • Use an insulated power supply with a built-in protection circuit. Applying an abnormal voltage might damage the internal circuit. If you use a power supply unit without a protection circuit, supply power through a protective device such as a fuse. • Consider the power supply sequence so that the power supply unit for the PV310 can be turned off before the one for the input/output is turned off. • If you turn the input/output power off before turning off PV310, the device will detect a change in the input signal level and may malfunction. Before Turning on the PV310 • Pay attentions to the followings when turning on the PV310 for the first time: - Confirm no wiring waste or especially any conductive substance is on the printed circuit board. - Confirm that the power wiring, input/output wiring and power supply voltage are correct. - Confirm that the fixing and terminal screws are securely tightened.

Use the camera, camera cables, keypad, monitor, and a monitor cable of the product numbers specified

by Panasonic Electric Works Co., Ltd. Otherwise, malfunction and damage might cause in PV310 and connecting devices. • Do not disassemble, remodel the PV310 or change its internal settings. A breakdown, damage or destruction by disassembling, remodeling the PV310 or not following the instruction 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. • When all PV310 settings are complete, disconnect the keypad and the computer used for backing up or restoring data from the PV310 in order to prevent a malfunction or an operation mistake due to noises. • Do not perform a test of insulation resistance or withstand voltage between the power source or input/output signals and the metallic part of connectors or camera cases.

Names and Functions of Parts

Chapter 1 1.1 About PV310 Front Back No. Name Description 1 External output terminal (16 pins) An external output terminal block (by Phoenix), product #: 1840502. 2 External input terminal (15 pins) An external input terminal. COMMON terminal is for +/-. An external output terminal block (by Phoenix), product #: 1840528. 3 Power terminal Acceptable input voltage is 24V DC. The power terminal is located on the input terminal block. 4 Operating LEDs Indicate the operating status of the PV310. • POWER (green): The green POWER LED lights when the PV310 is being energized. • ERROR (red): The red ERROR LED lights when an error is detected. • READY (green): The green READY LED lights when the PV310 is ready to receive the signals including start signal from the external device • CF: The green CF LED lights when the PV310 is accessing the Compact Flash memory card. • COM1: The green COM1 LED lights when serial communication is established. 5 Compact Flash* memory card slot Supports for a FAT16- formatted Compact Flash memory card (Max. 512MB ) 6 TOOL port (Ethernet* Port) Connects to the external device via Ethernet port. Use a cross cable when connecting between an external device and a PV310. 7 KEYPAD connector Connects to the operation keypad. 8 COM port (RS-232C port) Connects to the external device via the COM port. COM2 is not available. 9 Camera connectors Can connect to up to two cameras: CAMERA 1 and CAMERA 2. Using a camera switching unit enables you to connect to maximum four standard cameras. 10 MONITOR Connects to the VGA monitor

Names and Functions of Parts

Chapter 1 No. Name Description 11 Backup battery This is a battery for retaining information about calendar in the PV310 and initial type number which is read at startup. If the battery is running out, a message saying “Battery used up!” appears on the status display area. Replace with a new one. Product No.: AFPG804 (buttery life: approx. 10 years at 25 °C) 12 DIN rail attachment lever (one-two hook) To attach to DIN rail with a single touch. *Compact Flash is a trademark of SanDisk Corporation in the United States. *Ethernet is a registered trademark of Xerox Corporation in the United States. Connect only the designated products to the PV310. Otherwise, malfunction and damage might cause in PV310 and connecting devices.

Names and Functions of Parts

Chapter 1 1.2 Camera 1.2.1 Camera Type and Precautions for Use Camera Type PV310 provides three types of cameras listed below. Choose to use them depending on your usage. To use a corresponding camera mode to a camera type you use, you need to change the setting with PV310. For further information, refer to Chapter 5.2 Selecting a Camera Mode (page 57). Camera Type Usage Advantages over the other two camera types Double Speed Random Camera (ANM831) To inspect moving objects. • Higher capture speed. • No delay at capture start. • Shutter speed can be changed without resolution decrease. ultra compact camera (ANPVCA1012) To inspect in a small space where the other cameras cannot be mounted. • Can be mounted in a small space. (Diameter of camera: φ12) Standard Camera (ANM832, ANM83203) Mainly to inspect static objects. • Camera division mode can be used with a camera switching unit. Precautions for Use Camera and camera cables • Use only cameras, camera cables, and extension cables with the proper product numbers specified by Panasonic Electric Works Co., Ltd. Otherwise, malfunction and damage might cause in PV310 and the cameras. • Do not connect different types of cameras to PV310 at the same time. You cannot connect, for instance, a standard camera to CAMERA 1 port and an ultra compact camera to CAMERA 2 port. • Do not splice multiple extension cables. Handling Instructions • Do not touch the CCD element or the lens surface of the camera. Attach the lens cap to keep off dust when not in use. • When inserting/removing the cable into/from the connector, be sure to hold it by its plug to prevent excess force applying on the cable. Also, do not bend the cables forcedly. • Do not touch the terminals inside the connector of cameras and camera cables and take care not to allow foreign objects to come into the connectors.

Names and Functions of Parts

Chapter 1 1.2.2 Double Speed Random Camera: ANM831 This camera is usable when the camera setting of PV310 is [D.S. Random Frame] or [D.S. Random Field]. No. Name Description 1 Camera Body of camera 2 Lens fixture C-mount 3 Lens Attach a C-mount lens with adapter rings as necessary. Refer to page 21 for selecting view range and lens. 4 Cable connector Connects to the controller with a camera cable. (ANM84303XX) 5 VOL knob for fine adjustment of gain Makes a fine adjustment for camera gain When DIP switch No.5 is ON, turning this knob clockwise makes a capturing image brighter. 6 DIP switch Switches camera modes and activates gain adjustment. 7 Mounting plate A plate to mount a camera. The plate insulates with the mounting surface. About DIP Switch (DIP-SW) No. Description 1-4, 7, 8 Always leave OFF 5 Gain fine adjustment • ON: Allows you to make fine adjustment within the range between 0 and +10 dB using the VOL knob • OFF: 0 dB 6* Camera mode switching • OFF: D.S. Random Field mode (default) • ON: D.S. Random Frame mode Gain adjustment volume Default settings: DIP SW No.5: ON, the rest of the dip switches: OFF, VOL knob: +10 dB * When you changed the camera mode, change the camera mode of PV310 as well.

Names and Functions of Parts

Chapter 1 1.2.3 Standard Camera: ANM832 This camera is usable when the camera setting of PV310 is [Normal Frame] or [Normal Field]. No. Name Description 1 Camera Body of camera 2 Lens fixture CS-mount 3 Lens Attach a C/CS-mount lens with adapter rings as necessary. Refer to page 22 for selecting view range and lens. 4 Connector Connects to PV310. Use a designated camera extension cable if necessary. 5 Mounting plate A plate to mount a camera. The plate insulates with the mounting surface.

Names and Functions of Parts

Chapter 1 1.2.4 Ultra small camera (ANPVCA1012) This camera is usable when the camera setting of PV310 is [Normal Frame] or [Normal Field]. Camera Head No. Name Description 1 Camera Body of camera 2 Lens fixture Special mounting fixture. Attach exclusive lenses. This fixture is screw-in type and the view range (capture range) differs depending on the screwing depth. 3 Lens securing ring A ring to secure the lens to the camera. Use it to fix the lens at the close position to the edge of the camera. 4 Top indication mark Indicates the top side of the captured image. 5 Cable connector Connects a camera cable which is included in the package. 6 Camera head cable A camera cable (3m) attached to an Ultra small camera. Connects the female connector to a camera and the male connector to the CAMERA port of the camera control unit. 7 Cable securing ring After connecting a camera head cable to a camera, rotate this ring to secure.

Names and Functions of Parts

Chapter 1 Camera Control Unit (hereafter called “CCU”) No. Name Description A POWER ○: Power OFF I : Power ON Power switch for the camera. Turn ON this power switch before supplying power to PV310. When power is on, green LED lights. Use always in Power On status. Shutter Speed setting switch. Available only in Field mode (when SELECT switch No.4 is ON). Toggle switch (left) Use only with the setting to “HIGH/OFF” (upper). B SHUTTER Rotary switch (right) Sets the shutter speed of the number that the arrow points. 0: OFF (default), 1: 1/125s, 2: 1/250s, 3: 1/500s, 4: 1/1000s, 5: 1/2000s, 6: 1/4000s, 7: 1/10000s STD: 0 dB fixed (default) MANUAL: Adjusts Gain within the range of ± 6dB with GAIN volume. C GAIN CONTROL AUTO: Unavailable D CAMERA port (female) Port for connecting a camera head with a camera head cable. Switches between camera modes. (*) E SELECT Frame mode (default): Always use with the all switches set to “OFF”. Field mode: Use with only No.4 switch set to “ON”. F HD/VD impedance Always use with the setting to “HIGH”, default value. G HD/VD IN OUT Always use with the setting to “IN”, default value. H DC IN/VIDEO OUT port (male) Connects to the Camera port of the PV310 with a camera cable (ANM842XX). * When you changed the camera mode, change the camera mode of PV310 as well.

Names and Functions of Parts

Chapter 1 About the Connection Be sure to turn off the power source for PV310 before connecting as below. After connecting, turn on the Power switch of the camera control unit (CCU) before supplying power to PV310. Using an extension cable Be sure to connect an extension cable to keep the extended length to be shorter than 20 m. Do not bend the camera cables forcibly or apply load to the connector joints.

Names and Functions of Parts

Chapter 1 1.2.5 Camera Cable/Camera Extension Cable Camera Cable Camera cable for Double speed random camera: ANM84303(CE), ANM84603 Camera cable for Ultra small camera: ANM842XX No. Name Description 1 Connector (round, male) Connects a male connector to PV310. 2 Connector (round, female) Connects a female connector to a camera. (ANM842XX connects DC IN/VIDEO OUT port of the camera control unit for an ultra compact camera.) Camera Extension Cable ANM840XXA (CE), ANM845XX No. Name Description 1 Connector (round, male) Connects a male connector to PV310. 2 Connector (round, female) Connects a female connector to a camera cable. The connector is designated to connect with a camera cable, not for with a connector of a camera.

Names and Functions of Parts

Chapter 1 1.2.6 Camera Switching Unit: ANPV3700 No Name Description 1 Input port for Camera A Connects a camera. Camera A is connected to this port. 2 Input port for Camera B Connects a camera. Camera B is connected to this port. 3 OUT (image output) port Outputs images to the PV310. Use the provided cable for switching cameras. 4 DIN rail attachment lever (one-two hook) To attach to DIN rail with a single touch. 5 Camera A/Camera B indicators The indicators tell which camera is in use for capturing images. Lighting Lamp Status A only The PV310 is in camera switching mode (the dip switch 2 is placed in the NORMAL position). The image captured by Camera A is output. B only The PV310 is in camera switching mode (the dip switch 2 is placed in the NORMAL position.) The image captured by Camera B is output. A and B The PV310 is in DIV mode (the dip switch 2 is placed in the DIV position). 6 Dip switches (4 switches) The four dip switches change the functions shown in the table below. 1 LOCAL / REMOTE If you want to switch between Camera A and Camera B using an external device when the PV310 is in camera switching mode (the dip switch 2 is placed in the NORMAL position), set to “REMOTE”. 2 NORMAL / DIV* If you want to switch between Camera A and Camera B (in camera switching mode), set to “NORMAL”. If you want to combine the upper and lower half parts of two images captured by Camera A and Camera B in one image (in the DIV mode), set to “DIV”. 3 A / B This is a switch for changing the cameras to output the images in camera switching mode (the dip switch 1 and 2 are placed in LOCAL and NORMAL positions respectively). 4 Upper / Lower division In camera division mode (the dip switch 2 is placed in the DIV position), select a part of the images captured by Camera A and Camera B that you want, upper half or lower half. 7 Input terminal for external signal This is a terminal for inputting a camera switch signal. * A Double speed random camera: ANM831 and an Ultra small camera: ANPVCA1012 are not available in Camera division mode. For more information on the camera control unit, refer to Chapter 16 Camera Switching Unit (page 321).

Names and Functions of Parts

Chapter 1 1.3 Keypad No. Name Description A key Starts an inspection. Executes a test in SETUP mode and an inspection in RUN mode. B key Displays a sub-menu for each menu. Press and hold down this key for more than one second to save the screen copy on the Compact Flash memory card. 1 A, B, C keys C key Switches between SETUP mode and RUN mode. Goes back to the previous hierarchy or close the window. 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 PV310. Cursor Operation and Determination Operation with the Cursor Lever Cursor operation Determination (ENTER) key operation If you try to move the cursor while pressing and holding down the ENTER key, the highlighted option can be determined. Release and move the ENTER key when you move the cursor. Connect only the designated keypad (ANM852XX) to the PV310.

Names and Functions of Parts

Chapter 1 1.4 VGA Monitor No. Name Description 1 Power connector Acceptable input voltage: 24V DC A connector for RGB input. Connects to the monitor with the VGA monitor cable -ANMX8331X (Connector: Mini D-sub, 15 pins, female) 2 RGB input connector • 1 - R: Red image signal • 2 - G: Green image signal • 3 - B: Blue image signal • 5, 6, 7, 8, and 10 - GND: Signal ground • 13 - HS: Horizontal synchronizing signal • 14 - VS: Vertical synchronizing signal. 3 Adjustment volume The following adjustments are available # Indication Name Function 1 BRIGHT Brightness Adjusts the brightness. (Brightness: approx. 20 to 100%) 2 V-POS. Vertical Position Adjusts the screen vertical position (per 16 lines). 3 H-POS. Horizontal Position Adjusts the screen horizontal position (per 16 pixels). 4 PHASE Phase Adjusts the screen flickering. 5 CONT. Contrast Adjusts the contrast. 4 Keypad connector Connects the keypad (ANM852XX). This is available only when the monitor connects to the PV310 with a keypad cable. 5 Keypad cable connector Connects the keypad link cable (ANMX8333X). (Connect one end of the cable to the PV310). Use this connector to connect the keypad with the Keypad connector on the monitor front. Caution: Check for proper connections before turning the PV310 on.

Installation and Wiring

Chapter 2 2.1 Connecting Peripherals Be sure to turn the PV310 off before connecting the peripherals to the PV310. • Be sure to use the products specified by Matsushita Electric Work, Ltd. (excluding a Compact Flash memory card). • Be sure to remove power from the PV310 before connecting the peripherals to the PV310. 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 inserting/removing the cable into/from the connector, be sure to hold it by its plug to prevent excess force applying on the cable. Do not touch the terminals inside the connectors and take care not to allow foreign objects to come into the connectors.

Installation and Wiring

Chapter 2 2.2 Installation of PV310 2.2.1 Countermeasure for Heat Radiation Install the PV310 in the correct direction (see the figures below) for heat radiation not to block the ventilator. Do not mount the unit sideways. It might cause a malfunction due to the internal heat retaining. Do not mount above the high heat generators including a heater, a transformer and a high-capacity resistor. When installing PV310 on a control board, attach a cooling system such as a fan motor to release the heat generated by PV310. Correct Wrong 2.2.2 About Mounting Space Keep 50 mm or more space from other equipment to facilitate the unit exchange and cable wiring. When mounting a device in front of the PV310 (on the door of the control box, etc.) keep 100 mm or more space between them in order to prevent an impact from noise radiation or heating. Always keep 100 mm or more space from front of the PV310 to facilitate a keypad connection or a wiring.

Installation and Wiring

Chapter 2 2.2.3 Mounting the PV310 There are the two ways to mount the PV310, by using screws or by hooking on the DIN rail. Refer to the dimensions in the back of this manual to fix with screws. Mounting the PV310 on the DIN rail The PV310 can be mounted on or removed from a 35 mm wide DIN rail (DIN EN50022) with a single easy operation. To mount the PV310 on the DIN rail: 1. Hook the PV310 onto the DIN rail. 2. Press the lower part of the PV310 to fix it into position. To remove the PV310 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 PV310. Mounting the PV310 to the VGA Monitor To mount the PV310 on the VGA monitor, use the fixing bracket, ANMX835.

Installation and Wiring

Chapter 2 2.3 VGA Monitor Installation 2.3.1 VGA Monitor Installation To install the VGA monitor: 1. Insert the VGA monitor into the mounting plate. 2. Attach the fixing bracket into the ditch of the VGA monitor with M3-screws and fix the VGA monitor on the mounting plate with M4-screws. Cutting Dimensions of the Mounting Plate • When fixing the monitor or parts on the mounting plate or wiring the cables, it is advisable to keep 30 mm to 50 mm spaces around the ANMX830X to prevent the cables from being damaged and to increase work efficiency. • Never block the ventilation slits. ANMX8301 ANMX8300

Installation and Wiring

Chapter 2 2.3.2 VGA Monitor: Power Wiring Pin Assignments Rated Voltage 24 V DC Tolerance Voltage Range 22.8 to 25.2 V DC Rated Consumption Current 0.5 A or less Applicable Solderless Terminal • Terminal screws are M3. • It is advisable to use solderless terminals to wire. Use wires of 0.5 mm2 to 1.25 mm2 if you do not use a solderless terminal. • 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 mm 2 to 1.65 mm 2 R-type 2-MS3 JST Mfg. Co., Ltd. A-type 2-N3A 1.04 mm 2 to 2.63 mm 2 0.5 N•m Wire high-voltage cables, power cables, and power source cables using separated ducts from of a DC power cable, a VGA monitor cable and a keypad cable, or keeping away more than 100 mm from them. Mounting Camera

Installation and Wiring

Chapter 2 2.4 Mounting Camera 2.4.1 Double Speed Random Camera / Standard Camera Select an appropriate lens and adaptor rings for the required capture range (view range) and mount the camera confirming the distance between the camera and the object. View Range Table - Double Speed Random Camera: ANM831 Lens View range (mm) ANM8850 ANM88501 ANB847L (*1 f=50 mm ANB846NL ANM88251 f=25 mm ANB845NL ANM88161 (*2 f=16 mm ANB 843L f=8.5 mm ANB 842 (*5 f=6.5 mm ANB842NL f=6 mm Resolution µm/pixel Ver. Hor. WD Adapter ring WD Adapter ring WD Adapter ring WD Adapter ring WD Adapter ring WD Adapter ring Ver. Hor. 1 1.1 59 177 2.1 2.1 2 2.1 73 88 4.2 4.2 3 3.2 87 59 6.3 6.2 4 4.3 101 44 8.3 8.3 5 5.3 115 35 31 17 10 10 7.5 8.0 150 23 49 11 16 16 10 10.7 186 17 66 8.5 31 5.5 21 21 12.5 13.3 221 14 84 7 42 5 26 26 15 16.0 256 11 101 5.5 53 2 (*3) 31 31 20 21.3 326 8.5 137 2 (*3) 76 2 (*4) 30 1.5 42 42 30 32.0 467 6 207 2 (*4) 120.7 1.5 54 1 42 0.5 32 0.5 63 62 40 42.6 608 2 (*3) 277 2 165.7 1 78 0.5 60 0.5 49 0.5 83 83 50 53.3 749 2 (*4) 348 1.5 211 1 102 0.5 79 0 66 0 104 104 75 79.9 1101 2 524 1 323 0.5 162 0 124 0 108 0 156 156 100 106.5 1452 1.5 700 0.5 436 0.5 221 0 170 0 150 0 208 208 150 159.8 2156 1 1051 0.5 661 0 341 0 262 0 235 0 313 313 200 213.1 2860 0.5 1403 0 886 0 461 0 353 0 319 0 417 417 250 266.3 3564 0.5 1755 0 1112 0 580 0 445 0 404 0 521 521 300 319.6 4268 0.5 2107 0 1337 0 700 0 536 0 488 0 625 625 350 373.3 4972 0.5 2459 0 1562 0 820 0 628 0 573 0 729 729 400 426.7 2811 0 1787 0 939 0 719 0 657 0 833 833 450 480.0 3163 0 2013 0 1059 0 811 0 741 0 938 938 500 533.3 3515 0 2238 0 1179 0 902 0 826 0 1042 1042 600 640.0 4219 0 2688 0 1418 0 1085 0 995 0 1250 1250 700 746.7 4923 0 3139 0 1657 0 1268 0 1164 0 1458 1458 800 853.3 3589 0 1897 0 1451 0 1333 0 1667 1667 900 960.0 4040 0 2136 0 1634 0 1502 0 1875 1875 1000 1066.7 4490 0 2375 0 1817 0 1671 0 2083 2083 *1: WD = -11 mm *2: WD = +4 mm *3: Lens focal position is in closest position. *4: Lens focal position is in the middle position. *5: Not available in market any more • Working Distance (WD): The distance from the front of the lens to the object • The values in the table are around the focal point of ∞, except as otherwise noted.

Installation and Wiring

Chapter 2 View Range Table - Standard Camera: ANM832 Lens View range (mm) ANM8850 ANM88501 AANB847L (*1 f=50 mm ANB846NL ANM88251 f=25 mm ANB845NL ANM88161 (*1 f=16 mm ANB 843L f=8.5 mm ANB842L f=6 mm Resolution (µm/pixel) Ver. Hor. WD Adapter ring WD Adapte r ring WD Adapter ring WD Adapte r ring WD Adapter ring Ver. Hor. 1 1.1 59 182 2.1 2.1 2 2.1 73 93 4.2 4.2 3 3.2 87 64 6.3 6.2 4 4.3 101 49 8.3 8.3 5 5.3 115 40 31 22 10 10 7.5 8.0 150 28 49 16 16 16 10 10.7 186 22 66 13 31 10 21 21 12.5 13.3 221 19 84 12 42 9.5 26 26 15 16.0 256 16 101 10 53 8.5 31 31 20 21.3 326 13 137 9 76 7.5 30 6.5 42 42 30 32.0 467 10 207 8 121 6.5 54 6 32 5.5 63 62 40 42.7 608 9 277 7 166 6 78 5.5 49 5.5 83 83 50 53.4 749 8.5 348 6.5 211 6 102 5.5 66 5 104 104 75 80.1 1101 7 524 6 323 5.5 162 5 108 5 156 156 100 106.8 1452 6.5 700 5.5 436 5.5 221 5 150 5 208 208 150 160.2 2156 6 1052 5.5 661 5 341 5 235 5 313 313 200 213.6 2860 5.5 1403 5 886 5 461 5 319 5 417 417 250 267.0 1755 5 1112 5 580 5 404 5 521 521 300 320.4 2107 5 1337 5 700 5 488 5 625 625 350 373.8 2459 5 1562 5 820 5 573 5 729 729 400 427.2 2811 5 1787 5 939 5 657 5 833 833 450 480.6 2013 5 1059 5 741 5 938 938 500 534.0 2238 5 1179 5 826 5 1042 1042 600 640.8 2688 5 1418 5 995 5 1250 1250 700 747.6 1657 5 1164 5 1458 1458 800 854.4 1897 5 1333 5 1667 1667 900 961.2 2136 5 1502 5 1875 1875 1000 1068.0 2375 5 1671 5 2083 2083 *1: WD = +11 mm *2: WD = +4 mm • Working Distance (WD): The distance from the front of the lens to the object • The values in the table are around the focal point of ∞, except as otherwise noted.

Installation and Wiring

Chapter 2 (Lens not available in market any more) Lens View range (mm) ANB 842 f=6.5 mm ANM8808 ANM88081 f=8 mm ANM8804 ANM88041 f=4 mm ANM8828 ANM88281 f=2.8 mm Resolution µm/pixel Ver. Hor. WD Adapter ring WD Adapter ring WD Adapter ring WD Adapter ring Ver. Hor. 1 1.1 2.1 2.1 2 2.1 4.2 4.2 3 3.2 6.3 6.2 4 4.3 8.3 8.3 5 5.3 10 10 7.5 8.0 16 16 10 10.7 21 21 12.5 13.3 26 26 15 16.0 31 31 20 21.3 31 0 42 42 30 32.0 42 5.5 54 0 63 62 40 42.7 60 5.5 76 0 33 0 83 83 50 53.4 79 5 99 0 44 0 104 104 75 80.1 124 5 155 0 72 0 45 0 156 156 100 106.8 170 5 211 0 101 0 64 0 208 208 150 160.2 262 5 324 0 157 0 104 0 313 313 200 213.6 353 5 436 0 213 0 143 0 417 417 250 267.0 445 5 549 0 270 0 183 0 521 521 300 320.4 536 5 663 0 326 0 222 0 625 625 350 373.8 628 5 774 0 382 0 262 0 729 729 400 427.2 719 5 887 0 438 0 301 0 833 833 450 480.6 811 5 1000 0 495 0 340 0 938 938 500 534.0 902 5 1112 0 551 0 380 0 1042 1042 600 640.8 1085 5 1337 0 664 0 459 0 1250 1250 700 747.6 1268 5 1563 0 776 0 537 0 1458 1458 800 854.4 1451 5 1788 0 889 0 616 0 1667 1667 900 961.2 1634 5 2013 0 1002 0 695 0 1875 1875 1000 1068.0 1817 5 2238 0 1114 0 774 0 2083 2083 Attaching a Lens Attach the lens selected from the view range table. When you use adaptor rings, fix them between the lens and the camera. To attach 8 mm of adaptor rings, use a 5-mm ring and three 1-mm rings. When attaching them, however, you cannot attach all of 1-mm rings between the 5-mm ring and the camera (or the 5-mm ring and the lens). Attach separately in order to the thickness of the rings is 2 mm or less, such as two 1-mm rings between the 5-mm ring and the camera while a 1-mm between the 5-mm and the lens.

Installation and Wiring

Chapter 2 Notes on Mounting a Camera • Fix the camera securely. You can mount the camera directly or with a designated mounting plate (*insulation type). Refer to the dimensional diagram when you mount the camera. When you mount the camera using screws without designated mounting plate, bear in mind that screws come into the inside of the camera less than 2.5 mm from its bottom. • The side of the plate mounted is the bottom of capturing images displayed on the screen. The mounting direction of the camera determines the angle of captured image. Note that it is impossible to rotate captured images with the PV310. • To avoid the effect of a variation within mounting dimensional tolerance of CCD element, be sure to verify it with an actual image. • If the positive terminal of the power supply is connected to ground, be sure to mount the camera in an electrically insulated way. When connecting between the PV310 and the camera with a camera cable, the camera case (outer shell) is connected to the internal circuit ground. Therefore, if the camera is directly mounted on the device without insulation, a short-circuit condition occurs between the +24V terminal and 0V (GND) terminal, resulting in damaging the internal circuit. 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. * From the shipment of May 2007.

Installation and Wiring

Chapter 2 2.4.2 Ultra Compact Camera Mount a camera confirming the appropriate distance between the camera and the object (‘WD" in the below table) and the gap (between the lens securing ring and the camera) for the required capture range (view range). View Range Table - Ultra compact camera: ANPVCA1012 Lens View range (mm) ANPVL3001 f=30 mm ANPVL1201 f=12 mm ANPVL0401 f=4 mm Resolution µm/pixel Ver. Hor. WD Gap Adapte r ring WD Gap Adapter ring WD Gap Adapte r ring Ver. Hor. 1 1.1 2.1 2.1 2 2.1 15 0.7 20 4.2 4.2 3 3.2 50 1 35 6.3 6.2 4 4.3 22 0 10 8.3 8.3 5 5.3 67 1.8 20 10 10 7.5 8.0 34 0 5 16 16 10 10.7 109 1.2 10 9 1.8 --- 21 21 12.5 13.3 12 1.5 --- 26 26 15 16.0 14 1.3 --- 31 31 20 21.3 193 0.6 5 *1 20 1.1 --- 42 42 30 32.0 110 1.8 --- 31 0.9 --- 63 62 40 42.7 144 1.5 --- 43 0.8 --- 83 83 50 53.4 178 1.3 --- 54 0.7 --- 104 104 75 80.1 658 1.9 --- 262 1.0 --- 82 0.6 --- 156 156 100 106.8 869 1.6 --- 346 0.8 --- 110 0.5 --- 208 208 150 160.2 1291 1.2 --- 515 0.7 --- 167 0.5 --- 313 313 200 213.6 1714 1.0 --- 684 0.6 --- 223 0.5 --- 417 417 250 267.0 2136 0.9 --- 853 0.6 --- 279 0.5 --- 521 521 300 320.4 2558 0.9 --- 1022 0.5 --- 335 0.4 --- 625 625 350 373.8 2981 0.8 --- 1191 0.5 --- 392 0.4 --- 729 729 400 427.2 3403 0.8 --- 1360 0.5 --- 448 0.4 --- 833 833 450 480.6 3825 0.7 --- 1529 0.5 --- 504 0.4 --- 938 938 500 534.0 4247 0.7 --- 1698 0.5 --- 561 0.4 --- 1042 1042 WD: The distance from the front of the lens to the object *1 Replace the lens securing ring to use. Fixing a Lens 1. Rotate a lens securing ring and fix it at the appropriate position.

Installation and Wiring

Chapter 2 2. Screw the lens into it. 3. Rotate the lens securing ring to fix the lens. Adjust the gap between the lens securing ring and the camera to be the size confirmed in the view range table on the previous page. Precautions for mounting cameras • Noise might disrupt the capturing signal. In that case, make the following operations; - Use a separated power source for PV310 from the other devices - Apply a noise filter on the power line - Wire the camera cable apart from the other devices and cables • Electrically insulate the camera when mounting it in the conditions listed below. Without insulation, the internal circuit might be damaged because the camera case connects GND of the internal circuit; - The electric potentials of the camera case and the other devices are different - When using the device grounding the positive terminal (If it is not insulated, +24V and GND result in a short circuit status.) • When you fix the camera control unit using the holes on the bottom face, do not screw into the bottom face over 3.5 mm. • Keep the camera cable 100 mm or more away from power cables and motor cables. • The side with the top indication mark is the upper side of the image displayed on the monitor. Depending on the direction of camera mounting, images can be captured improperly. In addition, the mounting position of CCD element and the angle error within the tolerance may allow capturing an image askew. Be sure to confirm an actual image. If required, adjust with the camera mounting area because you cannot rotate images with PV310.

Input and Output Interface Ports

Chapter 3 3.1 Parallel Ports 3.1.1 Wiring to the Terminal Blocks Output terminal block Terminal block for power supply input About terminal block The PV310 is equipped with the attachable input/output terminal blocks. 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 mm 2 Less than 0.25 N•m Size Conductor surface area (cross-section) Acceptable Wire (Twisted wire) AWG#24 to 26 0.3 to 1.25 mm 2 How to Wire 1 Remove the wire shield. 2 Insert the wire into a terminal block hole until it stops and screw it down. 3 When connecting multiple wires, twist them together before inserting.

Input and Output Interface Ports

Chapter 3 • Turn the PV310 off before attaching the wires, mounting or removing the terminal block. • Do not use a soldered wire, because vibrations caused by the PV310 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: 0.9A or less 2 cameras: 1.1A or less

Input and Output Interface Ports

Chapter 3 3.1.3 Notes on Power Supply and Wiring Turn off the power before wiring. Use an Insulated Power Supply with a Built-in Protection Circuit • Be sure to use an isolated power supply with a built-in protection circuit to protect the PV310 from abnormal voltage generated from the power supply lines. • Non-insulated power supply is used for the regulator of the PV310. • When using a power supply without a built-in protective circuit, be sure to supply power to the PV310 through protective elements such as fuses. Turn the PV310 ON/OFF at the Primary Side • Turn the PV310 on/off at the primary side. If you turn the device on/off at the secondary side (24 V DC), the fuses of the device may melt down. Use a Power Supply Unit with Sufficient Capacity • When the power is turned on, the current far above the rated current temporarily flow. Use the power supply unit with enough capacity (approx. three times). Check the operation of the PV310 when actually turning the power on. If the PV310 does not function properly (READY signal is not output) when turning on the power, immediately turn the device off. Increase Resistance to Noise • Separate the wiring systems for the PV310, input devices, and output devices. • When there is a particular concern about noise coming from input/output circuits, it is recommended that the power for the PV310 and for input/output should be separately supplied. Consider the Electric Power Sequence • Consider the power supply sequence so that the power supply unit for the PV310 can be turned off before the one for the input/output is turned off. • If you turn the input/output power off before turning the PV310 off, the device will detect a change in the input signal level and may malfunction. • When turning the PV310 on again, wait at least 10 seconds. About Momentary Power Interruptions • Less than 10 ms: Continues running. • Between 10 and 40 ms: The PV310 may continue running depending on the condition, the device may reset itself, or the camera image capture may stop. • More than 40 ms: The PV310 will reset itself. When power is supplied again, the device will begin to operate from its initial state.

Input and Output Interface Ports

Chapter 3 3.1.4 About Grounding Attaching a Ground to Prevent Effects of Noise The PV310 is designed to endure the noise that presents under normal environment. Provide a ground when installing the device in a particularly noisy environment. Use a Dedicated Grounding Place • Use a wire of 0.3 to 1.25 mm2 diameters. • Ground resistance should be less than 100 Ω. • Install the PV310 as close to the ground point as possible. • Do not commonly use the ground with other devices due to negative effects. Note on connecting the positive terminal of the power supply to ground • Install another power supply for PV310 controller. Do not connect the positive terminal of the power supply to ground (see in the drawing 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 PV310 may be connected to ground via the FG terminal (see in the drawing below). The SG terminal of the PV310 is internally connected to the GND (0V) terminal. For some computers, the SG terminal of RS232C port and the outer shell of the connector have already been connected. In this case, the SG terminal of the PV310 and the FG terminal of an external device such as PLC, etc. will be connected. If the positive terminal of the power supply to ground, a short-circuit condition occurs, resulting in damaging the internal circuit.

Input and Output Interface Ports

Chapter 3 3.1.5 Output Terminals Arrangement of the terminals Signal Name Content COM COMMON For FLASH only FLA FLASH Flash sync signal COM COMMON Common terminal for General Output RDY READY Ready signal ERR ERROR Error signal (refer to page 316 for more details of error causes.) REN READ END Image capture completion signal STR STROB Strobe signal (Data output completion signal during handshake ) OVF OVER FLOW FLAG Overflow signal (this signal is output if the output value exceeds the data length you have set) D1 Data D2 Data2 D3 Data3 D4 Data4 D5 Data5 D6 Data6 D7 Data7 D8 Data8 Data output signals • Number of scans • Data of Judgment • Data of Numeric Calculation • Data of Statistics Output Circuit: Product number with final number “N” The NPN open collector output is adopted. The load current should be within the rated voltage range. Rated operating voltage: 12 to 24 V DC A connecting example with PLC

Input and Output Interface Ports

Chapter 3 Output Circuit: Product number with final number “P” Rated operating voltage: 5 to 24 V DC A connecting example with PLC

Input and Output Interface Ports

Chapter 3 Flash Output Terminals Do not commonly use COMMON for FLASH with other COMMON terminals. Output Circuit: Product number with final number “N” Rated operating voltage: 5 to 24 V DC rated operational voltage: 5 to 24 V DC Output Circuit: Product number with final number “P” Rated operating voltage: 5 to 24 V DC rated operational voltage: 5 to 24 V DC Flash Timing Chart Note that the time from the FLASH output signal ON to the emission completion (including the times listed below) does not exceed 420 μs. • Flash output sync. Signal lag of PV310. 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. • Set the shutter speed of a double speed random camera within the range from 1/30 to 1/1000 when using a strobe light. • You cannot use the same strobe light to the cameras connected to each PV310. • When a strobe is used, the strobe lights flash continuously during Live-image display. When making settings and performing inspection by using a strobe light, switch to memory image display.

Input and Output Interface Ports

Chapter 3 Notes on Output Terminal • The PV310 has a low load capacity, which allows you to connect the device to a PLC, etc. Do not directly connect the PV310 to a device having a high load capacity, such as a valve, without passing it through our Power-Photo relay. • The output circuit contains no built-in fuse. If it is necessary to prevent from burning out the output circuit in the event of output load short circuit, mount an external fuse. However, it may not be able to protect internal elements in the event of short circuit. • The COMMON terminal is exclusively for FLASH. Do not commonly use the terminal with other COM terminals.

Input and Output Interface Ports

Chapter 3 3.1.6 Input Terminals Pin Assignments Signal Name Detail COM COMMON START common STA START Inspection start signal COM COMMON COMMON, other than START input ACK ACKNOW LEDGE ACKNOWLEDGE signal (Data reception completion signal during handshake) TYP TYPE Switches product types FCT1 FUNCTIO N1 Selectable from 3 functions (refer to section 9.1). Initial value: Display switch signal. FCT2 FUNCTIO N2 Selectable from 3 functions (refer to section 9.1). Initial value: 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 when switching product types. • Specify an image type when switching display camera images • Specify a checker number when re-registering a template • Specify a setting data number when restoring the data from Compact Flash memory card Input Circuit Parallel input circuit Rated operating voltage: 12 to 24 V DC Max. applied voltage: 30 V DC Example of connection with PLC NPN output PNP output

Input and Output Interface Ports

Chapter 3 Notes on Parallel Input • The PV310 accepts (+/-) common. 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. • If input to the PV310 is not turned off due to current leakage when 2-line photoelectric sensor (or proximity sensor) is used, connect a bleeder resistor. • Even in cases where an LED such as an LED reed switch is directly connected to an input contact point, make sure that the PV310 input terminal receives more voltage than the ON voltage. • When current is leaking from the input side, input may not be turned off. In such a case, connect a resistor using the diagram below for reference. • The COMMON terminal for START signal cannot be commonly used with other COMMON terminals.

Input and Output Interface Ports

Chapter 3 3.2 About RS-232C (COM1) Port Port Used for RS-232C Communication The COM1 port is an 8-pin round connector, which is used for RS-232C communication. Pin Assignments A Hoshiden connector (part No.: TCS6180) is used for the COM (RS-232C) port on the PV310. Pin No. Color Signal 1 Red SD 2 White RD 3 Black RS 4 Yellow CS 5 Blue DR 6 Green SG 7 Brown CD 8 Gray ER • COM2 port is not available. • As for RS-232C control, the PV310 can take flow control according to the setting. Refer to page 260 for details of communication settings.

Input and Output Interface Ports

Chapter 3 Example of Wiring Connections with a PC (IBM PC-AT) ANM81103

Input and Output Interface Ports

Chapter 3 Connection with PLC Make the connection with the RS-232C cable (ANM81303) following the wiring example shown below. Since the PLC side of the RS-232C cable is not terminated, terminate it according to your PLC. In case short-circuiting is necessary, be sure to check the example of wiring. ANM81303 Connections with Panasonic FP series PV310 FP series Multi communication unit /Computer communication unit PV310 FP Σ (Communication cassette: RS-232C 1 channel type) PV310 FP0

Input and Output Interface Ports

Chapter 3 Connections with Mitsubishi PLC PV310 A series/ Q series (9-pin) PV310 A series/ Q series (25-pin) PV310 FX series * Mitsubishi PLC: When you communicate with Q- or A-series PLC in Computer Link mode, use the unit supporting the special protocol for Mitsubishi A series computer link unit, “Format 4”, for PLC.

Input and Output Interface Ports

Chapter 3 Connections with OMRON PLC PV310 9-pin PV310 25-pin Connections with MICREX SX (SPH series) and SLC500 of Allen-Bradley PV310 MICREX-SX SHP series/ Allen-Bradley SLC500

Input and Output Interface Ports

Chapter 3 3.3 About Ethernet Port (TOOL Port) Use the TOOL port to establish Ethernet communication. Ethernet Port (100BASE-Tx, 10BASE-T) Pin Assignments Connection with PC The PV310 is equipped with the Ethernet port having a RJ-45 connector. Use a modular RJ-45 crossing cable (category 5e). Example • Ethernet is a registered trademark of Xerox Corporation in the United States • To assign IP address, .choose "INFO." > "IP address" in PV310.

Input and Output Interface Ports

Chapter 3 3.4 Vision Support Tool AXTOOL Ver. 3 Vision Support Tool AXTOOL Ver. 3 (hereinafter called “the AXTOOL V3”) is the support software for the PV300, PV310 and AX series. The AXTOOL V2 can operate on a PC-AT compatible computer and has been optimized for Windows 98® SE, Windows® Me, Windows® 2000 and Windows® XP. The AXTOOL V3 has the following features: • By backing up the setting data and image data (memory and save images), you can organize them as files in your PC. As the files can be copied from PC to PV310, when multiple PV310s are used for the same inspection purpose, you can also use them as the files for copying. • Since the setting contents can be written in the CSV format, you can read them on Microsoft Excel. This will be helpful if you create documents or operation manuals. For further information, refer to the documentation that came with the AXTOOL V3 or on-line help. How to Obtain the AXTOOL V3 You will be able to download free of charge the AXTOOL V3 from our website if you register in the NAIS FAN Customer Support System. If you are not a registered user, sign up as a registered member (free) first. http://Panasonic-denko.co.jp/ac/e/fasys/vision/ Windows 98® SE, Windows® Me, Windows® 2000 and Windows® XP are registered trademarks of Microsoft Corporation in the United States and other countries.

This section describes the basic setting operation for PV310. Refer to Chapter 5 or later for inspection setting

procedures and for details of each function.

4.1 About Screen Monitor

No. Description A Status display area: Mainly displays the status of the PV310 (1) The currently selected product type No. and title and execution mode (2) Image type that is currently displayed (3) Message area: Displays messages, subwindows for checker setting, and results of the checker test (4) Total judgment result: Displays "OK" in green if the judgment formula that is set to " Total Judgment" returns true by selecting “TOOL” > “Calcu.-Stat.-Output” and then opening Judgment tab. (Refer to page 185 about registration of total judgement.) (5) Output status of signals: If the signals shown below are output signals, the squares located under each signal are displayed in green (or in red for ERROR) only in RUN mode). R: Ready signal / E: Error signal / O: Overflow signal / S: STROB signal / 1-8: D1-D8 signals (6) Inspection time (unit: ms): OFF time of READY signal after START signal input B Menu bar: Displays the menu to set the inspection conditions and inspection environment. In RUN mode Images, checker shapes, inspection results, etc. are displayed according to the settings in SETUP mode. C In SETUP mode Images, inspection areas, etc. are displayed. Every setting window that is selected from the menu bar is also displayed in this area.

4.2 RUN and SETUP Modes

4.2.1 About SETUP and RUN Modes RUN Mode: This is a mode of performing inspection. The PV310 starts in this mode when you turn it on*1. Only in RUN mode, the PV310 accepts various kinds of signals including inspection start signals (START signal) from external device. In addition, in this mode, the inspection results can be output to the external device according to the communication and output conditions. You cannot set or change the settings for product type, configuration data, etc., which are configured with the keypad. In RUN mode, the menu bar is not displayed. SETUP Mode: This is a mode in which you can configure or change the settings for all the options in the menu bar (TYPE, CHECKER, TOOL, ENVIRONMENT, CARD, and INFO.) All the external signals including the inspection start signal (START signal) but excluding key emulation signal from external device are denied. Press the A key on the keypad to perform a test, but the results will not be output to the external device. In SETUP mode, the menu bar appears. For example, the figure shown on the previous page is a screen in SETUP mode, (because the menu bar is displayed.) *1 The product types that are displayed when you turn the PV310 on are the ones that have been selected before the device is turned off. 4.2.2 Switching between RUN Mode and SETUP Mode Press the C key to switch between the two modes. (You can switch from SETUP mode to RUN mode only if the SETUP window is not displayed.) If you cannot switch the modes by pressing the C key, the modes are locked using a password. In this case, keep pressing the C key for more than one second so that the "Password" window is displayed. Enter your password to switch the modes. See page 223 for protecting the setting data by password.

4.3 How to Preprocess and Display Images

The number of cameras connected to the PV310 and the location to which an image is stored 1. Capture an image with a camera. Set a camera mode by selecting “ENVIRONMENT” > “Initial Settings” > “Camera Mode” from the menu bar. See page 57. 2. You can select an image to be displayed on the monitor screen from the images in the table below. Press the B key and select “Display Camera Image”. Refer to page 57. Option Type of display camera image Live image The current image. An image moves in real-time. If the lens is covered with your hands, a blacken image will be captured. Memory image The image stored in a memory for inspection. Unlike a live image, the images do not change in real-time. 3. You can view the following two types of images on the monitor by pressing the B key and then selecting “Display Gray Value/Binary”. See page 54. Option Color of display image Gray Value Gray-scale image Binary Group A to Binary Group H The image of the selected slice level is displayed. (If you select “Memory or Live- C1+C2, the Binary Group A to Binary Group H are unavailable.).

4.4 Basic Operation Using the Keypad

4.4.1 Selecting an Option from the Menu Follow the instructions below to select an option from the displayed menu or modify the setting value. 1. Move the cursor to the option you want to select by tilting the ENTER key on the keypad upward/downward/left/right. 2. Press the ENTER key. The highlighted option at the step 1 is selected. This series of operation for selecting a menu option or a setting value is described as “select/choose/highlight (an option or a setting value)” in this manual. 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 position of the value that you have entered can be changed. 2. Press the ENTER key to determine the modified value. The value that you specified at the step 1 is fixed. 4.4.3 Setting the Inspection Area The ways of setting the position or size of the area for executing inspection are described below. There are several shapes of areas including rectangle, circle and polygon, line and area. Drawing a Rectangle and Plane Scan Follow the steps below after displaying a checker shape on the screen by selecting “Change”. 1. Move the whole rectangle. Move the rectangle 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.

Set the end position (the black square mark on the rectangle) of the circle.

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. Drawing a Circle Follow the steps below to set the start and end points of the circumscribing rectangle after displaying a checker shape on the screen by selecting “Change”. If you want to draw a circle or an ellipse with the Flaw Detection function, refer to section 6.11, “Flaw Detection” on page 129. 1. Move the whole circle. Move the whole 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 circumscribing rectangle). Move the circumscribing rectangle by tilting the ENTER key in the desired direction and press the ENTER key to fix the position. Press the C key before pressing the ENTER key to go back to the previous step. 3. Set the end position (the black square mark on the circumscribing 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. Press the C key before pressing the ENTER key goes back to the previous step.

Drawing a Line

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 square mark on the line). Move the line by tilting the ENTER key in the desired direction and press the ENTER key to fix the position. Press the C key before pressing the ENTER key to go back to the previous step. 3. Set the end position (the black square mark) of the line. Move the end point by tilting the ENTER key in the desired direction and press the ENTER key to fix the position. Press the C key before pressing the ENTER key to go back to the previous step. Drawing a Polygon 1. Move the whole polygon. 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 square mark on the polygon). Move the line by tilting the ENTER key in the desired direction and press the ENTER key to fix the position. You can set four vertices of the rectangle by repeating this operation.

Increasing the Number of Polygon Vertices

You can add up to 16 vertices to a polygon. 1. Move the desired vertex and press the B key. The submenu is displayed. 2. Select "Add Point" from the menu. A new vertex is added near the middle position between the currently selected vertex and the next vertex. 3. Choose the added vertex (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 you can set the next vertex. The repetitious execution of steps starting from 1 to 3 creates a polygon with maximum 16 vertices. Deleting a Vertex of Polygon 1. Select the vertex you want to delete. 2. Press the B key. The submenu is displayed. 3. Select "Delete" from the menu. The vertex you selected is deleted.

4.5 Temporarily Switching the Display Camera Images

You can temporarily change the image displayed in the image display area to another mage by pressing the B key on the keypad and then selecting “Display Camera Image” or “Display Gray Value/Binary”. In RUN mode, you can always switch the display images. In SETUP mode, display image switching is available if you are selecting many menus. (But, the dialog box for switching display images may not be displayed depending on the selected menu. Check if the dialog box is displayed on the screen of the actual device.) 4.5.1 Display Images The following options are available for setting a display image. No. Setting Setting item 1 Select a memory image. Memory 1/Memory 2/Memory-C1+C2 2 Select which image you want to display, a live (real-time) image or a memory image. Live image is a current image. The image moves in real-time. If you covered the lens with your hands, the blacken images will be captured. Display Camera Image 3 Select which image you want to display, a gray scale image (Gray Value) or a binary image (Binary Group A to Binary Group H). Display Gray Value/Binary 4.5.2 Selecting a Display Camera Image 1. Press the B key. The menu window is displayed. 2. Select “Display Camera Image”. The Display Camera Image menu is displayed. Each item of the Display Camera Image Switch Option Image to be displayed Live-C1 Live image in Memory 1 (real-time image) Live-C2 Live image in Memory 2 (real-time image) Live-C1+C2 Live image in Memory 1 and Memory 2 (real-time image) Memory-C1 Memory image in Memory 1 (still image used for inspection) Memory-C2 Memory image in Memory 2 (still image used for inspection) Memory-C1+C2 Memory image in Memory 1 and Memory 2 (still image for inspection) The options “Memory/Live-C1+C2” are available in RUN mode only. 3. Select the camera image to display. The images are switched. 2-screen display (Live-C1+C2 / Memory-C1+C2) is not available in SETUP mode.

4.5.3 Selecting a Display Gray Value/Binary

1. Press the B key while only the image is displayed. The menu window is displayed. 2. Select “Display Gray Value/Binary”. Option Image to be displayed Gray Value Gray-scale image Binary Group A to Binary Group H The image of the selected slice level is displayed. 3. Select a color in which the image is displayed. The image is displayed in the specified binary image or gray scale image.

Chapter 5 Procedure for Setting Inspection Conditions

Chapter 5 Procedure for Setting Inspection Conditions

Procedure for Setting Inspection Conditions

Chapter 5 5.1 Setting Inspection Conditions Set the inspection conditions in the following order. The details of each step are described in the next page or later. 1 Select a camera mode. Select a type or mode of the connected camera, or if necessary, select shutter speed. Sections 5.2 and 5.3 Camera mode and shutter speed is common to all product types. 2 Select a product type No. Select the number of a product type in which a combination of inspection conditions is stored. Section 5.4 Available product type numbers: 1 – 64 2-a If you want to execute some of the checkers in the product type, set the PV310 to SETUP mode. Section 7.2 3 Capture the image of the inspection object. Put the inspection object under the camera lens and capture the image into the memory. Section 5.5 4 Set a checker. Set a inspection area and conditions Section 6 4-a If you let the PV310 compute using each detected value, use the Numeric Calculation function. If you output each detected value to the external device, save the data as Numeric Calculation data and output it. Section 7.2 5 Configure the settings for outputting judgment result to the external device. Configure the settings for outputting inspection judgment result OK or NG to the external device. Section 7.1.2 5-a If you output the settings data configured at the step 4-a, set the way of outputting the settings data or output format. Refer to page 219 for setting output destination. For parallel communication: Section 10 For serial communication: Section 11 For Ethernet communication: Section 12 For Compact flash memory card: Section 13.5 6 Display the inspection result. Display Judgment result (OK or NG) in the total Judgment result display area. Section 0 7 Save the setting data Store the setting data in PV310. Section 5.7 8 Execute inspection Execute inspection by changing to RUN mode. Section 5.8

Chapter 5 Procedure for Setting Inspection Conditions

5.2 Selecting a Camera Mode Select a camera type and a camera mode. 1. Highlight "ENVIRONMENT" in the menu bar. The ENVIRONMENT menu is displayed. 2. Select "Initial Settings". The Initial Settings menu is displayed. 3. Highlight "Camera Mode". The two types of cameras, double-speed random camera (ANM831) and normal camera (ANM832), are available in PV310. If you change the camera mode to another, save the data and reboot the PV310. Camera mode Camera Resolution (unit: pixel) Image capture time Remarks D.S. Random Frame ANM831 512 x 480 Shutter speed +16.7ms Captures an image from start signal input without delay. In this mode, a moving object can be captured in high resolution and at the highest speed. D.S. Random Field ANM831 512 x 240* Shutter speed + 8.4 ms Captures an image from start signal input without delay. In this mode, a moving object can be captured in high resolution and at the highest speed, but the resolution in the vertical direction drops to half. Normal Frame ANM832 / ANPVCA1012 512 x 480 33.3 to 50.0 ms (including max. 16.7 ms delay time) Captures a static object using continuous lighting and a moving object using electric flash. You cannot change the shutter speed. Normal Field ANM832 / ANPVCA1012 512 x 240* 16.7 to 33.3 ms (including max. 16.7 ms delay time) Captures a moving object by changing the shutter speed. Max. 16.7 ms. delay time occurs from the start signal input to image capturing. The vertical resolution drops to the half size. With an ultra compact camera, change the shutter speed with the camera control unit. Int. Sync Mode Frame - 512 x 480 33.3 to 50.0 ms (including max. 16.7 ms delay time) Captures a still image by inputting NTSC signal (still image). Int. Sync Mode Field - 512 x 240* 16.7 to 33.3 ms (including max. 16.7 ms delay time) Captures a moving image by inputting NTSC signal (motion image). The resolution in the vertical direction drops to half.

Procedure for Setting Inspection Conditions

Chapter 5 * Each in Normal Field and Int. Sync Field modes, image resolution in the vertical direction drops to 240 pixels, compared with the frame mode. This is because the PV310 captures in total only 240 lines of the image by skipping every other line in Field mode. For example, when the device captured the odd-numbered lines, it copies them to the even-numbered lines, and then an image composed of 480 lines is created. There are some limitations of camera connections depending on the camera mode. Camera port Camera mode To CAMERA1 port To CAMERA2 port To CAMERA 1 port + CAMERA2 port D.S. Random Frame/Field OK NG OK Normal Frame/Field OK OK OK Int. Sync Mode Frame/Field OK NG NG • When connecting only one camera to the PV310 in D.S. Random Frame mode, be sure to connect to the CAMERA1 port. If you execute image capture while connecting the camera to the CAMERA 2 port only, E0071 error occurs and an error signal is output. • In “Int. Sync Mode Frame” mode, you can connect t only one camera to PV310. Use the CAMERA 1 port.

Chapter 5 Procedure for Setting Inspection Conditions

5.3 Setting a Shutter Speed You need to select a proper shutter speed for a camera mode, moving speed of the inspection object and lighting conditions. You cannot change the shutter speed in Normal Frame or Int. Sync Mode Frame mode. To set the shutter speed for an ultra compact camera: ANPVCA1012, use the camera control unit. The value set by PV310 is ineffective. Shutter speed change Camera mode Camera Double-Speed Random Frame Double-Speed Random Field Double-Speed Random camera: ANM831 Normal Field Normal camera: ANM832 Ultra small camera: ANPVCA1012 Possible Internal Sync Mode Field --- Normal Frame Normal camera: ANM832 Ultra compact camera: ANPVCA1012 Impossible Internal Sync Mode Frame --- 1. Highlight "ENVIRONMENT" in the menu bar. The ENVIRONMENT menu is displayed. 2. Select "Initial Settings". The Initial Setting menu is displayed. 3. Highlight "Shutter Speed". 4. Select a proper shutter speed. Double-Speed Random Frame Double-Speed Random Field Normal Field (Normal camera: ANM832) Internal Sync Mode Field

Procedure for Setting Inspection Conditions

Chapter 5 5.4 Selecting a Product Type What is product type? The PV310 allows you to save 64 pairs of inspection conditions. The combination of these inspection conditions is called a "Product Type". You can create a title for each product type. In addition, you can execute inspection by switching the saved product types according to the signals from external device. Setting items that are saved as product types The following items in the menu bar can be saved as a product type. Menu Description TYPE Title CHECKER All the items associated with the checker function- number of checker settings and inspection conditions TOOL Calculation of inspection results, Judgment Calculation, Calcu.-Stat.-Output, Marker, Ref. Point, Display settings at the time of inspection execution (in RUN mode) and inspection execution mode conditions The following setting items are commonly used for all product types. Menu Description ENVIRONMENT • Initial Settings - Camera, shutter speed, etc. • The way of saving an image • Conversion Data (settable up to 4 product types) • The way of outputting inspection results (output destinations, type of output data) • Selection of whether or not to output an image to the external device and how to output an image to the external device. INFO. Calendar and IP address 5.4.1 Selecting a Product Type 1. Select “TYPE” in the menu bar. A list of product types is displayed. The product type number with a title indicates that inspection conditions are already saved as the product type number. 2. Choose a number which you assign to the product type. If the number is assigned to the product type, the product number is displayed in the left upper area of the screen. • Using a Compact Flash memory card or AXTOOL (Ver.3) enables you to use more than 65 pairs of product types. • For about product type switching with the use of an external device, refer to the following pages: page 250 for parallel product switch, page 280 for product switch with serial command, and page 288 for product switch in Computer Link mode.

Chapter 5 Procedure for Setting Inspection Conditions

5.4.2 Copying an Existing Product Type You can copy the product type that has been already created. If you copy the product type, the destination product type is overwitten 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. When you finished copying the product type, the title of the source product type is displayed in the title area of the destination product type. 5.4.3 Deleting a Product Type This function can delete the product type that has been already created. 1. Move the ENTER key and choose the number of product type you want to delete. 2. Press the B key and select “Delete” from the displayed menu. A dialog message confirming that you want to continue or not appear. 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.

Procedure for Setting Inspection Conditions

Chapter 5 5.4.4 Deleting All Product Types This function can 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 displayed menu. A dialog message confirming that you want to continue. 3. Choose "YES" to continue. All the product types are deleted. Choose “NO” to return to the list of product types. 5.4.5 Entering a Product Type Title This function can give a name (called a “title”) to a product type. You can enter up to 16 alphanumeric characters and some symbols. The default title is "TYPE-Product Type No." 1. Highlight the product type number to which a title is given. 2. Choose "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 determined, a list of product types is displayed and the title is added in the left upper area of the monitor. • Use the soft keyboard to enter a title. • BS: Deletes one character before the cursor position. <- and ->: Cursor in the product type name field moves in the arrow directions.

Chapter 5 Procedure for Setting Inspection Conditions

5.5 Importing Images into a Memory This function can save an inspection object image data. Specify the positions, the area sizes and conditions of the checker based on the image. 1. Press the B key while only the menu bar is displayed. 2. Highlight “Display Image” 3. Select “Live-C1”. When the current image captured with the camera connected to the Camera 1 port 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 lighting that you are supposed to use for the actual inspection. If you select “Live-C2” when two cameras are used for capturing the images, you should also check the above. 4. Press the A key to capture the image.

Procedure for Setting Inspection Conditions

Chapter 5 5.6 Inspection Overview To support for various inspection purposes, the PV310 has multiple types of inspection functions, which are performed in accordance with the inspection conditions being different for each inspection function. In PV310, the inspection function is called a checker. Only basic concepts of checker are described here, but if you want to need more information about checkers, please refer to Section 6. The Types of Checkers Binary Window Counts the number of white or black pixels in a specified area and judges as OK or NG using the measured number Gray Window Calculates the gray average values of all pixels in a specified area and judges as OK or NG using the measured number Binary Edge Detects the edges between white and black and judges as OK or NG using the measured number Gray Edge Detects the point of a certain variation in brightness in accordance with the gray value of each pixel and judges as OK or NG based on the number of detected pixels Feature Extraction Detects a cluster of black or white pixels in a binary image and judges as OK or NG depending on the measured number Smart Matching Detects an image being equal to the saved image (template) based on the gray scale value and judges as OK or NG Contour Matching Detects an image similar to the saved image (template) based on the contour information and judges as OK or NG in accordance with the correlation value Flaw Detection Calculates a gray average value within the segmented range (cell). The PV310 judges as OK or NG based on the difference in the gray average of neighboring cells The PV310 has a support function, which enables you to execute the inspections shown in the table above in accordance with the position or angle of an object. Position Adjustment Detects the position of an object and executes inspection in the position where the object was adjusted Rotation Adjustment Executes inspection by rotating the object by the adjusted angle Gray Scale: The process of capturing the signals from a camera as a 256 (0 to 255) grayscale image. The brightness of 256 grayscale is called a gray value. The higher gray value the brighter pixel and the lower gray value the darker pixel. Binary Image: In binary images, all pixels within the certain range of gray scale are turned white and all pixels out of the certain range of gray scale level are turned black. The range of gray scale is called a slice level]. Eight slice levels (A to H) can be saved for each product type. Since the color information that a binary image has is binary (white and black) color information, the amount of the color information in a binary image is smaller than that in a grayscale or differential image. As a result, checkers can process binary images faster than grayscale images. Note that if the brightness of the image or inspection object changes during inspection, a pixel may change from white to black or vice versa.

Chapter 5 Procedure for Setting Inspection Conditions

5.7 Storing (Revised) Setting Data in the PV310 This function can store the setting (revised) data in the PV310 or a Compact Flash memory card. Be sure to save the data after changing the settings. If the device is turned off before saving the data, the revised data are erased and returned to the setting values previously saved. The message “Update!” displayed in the status area (as the figure shown below) indicates that the setting data have been changed. In this case, save the setting data before turning off the device. Where to Save the Setting Data The setting data are stored in the following destination: • PV310 • A Compact Flash memory card (a FAT16-formatted (FAT) Compact Flash memory card with up to 512 MB capacity can be used.) Storing the setting data in the PV310 1. Select "SAVE" from the menu bar. 2. Make sure that "Save" is selected and press the ENTER key. Save the setting data following the displayed message. 3. Select "Yes". The data are saved. Not to save, select ”No”. Storing the setting data on a Compact Flash memory card See page 298 for more information. Compact Flash is a trademark of SanDisk Corporation in the United States.

Procedure for Setting Inspection Conditions

Chapter 5 5.8 Executing Inspection 5.8.1 Procedure for Inspection Execution Execute inspection according to your settings. 1. Switch to RUN mode. Keep pressing the C key until the menu bar disappears. 2. Press the A key. Inspection is started, and the total judgment results or status of the signal output from terminal block are displayed in the status display area at the left side of the monitor screen. At this time, even if START signal is input or the serial commands for inspection are sent from the external device, the total judgment result or the output status of the signal is displayed in the status display area.

Chapter 5 Procedure for Setting Inspection Conditions

5.8.2 Process Sequence for Executing Inspection Inspections are mainly executed in the following order shown below (, but execution mode must be set to “Execute All” execution mode. Processes may be added or changed depending on the setting. 1 Receive START signal input or a serial command (%S CR) from external device. Input timing signal for execution of inspection from the external device to the PV310. If you execute inspection in Repeat (Inspection) mode, the PV310 skips this process, because the device needs no signal from external device in Repeat mode. 2 Turn READY signal OFF. 3 Start counting inspection time. 4 Capture an image. 5 Turn REND signal (image capture completion signal) ON. 6 Execute checker No.1 first and then the rest of checkers in ascending order. 7 Calculate Numeric Calculation formula CA01 first and then the rest of Numeric Calculation formulas in ascending order. 8 Calculate Judgment formula JD01 first and then the rest of Judgment formulas in ascending order. 9 Calculate Statistics formula QS1 first and then the rest of Statistics formulas in ascending order. 10 Output all or some of the following data via RS-232C. (Note: This process is skipped if the PV310 does not output the following data.) Number of scans, Judgment, Numeric Calculation and Statistics 11 Judgment results are output to the ports from D1 to D8 in several outputs. 12 Finish counting inspection time. 13 Turn REND signal OFF. 14 Turn READY signal ON. * About execution modes In the processes from 6 to 9 on the previous page, Execution mode function allows you to select whether to execute all or some of the checkers, numeric calculations and output judgments that have been stored in a product type. There are three available execution modes: “Execute All”, “User-Defined” and “Automatic Switch”. In “All” execution mode, all of the checkers, Numeric Calculations and Judgment stored in a product type are executed. In “User-Defined” execution mode, the checkers and the formulas of Numeric Calculation and Judgment stored in each product type are divided into three blocks in numeric order. Only one block that you specified can be executed. In “Automatic Switch” execution mode, block 2 or 3 is executed according to the result of the block 1. Refer to page 209 for more details.

Select a camera mode.

2 Select a product type No. 3 Capture the image of the inspection object. 4 Set a checker. 5 Configure the settings for outputting judgment result to the external device. 6 Display the inspection results. 7 Save the setting data. 8 Execute inspection.

6.1 What Is a Checker?

6.1.1 Types and Overview of Checkers Checker is a general term of the areas and the conditions for inspecting a captured image. The following checkers are available in the PV310. Checker Main application Description Refer. Page Binary Window Measurement of size Presence/absence inspection Counts the number of white or black pixels (area value) in a specified area and judges as OK or NG based on the counted number of white or black pixels. 92 Gray Window Measurement of brightness Orientation recognition Calculates the gray average values of all pixels in a specified area and judges as OK or NG based on the counted number of black or white pixels. 94 Binary Edge Position detection Length measurement (at high speed) Judges as OK or NG by detecting whether or not there are the edges between white pixels and black pixels in a binary image 96 Gray Edge Position detection Measurement of length (at high inspection accuracy) Detects a changing point (edge) in certain brightness in accordance with the gray value of each pixel and judges as OK or NG in accordance with the number of detected changing points, the coordinates and the changing amount (differential values). This function is effective if variation in image brightness is small and the contrast of an edge is low. 99 Feature Extraction Position detection Angle detection Counting Detects a black or white pixel cluster larger than a certain size in a binary image and judges as OK or NG based on the number of the detected clusters. Outputs the feature amount such as the coordinates of a center of gravity or principal axis angle (+/-90-degree angle). 106 Smart Matching Position detection Angle detection Type recognition Detects an image similar to a base image (saved as a template) based on the data (gray value) of the image brightness. Supports for low-contrast images or 360-degree rotated images. Extracts the difference between the base image and the detected image (finds out the difference in gray by covering the base image with the detected image). With the use of this function, you can set a Mask area (, where inspection is not performed) within a template. 113 Contour Matching Position detection Angle detection Type recognition Detects an image similar to the base image save as a template according to contour information on the object. Supports for 360-degree rotated object. Up to four Contour Matching checkers including rotation (contour) adjustment checkers can be set per product type. This checker is available only in Frame mode. 125 Flaw Detection Flaw detection Detection of a flaw, missing edge, burr on the surface Calculates gray average value within the segmented area (cell) in a line, arc and circle or rectangular area. If the PV310 detects an area more than a certain level of difference in average gray, the device judges it as a flaw. 129 Position Adjustment • Measurement of moving amount (X,Y) • Movement of a checker shape (toward the current position of an object) After each checker detected the position of the object, calculates the misalignment between the object and the base position. The grouped checkers are executed in the position where the object was moved from the base position. But, the number of rotation-adjustment-referred checkers must be lower than the number of the rotation-adjustment-referring checker. The object can be detected by using the following checkers. 140

• Measurement of a

moving amount (X, Y) • Measurement of rotation angle • Movement of a checker shape to the current position of an object • Rotation of an checker shape according to the rotation angle of the object Rotation Adjustment: With the use of each checker function, detects the angle of the object using the position (coordinates) of the object and calculates the angle that the object was rotated from the base angle. Grouped checkers are executed in the position where the object was rotated from the base angle. But, to let each checker refer to the adjusted angle, the number of rotation-adjustment-referred checkers must be lower than the number of the rotation-adjustment-referring checker. The object can be detected following the procedures shown below. 152 Binary Edge-Horizontal Detects an angle on the basis of the coordinates of the two edges that can be detected by scanning in horizontal direction. 154 Binary Edge-Vertical Detects the angle on the basis of the coordinates of the two edges that can be detected by scanning in vertical direction. 156 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. 158 Gray Edge-Vertical Detects the angle on the basis of the coordinates of two edges that can be detected by scanning in vertical direction 160 Feature Extraction Makes a rotation adjustment using the angle of the principal axis detected by Feature Extraction. (+/- 90 degree angle) 162 Matching (detection angle) Makes a rotation adjustment with the use of the Smart Matching checker, which supports for 360-degree rotated object 160 Matching (two detection points) Makes a rotation adjustment using the angle created by the straight line connected to the two detection points that were detected by executing two Smart Matching checkers and the X axis 162 Rotation Adjustment Rotation Adjustment Contour Matching Makes a rotation adjustment using Contour Matching checker supportable for 360 degree angle. Up to four Contour Matching checkers can be set per product type (including Contour Matching checker). This function is available only if the camera is in Frame mode. 165

6.2 Basic Settings of Checkers

Since each checker executes inspection in different ways, some of the provided parameters differ depending on the checker. In this section, a common setting procedure is described. 6.2.1 Basic Procedure for Setting Checkers 1 Select a checker number and checker. Specify a checker number from the checkers 1 to 99 and select a checker. Page 73 We recommend that you assign 11 or larger numbers to the checkers used for inspection and the numbers 1 to 10 to the checkers for adjustment and automatic adjustment of an inspection area. 2 Choose a camera image. Select which camera image you want to use, Camera 1 or Camera 2. Page 75 3 Configure the setting for preprocessing Preprocess the captured image for easy execution of the desired inspection. 13 types of preprocessing are available. You can combine up to 5 preprocesses, and save up to 5 groups for each product type. Page 76 4 When selecting binary window, binary edge or feature extraction, Setting of a slice level Select one of the preprocess groups A to H and set upper and lower values of a slice level. Page 80 5 Set an area Set an inspection area or “Mask” area, where the PV310 does not inspect, according to the inspection area as necessary. Page 82 5-a Configure the settings for the Area Size Adjustment function, which can change an inspection area to fit the object as necessary. Page 85 6 Set the conditions for each checker Set the items provided to each checker. Refer to the appropriate pages for each checker. 7 Implement a test Confirm whether or not inspection is performed as expected. Refer to the appropriate pages for each checker.

6.2.2 Selecting a Checker Number and a Checker Type

The PV310 allows you to create up to 99 checkers (Checkers 1 to 99) for each product type. Select the number that you desired to save the checker as. 1. Highlight "CHECKER" in the menu bar. A list of selected checker types is displayed. If a checker name is shown next to the checker number, the checker has been assigned to the checker number. 2. Choose a checker number. Available checkers are displayed. 3. Choose the desired checker. The setting window of the checker that you selected is displayed. • Storage capacity of a product type memory is approximately 4MB. If you are about to run out of available storage capacity before the number of saved checkers reaches 99, you cannot set any more checkers. • The type of a checker that has already been created cannot be changed (e.g. changing the Smart Matching checker, to which No.1 is assigned, to Contour Matching checker”). If you want to change the type of the created checker, delete the checker and reselect a new checker. If you perform inspection using the checkers for the position/rotation adjustment or Area Size Adjustment function, assign the lower numbers to the checkers for position/rotation adjustments or with Area Size Adjustment function. The numbers of position/rotation-adjustment-referred checkers must be lower than the numbers of the position/rotation-adjustment-referring checkers or the referring checkers with the Area Size Adjustment function.

Copying the Checker

To copy a checker that is already created: 1. Highlight the number of the checker that you want to copy and press the B key. The submenu associated with the checker function is displayed. 2. Select "Copy". 3. Select the destination Checker No. and press the B key. 4. Select "Paste". After the checker number was copied, the checker type is displayed in the display area of the destination checker type. You cannot copy the Position/Rotation Adjustment checkers. Deleting the Checker To delete a checker that is already created: 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 title field is cleared.

6.2.3 Selecting a Camera Image

To select a camera image to set a checker (1: Camera 1 and 2: Camera 2): 1. Choose "Camera” from the checker menu. The subwindow for camera selection is displayed. 2. Select the desired memory number. The displayed image is changed to the image of the type selected from the menu under Initial Settings in ENVIRONMENT menu. Adjusting the Brightness of a Captured Image Gray image You do not have to make an image adjustment on the PV310, but the image changes depending on the aperture position of lens and brightness of a light for image process. Adjust the brightness of the image while checking the live image. Binary image Set a slice level to binarize an image. The pixels of more than minimum and less than maximum gray level are displayed in white and the rest of the pixels are displayed in black. Slice levels of eight groups (A to H) can be specified per product type and memory. Choose or change a slice level following the steps described in the next section See page 64 for more details about gray scale and binary images.

6.2.4 Preprocessing Settings

In PV310, preprocessing function refers to the function that processes an image captured by a camera in advance in order to easily execute the desired inspection. 13 types of preprocessing are available. You can choose up to five processing types (1st – 5th) from all filters and combine them. In addition, you can save up to five preprocessing groups (A – E) for each product type and camera image and select the desired preprocessing group from them. Image Preprocessing from Image Capture to Checker Scanning Preprocessing group A 1ST 2ND 3RD 4TH 5TH A checker is executed for inspecting an image that has been processed following preprocessing group A. Preprocessing group B 1ST 2ND 3RD 4TH 5TH A checker is executed for inspecting an image that has been processed following preprocessing group B. : : Preprocessing group E Image capture 1ST 2ND 3RD 4TH 5TH A checker is executed for inspecting an image that has been processed following preprocessing group E. Types of Preprocess Thirteen types of preprocessing are available. With the use of preprocessing function, only the areas unnecessary for inspection are removed, whereas necessary parts are emphasized. The PV310 can execute inspection stably by doing so. Overview Preprocessing (Setting value) Before preprocessing After preprocessing Dilation Dark (or black) noises are removed. Black areas in the image of the object contract. White areas in the image of the object expand. 3x3 / 5x5 Erosion Light (or White) noises are removed. White areas in the image of the object contract. Black areas in the image of the object expand. 3x3 / 5x5 Eros. ->Dilat. After removing light (or white) noises, return the contracted area to its original size. 3x3 / 5x5

After removing dark (or black) noises, return the expanded area to its original size.

3x3 / 5x5 Median Removes light or fine noises by making the image of the object standing out against background. 3x3 Smoothing Blurs the image. By doing so, the PV310 can easily measure the position of the object without being affected by the noises. 3x3 / 5x5 Gray cut Reorganizes the grayscale range into the one between 0 and 255. This function is effective if there are any light or dark noises in the background, or if the contrast of the image of the object is low. Min. /Max. Sobel Same as “Prewitt”. More easily extracts the area of lower contrast. 3x3 / 5x5 Prewitt Extracts the area of which grayscale has been changed. Only the outlines and edges of the object are extracted. 3x3 / 5x5

Edge Extr. X

In the X direction, extracts the area of which grayscale value has been changed. 3x3 / 5x5 Edge Extr. Y In the Y direction, extracts the area of which grayscale value has been changed. 3x3 / 5x5 Laplacian Extracts the area of which grayscale value has been changed. 3x3 / 5x5 Sharpen Enhances the area of which grayscale value has been changed. The image becomes sharp. The noises may also be enhanced. 3x3 / 5x5 To configure the settings for preprocessing 1. Select “Preprocess” from the checker menu. The menu to select a preprocessing group is shown in the status display area. 2. Choose the desired preprocessing group from options A to E.

Press the ENTER key and choose the tab of the preprocessing group which was selected at the

step 2. The cursor moved to the cell in “Filter” column and “1ST" row. 4. Press the ENTER key while the cursor is positioned the cell in the Filter column and 1ST row. A list of filters is displayed in the status display area. 5. Select the desired filter. When you moved the cursor, the image preprocessed according to the selected filter is displayed. Choose the desired filter while checking the image. Depending on the type of preprocessing, you may be able to select a degree of preprocessing. Choose the desired filter while checking the image. For example, if you choose “Dilation”, you can select “3x3” or “5x5” size (see the figures on the right). 6. Check to make sure that the selected preprocess is set and press the C key twice. When you returned to the checker menu, the selected filter group is displayed. Now you completed the settings for preprocessing. If you want to set multiple phases, select the cell in “Filter” column and “2ND" row at step 4. Select the desired preprocessing at step 5. You can follow the same steps when setting the preprocessing for the rest of the phases. To cancel the preprocessing To cancel the preprocessing, select “None” from the Filter menu.

6.2.5 Setting a Slice Level

PV310 offers the following two procedure options for setting a slice level. Setting procedure Description Automatic setting The PV310 automatically selects a proper slice level based on the current memory image. Manual setting Change the setting values for the slice level with the keypad while checking the current memory image. Changing the Slice Level - Automatic Setting: The PV310 sets the optimum slice level of the current image. 1. Select "Slice Level" from the checker menu. A subwindow for selecting a slice level is displayed. 2. Select "Modify". A list of slice level groups is displayed. 3. Choose the desired slice level group from A - H. The cursor moves to "Upper". 4. Select "Auto". The current image is automatically adjusted to the optimum slice level. If you cannot obtain the image you wish, change an "Upper" or a "Lower" value following the procedure described in the next item "Changing slice levels--manual setting".

Changing the Slice Level - Manual Setting

1. Follow the steps 1 through 3 for automatically changing the slice level. 2. Select "Upper" or "Lower". 3. Change the values while checking the image, and then press the ENTER key to determine the value. 4. When you finished setting an "Upper" and a "Lower" value, press the C key. The message box appears. 5. Choose "YES" to save the values you have set. (Choose "NO" to cancel.) Returns to the checker menu. Selecting the Slice Level Group Follow the steps below to select the optimum slice level that has been already saved. 1. Select "Slice Level" from the CHECKER menu. The subwindow for slice level selection is displayed. 2. Choose "Select". The list of slice is displayed. The selected (highlighted) slice level and its binary image are displayed in the image display area. 3. Select the desired slice level. Return to the checker menu, and check to make sure that the selected slice level is displayed.

6.2.6 Setting an Area and a Mask Area

A measured range is called an "area”. The area is displayed in green. A function that excludes a masked part of an area from an inspection is "mask function", and the part excluded is "mask area". The mask area is displayed in blue. The shapes of a mask area consist of rectangle, circle, polygon (up to 16 vertices), plane scan (rectangle). The available area shapes differ depending on the checker type. Enhanced Color: Normally, areas and mask areas are displayed in green and blue respectively, but when setting and changing the area and the mask area, they are shown in yellow. In PV310, this yellow color is “enhanced colors". This is a helpful function to select the mask area to edit. While inspection is executed in RUN mode, the mask and checker shapes that were judged as "NG" are displayed in red. Setting an area A setting example for binary window checker is explained below. 1. Select "Area" from the CHECKER menu. The menu for area setting is displayed. 2. Select "Change Shape". A list of shapes available for the selected checker is displayed. 3. Select "Rectangle", "Circle", or "Polygon". The shape that is currently selected is deactivated. 4. Select "Change". T An area is displayed on the screen. Change its location and size. See page 49 for more information. 5. Press the C key to determine the location and size of the area. The checker menu is displayed.

Adding a Mask Area

You can set up to 16 mask areas for each checker. (For the flaw inspection function, the number of cells in a mask area that you can save is not limited.) 1. Select "Area" from the CHECKER menu. The Area menu is displayed. 2. Select "Add Mask". 3. Choose the desired shape of area from "Rectangle", "Circle", or "Polygon". A mask area is added to the center of the image display area. Changing the Position and Size of an Area or a Mask Area After you set mask areas, multiple mask areas are displayed on the screen. The way of selecting the area or the mask area 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 or mask area you want to change in yellow by tilting the ENTER key up or down and press the ENTER key to select the area. 3. In the same steps for setting an area, move and set a start point and set an end point of a mask area. Changing a Shape of Area 1. Select "Area" from the CHECKER menu. The Area menu is displayed. 2. Select "Change Shape". The color of area will be displayed in yellow, and its start and end points are shown. If a mask area exists, tilt the ENTER key up or down to display the area to change the shape in yellow. And then, press the ENTER key. (You cannot change the shape of mask areas.) 3. Select the shape to set and press the ENTER key

Deleting a Mask Area

1. Select "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. If multiple mask areas exist not to delete, tilt the ENTER key up or down to display the mask area to delete in yellow, and press the ENTER key.

6.2.7 Area Size Adjustment Function

When the object has been changed, the Area Size Adjustment function automatically expands and contracts a checker shape or mask area to fit the object. When the object contracted When a checker was saved (original size) When the Area Size Adjustment function was NOT used When the Area Size Adjustment function was used When the object expanded When a checker was saved (original size) When the Area Size Adjustment function was NOT used When the Area Size Adjustment function was used Checkers for which the Area Size Adjustment function is available This Area Size Adjustment function is not available for some checkers. When you open the menu of the checkers for which Area Size Adjustment function is available, you will find the “Area size adjustment” tab. The checkers having this Area Size Adjustment can adjust the area size in any shape. The checkers with the Area Size Adjustment function The checkers without the Area Size Adjustment function Binary Window Gray Window Binary Edge Gray Edge Feature Extraction Flaw Detection Position Adjustment Rotation Adjustment Smart Matching Contour Matching

To Detect the Size of an Object

A binary edge checker, gray edge checker or smart matching checker detects the size of an object. Such checkers are called “reference checkers”. The number of referred checkers must be lower than the number of the referring checker of which Area Size Adjustment function is about to be used. Binary/Gray Edge checkers The position extracted as coordinates of a reference checker when using Smart Matching checker is the “output point” that has been set by using the Smart Matching checker.

Examples of function settings

Items Description Example Setting of Reference checker Set a binary edge checker, gray edge checker or smart matching checker in the position where a change in size of the object can be recognized. In the figure shown on the right, reference checkers are set to the up, down, right and left sides of the object, but you can set a reference checker to one of the sides. Note on a checker number The number of referred checker (binary or gray edge checker for detecting the size of an object) must be lower than the number of the referring checker (, which uses the Area Size Adjustment function). In the figure shown on the right, No.8 is assigned to the checker having the Area Size Adjustment function, and No. 3, 4, 5 and 6 are assigned to referenced binary edge checkers. Reference checker Select binary edge checker, gray edge checker or smart matching checker. Reference checker No. Specify the checker number to detect the size of an object. Reference checkers are set only in the positions of the start and end points depending on the reference checker. Or, one of left/right/up/down side of the object can be expanded and contracted. Area size adjustment tab Offset Specify the distance from a detection point where you want to set an area. Refer to the next section for more details. One of Binary Edge, Gray Edge or Smart Matching checker can be set as a reference checker for one checker. Different type of checkers cannot be referred in each side of a checker, upper/lower/left/right side. • Example of wrong setting: Upper side: Binary edge checker, Lower side: Smart Matching checker When Smart Matching checker is used, the position extracted as the coordinates of a reference checker is the “Output Point”. Use an offset value when the Output Point is set within a template (middle point, for example).

Example of area setting depending on the offset value

(4 reference checkers are set to the left/right/up/down sides of the object) Offset value: 0 The coordinates of positions that the reference checker detected are set as the start and end positions of the area. For Smart Matching checker Offset value: 1 or more Set an area outside by the offset value from the positions where the reference checker detected. But, if the area is created outside the screen display, the area setting error occurs, the error message E0074 is displayed and the checker is not executed. For Smart Matching checker To be continued

Offset value: -1 or less

Set an area inside by the offset value from the positions where the reference checker detected. But, , if the area becomes less than the minimum settable size for each checker after the area was set inside by the offset value, an area setting error occurs, the error message E0074 is displayed and the checker is not executed. For Smart Matching checker Once the size of an area is automatically adjusted, the area frame (checker shape) of adjusted size is displayed, but the start point (ST) and end point (ED) that are displayed by selecting “Area” > “Change” are the coordinates before the area size adjustment is made.

6.3 Convenient Functions for Setting a Checker

6.3.1 Changing the Menu Window to a Translucent Color You can change the background color of the displayed menu to translucent color. Changing the menu window to translucent color makes it possible to display the image and menu at the same time. 1. Press the B key while the checker setting window is displayed. The sub menu is displayed. 2. Select “Background”. Two options, “Solid” and “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”. Even though the Data Monitor table is displayed in RUN mode, the menu window color can be changed by pressing the B key. If you want to fix the menu window to translucent color, select “ENVIRONMENT” > “Initial Settings” >”Background” > “Translucent”. Refer to page 222.

6.3.2 Temporarily Hiding the Menu Window

The menu window can be temporarily hided. This function is effective if it is difficult to distinguish the image from the 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 hided. Hiding Menu 3. Pressing the C key displays the menu. The message displayed in the status display area disappears.

6.4 Binary Window

6.4.1 Menu Options 6.4.2 What Is Binary Window? Binary Window is a function that let the PV310 count the number of black and white pixels in a binary image. If the number of counted pixels is within the allowable range, the object will be judged as "OK", if it exceeds the allowable range, the object is judged as "NG". Area Shape Rectangle/Circle/Polygon (The number of settable vertices: 3 to 16.) The Number of Settable Mask Areas Up to 16 The Area Size Adjustment function is available. The Range of Measurement Results (pixel) 0 to 245760

Other Machine Vision Systems Manuals