706100_EN
706100_EN
PC operating program
for O2V UK
E2V100
Version 2.4
10 / 2012
706100 / 01
PC operating program E2V100
Contents
1 Preliminary note . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.1 Symbols used . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2 Safety instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3 System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3.1 Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3.2 Required accessories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
4 Functions and features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
5 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
5.1 Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
5.2 Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
5.2.1 Start program without installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
5.2.2 Install program on the hard disk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
5.3 Factory setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
5.3.1 Network setting IP address range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
5.3.2 Factory setting parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
5.3.3 Verify and set the IP address of the PC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
5.3.4 Verify and set the IP address on the unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
5.3.5 Adjustable parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
5.3.6 Parameter setting on the unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
5.3.7 Display of the sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
5.3.8 Lock / unlock sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
6 Basic functions of the program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
6.1 Basics on the user interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
6.1.1 Tool bar icons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
6.2 Program start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
6.3 Connect device to the operating program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
6.3.1 Establishing a connection via bookmark entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
6.3.2 Establish the connection by entering the IP address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
6.3.3 Find sensors in the network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16
6.3.4 Restore connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
7 Operating modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
7.1 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
7.1.1 Activate application mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
7.1.2 Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
7.2 General administration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
7.2.1 Sensor identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
7.2.2 Export sensor configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
7.2.3 Restore sensor configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
7.2.4 Global settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
7.2.5 Network parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
7.2.6 Process interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
7.3 Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
7.3.1 Switching states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28
7.3.2 Models found . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
7.3.3 Switching outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
7.3.4 Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
7.3.5 Data logger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
7.4 Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
8 Configuring applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
8.1 Navigation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
8.2 Image quality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
8.2.1 Capture sensor image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
8.2.2 Save or load sensor image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
8.2.3 Setting the trigger mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
8.2.4 Image quality settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
8.3 Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
2
PC operating program E2V100
8.4 Segmentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
8.4.1 Find objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
8.4.2 Regions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
8.4.3 Filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
8.4.4 Object list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
8.5 Model definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
8.5.1 Define object characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
8.5.2 Use the entire image scene for evaluation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
8.6 IO configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
8.6.1 Real outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
8.6.2 Process interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
8.6.3 Configure the sensor display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 UK
8.7 Overall function test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
8.7.1 Switching states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59
8.7.2 Models found . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
8.7.3 Switching outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
9 Application example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
9.1 Create an application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
9.2 Create model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
9.3 Segmentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
9.4 Model definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
9.5 IO configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
10 Additional functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
10.1 Select user language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
10.2 Sensor firmware update . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
10.3 Select colours . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
10.4 Password protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
10.4.1 Set up password protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
10.4.2 Login . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
10.4.3 Logout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
10.4.4 Remove password protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
11 Exit the program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
11.1 Disconnect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
11.2 Exit the program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
12 Annex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
12.1 Factory settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
12.2 Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
12.2.1 Process connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
12.2.2 Parameter setting connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
12.2.3 Operating modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
12.3 Operating and display elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
12.4 LED display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
3
PC operating program E2V100
1 Preliminary note
1.1 Symbols used
► Instruction
> Reaction, result
[…] Designation of pushbuttons, buttons or indications
→ Cross-reference
Important note
Non-compliance can result in malfunction or interference.
Information
Supplementary note
2 Safety instructions
Please read the operating instructions prior to set-up of the device. Ensure that the device is suitable for
your application without any restrictions.
If the operating instructions or the technical data are not adhered to, personal injury and/or damage to
property can occur.
3 System requirements
3.1 Software
–– Operating system Microsoft Windows XP (SP2), Vista or Windows 7
–– DotNET 2.0 or higher
5 Installation
Installation and setting for operation with a fixed assigned IP address are described below (= direct con-
nection to the PC).
This is the factory-preset operating mode of the sensor.
4
PC operating program E2V100
5.1 Hardware
►► Connect the device to the Ethernet interface of the PC using a crossover cable.
►► Supply the device via the process connection.
Wiring → type label, data sheet O2V10x or included operating instructions
>> Green Power LED lights.
>> Green Eth LED lights for correct Ethernet connection.
5.2 Software
The PC operating program can be started directly from the CD or can be installed on the PC. UK
5.2.1 Start program without installation
►► Insert the CD in the drive.
>> The start menu opens.
►► Select the menu item "Start efector dualis".
>> The program starts.
If the autostart function for CD drives is deactivated and the start menu does not open automati-
cally:
►► Start the "E2V100.exe" file in the main directory of the CD with a double click.
>> The program starts.
If the autostart function for CD drives is deactivated and the start menu does not open automati-
cally:
►► Start the "E2V100.exe" file in the main directory of the CD with a double click.
>> The start menu opens.
►► Select the menu item "Install efector dualis" and follow the instructions of the installation routine.
>> The program is installed.
5
PC operating program E2V100
6
PC operating program E2V100
UK
7
PC operating program E2V100
8
PC operating program E2V100
9
PC operating program E2V100
10
PC operating program E2V100
UK
11
PC operating program E2V100
Symbol Function
Connect sensor.
Disconnect sensor.
Help
12
PC operating program E2V100
13
PC operating program E2V100
More bookmark entries can be stored or processed in the connection settings. The following functions are
available at "Stored connection data":
Symbol Function
Sensor-specific information such as device name, location, firmware and MAC address can be
saved together with the connection data during sensor set-up at a later point of time.
►► Acknowledge with [OK].
>> The new bookmark entry is displayed in the list.
14
PC operating program E2V100
UK
15
PC operating program E2V100
If a connection cannot be established with the entered connection data, the operating program
provides a respective error message.
►► Enter the address range of the network (default setting: 192.168.0.0) at "Search zone" and the subnet
mask (default setting: 255.255.255.0).
►► Click on [Start sensor detection].
>> All sensors found are listed at "Detected sensors".
16
PC operating program E2V100
17
PC operating program E2V100
7 Operating modes
The device differentiates between the operating modes "Applications", "Monitoring" and "Service". To
select an operating mode the sensor must be connected with the operating program.
7.1 Applications
A new test program is configured in the operating mode "Applications".The device can save up to 32 test
programs (applications).
When creating an application the user is guided via a predefined navigation.The following settings and
indications are polled and defined step by step:
1. Image quality
2. Create models
3. Segmentation
4. Model definition
5. IO configuration
6. Overall function test
18
PC operating program E2V100
UK
19
PC operating program E2V100
Symbol Function
Application directory
The connected sensor and the saved applications are listed in the application directory. Maximum 32
applications can be saved in every sensor, each application can contain up to 24 models. (→ Chapter
8.3 Models)
Next to the application directory detailed information about the selected application or model is shown.
20
PC operating program E2V100
UK
21
PC operating program E2V100
22
PC operating program E2V100
UK
7.1.2 Help
The operating program has a by-topic help function.
►► To open the help function click on the button in the tool bar.
>> The program displays information about the current setting options in a new window.
23
PC operating program E2V100
Field Function
Name Any application-specific device name
Location Location description (e.g. belt 3)
Description e.g. application description
Firmware Firmware version of the device (cannot be changed)
24
PC operating program E2V100
Selection Function
Off External selection of the application deactivated
Static via switching inputs Allows switching between the first four applications saved on the sensor.
Pins 7 and 8 of the process interface are used as inputs. UK
Pin 7 is the least significant bit (LSB), pin 8 is the most significant bit (MSB).
Possible switching operations:
pin 7: 0, pin 8: 0 -> application on memory location 1 active
pin 7: 1, pin 8: 0 -> application on memory location 2 active
pin 7: 0, pin 8: 1 -> application on memory location 3 active
pin 7: 1, pin 8: 1 -> application on memory location 4 active
Pulse-controlled via switching Pulse-controlled selection of the active application, switching input 2 used as pulse input
input
Pulse-controlled via trigger input Pulse-controlled selection of the active application, trigger input used as pulse input
For further information about the external selection of the application we refer you to the operating in-
structions of the sensor:
www.ifm.com → data sheet search → e.g. O2V100 → Operating instructions
Trigger debouncing
The function "Trigger debouncing" prevents that several pulses occurring shortly after each other cause a
trigger process on the device (mechanical trigger switch). With "On" a stable pulse has to be on the input
for at least 3 ms so that it is recognised as a trigger pulse. Shorter pulses are ignored.
Boost mode
In the boost mode the transfer of sensor images to the PC is deactivated. The evaluation times in the
monitor mode can thus be considerably reduced (→ Chapter 7.3).
25
PC operating program E2V100
Field Function
Obtain an IP address automatically In the DHCP mode the input fields for the IP address, the mask and the gateway are
(DHCP) blocked. The device is assigned an address by the DHCP server.
IP address Currently assigned IP address of the device
Subnet mask Standard setting subnet mask
Gateway Default gateway address
MAC address MAC address of the device (cannot be changed)
Communication port Port number for parameter setting
Port for image transmission Port number for the transmission of images
Speed and duplex mode Selectable: 10 / 100 Mbits/s, full / half-duplex,
automatic recognition (standard setting)
Network parameters are applied only after a new start of the device.
26
PC operating program E2V100
UK
TCP/IP
►► Select the entry TCP/IP in the "Process interface" list.
►► Select the required protocol version.
►► Adapt the port number in the section "TCP/IP", if necessary.
►► Transfer the settings to the device via [Assign].
Ethernet/IP
►► Select the entry Ethernet/IP in the "Process interface" list.
►► Select the required protocol version.
►► Adapt the settings in the section "Ethernet/IP", if necessary.
►► Transfer the settings to the device via [Assign].
27
PC operating program E2V100
7.3 Monitoring
After power-on and connection to the PC the device changes to the monitoring mode when an active
application is saved. Here you can observe the device working. It is in the evaluation mode.
The evaluation time can vary considerably in monitoring mode due to the image transmission.
Observing the application can lead to doubling the expected evaluation time. Use the boost mode
to deactivate image transmission and to accelerate evaluation (→ Chapter 7.2.4).
28
PC operating program E2V100
29
PC operating program E2V100
Objects matching the selected model are displayed in green, all other objects in blue. Test criteria not
passed are marked in red in the list.
The tab "Switching outputs" informs about switching status and output logic of the sensor outputs. The
upper section shows the 5 real switching outputs, the lower section the outputs via the process interface.
The display shows:
–– number of the output
–– pin connection (for real outputs)
–– switching status
–– configuration of the output logic
30
PC operating program E2V100
7.3.4 Statistics
The tab "Statistics" shows information about the number of the evaluated images.
UK
Field Function
Total total number of evaluations
Switched number of successful evaluations
Not switched: number of failed evaluations
►► Click on the button [Stop] / [Continue] to interrupt or continue with the statistics logging.
►► Click on the button [Reset] to reset the counter to zero.
31
PC operating program E2V100
7.4 Service
This mode is used for diagnosis. The sensor stops the active application and all determined results. The
current sensor image and all objects are displayed in the image field.
In addition you can open and save reports, make statistical evaluations as well as display the last images
of good or bad readings from the sensor.
For the last few evaluations the list in the section "Service report" indicates:
–– time and date of the evaluation
–– the text in the sensor display
–– the state of the switching outputs
32
PC operating program E2V100
8 Configuring applications
This chapter describes the general parameter settings in the application.
An example of a complete parameter setting is illustrated in chapter 9.
8.1 Navigation
When a new application has been created or an existing one has been edited, the user interface auto-
matically changes to the first application step "Image quality".
There are two possibilities to navigate through the process of parameter setting:
–– with the navigation buttons Back, Cancel and Continue UK
The settings of the modules "3: Segmentation" and "4: Model definition" differ from model to model. The
respective module switches are therefore greyed out until at least one model has been created and se-
lected.
Load application and return to the application administration.
►► Select all module buttons one after the other, acknowledge with [Continue].
Alternatively: Click on the button [Cancel] in the selected module.
►► Acknowledge the safety query "Do you want to save the changes?" with [yes].
>> The operating software returns to the application administration.
Save application and continue with parameter setting.
►► Click on the button [Assign] in the selected module.
>> The new settings are assigned.
Cancelling parameter setting.
►► Click on the button [Cancel].
►► Acknowledge the safety query:
select [yes] to save the changes made
select [no] to reject the changes made
>> The operating software returns to the application administration.
If [Cancel] is selected, the operating program returns to parameter setting.
33
PC operating program E2V100
Symbol Function
34
PC operating program E2V100
Symbol Function
Buttons that do not have any function in the currently selected module or display mode are greyed
out.
Quality Function
Low quality (LQ) –– image size transmitted: 320 x 240 pixels
–– high image repetition rate
–– reduced image definition
High quality (HQ) –– image size transmitted: 640 x 480 pixels
–– high image definition
–– reduced image repetition rate
During the live image capture the buttons for loading and saving an image, for single image capture and
the trigger functions are deactivated.
35
PC operating program E2V100
The mode "Single image capture (external trigger)" is useful when the parameters of moving ob-
jects are to be set.
Option 1: Capture a new image with the next trigger pulse
►► Click on the button .
>> The device captures a new image with the next trigger pulse, other trigger pulses are ignored.
Option 2: Capture a new image with each trigger pulse
►► Click on the button .
>> The device captures a new image with the next and subsequent trigger pulses.
Each new image overwrites the previous image. Images once captured can therefore be saved on the
sensor or in an external file for later use.
Zoom function
Use the buttons and to increase or decrease the size of an area of the image in the two display
modes.
The button restores the image to its original size.
36
PC operating program E2V100
UK
37
PC operating program E2V100
Trigger Function
Off Trigger deactivated, image capture is only possible via the operating program
Rising edge The device captures a new image with rising edge on the trigger input
Falling edge The device captures a new image with falling edge on the trigger input
Process interface The device captures a new image via the process interface at respective command (→
O2V operating instructions → Chapter 12 process interface)
Continuous The device continuously captures images and evaluates them. The processing speed is
limited by the exposure and evaluation times.
Image definition
►► Install the sensor so that the required object is displayed.
►► Optimise the image definition (focus) via the setting screw on the back of the device.
Lighting
To illuminate the object to be recognised, there are the following options:
Trigger Function
Internal The object to be recognised is illuminated by the integrated LEDs
External External lighting can be controlled via the trigger output
Internal and external Combined method of LED lighting and external lighting
Off Internal LED lighting and background illumination are deactivated.
Permanent lighting is used for image capture.
38
PC operating program E2V100
The internal LED lighting of the sensor is divided into four segments. By deactivating individual segments
unwanted reflections on the object to be recognised can be avoided.
►► For activation / deactivation click on the required lighting segment.
UK
Sensor characteristics
The default setting for the sensor characteristics is "Linear". This setting is suited for most objects to be
recognised.
►► Select "Linear" from the list.
The setting "Logarithmic" is available for strongly reflective objects to be recognised. It prevents irradia-
tion of the sensor image.
►► Select "Logarithmic" from the list.
Exposure time
The exposure time is preset automatically. The current value is indicated in microseconds or milliseconds
in the parameter field.
Option 1: Manual setting of exposure time
►► Move the slider bar with the mouse pointer.
Option 2: Automatic setting of exposure time
►► [Automatic setting].
>> The sensor redetermines and sets the exposure time.
The automatically determined exposure time is not always the optimum setting; it is, however,
useful as reference. The exposure time should be selected so that there is a maximum contrast
between the detail to be verified and the background.
►► If the sensor image is sharp and all parameters are set to your requirements, click on [Continue].
>> Change to the parameter setting module "Models".
39
PC operating program E2V100
8.3 Models
In this module you create new models or edit existing ones. Each application can contain up to 24 mod-
els.
A module comprises
–– specifications about the image zones to be evaluated
(→ Chapter 8.4 Segmentation)
–– object properties according to which an object to be recognised is evaluated to be "good" or "faulty"
(→ Chapter 8.5 Model definition).
The operating program displays a list of the created models on the right. Detailed information about the
selected model is given below the list of models.
Button in the section "Model list"
Symbol Function
40
PC operating program E2V100
UK
41
PC operating program E2V100
42
PC operating program E2V100
8.4 Segmentation
In the parameter setting module "Segmentation" you define which objects in the image should be evalu-
ated. For this purpose the program separates the image scene into several areas on the basis of the
differences in luminosity.
UK
The operating program shows the sensor image captured last on the left, the options for object selection
on the right. The objects found are listed below the sensor image.
43
PC operating program E2V100
In this mode you define an upper and a lower threshold value for the brightness of the required objects.
Each image zone whose brightness is between these two thresholds is seen as an object.
To facilitate the selection of the zones the program indicates the brightness distribution of the sensor im-
age as a grey-scale histogram.
44
PC operating program E2V100
The histogram represents the frequency of the grey-scale values in the image in 256 shades, starting on
the left with black (value 0) up to white (value 255) on the utmost right.
A high-contrast image shows an accumulation of dark and light pixels in the histogram. These peaks can
be used as reference for determining the threshold values.
45
PC operating program E2V100
In all views the grey-scale value of the pixel indicated by the mouse pointer is shown in the status
bar.
The transparency degree of the object view can be set via the slider bar.
A single-click on the button activates and deactivates the object markings.
The button [Invert selection] inverts the current selection, the upper and lower threshold values are ex-
changed.
In addition it can be defined via the selection fields if the background or objects in the edge area should
be considered for the evaluation.
If the objects cannot be isolated as required via the threshold values, you may have to adapt the
lighting settings or use the mode "Region growing".
46
PC operating program E2V100
2. Region growing
►► Click on the tab "Options".
►► Select the option "Region growing" in the section "Mode".
UK
As opposed to the "Binarisation threshold" the mode "Region growing" does not use any absolute grey-
scale values for the segmentation of the image scene. Instead the function evaluates differences in lumi-
nosity between neighbouring image zones. All coherent areas having a similar brightness are considered
for the same object. "Region growing" is therefore also suited for the segmentation of scenes with chang-
ing light conditions.
By means of the slider bar "Dimension" you can set rough or fine evaluation of the image zones. Lower
values allow finer distinctions; they increase the evaluation time, however.
Example value 3x3: The evaluation is made for blocks of the size 3x3 pixels.
The slider bar "Tolerance" defines by how many brightness levels a neighbouring image zone may differ
to be considered to belong to the same object.
Example value 6: If neighbouring blocks differ by 6 brightness levels or less, the program includes them
to the same object.
To better highlight objects in the centre of the image, the selection field "Include background as
object" should be deactivated.
47
PC operating program E2V100
8.4.2 Regions
You can limit the evaluation manually to certain image zones via the tab "Regions". You can also exclude
areas that are not important for the evaluation. Thus interference is reduced and evaluation accelerated.
If you use regions in “Binarisation threshold” mode, the histogram only considers the brightness
values of the selected image zones.
Please note that the object to be recognised must be precisely positioned for a small evaluation
region.
Add region
►► Select either "Rectangle" or "Ellipse" from the list in the section "Regions of interest".
►► Click on [Add].
>> The cursor changes to a cross hair in the image zone.
►► Drag the required region in the sensor image to the required size.
>> The program only considers objects in the selected zone.
48
PC operating program E2V100
Exclude region
►► Select either "Rectangle" or "Ellipse" from the list in the section "Regions of disinterest".
►► Click on [Add].
>> The cursor changes to a cross hair in the image zone.
►► Drag the required region in the sensor image to the required size.
>> The program ignores objects in the selected area.
The size of the region can be changed subsequently by clicking and dragging the frame accordingly. By
shifting the centre, the position can also be adapted.
You can add several regions of interest or disinterest. The two functions can also be combined, for exam-
UK
ple to exclude details in a certain region from the evaluation.
Remove regions of interest or disinterest
►► Click on the centre of the required region in the sensor image.
►► Click on the button [Delete].
49
PC operating program E2V100
8.4.3 Filters
To improve distinction between object to be recognised and background, several filters are available.
Include objects
Via the function "Include objects" it is possible to exclude especially small or large objects from the evalu-
ation. Interference or undesired reflections can be suppressed. This filter is automatically active when a
new model is created.
The object area is indicated as the number of pixels that make up the object.
►► Enter the area of the smallest required object in the number field on the left.
►► Enter the area of the largest required object in the field on the right.
►► Click on [Assign].
>> Objects whose size is outside the indicated area are ignored for the evaluation.
Fill holes
In evenly bright objects there may be individual bright or dark pixels, for example due to rough material
surfaces or image interference. These "holes" in the object are automatically filled with the function "Fill
holes".
The size of the holes to be filled can be either indicated absolutely as number of pixels or relative to the
object surface in percent.
►► Select absolute or relative indication via the option field.
►► Enter the size of the largest area to be filled in the number field.
►► Click on [Assign].
>> Holes that are smaller than the indicated value are filled.
50
PC operating program E2V100
Preprocessing filter
In complex image scenes preprocessing of the sensor image can improve the evaluation result. Four dif-
ferent preprocessing filters can be selected.
Filters Function
Enlarge dark areas enlarges dark areas in the sensor image
suited to link dark objects or to separate light objects
Enlarge light areas enlarges light areas in the sensor image
suited to link light objects or to separate dark objects
Median reduces image noise
suited for noisy image scenes with only few details UK
Mean value reduces image noise
suited for weakly noisy, detailed image scenes
►► Select the required filter from the list in the section "Preprocessing".
►► Select the application radius in the adjoining list.
>> The program automatically applies the filter to the image scene.
You can combine up to three different preprocessing filters. Please note that the evaluation time
increases with each selected filter.
By clicking on a list entry the respective object is marked in red in the sensor image. Alternatively, the
object can be clicked on in the sensor image to select the respective list entry.
51
PC operating program E2V100
Abhängig vom gewählten Modus können die folgenden Eigenschaften ausgewertet werden:
52
PC operating program E2V100
Example: Orientation 0°
Minimum grey-scale value Smallest permissible grey-scale value of the object
Value range (0...255)
Maximum grey-scale value Largest permissible grey-scale value of the object
Value range (0...255)
Average grey-scale value Average grey-scale value of the object
Value range (0...255)
Grey-scale value deviation Standard deviation of the grey-scale value of the object
Describes the homogeneity of the object.
The value is low for the evenly grey objects and high for irregular surfaces or grey-scale gradient.
Value range (0...2250)
Select suitable characteristics from this list to differentiate a good part from a faulty part.
The evaluation time increases with every selected criterion. Activate only as many object charac-
teristics as necessary.
53
PC operating program E2V100
The configuration window displays the input options, the permissible value range, the current value range
and a brief description of the selected object characteristic.
►► Define the lower and upper threshold values via the slider bars or the input fields.
►► Acknowledge with [OK].
►► Follow these steps for all required characteristics.
You activate or deactivate individual object characteristics via the selection fields in the column "Includ-
ed". Please note that the evaluation time increases with each selected test criterion.
54
PC operating program E2V100
UK
The configuration window displays the input options, the permissible value range, the current value range
and a brief description of the selected object characteristic.
►► Define the lower and upper threshold values via the slider bars or the input fields.
►► Acknowledge with [OK].
►► Follow these steps for all required characteristics.
You activate or deactivate individual object characteristics via the selection fields in the column "Includ-
ed". Please note that the evaluation time increases with each selected test criterion.
55
PC operating program E2V100
Using the mouse you can point to individual table entries to show the current minimum and maximum
values of an object characteristic.
Sensible settings can be determined by evaluating good and bad parts by trial and error.
If you have made the settings matching your application, model creation is complete. Configuration of the
process interface follows in the next section of parameter setting.
(→ Chapter 8.6 IO configuration)
56
PC operating program E2V100
8.6 IO configuration
In this module you configure the switching outputs and define which information is transferred via the
process interface.
UK
The following paragraph describes how you adapt the output configuration.
►► Click on next to the required output.
Alternative: Mark the output and click on [Configure output logic].
►► Select the required output mode.
The following modes are available:
–– Ready for trigger
–– Model combination
–– Evaluation completed
–– Ext. selection of the applications completed
57
PC operating program E2V100
–– Number of objects
►► Acknowledge with [OK].
In addition the type of output signal can be adapted.
►► Select [Configure output signals...].
►► Select "Static" or "Pulsed"; adapt the pulse length, if necessary.
►► Acknowledge with [OK].
Model combination
More options are available in the output mode "Model combination".
58
PC operating program E2V100
UK
59
PC operating program E2V100
Add element:
►► Select the entry that will follow the new element.
►► Click on the button .
>> The window "Add new process interface output element" opens:
Edit element:
►► Select the requested element.
►► Click on the button .
>> The edit window opens.
►► Define the requested settings for the output element.
►► Acknowledge with [OK].
60
PC operating program E2V100
Copy element:
►► Select the requested element
►► Click on the button .
>> A copy of the element is added.
Delete element:
►► Select the requested element
►► Click on the button .
UK
>> The element is deleted.
Move element:
►► Select the requested element
►► Click on the button or to move the element up or down.
61
PC operating program E2V100
62
PC operating program E2V100
UK
Not every result is transferred in the mode "continuous trigger". There may be fluctuations in the
evaluation time caused by the transmission of the image, like in the monitor mode.
63
PC operating program E2V100
Objects matching the selected model are displayed in green, all other objects in blue. Test criteria not
passed are marked in red in the list.
64
PC operating program E2V100
UK
The tab "Switching outputs" informs about switching status and output logic of the sensor outputs. The
upper section shows the 5 real switching outputs, the lower section the outputs via the process interface.
The display shows:
–– number of the output
–– pin connection (for real outputs)
–– switching status
–– configuration of the output logic
65
PC operating program E2V100
Edit application
►► Select the requested application in the application directory.
►► Click on [Continue].
>> The application opens for editing.
Edit model
►► Select the requested model in the application directory.
►► Click on [Continue].
>> The model opens for editing.
Create new model
►► Select the requested application in the application directory.
►► Click on the button .
>> The window to enter a new model name opens.
Alternatively, you can use the context menu to create or edit applications and models.
66
PC operating program E2V100
9 Application example
In the following application example metal clips are to be detected for presence in a tool.
UK
>> The operating program changes to the first parameter setting module "Image quality".
67
PC operating program E2V100
The object to be recognised contains three metal clips next to each other when correctly manufactured.
These clips are seen in the sensor image as grey rectangles.
For optimum object detection a high contrast between the metal clips and the background has to be cre-
ated in the module "Image quality". Since the clips reflect the light more intensively than the surrounding
plastics, lighting from the front (direct object detection) is suited here.
►► Select the lighting mode "Internal" and the sensor characteristic "Linear".
►► Adapt the exposure time so that there is a maximum contrast between the metal clips and the back-
ground.
The reflecting clips stand out from the background as light rectangles.
►► Acknowledge with [Continue].
>> The operating program changes to the parameter setting module "Models".
One single module is sufficient to verify several identical objects in an image scene for presence.
68
PC operating program E2V100
9.3 Segmentation
After changing to the parameter setting module "Segmentation", the mode "Binarisation threshold" is pre-
set. This mode is used in this example to distinguish the objects to be recognised.
UK
This difference in brightness allows the program to recognise and distinguish the clips as separate ob-
jects. To do so the user has to tell the program which brightness zone belongs to the object to be recog-
nised.
The grey-scale histogram facilitates this assignment.
69
PC operating program E2V100
Dark grey corresponds to the tool body, light grey to the background and very light grey to the metal clips.
Since the background and objects in the edge section shall not be included, both selection fields can be
deactivated.
When the threshold values have been set, the metal clips are now marked in colour as objects in the sen-
sor image.
70
PC operating program E2V100
UK
71
PC operating program E2V100
To exclude undesired miniature objects from the evaluation the filter should remain active.
►► Change to the tab "Filters".
►► If not active, activate selection field "Include objects".
►► Enter "2000" as lower limit.
►► Click on [Assign].
>> Objects of an area of < 2000 pixels are suppressed.
72
PC operating program E2V100
In addition the filter "Fill holes" is activated to exclude small holes in the objects.
►► Activate the selection field "Fill holes".
►► Select the setting "Pixels" via the option field.
►► Enter "50" in the number field.
►► Click on [Assign].
>> The program fills all holes with a surface of < 50 pixels.
UK
The value for the metal clips is between 90 and 100, this is the target value for the subsequent evaluation.
73
PC operating program E2V100
74
PC operating program E2V100
UK
Now only the information of how many of these objects are contained in an image to be analysed is miss-
ing for the overall evaluation. This setting is made in the next parameter setting module "IO configuration".
►► Click on [Continue] to change to the module "IO configuration".
9.5 IO configuration
To complete parameter setting the required model combination must be assigned to a switching output.
►► Change to the tab "Switching outputs".
►► Select IO 4 in the list.
75
PC operating program E2V100
76
PC operating program E2V100
10 Additional functions
10.1 Select user language
►► Disconnect the sensor.
►► Select [Settings] → [Language] → [German], [English] .... in the menu bar.
UK
77
PC operating program E2V100
This process will take a while. After successful transmission you receive a message. Then the sensor will
automatically make a reset. After initialisation you can connect to the sensor as usual.
Do not interrupt the power supply to the sensor during the update process; otherwise this could
result in loss of data and functionality of the sensor.
During the update of the firmware, BIOS is also updated at irregular intervals. The sensor display
will then remain dark for some seconds.
►► Confirm all selected settings with [OK] or reject the changes and restore the factory setting via [Fac-
tory setting].
78
PC operating program E2V100
UK
The password must have a minimum length of 6 characters. The following characters are allowed:
0-9, a-z, A-Z, -, _, , #, $, *, +,, , .,.
►► Acknowledge with [OK].
>> The sensor is locked.
The password also protects against changes via the 2-button menu.
>> Display LoK1.
10.4.2 Login
With activated protection function the user gets to the monitor mode after connection to the sensor. With
the change to the application mode a dialogue window to enter the required password is displayed.
79
PC operating program E2V100
10.4.3 Logout
►► To log out, select [Settings] → [Password Protection] → [Logout].
80
PC operating program E2V100
12 Annex
After installation, electrical connection and parameter setting, check whether the sensor operates cor-
rectly. Align the sensor to the object to be detected.
12.2 Wiring
Process connection: Parameter setting connection:
M12 connector, 8-pole M12 connector, 4-pole, D-coding
1:U+ 1: TD+
2: trigger input 2: RD+
3:0V 3: TD-
4:
switching output 5 / trigger output 4: RD-
5:switching output 3 / ready S: screen
6: switching output 4 / OUT
7: switching output 1 / input 1
8: switching output 2 / input 2
If you use an external trigger source (e.g. a diffuse reflection sensor), connect the trigger signal to
the trigger input of the sensor. If you use external illumination, it must be controlled via the trigger
output of the sensor.
Depending on the device setting, one of four configuration files saved in the sensor can be select-
ed via two switching inputs. Information about the test result is provided via switching outputs.
81
PC operating program E2V100
Active LED
3 x LED green Power (ready for operation display)
1
Eth (Ethernet connection status)
Con (connection status to the operating program (software))
Indication of the switching status; lights when the corresponding input or output is switched.
LED 1 status indication switching output 1 / switching input 1
4 x LED yellow
2 LED 2 status indication switching output 2 / switching input 2
LED 3 status indication switching output 3
LED 4 status indication switching output 4
4-digit alphanumeric Indication of the evaluation results, parameters, parameter values, warnings and error messages.
3
display
Programming button Setting of the parameter values (scrolling by holding pressed; incremental by pressing briefly)
4
"Set"
Programming button Selection of the parameters and acknowledgement of the parameter values
5
Mode / Enter
82
PC operating program E2V100
83