Top Banner
1 Safety b Read this operating instructions before using the device. b Connection, assembly, and settings must be performed by competent technicians. b Protect the device from moisture and dirt during operation. b This is not a safety component, according to EU machine guidelines. b Do not use the device in areas with risk for explosion. 2 Product Specification The CVS3 is an optical electronic sensor with integrated light, used for checking objects for contour defects and stain. 2.1 Function The CVS3 learns the object by detecting the contours in a captured image and stores this as a reference image. The CVS3 compares the reference image and the object to find missing contour and detects stain (e.g. dirt or scratches). The object is judged OK when the missing contour pixels and stain pixels are less then a defined acceptance level. 2.2 Special Features b Store up to 15 different reference images. b Mask out irrelevant part of the reference image. b Up- and download parameter settings to a PC. b Set parameters and masks with a PC. b Synchronize the CVS3 with external trigger. 3 Installation 3.1 Mounting b Mount the CVS3 with an angle of 0 – 45° degrees from the object to avoid disturbing reflections from the internal the object to avoid disturbing reflections from the internal lighting (see C ). b The distance between any object and the CVS3 should be as short as possible, but within the scanning distance (see E “Technical Data”). b The longer the distance between the object and CVS3, the more ambient light will influence the sensor. If necessary, use additional lighting to get rid of ambient light influence. b Avoid direct sun light or ambient light on the object. 3.2 Wiring b Connect the wires according to B “Electrical Connections”. 4 Keypad and Display 4.1 Keypad D 1 UP Scroll up in menu, or increase parameter value when editing. 2 DOWN Scroll down in menu, or decrease parameter value when editing. 3 SET Show submenu, edit parameter value, or save changed parameter value. 4 TEACH/EXIT Go up one menu, or cancel editing parameters (without saving). If pressed > 3 seconds, teach the object currently in view. 5 VIEW Switch what is displayed on the LCD display. (see 4.3 “Views”). 4.2 Display F 1 Image area (see 4.3 “Views”) 2 Main menu (see 4.4 “Main Menu”) 3 Judgement tolerances and current values: WHITE Max number of missing contour pixels (left) and detected stain pixels (right) YELLOW Missing contour pixels RED Detected stain pixels 4 Current view – D, 2, or C (see 4.3 “Views”) 5 Result of judgement: OK if the object is accepted, NG if the object is faulty. 6 Bank number, displayed when the main menu is shown. 7 Response time in 0.1 ms, displayed when a submenu is shown. 8 When the judgement could be improved by changing the threshold level, an arrow is shown indicating whether THRESHLD could be increased ( ) or decreased ( ). 4.3 Views F Press VIEW to select what is displayed in the image area on the LCD display: a D Live image. b 2 Thresholded image. Detected contour and stains are displayed in white. c C Judgement result. Deviations from the learned pattern (missing contour and detected stains) are marked in the image. Only the part of the image inside the judgement area is shown. Use these views before teaching to adjust the position of the CVS3, during teaching to adjust image quality, and after teaching to check the result of the detection. 4.4 Judgement Result F c 9 GREEN Contour that matches the learned pattern 10 VIOLET Area where stain will be detected 11 BLACK Margin around the pattern. Stain pixels in this area are not counted when judging the object. 12 RED Detected stain pixels – that is, pixels outside the learned pattern and margin. 13 YELLOW Missing contour pixels. 14 WHITE Contour pixels not matching the learned pattern – that is, in the margin. 15 BLUE Masked areas. 33,8 4,2 21 2–Ø4,3 42 95 11 87 28,2 4 UP SET VIEW EXIT DOWN A B C D CVS3 Contour Vision Sensor Software version 1.0 Operating Instruction All rights reserved. Subject to change without prior notice. 8010776 4.5 Main Menu K SETUP FLOW Submenu with parameters and functions used when teaching a pattern. ADJUSTMENT Submenu with parameters used for adjusting how the object is judged. OTHERS Submenu with parameters used for example for setting up input and output signals. CAPTURE Function for capturing images that causes the judgement result to change. b Select a submenu (for example OTHERS) by pressing UP or DOWN. b Show a submenu by pressing SET. This will show a list of parameters and functions sorted alphabetically The colors used in the submenus have different meanings: YELLOW Parameter value affects all banks. VIOLET Parameter value only affects the current bank. ORANGE Function. BLUE Parameter is locked and cannot be changed. RED A parameter value displayed in red is currently being changed. 4.6 Setting Parameters b Press UP and DOWN to select the parameter in the submenu. b Press SET. – The device displays EDIT PARAM? b Press UP to edit the parameter. – The parameter value is now displayed in red. b Change the value by pressing UP or DOWN. b Press SET to save the new value. – The device displays WRITE DATA? b Press UP to save the new value. – The parameter value is now displayed in yellow or violet again. By pressing SET for > 3 seconds, the parameter value is edited or saved without having to confirm by pressing UP. To cancel editing a parameter value and revert to the previously saved value, press EXIT. 5 Set-up and Operation 5.1 Overview The functions of the CVS3 can be divided into three categories: b Basic set-up b Adjust judgement b Other functions Before the CVS3 can be used you must teach the CVS3 at least one pattern. The pattern is saved in a bank, together with a number of parameters that for example sets the exposure time, how to use lighting, etc. Up to 15 different patterns can be saved, using banks 0–14. The parameters and functions used when teaching patterns are found in the SETUP FLOW menu. Once a pattern have been learned, you can adjust how it is judged – that is, how much an object can deviate from the pattern before the CVS3 will consider the object to be faulty (NG). You can also adjust how the device will search for the object in the captured images. The parameters used for adjusting judgement are found in the ADJUSTMENT menu In addition, you can set up how to use the inputs and out- puts of the CVS3, for example for external synchronization or using the judgement results. These functions and parameters are found in the OTHERS menu. 5.2 Basic Set-up Teaching the CVS3 a pattern is done in the following way: – Adjust the image in order to get a good quality of the image showing the contours of the object. – Save the pattern. – Set the judgement area – that is, the area of the image containing the pattern to search for. The commands for basic set-up and teaching patterns are found in the SETUP FLOW menu. 5.2.1 Adjust Image b Place the object to teach in front of the mounted CVS3. b If necessary, press VIEW until you see the live image on the display. b Select SETUP FLOW in the main menu and press SET. b Select the bank in which to save the pattern by setting the BANK parameter. b If necessary, adjust the area being captured by the CVS3 (the field of view) by setting the ZOOM parameter. b Press VIEW until you see the thresholded image on the display. b To set the exposure time, set the SHUTTER parameter. b To set the threshold level, set the THRESHLD parameter. Threshold too low. Background is part of the contour. Threshold too high. Contour is thin and unstable. Threshold OK. If you set the SHUTTER or THRESHLD parameters to AUTO, the CVS3 will automatically find the right shutter speed or threshold level. To set the corresponding parameter to AUTO: b Press SET to edit the parameter, b Press and hold DOWN until AUTO is displayed. b Press SET to let the CVS3 calculate the value. 1 Side view of CVS3 object 2 5 4 8 0°–45° ENGLISH CVS3- N122 P122 N132 P132 Operating distance 90…150 mm 31…39 mm Field of view 40 x 50 mm to 65 x 75 mm 15 x 18 mm to 19 x 22 mm Light source (white) 12 white LEDs Mean operating life of lighting approx. 50 000 at T U U U = +25 °C, 50% emittance Resolution max 208 x 236 x 3 (RGB) Inputs external trigger, teach and bank selection Serial interface RS232 TTL (4 800…57 600 baud) Supply voltage 12...24 V (±10%) Power consumption < 140 mA /24 V DC Switching output NPN PNP NPN PNP Output current I o o o o max max 100 mA Response time (min/typ/max) 7 / 48 / 398 ms Ambient temperature Operating Storage 0…40 °C -20…+70 °C Relative ambient humidity 35…85% Enclosure rating IP67 Shock load 5 g, 6 directions Housing material ABS / acrylic / polycarbonate Weight approx. 180 g. E brn blu ora/ blk blk pnk vio blk yel/ blk red/ blk L+ Bank switch 0 M Bank switch 1 Bank switch 2/ External teach Bank switch 3/ External synchronization Q Auxiliary Q 1 SYNCHRO = 0…3 SYNCHRO = 4 BANK = TCH BANK = BKIN BANK = TCH BANK = BKIN Ext. teach x x Ext. sync x x Banks available for external selection: 0 x x x x 1 x x x x 2 x x x x 3 x x x x 4 x x 5 x x 6 x x 7 x x 8 x x 9 x x 10 x x 11 x x 12 x 13 x 14 x G F 1 2 3 6 Australia Phone +61 3 9497 4100 1800 33 48 02 – tollfree E-Mail [email protected] Belgium/Luxembourg Phone +32 (0)2 466 55 66 E-Mail [email protected] Brasil Phone +55 11 5091-4900 E-Mail [email protected] Ceská Republika Phone +420 2 57 91 18 50 E-Mail [email protected] China Phone +852-2763 6966 E-Mail [email protected] Danmark Phone +45 45 82 64 00 E-Mail [email protected] Deutschland Phone +49 (0)2 11 53 01-250 E-Mail [email protected] España Phone +34 93 480 31 00 E-Mail [email protected] France Phone +33 1 64 62 35 00 E-Mail [email protected] Great Britain Phone +44 (0)1727 831121 E-Mail [email protected] India Phone +91–22–2822 7084 E-Mail [email protected] Italia Phone +39 02 27 40 93 19 E-Mail [email protected] Japan Phone +81 (0)3 3358 1341 E-Mail [email protected] Nederlands Phone +31 (0)30 229 25 44 E-Mail [email protected] Norge Phone +47 67 81 50 00 E-Mail [email protected] Österreich Phone +43 (0)22 36 62 28 8-0 E-Mail [email protected] Polska Phone +48 22 837 40 50 E-Mail [email protected] Republic of Korea Phone +82-2 786 6321/4 E-Mail [email protected] Republika Slowenija Phone +386 (0)1-47 69 990 E-Mail [email protected] Russia Phone +7 95 775 05 30 E-Mail [email protected] Schweiz Phone +41 41 619 29 39 E-Mail [email protected] Singapore Phone +65 6744 3732 E-Mail [email protected] Suomi Phone +358-9-25 15 800 E-Mail [email protected] Sverige Phone +46 8 680 64 50 E-Mail [email protected] Taiwan Phone +886 2 2365-6292 E-Mail [email protected] Türkiye Phone +90 216 388 95 90 pbx E-Mail [email protected] USA/Canada/México Phone +1(952) 941-6780 1 800-325-7425 – tollfree E-Mail [email protected] More representatives and agencies in all major industrial nations at www.sick.com 5 4 1 2 3 a b c 7 9 10 11 12 13 14 15 Bank No. Bank switch 3 2 1 0 0 0 0 0 0 1 0 0 0 1 2 0 0 1 0 3 0 0 1 1 4 0 1 0 0 5 0 1 0 1 6 0 1 1 0 7 0 1 1 1 8 1 0 0 0 9 1 0 0 1 10 1 0 1 0 11 1 0 1 1 12 1 1 0 0 13 1 1 0 1 14 1 1 1 0 H I
4

CVS3-P132__2015-02-26__07-15-03

Dec 25, 2015

Download

Documents

Mosargt Arg

sensores
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: CVS3-P132__2015-02-26__07-15-03

1 Safetyb Read this operating instructions before using the device.b Connection, assembly, and settings must be performed by

competent technicians.b Protect the device from moisture and dirt during operation.b This is not a safety component, according to EU machine

guidelines.b Do not use the device in areas with risk for explosion.

2 Product Specifi cationThe CVS3 is an optical electronic sensor with integrated light, used for checking objects for contour defects and stain.

2.1 FunctionThe CVS3 learns the object by detecting the contours in a captured image and stores this as a reference image. The CVS3 compares the reference image and the object to fi nd missing contour and detects stain (e.g. dirt or scratches). The object is judged OK when the missing contour pixels and stain pixels are less then a defi ned acceptance level.

2.2 Special Featuresb Store up to 15 different reference images.b Mask out irrelevant part of the reference image.b Up- and download parameter settings to a PC.b Set parameters and masks with a PC.b Synchronize the CVS3 with external trigger.

3 Installation3.1 Mountingb Mount the CVS3 with an angle of 0 – 45° degrees from

the object to avoid disturbing refl ections from the internal the object to avoid disturbing refl ections from the internal lighting (see C ).b The distance between any object and the CVS3 should be as

short as possible, but within the scanning distance (see E

“Technical Data”). b The longer the distance between the object and CVS3, the

more ambient light will infl uence the sensor. If necessary, use additional lighting to get rid of ambient light infl uence.b Avoid direct sun light or ambient light on the object.

3.2 Wiringb Connect the wires according to B “Electrical Connections”.

4 Keypad and Display4.1 Keypad D 1 UP Scroll up in menu, or increase parameter value

when editing. 2 DOWN Scroll down in menu, or decrease parameter

value when editing. 3 SET Show submenu, edit parameter value, or save

changed parameter value. 4 TEACH/EXIT Go up one menu, or cancel editing parameters

(without saving).If pressed > 3 seconds, teach the object currently in view.

5 VIEW Switch what is displayed on the LCD display. (see 4.3 “Views”).

4.2 Display F 1 Image area (see 4.3 “Views”) 2 Main menu (see 4.4 “Main Menu”) 3 Judgement tolerances and current values:

WHITE Max number of missing contour pixels (left) and detected stain pixels (right)

YELLOW Missing contour pixelsRED Detected stain pixels

4 Current view – D, 2, or C (see 4.3 “Views”) 5 Result of judgement: OK if the object is accepted,

NG if the object is faulty. 6 Bank number, displayed when the main menu is shown. 7 Response time in 0.1 ms, displayed when a submenu is

shown. 8 When the judgement could be improved by changing the

threshold level, an arrow is shown indicating whether THRESHLD could be increased ( ) or decreased ( ).

4.3 Views F

Press VIEW to select what is displayed in the image area on the LCD display: a D Live image. b 2 Thresholded image. Detected contour and

stains are displayed in white. c C Judgement result. Deviations from the learned

pattern (missing contour and detected stains) are marked in the image. Only the part of the image inside the judgement area is shown.

Use these views before teaching to adjust the position of the CVS3, during teaching to adjust image quality, and after teaching to check the result of the detection.

4.4 Judgement Result F c 9 GREEN Contour that matches the learned pattern 10 VIOLET Area where stain will be detected 11 BLACK Margin around the pattern. Stain pixels in this

area are not counted when judging the object. 12 RED Detected stain pixels – that is, pixels outside

the learned pattern and margin. 13 YELLOW Missing contour pixels. 14 WHITE Contour pixels not matching the learned

pattern – that is, in the margin. 15 BLUE Masked areas.

33,84,2

212–Ø4,3

42

95

11

87

28

,2

4

UP

SET

VIEW

EXITDOWN

A

B

C D

CVS3Contour Vision Sensor

Software version 1.0

Operating Instruction

All rights reserved. Subject to change without prior notice.

8010776

4.5 Main Menu K

SETUP FLOW Submenu with parameters and functions used when teaching a pattern.

ADJUSTMENT Submenu with parameters used for adjusting how the object is judged.

OTHERS Submenu with parameters used for example for setting up input and output signals.

CAPTURE Function for capturing images that causes the judgement result to change.

b Select a submenu (for example OTHERS) by pressing UP or DOWN.b Show a submenu by pressing SET. This will show a list of

parameters and functions sorted alphabetically

The colors used in the submenus have different meanings:YELLOW Parameter value affects all banks.VIOLET Parameter value only affects the current bank.ORANGE Function.BLUE Parameter is locked and cannot be changed.RED A parameter value displayed in red is currently

being changed.

4.6 Setting Parameters b Press UP and DOWN to select the parameter in the submenu.b Press SET.

– The device displays EDIT PARAM?b Press UP to edit the parameter.

– The parameter value is now displayed in red.b Change the value by pressing UP or DOWN.b Press SET to save the new value.

– The device displays WRITE DATA?b Press UP to save the new value.

– The parameter value is now displayed in yellow or violet again.

By pressing SET for > 3 seconds, the parameter value is edited or saved without having to confi rm by pressing UP.

To cancel editing a parameter value and revert to the previously saved value, press EXIT.

5 Set-up and Operation5.1 OverviewThe functions of the CVS3 can be divided into three categories:b Basic set-upb Adjust judgementb Other functionsBefore the CVS3 can be used you must teach the CVS3 at least one pattern. The pattern is saved in a bank, together with a number of parameters that for example sets the exposure time, how to use lighting, etc. Up to 15 different patterns can be saved, using banks 0–14. The parameters and functions used when teaching patterns are found in the SETUP FLOWmenu.

Once a pattern have been learned, you can adjust how it is judged – that is, how much an object can deviate from the pattern before the CVS3 will consider the object to be faulty (NG). You can also adjust how the device will search for the object in the captured images. The parameters used for adjusting judgement are found in the ADJUSTMENT menu

In addition, you can set up how to use the inputs and out-puts of the CVS3, for example for external synchronization or using the judgement results. These functions and parameters are found in the OTHERS menu.

5.2 Basic Set-upTeaching the CVS3 a pattern is done in the following way:– Adjust the image in order to get a good quality of the image

showing the contours of the object.– Save the pattern.– Set the judgement area – that is, the area of the image

containing the pattern to search for.The commands for basic set-up and teaching patterns are found in the SETUP FLOW menu.

5.2.1 Adjust Imageb Place the object to teach in front of the mounted CVS3. b If necessary, press VIEW until you see the live image on the

display.b Select SETUP FLOW in the main menu and press SET.b Select the bank in which to save the pattern by setting the

BANK parameter. b If necessary, adjust the area being captured by the CVS3 (the

fi eld of view) by setting the ZOOM parameter.b Press VIEW until you see the thresholded image on the

display.b To set the exposure time, set the SHUTTER parameter.b To set the threshold level, set the THRESHLD parameter.

Threshold too low.Background is part

of the contour.

Threshold too high.Contour is thin and

unstable.

Threshold OK.

If you set the SHUTTER or THRESHLD parameters to AUTO, the CVS3will automatically fi nd the right shutter speed or threshold level. To set the corresponding parameter to AUTO:b Press SET to edit the parameter,b Press and hold DOWN until AUTO is displayed. b Press SET to let the CVS3 calculate the value.

1

Side view of CVS3

object

2

5

4 8

0°–45°ENGLISH

CVS3- N122 P122 N132 P132Operating distanceOperating distance 90…150 mm 31…39 mmField of view 40 x 50 mm to 65 x 75 mm 15 x 18 mm to 19 x 22 mmLight source (white)Light source (white) 12 white LEDsMean operating life of lightingMean operating life of lighting approx. 50 000 at Tapprox. 50 000 at Tapprox. 50 000 at TUUUU = +25 °C, 50% emittance Resolution max 208 x 236 x 3 (RGB)max 208 x 236 x 3 (RGB)max 208 x 236 x 3 (RGB)InputsInputs external trigger, teach and bank selection external trigger, teach and bank selection external trigger, teach and bank selection external trigger, teach and bank selection Serial interface RS232 TTL (4 800…57 600 baud)RS232 TTL (4 800…57 600 baud)RS232 TTL (4 800…57 600 baud)Supply voltageSupply voltage 12...24 V (±10%)12...24 V (±10%)Power consumptionPower consumption < 140 mA /24 V DC< 140 mA /24 V DC< 140 mA /24 V DCSwitching outputSwitching output NPN PNP NPN PNPOutput current IOutput current Ioooo max max 100 mAResponse time (min/typ/max)Response time (min/typ/max) 7 / 48 / 398 ms7 / 48 / 398 msAmbient temperature

OperatingStorageStorage

0…40 °C-20…+70 °C

Relative ambient humidityRelative ambient humidity 35…85%Enclosure ratingEnclosure rating IP67Shock load 5 g, 6 directions5 g, 6 directionsHousing materialHousing material ABS / acrylic / polycarbonateABS / acrylic / polycarbonateABS / acrylic / polycarbonateWeightWeight approx. 180 g.approx. 180 g.

E

brn

blu

ora/blkblkora/blkora/

pnk

vio

blk

yel/blkyel/blkyel/

red/blkred/blkred/

L+

Bank switch 0

M

Bank switch 1

Bank switch 2/External teachBank switch 3/ External synchronizationQ

Auxiliary Q

1

SYNCHRO = 0…3 SYNCHRO = 4BANK = TCH BANK = BKIN BANK = TCH BANK = BKIN

Ext. teach x xExt. syncExt. sync x xBanks available for external selection:

0 x x x x1 x x x x2 x x x x3 x x x x4 x x5 x x6 x x7 x x8 x x9 x x10 x x11 x x12 x13 x14 x

G

F

1

2

3

6

AustraliaPhone +61 3 9497 4100 1800 33 48 02 – tollfreeE-Mail [email protected]

Belgium/LuxembourgPhone +32 (0)2 466 55 66E-Mail [email protected]

BrasilPhone +55 11 5091-4900E-Mail [email protected]

Ceská RepublikaPhone +420 2 57 91 18 50E-Mail [email protected]

ChinaPhone +852-2763 6966E-Mail [email protected]

DanmarkPhone +45 45 82 64 00E-Mail [email protected]

DeutschlandPhone +49 (0)2 11 53 01-250E-Mail [email protected]

EspañaPhone +34 93 480 31 00E-Mail [email protected]

FrancePhone +33 1 64 62 35 00E-Mail [email protected]

Great BritainPhone +44 (0)1727 831121E-Mail [email protected]

IndiaPhone +91–22–2822 7084E-Mail [email protected]

ItaliaPhone +39 02 27 40 93 19E-Mail [email protected]

JapanPhone +81 (0)3 3358 1341E-Mail [email protected]

NederlandsPhone +31 (0)30 229 25 44E-Mail [email protected]

Norge Phone +47 67 81 50 00E-Mail [email protected]

ÖsterreichPhone +43 (0)22 36 62 28 8-0E-Mail [email protected]

PolskaPhone +48 22 837 40 50E-Mail [email protected]

Republic of KoreaPhone +82-2 786 6321/4E-Mail [email protected]

Republika SlowenijaPhone +386 (0)1-47 69 990E-Mail [email protected]

RussiaPhone +7 95 775 05 30E-Mail [email protected]

SchweizPhone +41 41 619 29 39E-Mail [email protected]

SingaporePhone +65 6744 3732E-Mail [email protected]

SuomiPhone +358-9-25 15 800E-Mail [email protected]

SverigePhone +46 8 680 64 50E-Mail [email protected]

TaiwanPhone +886 2 2365-6292E-Mail [email protected]

TürkiyePhone +90 216 388 95 90 pbxE-Mail [email protected]

USA/Canada/MéxicoPhone +1(952) 941-6780 1 800-325-7425 – tollfreeE-Mail [email protected]

More representatives and agencies in all major industrial nations at www.sick.com

∙ ∙

∙ ∙

5

4

1

2

3

a b c

7

9

10

11

12

13

14

15

Bank No.

Bank switch3 2 1 0

0 0 0 0 01 0 0 0 12 0 0 1 03 0 0 1 14 0 1 0 05 0 1 0 16 0 1 1 07 0 1 1 18 1 0 0 09 1 0 0 110 1 0 1 011 1 0 1 112 1 1 0 013 1 1 0 114 1 1 1 0

H

I

Page 2: CVS3-P132__2015-02-26__07-15-03

Parameter (affects)

Values Default Description

BANK 0 – 14, TCH, BKIN

BKIN Sets which bank that should be used for recognition or for saving new pattern. 0 – 14 The number of the bank to use.TCH Bank is selected externally. The wire 2 (pink) “Bank

switch 2” is used for activating external teaching, therefore the banks 4 – 7 and 12 – 14 cannot be selected. (See G )

BKIN Bank is selected externally. External teaching is disabled, therefore bank 0 – 14 can be selected. (See G )

BANKCOPY 0 – 14 0 Used for copying the pattern and settings in the current bank to another bank.

To copy the current bank, set this parameter to the bank number to which to copy and press SET.

BKGD LVL(Current bank)

AUTO, 0 – 9999

AUTO Sets the tolerance to use when judging whether the amount of stains on the object is OK or NG.

The value is the maximum number of pixels of stains accepted compared with the learned pattern.

COLORFIL(Current bank)

0 – 5 1 Sets which colors (red, blue and green) that should be used when detecting the pattern:0 All colors1 Black and white2 Green only3 Red and blue only4 Red only5 Blue only

COMMUNIC(All banks)

0 – 5 0 Sets the serial interface speed (baud rate) for communication with a PC:0 Serial communication is off1 4800 bps2 9600 bsp3 19200 bps4 38400 bps5 57600 bps

The serial interface uses 8 data bits, no parity, 1 stop bit.

INITIAL(All banks)

NO, YES NO Used for resetting the device to use the factory default settings.To reset the device, set this parameter to YES and press SET.

JUDG LVL(Current bank)

AUTO, 0 – 9999

AUTO Sets the tolerance to use when judging whether the contour of the object is OK or NG.

The value is the maximum number of missing pixels in the contour compared with the learned pattern.

5.2.2 Save Patternb To save the pattern in the bank, select SAVE PATTERN in the

SETUP FLOW menu, and then press SET.Saving a pattern takes several seconds.

5.2.3 Set Judgement AreaTo change the size and location of the judgement area: L a

b Select WINDOW SIZE in the SETUP FLOW menu and press SET.– The device displays the thresholded image with the

current judgement area as a fl ashing red rectangle.MOVE WINDOW is shown in the bottom right corner of the display, which means that the rectangle can be moved up and down.

Current judgement area displayed as a fl ashing

red rectangle.

Small judgement area displayed with yellow

lines

b Use UP and DOWN to move the rectangle so that the center of the rectangle is approximately at the center of the area to be judged.b Press SET to switch to moving the rectangle right and left,

and SET again to switch to resizing the rectangle. Move and resize the rectangle by using up and down, b When the judgement area is properly covered by the

rectangle, press SET or EXIT until WRITE DATA is displayed.b Press UP to set the judgement area.

To mask out areas of the judgement area: L b

b Select MASK EDITOR in the SETUP FLOW menu and press SET.– The device displays the area that will be masked as a

fl ashing red rectangle. Any areas already being masked are displayed as blue rectangles.MOVE WINDOW is shown in the bottom right corner of the display, which means that the rectangle can be moved up and down.

Area to be used for masking displayed as a fl ashing red rectangle.Any areas already masked out are displayed in blue.

b Set the location and size of the area to be masked in the same way as when setting the judgement area.b When the area to be used for masking is set properly, do

one of the following:– To mask out the selected area, press SET or EXIT until

MASK WINDOW is displayed, and then press UP.– To mask out the area outside the selected area, press SET

or EXIT until MASK OUTSIDE is displayed, and then press UP.– To remove any masking from the selected area, press remove any masking from the selected area, press remove any masking SET

or EXIT until MASK WINDOW is displayed, and then press DOWN.

– To remove any masking from the area remove any masking from the area remove any masking outside the selected area, press SET or EXIT until MASK OUTSIDE is displayed, and then press DOWN.

After this, you can continue to add more areas to the to the mask before applying the mask to the judgement area.b To apply the mask, press SET or EXIT until WRITE DATA is

displayed, and then press uP.

You can also use a PC to mask out areas of the judgement area. See 5.7 “Connect to PC”.

5.3 Adjust Judgementb When judging the contour of objects, set the maximum

accepted number of missing contour pixels in the image of the object, by setting the JUDG LVL parameter on the ADJUSTMENT menu.b When searching for stains on objects, set the maximum

accepted number of pixels detected as stain, by setting the BKGD LVL parameter on the ADJUSTMENT menu.

5.4 Locate ObjectsBy default, the CVS3 will locate the object in the images by calculating the center-of-gravity (COG) of the captured images, and then adjusting the image to the COG of the learned pattern. This allows the CVS3 to quickly locate objects in the entire fi eld of view.

If necessary, the CVS3 will also search for the object within an area surrounding the COG. This is useful if the COG of the image is not exactly the same as in the learned pattern. The size of the area is set by the SEARCH parameter in the ADJUSTMENT menu.

However, if there are other objects added to or missing from the images compared with the learned pattern, the COG of the captured image will be dislocated. Sometimes this may make it diffi cult for the CVS3 to locate the right object, even if the other objects are outside the judgement area.

To improve the locating of objects, you can:b Increase the value of the SEARCH parameter in the ADJUSTMENT

menu, allowing the CVS3 search for the pattern at a greater distance from the center of gravity. This will also increase the response time.

b Stop adjusting the COG of the capured images by setting the SEARCHMD parameter in the ADJUSTMENT menu to 1. Note that the CVS3 will then only fi nd objects within the area set by the SEARCH parameter.

Pattern’s COG

COG

COG

Center-of-gravity (COG(COG( ) of pattern

Image adjusted to pattern’s COG

COG is dislocated, image adjusted

wrongly

5.5 Using Inputs and Outputs

5.5.1 Synchronize CapturingTo synchronize image capturing externally:b Connect the synchronization signal to wire 6 (violet).b Set the SYNCHRO parameter in the OTHERS menu to a value

between 0–3, depending on how to synchronize.

5.5.2 Control LightingThe CVS3 can support up to three external lightings connected to the communication connector on the device.b To control the internal lighting and external lightings

connected to the communication connector, set the LIGHTparameter in the OTHERS menu.

5.5.3 External Bank SelectionTo use input signals for selecting bank:b Connect the signals to use for selecting bank to the follow-

ing wires:

Bank switch Wire Comment0 3 (orange/black)3 (orange/black)1 4 (yellow/black)4 (yellow/black)2 5 (pink) Do not use if external

teach is used3 6 (violet) Do not use if external

synchronizing is usedsynchronizing is usedb Set the BANK parameter in the SETUP FLOW menu to either:

TCH if external teach is usedBKIN if external teach is not used

Please note that wire 6 (violet) can not be used for bank selection if SYNCHRO is set to a value between 0 – 3.

The banks available for external selection when using The banks available for external selection when using external synchronization or external teach are listed in G .

The signals to use for selecting a certain bank are listed in H .

Parameter (affects)

Values Default Description

LCD VIEW(All banks)

0, 1 0 Sets the orientation of the display:0 Normal1 Rotated 180°

LIGHT(Current bank)

0 – 3 1 Controls the internal lighting and the external lightings con-nected to the CVS3 through the serial connector ( B 2 ).0 No lighting1 Both internal and external lighting2 External lightings only3 Internal lighting only

OFFDELAY(All banks)

0 – 5000 0 Sets a delay time (in milliseconds) before:– turning off wire 7 (black) when the judgement result changes

from OK to NG– turning off wire 8 (red/black) when the judgement result

changes from NG to OKIf the judgement result changes back during the delay time, the wire is not turned off.

ON DELAY(All banks)

0 – 5000 0 Sets a delay time (in milliseconds) before:– turning on wire 7 (black) when the judgement result changes

from NG to OK– turning on wire 8 (red/black) when the judgement result

changes from OK to NGIf the judgement result changes back during the delay time, the wire is not turned on.

ONESHOT(All banks)

0, 1 0 0 Keeps wire 7 (black) and 8 (red/black) on until the judgement result changes.

1 Turns off wire 7 (black) and 8 (red/black) after the time set by the OFFDELAY parameter.OFFDELAY parameter.OFFDELAYIf OFFDELAY is set to 0, the signal will be on until the bank OFFDELAY is set to 0, the signal will be on until the bank OFFDELAYis changed.

SEARCH(Current bank)

0 – 25 5 Sets the distance from the center-of-gravity of the pattern within which the device will search for the pattern in the images.

The device will search the set number of pixels up and down, and 4x the number of pixels to the right and left.

A large value allows for the location of the objects to vary more in the captured images, but will also increase the time required to make the judgement.

5.5.4 External TeachTo use an external signal for teaching new patterns: b Connect the external teach signal to wire 5 (pink).b Set the BANK parameter in the SETUP FLOW menu to TCH.

5.5.5 Results OutputWire 7 (black) and 8 (red/black) outputs the judgement result:

OK NGWire 7 (black)Wire 7 (black) 1 0Wire 8 (red/black)Wire 8 (red/black) 0 1

b To set a delay for turning on the signals when the result changes, set the ON DELAY parameter in the ON DELAY parameter in the ON DELAY OTHERS menu to the delay time in milliseconds.b To set a delay for turning off the signals when the result

changes, set the OFFDELAY parameter in the OFFDELAY parameter in the OFFDELAY OTHERS menu to the delay time in milliseconds.

To always turn off the signal a certain time after it is turned on:b Set the ONESHOT parameter in the OTHERS menu to 1. b Set the time after which to turn off the signal with the

OFFDELAY parameter.OFFDELAY parameter.OFFDELAY

5.6 Other

5.6.1 Copy BankTo copy the saved pattern and parameter setting in the current bank to another bank:b Select COPYBANK on the OTHERS menu and press SET.b Set the bank number to copy to by using UP and DOWN.b Press SET

– The pattern and settings are copied to the selected bank.

5.6.2 Reset CVS3b To reset the device to use the factory default settings for all

parameters, set the INITIAL parameter on the OTHERS menu to YES. The device is reset when this value is written.

5.6.3 Rotate Displayb To turn the display on the LCD display upside-down, set the

LCD DISPLAY parameter on the LCD DISPLAY parameter on the LCD DISPLAY OTHERS menu to 1.

5.6.4 Capture ImagesThe CVS3 can capture and hold the image on the display when the judgement result changes. If the result is OK when you select this function, images of object that are NG will be captured, and vice versa.b To hold the image the next time the judgement result

changes, select CAPTURE on the main menu.– The next time the result changes, the image is held and

CATCH is displayed in red after CAPTURE.b To capture a new image when an image is held, press SET.b To go back to normal view, press UP or DOWN.

5.6.5 Lock/Unlock ParametersThe CVS3 can be locked to prevent parameters from accidentally being changed. When locked, all parameters are displayed in blue.b To lock the device, press DOWN+SET for more than 3

seconds.b To unlock the device again, press UP+SET for more than 3

seconds.

5.7 Connect to PC I All learned patterns and parameter settings can be saved on All learned patterns and parameter settings can be saved on All learned patterns and parameter settings can be saved on a PC and loaded back again via serial interface RS-232 ( B 2 ). To use these functions you need the following:b CVS3 Data Loader software (can be downloaded from

www.sick.com) b A custom serial adapter cable RS-232 – PC

(order no. 6 029 801)

5.7.1 Set Up Serial Communicationb Connect the communication connector on the CVS3 to the

serial port on the PC using the serial adapter cable. b On the CVS3, start the communication by setting the

communication speed with the COMMUNIC parameter on the OTHERS menu.b On the PC, start the CVS3 Data Loader program, select the CVS3 Data Loader program, select the CVS3 Data Loader

communication speed from the Baud rate (bps) menu, and click Connect (stop CVS3) to start the communication.

5.7.2 Copy Parameters to PCb Set which banks to copy with the Start Bank No. and End Bank

No. fi elds.b In the Filename fi eld, fi ll in the name of the fi le in which

to save the parameters, By clicking Ref, you can select in which directory to save the fi le. b Click Read from CVS3.

Parameter (affects)

Values Default Description

SEARCHMD(Current bank)

0, 1 0 Controls whether or not to adjust the image to the center of gravity (COG) of the learned pattern:0 Calculate COG for each image and adjust the image to

match the COG of the learned pattern.1 Do not adjust the image to the COG of the pattern.

SHUTTER(Current bank)

AUTO, 1 – 226

AUTO Sets the exposure time in increments of 0.1 milliseconds.If set to AUTO, the CVS3 will calculate the best exposure time

and set the parameter to that value.For moving objects, the maximum exposure time can be

calculated as follows:

10 x required line width (mm)Object speed (m/s)

SHUTTER =

SYNCHRO(All banks)

0 – 4 4 Controls whether or not to use wire 6 (violet) for synchronizing image capturing: 0 Capture when signal is OFF.1 Capture when signal changes from ON to OFF.2 Capture when signal is ON.3 Capture when signal changes from OFF to ON.4 No external synchronization. Images are captured

continuously.

When external synchronization is used, wire 6 cannot be used for selecting bank. If external synchronization is used and the BANK parameter is set to TCH or BKIN, banks 8–14 cannot be selected.

THRESHLD(Current bank)

AUTO, 1 – 255

AUTO Sets the threshold level used when teaching and detecting contour and stains.

The threshold value actually used when judging the image will be 4 – 24 levels lower than the set value.

ZOOM 0 – 19 0 Sets the zoom level used when capturing image, using a digital zoom.

The ZOOM parameter can be used for reducing the area that is captured by the device. If you change the zoom level, you should do that before teaching a pattern. Any already learned pattern will not be scaled.

J

5.7.3 Load Parameter into CVS3b Select the fi le containing the saved parameters by clicking

Ref.b Click Write to CVS3.

5.7.4 Edit Parametersb To edit the parameter values on the PC, click Edit Parameter

and set the parameters in the dialog that is displayed.

5.7.5 Edit Maskb To use the PC to mask out areas of the judgement area,

click Edit Patterns and use the tools in the window that is displayed to add and remove areas to be masked out.

5.7.6 Quit CVS3 Data Loaderb Click CVS to Run to stop the communication with the CVS3.b Quit CVS3 Data Loader by clicking EXIT.

6. Maintenancea Scratches and marks on the front screen impair the opti-

cal performance of the CVS3. Avoid aggressive, scuffi ng and scratching cleaning movements or agents, which might affect the front lens.The CVS3 is entirely maintenance-free. If necessary clean the front screen with a mild water dilute cleaning agent that contain no powder additives.

SETUP FLOW BANK ZOOM COLORFIL SHUTTER THRESHLD SAVE PATTERN WINDOW SIZE MASK EDITOR

ADJUSTMENT BKGD LVL JUDG LVL SEARCH SEARCHMD

OTHERS BANKCOPY COMMUNIC INITIAL LCD VIEW LIGHT OFFDELAY ON DELAY ONESHOT SYNCHRO

CAPTURE

MOVE WINDOW

MOVE WINDOW

SIZE WINDOW

SIZE WINDOW

WRITE DATACANCEL

SETEXIT

SET

EXIT

SET

EXIT

SET

EXIT

SET

EXIT

K

MOVE WINDOW

MOVE WINDOW

SIZE WINDOW

MASK WINDOWRELEASE

MASK OUTSIDERELEASE

SET

EXIT

SET

EXIT

SET

EXIT

WRITE DATACANCEL

SIZE WINDOW

SET EXIT

SET

EXIT

SET

EXIT

SETEXIT

a

b

L

Page 3: CVS3-P132__2015-02-26__07-15-03

1 Sicherheitshinweise� Lesen Sie vor dem Gebrauch des Sensors unbedingt diese

Bedienungsanleitung.� Anschlüsse, Installation und Konfi guration dürfen nur

durch einen ausgebildeten Techniker ausgeführt werden.� Das Gerät während des Betriebs gegen Feuchtigkeit und

Verschmutzen schützen.� Dieses Gerät ist keine Sicherheitskomponente nach der

EU-Maschinenrichtlinie.� Nicht in explosionsgefährdeten Bereichen verwenden!

2 ProduktbeschreibungDer CVS3 ist ein optoelektronischer Sensor mit integrierter Beleuchtung für die Überprüfung von Objekten auf Fehl-stellen und Konturfehler.

2.1 FunktionDer CVS3 erlernt die Objektkontur anhand eines aufgenom menen Bildes und speichert diese Information als Referenzbild. Beim Vergleich von Objekten mit dem Referenzbild werden Formfehler und Fehlstellen (z.B. Kratzer oder Verschmutzungen) erkannt. Ein Objekt wird als OK (Gut) bewertet, wenn die Fehlerpixel innerhalb der festgelegten Toleranz liegen.

2.2 Besondere Merkmale� Speicher für bis zu 15 verschiedene Referenzbilder.� Maskieren nicht relevanter Bereiche im Referenzbild.� Speichern und Laden von Einstellungen mit einem PC.� Erstellen von Konfi guration und Maskierungen am PC.� Synchronisation des CVS3 mit externem Trigger.

3 Installation3.1 Montage� Montieren Sie den CVS3 mit einem Winkel von 5° bis 45°

zum Objekt, um störende Refl exionen der integrierten Beleuchtung zu vermeiden (siehe C ).

� Der Abstand zwischen Objekt und CVS3 soll so kurz wie möglich sein, jedoch innerhalb der Tastweite (siehe E ).

� Je größer der Abstand zwischen Objekt und CVS3, desto größer der störende Einfl uss des Umgebungslichts. Falls nötig, müssen Sie zusätzliche Beleuchtung installieren.

� Direktes Sonnen- oder Umgebungslicht auf das Objekt vermeiden!

3.2 Anschluss� Verbinden Sie die Leitungen wie in B gezeigt.

4 Tasten und Display4.1 Tasten D 1 UP Im Menü nach oben gehen oder beim

Bearbeiten Werte erhöhen. 2 DOWN Im Menü nach unten gehen oder beim

Bearbeiten Werte vermindern. 3 SET In Untermenü wechseln, Werte ändern oder

geänderte Werte speichern. 4 TEACH/EXIT Ein Menü verlassen oder Abbrechen, ohne zu

speichern.Bei Tastendruck > 3 s Erlernen des aktuell sichtbaren Objekts.

5 VIEW Ansicht auf dem Display umschalten (siehe 4.3 „Ansichten“).

4.2 Display F 1 Bildbereich (siehe 4.3 „Ansichten“) 2 Hauptmenü (siehe 4.4 „Hauptmenü“) 3 Bewertungstoleranzen und aktuelle Werte:

WHITE Max. Anzahl Konturfehlerpixel (links) und erkannter Fehlstellen (rechts)

YELLOW KonturfehlerpixelRED Erkannte Fehlstellenpixel

4 Aktuelle Ansicht – D, 2, oder C (siehe 4.3 „Ansichten“) 5 Bewertungsergebnis: OK, wenn Objekt akzeptiert wird,

NG, wenn Objekt fehlerhaft ist. 6 Speichernummer, sichtbar bei Anzeige des Hauptmenüs 7 Ansprechzeit in 0,1 ms, sichtbar bei Anzeige eines

Untermenüs. 8 Wenn die Bewertung durch Änderung des Schwellen-

wertes verbessert werden kann, zeigt ein Pfeil die Möglichkeit, den Wert THRESHLD zu erhöhen ( ) oder zu vermindern ( ).

4.3 Ansichten F

Drücken Sie VIEW, um die Ansicht im Bildbereich zu ändern: a D Live-Bild. b 2 Bild mit Schwellenwerten. Erkannte Fehler

werden weiß dargestellt. c C Bewertungsergebnis. Abweichungen

vom erlernten Muster (Konturfehler und Fehlstellen) sind im Bild markiert. Nur der Bewertungsbereich des Bildes wird angezeigt.

Verwenden Sie diese Ansichten vor dem Lernvorgang, um den CVS3 auszurichten, während des Lernens zur Einstellung der Bildqualität und später zur Überprüfung der Bewertung.

4.4 Bewertungsergebnis F c 9 GRÜN Übereinstimmung mit erlerntem Muster 10 VIOLETT Bereich mit Fehlstellen erkannt 11 SCHWARZ Randbereich um Muster. Fehlerpixel in

diesem Bereich werden nicht gewertet. 12 ROT Erkannte Fehlstellenpixel – außerhalb des

erlernten Musters und des Randbereichs. 13 GELB Konturfehlerpixel. 14 WEISS Konturfehlerpixel mit Abweichungen vom

Muster innerhalb des Randbereichs. 15 BLAU Maskierter Bereich.

33,84,2

212–Ø4,3

42

95

11

87

28

,2

4

UP

SET

VIEW

EXITDOWN

A

B

C D

CVS3Contour Vision Sensor

Softwareversion 1.0

BedienungsanleitungVersion 1.1

Alle Rechte vorbehalten. Änderungen vorbehalten.

8010776.0306 IVP XJ

4.5 Hauptmenü K

SETUP FLOW Untermenü mit Parametern und Funktionen für den Lernvorgang.

ADJUSTMENT Untermenü mit Parametern für die Einstellung der Bewertungsfunktion.

OTHERS Untermenü mit Parametern für die Eingangs- und Ausgangssignale und anderes.

CAPTURE Bildaufnahme, die die Bewertung ändert. � Wählen Sie ein Untermenü (zum Beispiel OTHERS) durch

Drücken von UP oder DOWN.� Wechseln Sie in ein Untermenü durch Drücken von

SET. Parameter und Funktionen werden alphabetisch angezeigt.

Die Farben in den Untermenüs haben folgende Bedeutung:GELB Parameterwert gilt für alle Speicher.VIOLETT Parameterwert gilt nur für aktuellen Speicher.ORANGE Funktion.BLAU Parameter ist gesperrt und nicht änderbar.ROT Parameterwert wird gerade geändert.

4.6 Parameter einstellen � Drücken Sie zur Auswahl eines Parameters UP oder DOWN.� Drücken Sie SET.

– Die Meldung EDIT PARAM? wird angezeigt. � Drücken Sie UP, um den Parameter zu bearbeiten.

– Der Parameterwert wird in Rot angezeigt.� Drücken Sie zum Ändern UP oder DOWN.� Drücken Sie zum Speichern des neuen Wertes SET.

– Die Meldung WRITE DATA? wird angezeigt.� Drücken Sie zum Speichern des neuen Wertes UP.

– Der Parameterwert wird jetzt in Gelb oder Violett erneut angezeigt.

Wenn Sie SET länger als 3 s drücken, können Sie den Para-meterwert bearbeiten oder speichern, ohne anschließend mit UP zu bestätigen.

Um abzubrechen und zum verherigen Wert zurückzu-kehren, drücken Sie EXIT.

5 Einstellungen und Bedienung5.1 ÜbersichtDie Funktionen des CVS3 lassen sich in drei Kategorien aufteilen:� Basiseinstellungen� Bewertungseinstellungen� Andere FunktionenVor dem Einsatz muss der CVS3 mindestens ein Muster erlernen. Das Muster wird zusammen mit einer Reihe von Parametern, zum Beispiel für die Belichtungszeit und die Beleuchtung, gespeichert. Bis zu 15 verschiedene Muster lassen sich in den Speichern 0 bis 14 ablegen. Die zugehörigen Parameter und Funktionen befi nden sich im Menü SETUP FLOW.

Nach dem Erlernen eines Musters können Sie die Bewertung konfi gurieren – das heißt, wie weit ein Objekt vom Muster abweichen darf, bevor der CVS3 es als fehlerhaft (NG) bewertet. Außerdem können Sie einstellen, wie das Gerät im aufgenommenen Bild nach dem Objekt sucht. Diese Parameter befi nden sich im Menü ADJUSTMENT.

Darüber hinaus können Sie die Eingänge und Ausgänge des CVS3 konfi gurieren, zum Beispiel für die externe Synchro-nisation oder die Bewertungsergebnisse. Diese Funktionen befi nden sich im Menü OTHERS.

5.2 BasiseinstellungenDas Erlernen von Mustern läuft mit dem CVS3 wie folgt ab:– Richten Sie das Bild so aus, dass die Kontur so gut wie

möglich erkennbar ist.– Speichern Sie das Muster.– Stellen Sie den Bewertungsbereich ein – das ist der

Bildbereich, der das Muster für die Prüfung enthält.Die Funktionen für Basiseinstellungen und das Lernen von Mustern befi nden sich im Menü SETUP FLOW.

5.2.1 Bild ausrichten� Platzieren Sie das Objekt vor den fertig montierten CVS3. � Drücken Sie VIEW, bis Sie das Live-Bild im Display sehen.� Wählen Sie SETUP FLOW im Hauptmenü und drücken Sie SET.� Wählen Sie den Speicher, in dem Sie das Muster ablegen

wollen, mit dem Parameter BANK. � Ändern Sie bei Bedarf den Aufnahmebereich des CVS3 (das

Sichtfeld) mit dem Parameter ZOOM.� Drücken Sie VIEW, bis Sie das Bild in der Schwellendarstel-

lung im Display sehen.� Wählen Sie die Belichtungszeit mit dem Parameter SHUTTER.� Wählen Sie den Schwellenwert mit dem Parameter THRESHLD.

Schwelle zu niedrig.

Hintergrund ist Teil der Kontur.

Schwelle zu hoch.Kontur ist dünn und undeutlich.

Schwelle korrekt.

Wenn Sie die Parameter SHUTTER oder THRESHLD auf AUTO setzen, stellt der CVS3 automatisch die richtige Verschluss-zeit und Schwelle ein. So setzen Sie die Parameter auf AUTO:� Drücken Sie SET, um den Parameter zu bearbeiten,� Halten Sie DOWN gedrückt, bis AUTO angezeigt wird. � Drücken Sie SET, um die automatische Einstellung zu

starten.

1

Seitenansicht des CVS3

Objekt

2

5

4 8

5° – 45°DEUTSCH

CVS3- N122 P122 N132 P132Tastweite 90 … 150 mm 31 … 39 mmSichtfeld 40 × 50 mm bis 65 × 75 mm 15 × 18 mm bis 19 × 22 mmBeleuchtung (weiß) 12 weiße LEDsMittlere Lebensdauer Beleuchtung ca. 50.000 h bei TU = +25 °C, 50 % Intensitätsabfall Aufl ösung max. 208 × 236 × 3 (RGB)Eingänge externer Trigger, Lernen und Speicherauswahl Serielle Schnittstelle RS232 TTL (4.800 … 57.600 Baud)Betriebsspannung 12 ... 24 V (±10 %)Stromaufnahme < 140 mA /24 V DCSchaltausgang NPN PNP NPN PNPAusgangsströme IA max. max. 100 mAAnsprechzeit (min./typ./max.) 7 / 48 / 398 msUmgebungstemperatur

BetriebLagerung

0 … +40 °C–20 … +70 °C

Relative Luftfeuchtigkeit 35 … 85 %Schutzklasse IP67Stoßfestigkeit 5 g, 6 RichtungenGehäusematerial ABS / Acryl / PolycarbonatGewicht ca. 180 g

E

brn

blu

ora/blk

pnk

vio

blk

yel/blk

red/blk

L+

Eingang Auswahl Speicher 0

M

Eingang Auswahl Speicher 1

Eingang Auswahl Speicher 2/Lernen externEingang Auswahl Speicher 3/ Externe SynchronisationSchaltausgang Q

Nicht belegt

1

SYNCHRO = 0 … 3 SYNCHRO = 4SPEICHER = TCH SPEICHER = BKIN SPEICHER = TCH SPEICHER = BKIN

Ext. Lernen x xExt. Sync x xSpeicher für externe Auswahl:

0 x x x x1 x x x x2 x x x x3 x x x x4 x x5 x x6 x x7 x x8 x x9 x x10 x x11 x x12 x13 x14 x

G

F

1

2

3

6

AustraliaPhone +61 3 9497 4100 1800 33 48 02 – tollfreeE-Mail [email protected]

Belgium/LuxembourgPhone +32 (0)2 466 55 66E-Mail [email protected]

BrasilPhone +55 11 5091-4900E-Mail [email protected]

Ceská RepublikaPhone +420 2 57 91 18 50E-Mail [email protected]

ChinaPhone +852-2763 6966E-Mail [email protected]

DanmarkPhone +45 45 82 64 00E-Mail [email protected]

DeutschlandPhone +49 (0)2 11 53 01-250E-Mail [email protected]

EspañaPhone +34 93 480 31 00E-Mail [email protected]

FrancePhone +33 1 64 62 35 00E-Mail [email protected]

Great BritainPhone +44 (0)1727 831121E-Mail [email protected]

IndiaPhone +91–22–2822 7084E-Mail [email protected]

ItaliaPhone +39 02 27 40 93 19E-Mail [email protected]

JapanPhone +81 (0)3 3358 1341E-Mail [email protected]

NederlandsPhone +31 (0)30 229 25 44E-Mail [email protected]

Norge Phone +47 67 81 50 00E-Mail [email protected]

ÖsterreichPhone +43 (0)22 36 62 28 8-0E-Mail [email protected]

PolskaPhone +48 22 837 40 50E-Mail [email protected]

Republic of KoreaPhone +82-2 786 6321/4E-Mail [email protected]

Republika SlowenijaPhone +386 (0)1-47 69 990E-Mail [email protected]

RussiaPhone +7 95 775 05 30E-Mail [email protected]

SchweizPhone +41 41 619 29 39E-Mail [email protected]

SingaporePhone +65 6744 3732E-Mail [email protected]

SuomiPhone +358-9-25 15 800E-Mail [email protected]

SverigePhone +46 8 680 64 50E-Mail [email protected]

TaiwanPhone +886 2 2365-6292E-Mail [email protected]

TürkiyePhone +90 216 388 95 90 pbxE-Mail [email protected]

USA/Canada/MéxicoPhone +1(952) 941-6780 1 800-325-7425 – tollfreeE-Mail [email protected]

More representatives and agencies in all major industrial nations at www.sick.com

5

4

1

2

3

a b c

7

9

10

11

12

13

14

15

Speicher Nr.

Schalter Speicher3 2 1 0

0 0 0 0 01 0 0 0 12 0 0 1 03 0 0 1 14 0 1 0 05 0 1 0 16 0 1 1 07 0 1 1 18 1 0 0 09 1 0 0 110 1 0 1 011 1 0 1 112 1 1 0 013 1 1 0 114 1 1 1 0

H

I

Page 4: CVS3-P132__2015-02-26__07-15-03

Parameter (betroffen)

Werte Standard Beschreibung

BANK 0 – 14,TCH, BKIN

BKIN Auswahl des Speichers für Erkennung oder neue Muster. 0 – 14 Nummer des Speichers.TCH Externe Speicherauswahl. Leitung 2 (rosa) „Schalter

Speicher 2“ wird für externes Lernen verwendet, daher ist keine Auswahl der Speicher 4 bis 7 und 12 bis 14 möglich (siehe G ).

BKIN Externe Speicherauswahl. Externes Lernen ist deaktiviert, daher ist die Auswahl 0 bis 14 möglich (siehe G ).

BANKCOPY 0 – 14 0 Kopieren von Mustern und Einstellungen des aktuellen Speichers in einen anderen Speicher.

Zum Kopieren mit diesem Parameter die Nummer des Zielspeichers auswählen und SET drücken.

BKGD LVL(aktueller Speicher)

AUTO, 0 – 9999

AUTO Toleranzwerte für Fehlstellen des Objekts. Der Wert ist die maximale Anzahl der Fehlstellenpixel im

Vergleich mit dem Muster.

BKGDMRGN(aktueller Speicher)

0 – 14 3 Größe des Randbereichs um die Kontur, in dem keine Fehler gesucht werden.

COLORFIL(aktueller Speicher)

0 – 5 1 Auswahl der Farben (rot, blau und grün), die bei der Erkennung von Mustern verwendet werden sollen:0 Alle Farben1 Schwarz und Weiß2 Nur Grün3 Nur Rot und Blau4 Nur Rot5 Nur Blau

COMMUNIC(alle Speicher)

0 – 5 0 Kommunikationsgeschwindigkeit (Baudrate) für Datenkom-munikation mit einem PC:0 Serielle Kommunikation aus1 4.800 bps2 9.600 bps3 19.200 bps4 38.400 bps5 57.600 bps

Die serielle Schnittstelle verwendet 8 Datenbits, keine Paritätsprüfung, 1 Stoppbit.

INITIAL(alle Speicher)

NO, YES NO Zurücksetzen des Geräts auf die Werkseinstellung.Zum Zurücksetzen den Parameter auf YES setzen und SET drücken.

5.2.2 Muster speichern� Um ein Muster zu speichern, wählen Sie SAVE PATTERN im

Menü SETUP FLOW und drücken Sie anschließend SET.Der Speichervorgang dauert einige Sekunden.

5.2.3 Bewertungsbereich einstellenGröße und Position des Bewertungsbereiches ändern: L a

� Wählen Sie WINDOW SIZE im Menü SETUP FLOW, drücken Sie SET.– Das Bild ist in der Schwellenansicht zu sehen, der

aktuelle Bewertungsbereich blinkt rot.MOVE WINDOW wird unten rechts im Display angezeigt: Sie können das rote Rechteck verschieben.

Ein blinkendes rotes Rechteck zeigt den aktuellen Bereich.

Kleine Bereiche werden mit gelben Hilfslinien

angezeigt.

� Drücken Sie UP und DOWN, um das Rechteck so zu ver schie-ben, dass das Zentrum in der Mitte des Objekts liegt.

� Drücken Sie SET, um das Rechteck nach links und rechts zu verschieben, und erneut SET, um die Größe zu ändern.

� Wenn das Rechteck genau auf dem gewünschten Bereich liegt, drücken Sie SET oder EXIT, bis WRITE DATA im Display angezeigt wird.

� Drücken Sie UP, um den Bereich zu speichern.

So maskieren Sie auszuschließende Bereiche: L b

� Wählen Sie MASK EDITOR im Menü SETUP FLOW und drücken Sie SET.– Ein blinkendes rotes Rechteck zeigt den Bereich der

neuen Maskierung. Bereits maskierte Bereiche sind blau dargestellt.MOVE WINDOW wird unten rechts im Display angezeigt: Sie können das rote Rechteck verschieben.

Ein blinkendes rotes Rechteck zeigt den Bereich der Maskierung.Bereits maskierte Bereiche sind blau dargestellt.

� Stellen Sie Position und Größe der Maskierung ebenso ein wie zuvor beim Bewertungsbereich.

� Wenn Sie Position und Größe wie gewünscht festgelegt haben, gehen Sie vor wie folgt:– Um den gewählten Bereich zu maskieren, drücken Sie

SET oder EXIT, bis MASK WINDOW angezeigt wird; drücken Sie dann UP.

– Um alles außer dem gewählten Bereich zu maskieren, drücken Sie SET oder EXIT, bis MASK OUTSIDE angezeigt wird; drücken Sie dann UP.

– Um alle Maskierungen im gewählten Bereich zu entfernen, drücken Sie SET oder EXIT, bis MASK WINDOW angezeigt wird; drücken Sie dann DOWN.

– Um alle Maskierungen außerhalb des gewählten Bereiches zu entfernen, drücken Sie SET oder EXIT, bis

MASK OUTSIDE angezeigt wird; drücken Sie dann DOWN.Maskieren Sie bei Bedarf weitere Bereiche, bevor Sie die Maskierung für die Bewertung speichern.

� Drücken Sie zum Speichern der Maskierung SET oder EXIT, bis WRITE DATA angezeigt wird; drücken Sie dann UP.

Sie können Maskierungen auch am PC erstellen (siehe 5.7 „Verbindung mit einem PC“).

5.3 Bewertungskriterien� Wählen Sie den Parameter JUDG LVL im Menü ADJUSTMENT,

um für die Bewertung von Objektkonturen die maximale Anzahl fehlender Konturpixel im Objektbild einzustellen.

� Wählen Sie den Parameter BKGD LVL im Menü ADJUSTMENT, um für die Bewertung von Objektfehlern die maximale Anzahl von Fehlstellenpixeln im Objektbild einzustellen.

� Setzen Sie mit dem Parameter BKGDMRGN im Menü ADJUSTMENT einen Randbereich um die Kontur, in dem keine Fehler gesucht werden.

5.4 Objekte fi ndenZum Auffi nden von Objekten in Bildern berechnet der CVS3 zuerst den Bildschwerpunkt (COG) und richtet das Bild dann am Schwerpunkt des Musterbildes aus. Dadurch werden Objekte im gesamten Sichtfeld schnell erkannt.

Wenn nötig, sucht der CVS3 auch im Umkreis des Schwer-punkts nach Objekten, z.B. wenn die Schwerpunkte von Objekt und Muster nicht exakt übereinstimmen. Die Größe dieses Umkreises setzen Sie mit dem Parameter SEARCH im Menü ADJUSTMENT.

Wenn die Anzahl der Objekte im Bild nicht mit dem Muster übereinstimmt, wird der Schwerpunkt des aufgenommenen Bildes verschoben. Dies erschwert das Erkennen des richtigen Objekts im Bild, auch dann, wenn die anderen Objekte außerhalb des Bewertungsbereichs liegen.

Um das Erkennen von Objekten zu verbessern, können Sie:� Den Wert des Parameters SEARCH im Menü ADJUSTMENT erhö-

hen, wodurch der Umkreis um den Schwerpunkt erweitert wird. Dadurch wird auch die Ansprechzeit verlängert.

� Die Schwerpunktausrichtung deaktivieren, indem Sie den Parameter SEARCHMD im Menü ADJUSTMENT auf 1 setzen. Beachten Sie, dass der CVS3 dann nur noch Objekte innerhalb des durch den Parameter SEARCH defi nierten Bereiches fi ndet.

COGMuster

COG

COG

Schwerpunkt (COG) im Muster

Bildausrichtung am Muster-COG

Schwerpunkt verschoben,

Bildausrichtung falsch

5.5 Eingänge und Ausgänge

5.5.1 Aufnahmen synchronisierenZur externen Synchronisation der Bildaufnahmen gehen Sie vor wie folgt:� Legen Sie das Synchronisationssignal auf die Leitung 6

(violett).� Setzen Sie den Parameter SYNCHRO im Menü OTHERS

auf einen Wert zwischen 0 und 3, abhängig von der gewünschten Synchronisation.

5.5.2 BeleuchtungssteuerungDer CVS3 unterstützt bis zu drei, mit der Kommunikations-schnittstelle verbundene, externe Beleuchtungen.� Zur Einstellung der internen und der verbundenen

externen Beleuchtung verwenden Sie den Parameter LIGHT im Menü OTHERS.

5.5.3 Externe SpeicherauswahlDie Eingangssignale zur Speicherauswahl verwenden Sie wie folgt:� Verbinden Sie die Signale mit den folgenden Leitungen:

Schalter Leitung Bemerkung0 3 (orange/schwarz)1 4 (gelb/schwarz)2 5 (rosa) Nicht verwenden bei

externem Lernen3 6 (violett) Nicht verwenden bei

ext. Synchronisation

Parameter (betroffen)

Werte Standard Beschreibung

JUDG LVL(aktueller Speicher)

AUTO, 0 – 9999

AUTO Toleranzwerte für Formabweichungen des Objekts. Der Wert ist die maximale Anzahl fehlender (abweichender)

Konturpixel im Vergleich mit dem erlernten Muster.

LCD VIEW(alle Speicher)

0, 1 0 Bildausrichtung im Display:0 Normal1 Um 180° gedreht

LIGHT(aktueller Speicher)

0 – 3 1 Steuerung der internen und der über die serielle Schnittstelle angeschlossenen externen Beleuchtung ( B 2 ).0 Keine Beleuchtung1 Interne und externe Beleuchtung2 Nur externe Beleuchtung3 Nur interne Beleuchtung

OFFDELAY(alle Speicher)

0 – 5000 0 Verzögerungszeit (in Millisekunden) bis Ausschalten der Leitung 7 (schwarz), wenn die Bewertung wechselt:– Wechsel von OK nach NG , wenn OUTSIDE auf 0 gesetzt ist– Wechsel von NG nach OK , wenn OUTSIDE auf 1 gesetzt ist

Wenn die Bewertung während der Verzögerungszeit erneut wechselt, fällt der Ausgang nicht ab.

ON DELAY(alle Speicher)

0 – 5000 0 Verzögerungszeit (in Millisekunden) bis Einschalten der Leitung 7 (schwarz), wenn die Bewertung wechselt:– Wechsel von NG nach OK , wenn OUTSIDE auf 0 gesetzt ist– Wechsel von OK nach NG , wenn OUTSIDE auf 1 gesetzt ist

Wenn die Bewertung während der Verzögerungszeit erneut wechselt, wird der Ausgang nicht gesetzt.

ONESHOT(alle Speicher)

0, 1 0 0 Hält Leitung 7 (schwarz) auf Ein, bis die Bewertung wechselt.

1 Schaltet Leitung 7 (schwarz) nach der im Parameter OFFDELAY eingestellten Verzögerungszeit aus. Wenn OFFDELAY auf 0 gesetzt ist, bleibt das Signal stehen, bis der Speicher gewechselt wird.

OUTSIDE(alle Speicher)

0, 1 0 0 Normales Ausgangssignal (OK = 1) auf Leitung 7 (schwarz).

1 Invertiertes Ausgangssignal (OK = 0) auf Leitung 7 (schwarz).

� Setzen Sie den Parameter BANK im Menü SETUP FLOW auf:TCH wenn externes Lernen verwendet wirdBKIN wenn kein externes Lernen verwendet wird

Hinweis: Leitung 6 (violett) ist nicht zur Speicherauswahl verwendbar, wenn SYNCHRO auf einen Wert zwischen 0 und 3 gesetzt ist.

Die mit externer Synchroniation oder externem Lernen verwendbaren Speicher fi nden Sie in Tabelle G .

Die Signale zur Speicherauswahl fi nden Sie in Tabelle H .

5.5.4 Externes LernenUm ein externes Signal zum Erlernen neuer Muster zu verwenden, gehen Sie wie folgt vor: � Verbinden Sie das externe Lernsignal mit Leitung 5 (rosa).� Setzen Sie den Parameter BANK im Menü SETUP FLOW auf TCH.

5.5.5 ErgebnisausgabeDie Leitung 7 (schwarz) gibt das Prüfergebnis aus. Das Signal kann durch Setzen des Parameters OUTSIDE im Menü OTHERS invertiert werden:

GUT (OK) SCHLECHT (NG)OUTSIDE = 0 1 0OUTSIDE = 1 0 1

� Mit dem Parameter ON DELAY im Menü OTHERS können Sie eine Verzögerungszeit in Millisekunden für die Signalaus-gabe einstellen.

� Mit dem Parameter OFFDELAY im Menü OTHERS können Sie eine Haltezeit in Millisekunden für die Signale einstellen.

Um die Signale immer automatisch auszuschalten:� Setzen Sie den Parameter ONESHOT im Menü OTHERS auf 1. � Setzen Sie die Zeit, nach der das Signal ausgeschaltet

werden soll, mit dem Parameter OFFDELAY.

5.6 Others

5.6.1 Speicher kopierenUm Parameter und Muster von einem Speicher in einen anderen zu kopieren, gehen Sie vor wie folgt:� Wählen Sie COPYBANK im Menü OTHERS und drücken Sie SET.� Wählen Sie die Nummer des Zielspeichers mit UP und DOWN.� Drücken Sie SET

– Muster und Einstellungen werden kopiert.

5.6.2 CVS3 zurücksetzen� Um für alle Parameter die Werkseinstellung wiederherzu-

stellen, setzen Sie den Parameter INITIAL im Menü OTHERS auf YES.

� Das Gerät wird zurückgesetzt.

5.6.3 Bild drehen� Um das Bild im Display um 180° zu drehen, setzen Sie

den Parameter LCD DISPLAY im Menü OTHERS auf 1.

5.6.4 Bilder aufnehmenDer CVS3 kann Bilder aufnehmen und im Display halten, wenn die Bewertung sich ändert. Bei der Einstellung Ergeb-nis GUT (OK) werden Objektbilder mit dem Ergebnis SCHLECHT (NG) aufgenommen und gehalten, und umgekehrt.� Wählen Sie im Hauptmenü den Parameter CAPTURE, um

beim nächsten Bewertungswechsel das Bild festzuhalten.– Beim nächsten Bewertungswechsel wird das Bild

gehalten und CATCH wird in Rot nach CAPTURE angezeigt.� Um wieder ein neues Bild aufzunehmen, drücken Sie SET.� Drücken Sie UP oder DOWN, um zur Normalansicht

zurückzukehren.

5.6.5 Parameter sperren und entsperrenSie können den CVS3 gegen versehentliches Ändern der Parameter sperren. In diesem Fall werden alle Parameter blau angezeigt.� Zum Sperren drücken Sie DOWN+SET länger als 3 s.� Zum Entsperren drücken Sie UP+SET länger als 3 s.

5.7 Verbindung mit einem PC I Sie können gelernte Muster und Parametereinstellungen über die serielle Schnittstelle RS-232 ( B 2 ) auf einem PC sichern und vom PC zurückladen. Für diese Funktion benötigen Sie Folgendes:� Das Programm CVS3 Data Loader (Download über

www.sick.com) � Ein serielles Kabel RS-232 – PC (Bestell-Nr. 6 029 801)

5.7.1 Serielle Kommunikation einrichten� Verbinden Sie die Kommunikationsschnittstelle des CVS3

über das serielle Kabel mit der seriellen Schnittstelle des PC. � Setzen Sie beim CVS3 die Übertragungsgeschwindigkeit

mit dem Parameter COMMUNIC im Menü OTHERS.� Starten Sie das Programm CVS3 Data Loader, wählen Sie im

Menü Baud rate (bps) die Übertragungsgeschwindigkeit und klicken Sie auf Connect (stop CVS3), um die Datenverbin-dung zu öffnen.

Parameter (betroffen)

Werte Standard Beschreibung

SEARCH(aktueller Speicher)

0 – 25 5 Einstellen eines Radius um den Objektschwerpunkt, innerhalb dessen nach dem Bildmuster gesucht wird.

Das Gerät tastet die Anzahl der eingestellten Pixel nach oben und nach unten ab und 4-mal die Anzahl der Pixel nach rechts und nach links.

Ein großer Suchbereich erlaubt größere Variationen bei der Objektpositionierung, verlangsamt aber auch die Bewertung.

SEARCHMD(aktueller Speicher)

0, 1 0 Erkennen von Objekten mit Hilfe der Schwerpunktausrichtung am Schwerpunkt des Musters:0 Schwerpunkt für jedes Bild berechnen und am

Schwerpunkt des Musters ausrichten.1 Schwerpunkt nicht berechnen und ausrichten.

SHUTTER(aktueller Speicher)

AUTO, 1 – 226

AUTO Einstellen der Belichtungszeit in Schritten von 0,1 ms.Bei Auswahl von AUTO ermittelt der CVS3 die optimale

Belichtungszeit und setzt den Parameter auf diesen Wert.Für bewegte Objekte lässt sich die maximale Belichtungs-

zeit wie folgt ermitteln:10 × erforderliche Linienbreite (mm)

Objektgeschwindigkeit (m/s)SHUTTER =

SYNCHRO(alle Speicher)

0 – 4 4 Verwendung von Leitung 6 (violett) zur Synchronisation der Aufnahmen: 0 Aufnahme, wenn das Signal AUS ist.1 Aufnahme, wenn das Signal von EIN nach AUS wechselt.2 Aufnahme, wenn das Signal EIN ist.3 Aufnahme, wenn das Signal von AUS nach EIN wechselt.4 Keine externe Synchronisation. Bilder werden

kontinuierlich aufgenommen.Bei Verwendung der externen Synchronisation kann Leitung 6 nicht zur Speicherwahl verwendet werden. Bei externer Synchronisation und Einstellung des Parameters BANK auf TCH oder BKIN können die Speicher 8 bis 14 nicht ausgewählt werden.

THRESHLD(Current bank)

AUTO, 1 – 255

AUTO Einstellen der Bewertungsschwelle für Fehlstellen und Kontur.Die für die Bewertung tatsächlich verwendete Schwelle liegt

4 bis 24 Stufen tiefer als der gesetzte Wert.

ZOOM 0 – 19 0 Einstellen der Vergrößerung für den Digital-Zoom.Der Parameter ZOOM kann zur Eingrenzung des Aufnahmebe-

reiches verwendet werden. Verwenden Sie die Zoom-Funktion vor dem Speichern eines Musters. Bereits gelernte Muster werden nicht skaliert.

J

5.7.2 Parameter zum PC kopieren� Wählen Sie die zu kopierenden Speicher mit den Feldern

Start Bank No. (erster Speicher) und End Bank No. (letzter Speicher).

� Geben Sie im Feld Filename den Namen der Datei ein, in der die Parameter gespeichert werden sollen. Durch Klicken auf Ref können Sie das Verzeichnis wählen.

� Klicken Sie auf Read from CVS3 (Daten auslesen).

5.7.3 Parameter auf den CVS3 zurückladen� Wählen Sie die Datei mit den gespeicherten Parametern

durch Klicken auf Ref.� Klicken Sie auf Write to CVS3 (Daten übertragen).

5.7.4 Parameter am PC bearbeiten� Um Parameterwerte am PC zu bearbeiten, klicken Sie

auf Edit Parameter und stellen Sie die Parameter wie gewünscht ein.

5.7.5 Maskierungen bearbeiten� Um Maskierungen am PC zu bearbeiten, klicken Sie

auf Edit Patterns und verwenden Sie zum Erstellen und Bearbeiten von Maskierungen die im Fenster angebote-nen Werkzeuge.

5.7.6 Programm CVS3 Data Loader beenden� Klicken Sie auf CVS to Run, um die Datenverbindung zu

schließen.� Klicken Sie auf EXIT, um das Programm zu beenden.

6. Wartung� Kratzer und Beschädigungen der Frontscheibe beein-

trächtigen die optische Leistung des CVS3. Vermeiden Sie aggressive, scheuernde oder kratzende Bewegungen oder Reinigungsmittel, die die Frontscheibe beschädigen können.Der CVS3 ist vollständig wartungsfrei. Reinigen Sie die Frontscheibe bei Bedarf mit einem milden, wasser-verdünnten Reinigungsmittel, das kein Scheuerpulver enthält.

SETUP FLOW BANK ZOOM COLORFIL SHUTTER THRESHLD SAVE PATTERN WINDOW SIZE MASK EDITOR

ADJUSTMENT BKGD LVL BKGDMRGN

JUDG LVL SEARCH SEARCHMD

OTHERS BANKCOPY COMMUNIC INITIAL LCD VIEW LIGHT OFFDELAY ON DELAY ONESHOT OUTSIDE SYNCHRO

CAPTURE

MOVE WINDOW

MOVE WINDOW

SIZE WINDOW

SIZE WINDOW

WRITE DATACANCEL

SETEXIT

SET

EXIT

SET

EXIT

SET

EXIT

SET

EXIT

K

MOVE WINDOW

MOVE WINDOW

SIZE WINDOW

MASK WINDOWRELEASE

MASK OUTSIDERELEASE

SET

EXIT

SET

EXIT

SET

EXIT

WRITE DATACANCEL

SIZE WINDOW

SET EXIT

SET

EXIT

SET

EXIT

SETEXIT

a

b

L