The text of a manual · part 4 of 10
Vision HAWK Smart Camera Guide, pages 31 to 40
Pages 31 to 40 of 98
The original document is the PDF (3.9 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Microscan Vision Hawk
Page 31
Power Requirements Refer to Table 2-3 when determining the power supply requirements for your camera. TABLE 2–3. Camera Power Requirements
Component Vision HAWK Smart Camera, CCD, SXGA
5-28VDC, 200mV p-p max ripple, 170mA at 24VDC (typ.) 15.5 watts (max.)
Vision HAWK Smart Camera, CMOS, SXGA
5-28VDC, 200mV p-p max ripple, 135mA at 24VDC (typ.) 13 watts (max.)
Vision HAWK C-Mount Smart Camera, CCD, SXGA
5-28VDC, 200mV p-p max ripple, 170mA at 24VDC (typ.) 7 watts (max.)
Vision HAWK C-Mount Smart Camera, CMOS, WVGA
5-28VDC, 200mV p-p max ripple, 135mA at 24VDC (typ.) 4 watts (max.)
Vision HAWK C-Mount Smart Camera, CMOS, WUXGA
5-28VDC, 200mV p-p max ripple, 140mA at 24VDC (typ.) 5.7 watts (max.)
Vision HAWK Smart Camera Guide
2-19
2 System Components
Power Requirements
Page 32
Chapter
2
System Components
Status Indicators The top of the Vision HAWK Smart Camera has multiple LEDs that indicate different trigger, inspection, camera, communication, and power states.
TRIG = Trigger Status PASS/FAIL = Inspection Status
Outputs 1, 2, 3 Power Status
MODE = Camera Status LINK/ACT = Link Activity Status
TRIG
PASS/FAIL MODE
LINK/ACT
PWR OUTPUTS
On Steady
Continuous Trigger
Off
Waiting for Trigger Event
On Flashing
Trigger Event
On
Active State
Off
Inactive State
On Steady
Unit Ready
Off
Unit Not Ready
On Steady
Link Established
Off
No Link/Activity
On Flashing
Link Established and Activity on Link
On
Power On
Off
No Power Applied to Unit
On
Signal Sent to External Output
Off
No Signal Sent to External Output
Additional User Feedback
2-20
•
Green Flash – A green flash from the front of the unit indicates a Good Read.
•
Red X Targeting Pattern – The red X targeting pattern from the front of the unit allows the user to center an object in the camera’s field of view.
•
Beeper – The beeper is an audible verification that either a Pass or a Fail has occurred.
Vision HAWK Smart Camera Guide
Page 33
AutoVISION Button
The AutoVISION Button has three positions, selectable by the length of time the button is held down, and indicated by one, two, or three beeps and LED flashes in succession. It can also be used to send a trigger signal when Send Trigger is checked in AutoVISION software’s Connect view. When the trigger functionality is enabled, pushing the AutoVISION Button triggers the camera to capture an image.
1st Position: Red Targeting Pattern The first AutoVISION Button position turns the targeting system on. This overrides any other targeting modes that have been configured.
2nd Position: Auto Calibration The second AutoVISION Button position starts the Auto Calibration process, which selects the appropriate photometry and focus settings for the camera. The selected values are then saved for power-on.
3rd Position: Teach The third AutoVISION Button position sets the Match String to the next OCR string or symbol data that is decoded.
Vision HAWK Smart Camera Guide
2-21
2 System Components
AutoVISION Button
Page 34
Chapter
2
System Components
Setting Up a Job in AutoVISION AutoVISION is a critical component of the Vision HAWK’s functionality. Designed for use with the Vision HAWK, AutoVISION provides an intuitive interface, step-by-step configuration, and a library of presets that allow easy setup and deployment. For more complex vision applications, the system can be upgraded from AutoVISION to Visionscape. 1.
Configure Vision HAWK hardware.
1
3
7
2
6
8
See Appendix A, Connector Pinouts, for Vision HAWK pin assignments.
Item Description
Part Number
1
Vision HAWK Smart Camera
GMV-6800-XXXXG
2
QX-1 Interface Device
98-000103-02
3
Cordset, Common, M12 12-pin Plug to M12 12-pin Socket, 1 m
61-000162-01
4
Cordset, Host, Serial, M12 12-pin Plug to DB9, 1 m
61-000152-01
5
Cordset, Host, Serial, M12 12-pin Socket to DB9, 1 m
61-000153-01
6
Power Supply, M12 12-pin Socket, 1.3 m
97-000012-01
7
Cordset, Host, Ethernet, M12 8-pin Plug to RJ45, 1 m
61-000160-03
8
Trigger, M12 4-pin Plug, NPN, Dark On, 2 m
99-000020-02
Note: Additional cables available in the Microscan Product Pricing Catalog.
2-22
Vision HAWK Smart Camera Guide
Page 35
– – – – – – 2.
Mount the camera as required by the application. Connect the Ethernet cable from "B" on the camera to the network. Connect the power supply to "3" on the QX-1. Connect the photo sensor to "T" on the QX-1. Connect the "Common" cable to "2" on the QX-1 and "A" on the camera. Plug in the power supply.
Select your Vision HAWK in the AutoVISION Connect view, create a job, and adjust camera settings. AutoVISION's Connect view allows you to select your device and configure its settings, and to create a new job. The Select Device dropdown menu provides a list of available devices. Hover the mouse over a device to see its details.
Vision HAWK Smart Camera Guide
2-23
2 System Components
Setting Up a Job in AutoVISION
Page 36
Chapter
2
System Components
Click the lock icon to take control of the camera. When you have control of the camera, the Modify button will appear beneath the camera settings. Click the Modify button to adjust camera settings. Note: The default IP address of the camera is: 192.168.0.10. Be sure your PC is on the same subnet (192.168.0.100, for example).
Modify camera settings in the Details area at the left of the Connect view. Create, Load, or Upload a job using the buttons in the center of the Connect view.
Important: When modifying camera settings, you will need to enter a username and password for the camera if a password has been defined.
2-24
Vision HAWK Smart Camera Guide
Page 37
Once you have selected your camera, adjusted its settings, and created a new job, you will move to the Image view. This view allows you to Auto Calibrate the camera, and to manually adjust the camera's Exposure, Gain, and Focus, and also to set the Lighting Mode (On, Off, or Strobe).
3.
Edit the Job in AutoVISION. After you have created a new job, loaded a job from your PC, or uploaded a job from the camera, you will proceed to the Edit view to refine your machine vision job. The Camera parameters below the captured image allow you to set Gain, Exposure, Focus, Trigger, and Lighting. Inspection Outputs options allow you to connect your job to the outside world. This is also the view where you can add multiple tools to the job. The tool icons are located above the main view area.
Vision HAWK Smart Camera Guide
2-25
2 System Components
Setting Up a Job in AutoVISION
Page 38
Chapter
2
System Components
4.
Run the Job in AutoVISION. Going to the Run view will automatically download your job to the camera and start it running.
5.
Save the Job. Click the Save to Camera icon on the File menu bar to save the job to the Vision HAWK.
2-26
Vision HAWK Smart Camera Guide
Page 39
Trigger Debounce Trigger Debounce is the ability of the system to accomodate switching noise on a trigger state change – a common issue with relays that have some intermittent contact while engaging. Trigger overruns (when the vision system is triggered faster than the device can process) can be avoided by increasing the “debounce” time in the camera definition file located in the C:\Microscan\Vscape\Drivers\CamDefs directory. The IO Line Debounce High Time and IO Line Debounce Low Time can be added to the file as in the example below. The default debounce time is 1 ms (1,000 μs). Note: Although the value entered for the "IO Line Debounce Time" is in microseconds, it will only be rounded up to a millisecond value. For example, entering the value 1001 will resolve to 2 ms; entering a value of 2800 will resolve to 3 ms. The min value for "IO Line Debounce Time" is 0, which disables software debounce altogether. The maximum value is 100000 (100 ms).
Camera Definition File Example // Camera Definition File // Version: 1.10 Camera Name VisionHAWK 752x480 CMOS // Name Displayed in Camdef Selection Dialog Digitizer Type 4000 // Number associated with VisionHawk CMOS Camera Stride 752 // Image Width Rows 480 // Image Height X Offset 0 // Image X Offset Y Offset 0 // Image Y Offset Bits Per Pixel 8 // Bits that represent Pixel Value Pixel Type 0 // Type of Pixel: MONOCHROME=0, COLOR_RGB=1, COLOR_BGR=2, COLOR_BAYGR8=3, COLOR_BAYRG8=4, COLOR_BAYGB8=5, COLOR_BAYBG8=6, COLOR_HSI=7 Image Structure 1 // Pixel Organization: Packed=1, TwoPlanes = 2, ThreePlanes = 3 Async Control 1 // Controllable shutter time. Usually using a pulse width specified in usecs Usecs Per Frame 16667 // Fastest time to acquire a frame: 60 FPS for VisionHawk CMOS Camera // -1 Disables timeout feature // IO Configuration GPIO Edit Mask 0x0000 GPIO Defaults 0x0001 // 1 General Purpose Input 3 General Purpose Outputs GPIO Count 4 GPIO Inputs 1 GPIO Outputs 3 Sensors 1 // One input dedicated to Trigger signal Strobes 0 Virtual IO 2048 IO Line Debounce High Time 2000 //usecs IO Line Debounce Low Time 2000 //usecs // Focus & Photometry Ranges Gain Dflt 20 Gain Min 0
Vision HAWK Smart Camera Guide
2-27
2 System Components
Trigger Debounce
Page 40
Chapter
2
System Components
Gain Max Exp Dflt Exp Min Exp Max Focus Dflt Focus Min Focus Max // Lens Configuration C-Mount
2-28
100 400 400 100 4000
// 0 to 100% 25 100000 // 1/10 to 1/40,000 // 1 to 40 inches 0
// 0 = false, 1 = true
Vision HAWK Smart Camera Guide