Issuu on Google+

Software package CheckKon – Version 4.2


Table of Contents 1

Overview of the CheckKon Help ....................................................................................................... 5 1.1 Designated use ............................................................................................................................ 5 1.2 Safety instructions ........................................................................................................................ 5 1.3 Target group ................................................................................................................................. 6 1.4 Notes on the use of this manual................................................................................................... 6 1.5 System requirements ................................................................................................................... 6 1.6 Service ......................................................................................................................................... 6 1.7 Scope of delivery of the software package................................................................................... 6 1.8 Important user information ........................................................................................................... 7 1.8.1 Danger categories ............................................................................................................ 7 1.9 Marking special information ......................................................................................................... 7 1.9.1 Pictograms ........................................................................................................................ 7 1.9.2 Text markings.................................................................................................................... 7 1.9.3 Conventions ...................................................................................................................... 7 1.10 Further manuals ........................................................................................................................... 8 1.11 Product-specific terms and abbreviations .................................................................................... 8

2

System overview .............................................................................................................................. 10 2.1 Associated devices .................................................................................................................... 10 2.2 Software packages for the associated devices .......................................................................... 10 2.3 Scope of functions ..................................................................................................................... 11 2.3.1 CheckKon and CheckOpti............................................................................................... 11

3

Installation and commissioning ...................................................................................................... 12 3.1 Installing CheckKon ................................................................................................................... 12 3.2 Uninstalling CheckKon ............................................................................................................... 12 3.3 Commissioning .......................................................................................................................... 13 3.3.1 Interfaces ........................................................................................................................ 13 3.3.2 Starting CheckKon .......................................................................................................... 14 3.3.3 Establishing a connection ............................................................................................... 15 3.3.4 Connection parameters................................................................................................... 17 3.3.5 Commissioning the device .............................................................................................. 19 3.3.6 Operating system or firmware update ............................................................................. 20

4

General operating instructions ....................................................................................................... 21 4.1 Using country-specific special characters .................................................................................. 21

5

CheckKon program interface .......................................................................................................... 22 5.1 CheckKon program window ....................................................................................................... 22 5.2 Menu commands of the program window .................................................................................. 23 5.2.1 [File] menu ...................................................................................................................... 23 5.2.2 [Edit] menu...................................................................................................................... 24 5.2.3 [View] menu .................................................................................................................... 24 5.2.4 [Action] menu .................................................................................................................. 25 5.2.5 [Mode] menu ................................................................................................................... 26 5.2.6 [Navigate] menu.............................................................................................................. 26 5.2.7 [Extra] menu ................................................................................................................... 26 5.2.8 [Window] menu ............................................................................................................... 27 5.2.9 [Help] menu .................................................................................................................... 27 5.3 Toolbar of the program window .................................................................................................. 27 5.4 Program settings ........................................................................................................................ 28 5.5 Display and dialog windows ....................................................................................................... 30 5.5.1 System state ................................................................................................................... 30 5.5.2 System information ......................................................................................................... 31

iii


Software package CheckKon – Version 4.2 5.5.3 System parameter .......................................................................................................... 32 5.5.4 Part contour .................................................................................................................... 34 5.5.5 Grey scale line (Checkbox only) ..................................................................................... 39 5.5.6 Live image (SBO...-Q only) ............................................................................................. 42 5.5.7 System documentation ................................................................................................... 45 5.5.8 Print preview ................................................................................................................... 46 5.5.9 Feature graph ................................................................................................................. 47 5.5.10 Part statistic .................................................................................................................... 49 5.5.11 Check program Manager ................................................................................................ 51 5.5.12 Wizards for procedures ................................................................................................... 52 5.6 "Calibration of coordinate transformation" wizard ...................................................................... 52 5.6.1 Overview ......................................................................................................................... 52 5.6.2 Prerequisites for calibration ............................................................................................ 53 5.6.3 Automatic calibration of the coordinate transformation ................................................... 54 5.6.4 Manual calibration of the coordinate transformation ....................................................... 56 5.6.5 "Coordinates of calibration point" dialog window ............................................................ 57 5.7 Colour conventions .................................................................................................................... 58 5.7.1 Colour coding of the conveyed parts............................................................................... 58 6

Data management............................................................................................................................. 59 6.1 The system file ........................................................................................................................... 59 6.2 Importing and exporting data ..................................................................................................... 60 6.2.1 Import ............................................................................................................................. 60 6.2.2 Export ............................................................................................................................. 60

7

Appendix ........................................................................................................................................... 63 7.1 Command line parameters when starting CheckKon ................................................................. 63 7.1.1 Batch file ......................................................................................................................... 63 7.1.2 Shortcut .......................................................................................................................... 63 7.1.3 Parameters ..................................................................................................................... 65 7.1.4 Example .......................................................................................................................... 66 7.2 Detecting and eliminating faults ................................................................................................. 67 7.3 Malfunctioning of the Compact Vision System ........................................................................... 67 7.4 Malfunctioning of the Checkbox ................................................................................................. 68 7.5 Checkbox error messages ......................................................................................................... 69 7.5.1 Peripheral faults .............................................................................................................. 69 7.5.2 Recognition faults ........................................................................................................... 71 7.5.3 Loss of data .................................................................................................................... 71 7.5.4 Hardware faults ............................................................................................................... 72

8

iv

Index .................................................................................................................................................. 73


1

Overview of the CheckKon Help

1.1

Designated use

CheckKon is a Festo AG & Co. KG software package specially developed for devices from the Checkbox series, Checkbox Compact and Compact Vision Systems SBO...-Q. The CheckKon software described in this manual is intended exclusively for the following applications: – Customising the system settings of the devices – Displaying and documenting the test results for parts. The various devices, additional software packages and peripherals to be connected are documented in the respective manuals. Please observe the safety instructions listed in these manuals and ensure that the product is used as designated. Observe the standards specified in the relevant sections, as well as national and local laws and technical regulations.

1.2

Safety instructions Caution Systems which continue to run during the configuration of the device can lead to malfunctions of the device or to damage caused by the system.

• Switch the system off to configure the device.

Caution The operating system and/or the firmware determines the complete functionality of the device. The transmission of an operating system and/or firmware is a system-critical process. Malfunctions or a system failure can occur.

• You must make sure that the new operating system and/or firmware is suited to the connected device.

Note Changing system parameters that impact on image creation can lead to malfunctions due to incorrect process data.

• Carry out a new teach process in full.

Note The device transmits more information in diagnostic mode than in operating mode. The time required for transmission will therefore be longer. No parts will be checked during the transmission period.

• Do not therefore operate the device at the full parts rate in diagnostic mode. In this way you can avoid parts passing through unchecked.

Note CheckKon supports the setting up of the device before the parts check as standard. The connection to the device is no longer required once this has been done.

• Remove the diagnostic cable as soon as you have finished working with CheckKon. In this way you will avoid malfunctions. If, in exceptional cases, the connection between the PC and the devices of the Checkbox series (not Checkbox Compact) is necessary in continuous operation:

• Use galvanic isolation (optocoupler) between the PC and device. Contact Festo service if you have any technical questions.

5


Software package CheckKon – Version 4.2

1.3

Target group

This manual is aimed at users who wish to make changes to or perform diagnoses on the relevant devices using the CheckKon software package. Further information is provided in the manuals listed under "Further manuals".

1.4

Notes on the use of this manual

This manual refers to CheckKon version 4.2. Newer or specially adapted versions may differ slightly in their representation and functioning. The available options and system parameters depend partly on the operating system of the connected device.

1.5

System requirements

The Checkbox configurator is a 32-bit application. The system requirements are: – IBM or IBM-compatible PC – CPU with at least 1.66 GHz – Microsoft® Windows XP SP3 or higher; for Chinese version of CheckKon 4.2: support for the Chinese Windows character set – Screen resolution of at least 1024x768 pixels – A CD-ROM-compatible drive – A mouse or suitable graphical input device – Main memory with at least 1 GB – At least 50 MB of free hard disk space – A free serial interface (RS232) for devices from the Checkbox series and Checkbox Compact – An Ethernet interface for SBO...-Q devices (100 Mbit recommended).

1.6

Service

Contact Festo service if you have any technical problems.

1.7

Scope of delivery of the software package

The CD for the CheckKon software package contains: – the CheckKon setup program, – the SBO-DeviceManager setup program for SBO...-Q, – the corresponding online Help as well as the printable Help as a PDF file. Note The CheckKon and SBO-DeviceManager software packages can be downloaded free of charge from the Internet.

• Contact Festo service if you have any questions.

6


Product-specific terms and abbreviations

1.8

Important user information

1.8.1

Danger categories

This manual contains information on the possible dangers that can occur if the product is not used as designated. This information is marked with a signal word (warning, caution, etc.), placed on a shaded background and additionally marked with a pictogram. A distinction is made between the following danger warnings: Warning ... means that serious injury to people and damage to property can occur if this warning is not heeded. Caution ... means that injury to people and damage to property can occur if this warning is not heeded. Note ... means that damage to property can occur if this warning is not heeded. In addition, the following pictogram marks passages in the text that describe activities involving electrostatically sensitive devices. Electrostatically sensitive devices: Inappropriate handling can result in damage to components.

1.9

Marking special information

1.9.1

Pictograms

The following pictograms mark passages in the text containing special information: Information: Recommendations, tips and references to other sources of information. Accessory: Information on necessary or useful accessories for the Festo product. Environment: Information on the environmentally friendly use of Festo products. Many functions can be executed directly using the buttons in the toolbar. The relevant button will be shown next to the text (e.g. starting CheckOpti).

1.9.2

Text markings

1.

Figures denote activities that must be carried out in the order specified.

Bullets denote activities that may be carried out in any desired order. Hyphens denote general listings.

1.9.3

Conventions

This manual uses different notations to identify different software components: Menu commands are framed in square brackets, e.g. the [New …] command in the [File] menu opens a new system file. Names of windows, dialog windows and buttons such as "Part contour", "System parameter" or "Cancel" as well as designations are shown in inverted commas. Names of keys on the PC keyboard or of operating elements on the devices are represented in upper case letters in the text (e.g. ENTER, CTRL, C, F1, etc.). For some functions you need to press two keys simultaneously. For example, press and hold down the CTRL key and also press the C key. This is represented in the text as CTRL+C.

7


Software package CheckKon – Version 4.2

1.10 Further manuals Further information on using the relevant devices can be found in the following manuals: Type

Title

Contents

Manual

CheckKon Software Package (this document)

Functional description and operating instructions for the CheckKon software package

Manual

Checkbox Manual P.BE-Checkbox-...

Function, commissioning, operation and maintenance of the Checkbox devices: Identbox, Countbox or Sortbox

Manual

Checkbox Compact P.BE-CB-COMP-...

Function, commissioning, operation and maintenance of Checkbox Compact

Electronics manual

Compact Vision System SBO...-Q Manual P.BE-SBO-Q-...

Function, commissioning, operation and maintenance of SBO...-Q devices

Online Help

CheckOpti Software Package

Functional description and operating instructions for the CheckOpti software package

Online Help

SBO-DeviceManager Software Package

Functional description and operating instructions for the SBO-DeviceManager software package

1.11 Product-specific terms and abbreviations

8

Term/abbreviation

Meaning

Bad part

A test part where at least one feature lies outside the tolerance range (teach data).

C value

The C value specifies the variation in the features for the sample parts.

Check process

During the check process, test parts are recorded and categorised according to their features with respect to orientation and observance of the tolerance range (teach data). This is also referred to as "checking parts".

Check program

Related teach data for several part types as well as further settings.

Checkbox, CHB-...

Device from the Checkbox series or Checkbox Compact

Configuration tools

Tools with which additional user-defined features can be created. These are set up with CheckOpti.

Deviation

All parts are compared on the basis of their features with the saved sample parts. The display shows the deviation of the worst feature from the corresponding feature of the permissible tolerance range (teach data) as a percentage.

Device

Any device from the Checkbox series (e.g. Identbox, Countbox, Sortbox), Checkbox Compact or a Compact Vision System SBO...Q.

Feature

Features are ascertained from the data of the sample and test parts. They include e.g. length, height and the features of the configuration tools.

Feature scatter

The value range of a feature ascertained from several parts.

Good part

A test part where all features lie within the tolerance.

Orientation

The parts to be inspected can be facing different directions. During the teach process you define the orientations by showing the different alignments. Orientation 1 is usually the preferred orientation.

Part type

Part defined by means of the teach data of the sample parts.

Sample parts

Parts shown during the teach process.


Product-specific terms and abbreviations Term/abbreviation

Meaning

SBO...-Q

Compact Vision System SBO...-Q

System file

A system file contains all settings and documentation for a device and can be written to and read using CheckKon.

System parameter

System parameters whose settings are made using CheckKon. The system parameters determine the behaviour of the device.

Teach data

All features ascertained during the teach process, each with min./max. limits and the average value of a part type.

Teach process

During the teach process, sample parts are shown to the device. The recorded data is accepted as sample parts and teach data is generated from it. This is also referred to as "teaching parts".

Test parts

Parts shown during the check process.

Tolerance

Factor in percent related to the average values and which has an effect on the min./max. limits of all the features.

Tolerance factor

Factor with which the effect of tolerance on the min./max. limits of an individual feature can be changed.

Uncertainty of orientation

This value indicates the extent to which the recognised test part can reliably be assigned to the taught orientations. Values < 100 indicate minimal uncertainty of orientation. The orientation of the test part is therefore correctly recognised.

9


2

System overview

2.1

Associated devices

The associated devices enable the optical (contactless) orientation and quality checking of test parts. Different variants are available, depending on the requirements. Information on the variants available can be obtained – from a Festo technical consultant, – or on the Internet at http://www.festo.com.

2.2

Software packages for the associated devices

Various software packages are available for user-friendly commissioning, optimisation and monitoring of the devices. Software package

Application

CheckKon

– Displays and modifies the system parameters and system properties. – Displays and evaluates the recorded test parts. – Displays and logs the parts and their features. – Displays the data recorded by the device. – Loads a new operating system in the devices of the Checkbox series and

Checkbox Compact. SBODeviceManager

– Updates firmware or software add-ins for SBO....

CheckOpti

– User-friendly teaching of the sample parts.

– Network settings for SBO....

– Monitors checking of parts, displays recorded features. – Grades the parts check with regard to reliability (evaluation). – Graphically represents the check run (deviation, certainty of orientation). – Adds and sets up configuration tools. – Optimises the parts check by means of manual adaptation of the min./max.

values of the teach data or by means of configuration tools. – Adds and sets up data outputs. – Assists with project planning, administration and documentation. Further software packages and software interfaces for special applications are available on request.

10


System overview

2.3

Scope of functions The software adapts itself automatically to the hardware and software versions of your device. Accordingly, the menus and windows of the CheckKon software may differ from those shown in this documentation.

The supported functions for the respective CheckKon configuration are shown: – System observation Observe, evaluate and log system data and process data. – System modification (only with password) Set the system parameters and transfer the modifications to the device. Additional software wizards and/or programs enable the data to be transferred to the device: – Check program Manager for transferring check programs or teach data. – Operating system update wizard (only for devices from the Checkbox series and Checkbox Compact) for transferring a new operating system/firmware to the device. – SBO-DeviceManager (for SBO...-... only) external program for transferring new firmware or software add-ins and for setting network properties.

2.3.1

CheckKon and CheckOpti

If CheckOpti is installed on your PC, you can start the program directly from the CheckKon menu bar and exchange data between the programs (e.g. check programs via the clipboard).

11


3

Installation and commissioning

Before CheckKon can be used, the software must be installed on the PC. Installation is carried out by means of a setup program. •

Uninstall any earlier versions of CheckKon if necessary. Administrator rights are required to install the software.

• Contact your system administrator if necessary.

3.1 •

Installing CheckKon To install the program, run "Setup CheckKon 4.2 ... .exe". Installation programs for different languages can be found in the "Setup/[Language]/" directory on the installation CD provided by Festo.

Follow the instructions in the installation program. "Next" brings you to the next step, "Back" to the previous step. The installation program guides you through the following steps: 1. Welcome message from the installation program 2. Accepting the license agreement on use of the software 3. Displaying current information on CheckKon (readme) 4. Displaying a recommended installation directory with option to change this directory 5. Starting the installation 6. Notice of successful installation 7. If necessary: restarting the PC When installation is completed, you will find a link for starting CheckKon on the Start menu under [Programs] [Festo Software] [CheckKon 4.2]. If using Windows Vista or later, you may see a message that the software has not been certified by Microsoft or the software author is unknown.

• Accept this message to continue with the installation.

3.2

Uninstalling CheckKon

CheckKon can be uninstalled with the help of the "Software" function in the Windows Control Panel or directly from the Start menu. •

Follow the instructions in your Windows manual. When uninstalling CheckKon, some files may be left in the CheckKon installation directory.

• Delete these files manually if necessary (e.g. using Windows Explorer).

12


Installation and commissioning

3.3

Commissioning Commissioning requires a device that is ready to operate. The PC must be connected to the appropriate interface of the device. CheckKon must already be installed.

3.3.1

Interfaces

Certain interfaces are available for communication with the software packages depending on the device. •

Devices from the Checkbox series and Checkbox Compact have a serial interface.

SBO...-Q devices have an Ethernet interface.

Serial interface - RS232 Use the diagnostic cable KDI-SB202-BU9 to connect the following: Connection on the device

Connection on the PC

Diagnostic interface (X1) on the Checkbox series and/or the diagnostic interface of Checkbox Compact

Serial interface, e.g. COM1

Note Connect the PC and Checkbox with the diagnostic cable as follows: – not twisted, – without bends, – at a sufficient distance from current-carrying cables. You will then avoid transmission faults between the PC and Checkbox.

Note CheckKon supports the setting up of the device before the parts check as standard. The connection to the device is no longer required once this has been done.

• Remove the diagnostic cable from the device as soon as you have finished working with CheckKon. In this way you will avoid malfunctions. If, in exceptional cases, the connection between the PC and the devices of the Checkbox series (not Checkbox Compact) is necessary in continuous operation:

• Use galvanic isolation (optocoupler) between the PC and device. Contact Festo service if you have any technical questions. Ethernet interface Use the following connection options: Connection on the device

Connection via ...

Connection on the PC

Ethernet interface using Ethernet cable SBOAK30E-M12S

Ethernet switch

Ethernet interface

Hub Router Ethernet cross-link connecting cable with coupling --

Ethernet interface with Auto MDI-X support

The Ethernet interface of the PC must correspond to the settings of the Ethernet interface of the device to enable communication. Further information on this can be found in the manual for the device.

13


Software package CheckKon – Version 4.2

3.3.2

Starting CheckKon

Before starting CheckKon, connect the interfaces between the device and PC.

Check whether the device is ready to operate and stopped. Caution Systems which continue to run during the configuration of the device can lead to malfunctions of the device or to damage caused by the system.

• Switch the system off to configure the device. •

Start the CheckKon program via the Windows Start menu [Programs] [Festo Software] [CheckKon 4.2]. You will find information on starting CheckKon using command line parameters in the Appendix.

The program opens the "Welcome to CheckKon" dialog window (Start dialog).

Figure: "Welcome to CheckKon" dialog window •

To observe, analyse and diagnose devices from the Checkbox series or Checkbox Compact, select the connection type "via RS232 interface" by default. – Check "Set connection automatically" so that the program selects the appropriate connection parameters itself.

For SBO...-Q, select the connection type "via Ethernet interface".

Click the "Next >" button to establish the connection.

Click the "Exit" button to close the CheckKon program.

Select the system function and the connection type for the device in the Start dialog. The tables below contain a description of the individual options. System functions System ...

Function

Note

observation

Observe, analyse, diagnose the processes

Standard function

modification

User-friendly adaptation of certain settings via CheckKon, e.g. system parameters

Advanced function

--

Special function

factory settings

– only for experienced users

A password is required here. If required, you can obtain a password for temporary use from the service department of Festo AG & Co. KG. – only for service technicians of

Festo AG &&nbsp;Co. KG A password is required here.

14


Installation and commissioning Type of connection Connect ...

Function

Note

via RS232 interface

Direct connection via diagnostic cable KDI-SB202BU9 to devices with RS232 interface (Checkbox)

Standard setting with the "Set connection automatically" option. If you wish to make the settings for the connection manually, deactivate this option.

via modem

(Remote) maintenance of Checkbox via data transmission (RDT)

Further information on the modem connection can be obtained from the service department of Festo AG & Co. KG.

via Ethernet interface

Connection to devices with Ethernet interface using an SBOA-K30E-M12S cable

The settings of the Ethernet interfaces of the device and the PC must be compatible.

no connection, open file only

Display of a previously saved system file without setting up a connection

Note that modifications to the system parameters are saved only in the opened system file with this setting (no transfer to the device).

3.3.3

Establishing a connection

Select connection type: 1. 2. 3. 4.

Start CheckKon. The Start dialog is displayed. Select the system function "observation" in the "System ..." drop-down box (optional: "modification"). Select the required connection type in the "Connect…" drop-down box. Click "Next" or press ENTER.

Set connection (only with connections via RS232 interface): • or

Check the "Set connection automatically" option

Set the connection parameters manually ( section: Connection parameters).

Connection setup The exchange of data with the device is shown in the status bar of CheckKon by means of a progress bar. Connection setup can take up to a minute depending on the type of connection. If connection setup fails, CheckKon will issue a warning message. Perform the following steps for troubleshooting: 1. 2. 3.

4. 5. 6.

Check the connection to the device and all the components used for it (cables, adapters, etc.). Make sure that the device is switched on and that it is stopped. When using the RS232 or modem connection, check whether the selected interface is already assigned to another program and/or whether the device is already connected to another PC. With SBO...-Q, ensure that the device is not already connected to another user and/or that the settings of the device's Ethernet interface are compatible with those of the PC. Confirm the warning message with "OK". The Start dialog is then displayed again. Click "Next" in the Start dialog to set up the connection again. Adapt the connection parameters, if required.

If no connection was established to the device, repeat steps 1 to 5.

If a communication fault with the device is still shown, start the entire system again (switch off the PC and device and switch back on again). Start CheckKon and repeat connection setup.

15


Software package CheckKon – Version 4.2 Diagnostic and operating mode If connection setup is successful, confirmation will appear automatically:

Figure: "Connection successful" dialog window 1.

Check the "Switch device to Diagnostic mode" box. Note The device transmits more information in diagnostic mode than in operating mode. The time required for transmission will therefore be longer. No parts will be checked during the transmission period.

• Do not therefore operate the device at the full parts rate in diagnostic mode. In this way you can avoid parts passing through unchecked.

While the program is running, you can switch from diagnostic mode to operating mode if required via the [Mode] menu. Use operating mode e.g. if a higher parts rate is required.

2.

Click "OK" or press ENTER to accept your setting. The "System state" window is displayed.

Figure: "System state" dialog window The System state window displays the current state of the device and indicates any fault states that are present. Further properties of the device can be displayed via the [View] [System information] menu.

How to proceed You can now carry out the following functions in CheckKon: – System observation – System modification. If you have already installed the CheckOpti software on your PC, you can start CheckOpti directly from the CheckKon menu bar.

16


Installation and commissioning

3.3.4

Connection parameters

Connections via RS232 interface Only for devices from the Checkbox series and Checkbox Compact. If there are transmission problems with Checkbox, the connection parameters for the data transmission must be set manually. •

Uncheck the "Set connection automatically" option in the Start dialog.

• Click the "Next" button. The "Connection parameter" dialog window is opened. Via the drop-down boxes you can specify the connection parameters independently of each other or keep the setting "automatic".

Figure: "Connection parameter" dialog window for RS232 interface Connection parameter Connect with

Here you select the serial interface

Speed

Here you specify the baud rate

Time out (s)

Here you set the maximum waiting time for interruptions during data transmission

Select the interface via which your personal computer is connected to the Checkbox.

Select the baud rate in characters per second to which your Checkbox is set (usually 9600 baud).

Select the maximum waiting time (in seconds) within which a reply is expected from the Checkbox (normally 2 s).

Click the "Next >" button to establish the connection.

Click the "Cancel" button to return to the "Start CheckKon" dialog window.

Connection via modem (remote maintenance) Connection via modem is only possible for devices from the Checkbox series and Checkbox Compact.

• Contact Festo service.

17


Software package CheckKon – Version 4.2 Connection via Ethernet interface for SBO...-Q

Figure: "Connection parameter" dialog window for Ethernet interface The "IP address of device" displays the data for the most recently selected device: – Device name – IP address – MAC address. In the drop-down list you will find data for devices that are already known. •

Enter an IP address or alternatively the host name (DNS name) of the device, if this is known to you, directly into the edit field of the drop-down list.

Click the "Search ..." button to search for the camera in the local network. The "Device search" dialog appears on the screen.

Click the "Next" button. The data displayed in the drop-down list is used for the connection. If the Windows firewall on the PC is active, a dialog with a message that the program was blocked from accessing the network will appear the first time that CheckKon is used.

Figure: Firewall setting in the Windows 7 firewall for CheckKon 4.2 •

For reliable communication between CheckKon and Compact Vision Systems, check all the options.

Contact your system administrator if necessary.

18


Installation and commissioning "Device search" dialog A device search is performed when this dialog is opened. Once the search process has completed, a list of the devices found is displayed.

Figure: "Device search" dialog window – –

Entries with a green light can be selected for the connection. Entries with a red light cannot be used for the connection. Information will be provided as to why the connection is not possible.

To find cameras, a multicast search is conducted in the local network. •

Select a camera by double-clicking or click the "Next >" button.

Click "Cancel" to return to the "Connection parameter" dialog.

3.3.5

Commissioning the device

The basic procedure for commissioning a device is broken down into the following steps. 1. 2. 3. 4. 5.

Mechanical and electrical installation of the device. Setting of the system parameters for image recording with CheckKon. Setting of the pre-processing (only with SBO...-Q) with CheckKon. Setting of the remaining system parameters with CheckKon. Creation of a check program or teach data with the device or with CheckOpti. For the correct re-use of all settings (system parameters, pre-processing, etc.): 1. Document your project with detailed comments. 2. Save all settings in a system file.

Detailed information on commissioning is provided in the device manuals. Detailed information on the creation of check programs/teach data is provided in the CheckOpti manual. Further information is available from the service department of Festo AG & Co. KG.

19


Software package CheckKon – Version 4.2

3.3.6

Operating system or firmware update Caution The operating system and/or the firmware determines the complete functionality of the device. The transmission of an operating system and/or firmware is a system-critical process. Malfunctions or a system failure can occur.

• You must make sure that the new operating system is suited to the type and design of the connected device. 1. 2. 3.

Have the new operating system file or the new firmware ready. Start CheckKon. Click the [Transfer operating system / firmware] command in the [Action] menu. Note With SBO...-Q, the SBO-DeviceManager program is started and CheckKon is closed.

• Make sure that your CheckKon system file is saved. • You will find further information on establishing the connection in the manual for the SBODeviceManager. 4.

20

Always follow the instructions of the wizard.


4

General operating instructions

4.1

Using country-specific special characters

CheckKon 4.2 supports the use of country-specific special characters as appropriate to the language of the Windows operating system used. Note â&#x20AC;&#x201C; Do not use any country-specific special characters (e.g. Chinese characters) in texts when

configuring the system. This ensures that the texts will always be correctly displayed in different language versions. Country-specific special characters are not always saved correctly in Compact Vision Systems and in system files (*.sbs) since they cannot always be displayed using the PC's character set (ASCII table). Problems occur in particular if data is exchanged between Windows operating systems with different languages. If that happens, question marks "?" will be saved instead of the special character or characters will be left out. The question marks will only be displayed after the data is loaded again.

21


5

CheckKon program interface

5.1

CheckKon program window

The arrangement and operation of the CheckKon window correspond to the general Windows conventions for user programs. The following sections contain a summary of the most important display and dialog windows in CheckKon. If the connection to the device has been successfully established or the system file has been loaded, the Welcome dialog will be closed and the main window displayed. Note If all display windows in the CheckKon program window are closed, the connection to the device is cleared and CheckKon displays the Welcome dialog for a new connection.

Figure: CheckKon program window The most important elements of the main window are: Title bar indicating the name of the current system file

22


CheckKon program interface Menu commands for selecting the program functions Figure: CheckKon menu bar Toolbar for fast access to important or frequently required functions, e.g. Starting CheckOpti

Figure: CheckKon toolbar Status bar for displaying operating instructions, etc. Figure: CheckKon status bar Window in the working area for displaying the system state, system parameters and part contour.

5.2

Menu commands of the program window

5.2.1

[File] menu

Command

Keyboard command

Button

Function

[New]

CTRL+N

Creates a new system file or starts the connection to the device. The current system file will be closed after a request to save.

[Open]

CTRL+O

Opens a saved system file; if there is a connection established, permits synchronisation of the system data and transfer of the file contents to the device.

[Save]

CTRL+S

Saves the current system file. If the system file is being saved for the first time, the "Save As" dialog window will appear so that you can enter a name.

[Save As]

Saves the current system file. Enter a new name in the "Save As" dialog window.

[Import]

Opens the "Import" dialog window where you can select the desired data type. Then select the desired file in the "Open" dialog window. Data from e.g. CheckOpti projects can be imported in this way.

[Export]

Opens the "Export" dialog window where you can select the desired data type. Enter a file name in the "Save As" dialog window.

[Print Setup]

Opens the standard "Set up printer" dialog window.

[Print Preview]

Opens a window in which a print preview of the previously active window is displayed.

23


Software package CheckKon â&#x20AC;&#x201C; Version 4.2 Command

Keyboard command

[Print]

CTRL+P

Button

Function Prints information on the current window. Check the settings in the "Print" dialog window and start printing with "OK".

[1 ...] [2 ...] [3 ...] [4 ...]

Most recently used CheckKon system files (max. 4) that are displayed as menu commands and can be opened directly by clicking them with the mouse.

[Exit]

Exits CheckKon.

5.2.2

[Edit] menu

Command

Keyboard command

Function

[Cut]

CTRL+X

Deletes the element selected in the current window and stores it on the clipboard.

[Copy]

CTRL+C

Copies the element selected in the current window.

[Paste]

CTRL+V

Pastes the contents of the clipboard at the selected position in the current window.

[Delete]

Del

Deletes the element selected in the current window.

[Copy all parts to clipboard]

Copies all parts in the parts buffer of the current view (test parts/sample parts) to the clipboard. Use this option e.g. to insert these test parts/sample parts back into CheckOpti.

[Delete all parts]

Deletes all parts in the parts buffer of the current view (test parts/sample parts).

[Edit comment]

5.2.3

CTRL+E

If a "Part contour" window is active, this opens a dialog window where a comment can be entered for the current part.

[View] menu

Command

Keyboard command

[System state]

ALT+S

Shows the System state window.

[System information]

ALT+Y

Shows the System information window.

[System parameter]

ALT+P

Shows the System parameter window.

[Part contour]

ALT+K

Shows the Part contour window.

[Grey scale line]

ALT+L

Shows the Grey scale line window. (Only with Checkbox series and Checkbox Compact.)

[Live image]

ALT+I

Shows the Live image window. (Only with SBO...-Q.)

[System documentation]

ALT+O

Shows the System documentation window.

[Feature graph]

ALT+G

Shows the Feature graph window.

24

Button

Function


CheckKon program interface

[Part statistics]

ALT+T

Shows the Parts statistic window.

[Check program manager]

ALT+M

Shows the Check program Manager window.

5.2.4

[Action] menu

Command

Keyboard command

Button

Function

[Disconnect from device temporarily]

CheckKon temporarily disconnects from the device so that another user/other software can access the device. The "The program is in stand-by mode" dialog window containing the following buttons appears: OK: Starts the attempt to re-establish the connection to the device. Cancel: Ends stand-by mode; the connection to the device will not be re-established.

[Record received parts to file]

Opens the corresponding dialog for logging multiple parts directly to a file.

[Download parts recorded in device] *)

If parts were recorded in the connected device in recording mode, these can be dumped to the parts buffer of CheckKon.

[Delete parts recorded in device]*)

Deletes the parts in the device that were recorded in recording mode.

[Send trigger signal / create part(s)] *)

F5

Activates simulation of a trigger signal on the connected device. (Not in the "Fixed framerate" evaluation mode.)

[Send error acknowledge]*)

Activates simulation of an error acknowledgement signal on the connected device.

[Send accept check program signal] *)

Activates simulation of an accept check program signal on the connected device.

[Calibration of coordinate transformation]*)

Starts the wizard for calibration of the coordinate transformation.

[Transfer operating system / firmware]

With Checkbox: opens the wizard for transferring a new operating system. With SBO...-Q: opens the SBO-DeviceManager for transferring new firmware - CheckKon is closed.

[Change network settings] *)

Opens the SBO-Device Manager for editing the device's network settings - CheckKon is closed.

[Start CheckOpti]

ALT+C

[Change system function (user level)]

Starts the CheckOpti software package (provided this is installed on the PC). Allows the user to change the current system function (observation, modification, etc.).

*) Only with SBO...-Q.

25


Software package CheckKon â&#x20AC;&#x201C; Version 4.2

5.2.5

[Mode] menu

Command

Button

Function

[Operating mode]

In operating mode, the device simply transfers the most elementary data of the recorded sample parts or test parts. Images or features of the parts are not transferred.

[Diagnostic mode]

In diagnostic mode, the device transfers extensive data on the recorded sample parts or test parts. In diagnostic mode, the Part contour window displays images of the sample or test parts, a list of the ascertained features and their evaluation in the right-hand area.

[Record parts without contour images]

Switches off the transfer of contour images in diagnostic mode.

[Record parts without camera images]

Switches off the transfer of grey scale or colour images in diagnostic mode (only with SBO...-Q).

5.2.6

[Navigate] menu

Command

Keyboard command

[Switch between teach and test data]

CTRL+U

[Switch between contour and camera image]

Button

Function Switches from display of sample parts to test parts and back. Switches from display of contour images to camera images and back (only with SBO...-Q).

[Previous Part]

Arrow left

Switches to the previous part.

[Next Part]

Arrow right

Switches to the next part.

[Goto Part No.]

CTRL+G

Opens a dialog window in the "Part contour" window where the number of a part to be shown can be entered.

[10 Parts back]

Pos 1

Switches 10 parts back.

[10 Parts forward]

End

Switches 10 parts forward.

5.2.7

[Extra] menu

Command

Function

[Settings]

Opens the "Settings" dialog window where global settings for CheckKon are made.

26


CheckKon program interface

5.2.8

[Window] menu

Command

Function

[Cascade Windows]

Cascades the open windows in CheckKon.

[Tile Windows]

Tiles the minimised windows in CheckKon.

[1 ...] [2 ...] etc.

Shows one of the windows open in CheckKon in each case.

5.2.9

[Help] menu

Command

Function

[Help Topics]

Opens the online Help for CheckKon.

[About CheckKon]

Shows information on the current program version of CheckKon.

5.3

Toolbar of the program window

The toolbar of the CheckKon program window is assigned as follows:

1 2 3 4 5 6 7 8 9 Figure: Toolbar of the program window 1. 2. 3. 4. 5. 6. 7. 8. 9.

10 11 12 13 14

Create new system file Open system file Save system file Print contents of active window (not in all windows) Activate "System state" window Activate "System information" window Activate "System parameter" window Activate "Part contour" window Activate "Grey scale line" window

15 16

17

18

10. Activate "Live image" window 11. Activate "System documentation" window 12. Activate "Feature graph" window 13. Activate "Part statistic" window 14. Activate "Check program Manager" dialog window 15. Switch transfer of contour images on and off 16. Switch transfer of camera images on and off 17. Start CheckOpti 18. Activate context-sensitive Help

27


Software package CheckKon â&#x20AC;&#x201C; Version 4.2

5.4

Program settings

[Extra] [Settings]

Global settings for CheckKon are made in the "Settings" dialog window.

Figure: "Settings" dialog window Setting

Effect

Parts buffer and parts reception Max. size of parts buffer

Maximum number of sample or test parts. The contents of the parts buffer can be displayed in the "Part contour" window. All parts in the parts buffer are stored in the system file. A large parts buffer can therefore lead to large system files.

When limit of parts buffer is reached

As soon as the entered capacity of the parts buffer is reached, one of the four selectable actions is carried out.

When new part is received

Received parts are immediately displayed in the "Part contour" window. Use signal tone : During learning/checking, received parts can be acoustically signalled.

Store parts in parts buffer

Received parts are only stored in the parts buffer if the associated parts category (sample part, good part, bad part) is selected. Otherwise the received part will be deleted. This setting has no effect on the parts already received that are already in the parts buffer.

28


CheckKon program interface Setting

Effect

Diverse Reload system parameter automatically if changed on device

A message is sent to CheckKon if system parameters are changed on the device. If the change was not caused by CheckKon itself (e.g. change via telnet function), then all system parameters will be automatically transferred from the device to CheckKon.

Notify about communication problems and try to reconnect

If communication problems occur when there is a connection active, this connection will be automatically cleared. An attempt will then be made to reconnect.

Clear

Clears the list of known devices which have already been used via the Ethernet interface.

Path to CheckOpti

In order to start CheckOpti via the menu or via the CheckKon toolbar, you must enter the program path to CheckOpti here.

Display in window "Part contour" Display flagword and string offsets 1)

If this option is checked, the associated flagword or string offsets for the entries in the "Test part results" area and in the features list are displayed in the "Part contour" window. This makes using programs such as EasyIP, Telnet, etc. easier.

Display coordinate systems in world coordinates

The mouse position and coordinate grid are displayed in world coordinates in the "Part contour" window. The world coordinates are calculated from the coordinate transformation defined in the project. This display is particularly useful if the check program uses automatic coordinate transformation or the Coordinate transformation tool.

Display of 'CST CheckKon (Viewer)'

If this option is checked, the feature list will be reduced to those features selected in the check program with the data output "CheckKon (Viewer)". These features will also be displayed graphically in the image region of the window. The method of display is dependent on the test results and the lower-level settings (e.g. display only bad features graphically). This display can also be switched using the "Show CheckKon (Viewer) features" button in the toolbar of the "Part contour" window.

– Display bad features

Requirements that a feature has to meet for the graphical display belonging to the feature to be output in the "Part contour" window.

graphically – Display good features

graphically – Display selected

feature graphically – Size of graphical

display (min./max.)

– Reduced graphical

display (no values, text, etc.)

The size of displayed texts and the line thickness of the graphical feature display in the "Part contour" window can be adjusted using the slider. This enables you to adapt the display e.g. in accordance with the screen resolution. If this option is checked, tool regions and tool names as well as result values (text, number) will be hidden. This improves the legibility of the graphical display in the "Part contour" window if there are multiple features lying close together or on top of each other.

1) Only with SBO...-Q

29


Software package CheckKon – Version 4.2

5.5

Display and dialog windows

5.5.1

System state

The "System state" window displays the current state of the device and provides information on error states in the device. A displayed error can be acknowledged via the "Acknowledge" button. The information displayed depends on the device and can deviate from the image below.

• Click the adjacent icon in the toolbar of the program window to open the "System state" window.

Figure: "System state" window It contains general information about: – the operating mode - TEACH, SELECT, AUTO, PLC test, live image, – the mode - diagnostic, operating, – the device state - error messages, etc. The additional information displayed depends on the connected device ... – For devices from the Checkbox series and for Checkbox Compact: – the current part type and memory group (type bank), – the set tolerance, – the counter type and counter reading (Sortbox, Countbox), – adherence to the orientation (Sortbox, Countbox). – For SBO...-Q: – the check program number of the currently selected check program, – the name of the currently selected check program, – the current evaluation mode, – the execution of pre-processing and creation of contour images, – the current selection of the transferred parts data: - features - features with contour - features, contour and camera image – the transfer of the live image and selection of the images to be transferred: - C = camera image - 1 = pre-processing 1 - 2 = pre-processing 2 - 3 = pre-processing 3 – the parts recorded in the device for transfer to CheckKon (menu command [Download parts recorded in device] in the [Action] menu). Further properties of the device can be displayed via the [View] [System information] menu.

30


CheckKon program interface

5.5.2

System information

The "System information" window contains further information on the connected device or the device used in the system file.

• Click the adjacent icon in the toolbar of the program window to open the "System information" window.

Figure: "System information" dialog window The data displayed in the system information depends on the device type and the operating system/firmware used and can deviate from the image shown. – Properties and versions – Hardware and software components – Camera version – Memory capacity With SBO...-Q, license information for the device firmware can be displayed.

• Click the "Show license text" button. • Navigate in the display of the license information with the help of the context menu. A connection to the device must be active and the proxy settings of your operating system must be deactivated ( Windows Control Panel or Internet Explorer under Internet Options/Connections/Settings).

31


Software package CheckKon – Version 4.2

5.5.3

System parameter

The system parameters of the connected device are shown in this window. These vary depending on the firmware used.

• Click the adjacent icon in the toolbar of the program window to open the "System parameter" window.

• Click the adjacent icon in the "System parameter" window to open the "System parameter Help" window. Here you will find the description of the system parameters.

Figure: "System parameter" window Toolbar of the "System parameter" window Command

Function Clicking the "Open tree" icon shows all system parameters as an open tree. Clicking the "Close tree" icon shows only the main paths of the system parameters. Clicking the "Only important parameters" icon reduces the tree to the most important system parameters. Clicking this icon immediately transfers system parameters that have changed on the device to CheckKon and displays them. System parameter Help display on/off. Displays a description of the selected system parameter. Skips to the most recently displayed system parameter. Skips to the next system parameter already displayed. Prints the currently displayed page.

32


CheckKon program interface Status bar of the "System parameter" window Shows the controller/protocol that resulted in the change to a system parameter. Contents of the "System parameter" window Coding of the parameter setting in the "System parameter" window Symbol

Meaning Clicking the plus sign opens the relevant path. Clicking the minus sign closes the relevant path. Executes a command. Under certain circumstances, you will receive help from a wizard that will guide you through the process. Parameter can be switched with a double click. System parameter can be modified by entry. Executes a value query. System parameters cannot be changed in the current system function (level).

Context menu •

Right-click (Windows standard) the system parameters to activate the context menu.

Command

Function

[Edit value]

Permits editing of the selected system parameter.

[Set default value]

Sets the selected system parameter to its default value.

[Copy as image to clipboard]

Copies the displayed content of the window to the clipboard as a bitmap.

[Save as image to file]

Copies the displayed content of the window to a bitmap file (*.bmp).

A password is required to make changes to most system parameters. If necessary, you can obtain a (temporary) password from the service department of Festo AG & Co. KG. If there is no system parameter Help available for a system parameter, you can request the most recent system parameter Help from the service department of Festo AG & Co. KG.

Notes Changing system parameters that impact on image creation can lead to malfunctions due to incorrect process data.

• Carry out a new teach process in full. With SBO...-Q-R3.., changed system parameters that impact on image creation may only be accepted or visible with the next image but one. • If using SBO...-Q-R3.., always create an additional (unused) image after you change parameters of this type.

A password is required to make changes to most system parameters. If necessary, you can obtain a (temporary) password from the service department of Festo AG & Co. KG.

33


Software package CheckKon – Version 4.2

5.5.4

Part contour The "Part contour" window ([View] [Part contour]) displays the following recorded using the target device: – Contour image (with CHB) or – Camera image (with SBO...-Q) - Grey scale image with SBO...-Q-R...B or - Colour image with SBO...-Q-R...C. It also displays the following for the current sample or test part: – Results and information – Features.

Transmission of the parts data can change the runtime performance of the device.

• Reduce the number of parts per minute. • Wait until the data has been transmitted completely before recording a new part. In this way you can prevent unchecked parts from being delivered incorrectly.

Figure: "Part contour" window Information on the displayed part

Colour coding (only with test parts): test part good (green) or bad (red)

Feature list of the current part

Status bar

Images of the part

The axis label shows the position of the image pixels along the X and Y axes. – The axis labels are hidden when the image is displayed in world coordinates. – The mouse pointer position (coordinates) is displayed in the status bar when the mouse pointer is in the image region.

34


CheckKon program interface Toolbar of the "Part contour" window Command

Button

Function

Send trigger signal / create part

This button activates a simulation of a trigger signal on the connected device (SBO...-Q only). This starts a new evaluation (not in the "Fixed framerate" evaluation mode).

Navigation

These buttons allow you to switch between the parts in the parts buffer. The number of saved parts is limited according to the presetting.

Comment

Opens a text window.

• Enter a suitable comment here for the part displayed. This comment is displayed in the "Info" status line. Delete

Deletes the displayed part or all parts from the relevant parts buffer.

Switch

Switches from sample part to test part and back.

Switch between contour image and camera image

Clicking this button allows you to switch between displaying the contour image and the camera image, as long as the image data is available. The camera image displays the picture taken of the part in grey scales or colour, before it is converted to the contour image.

Zoom

Activates the "Zoom" tool.

• Left-click to enlarge and right-click to reduce the contour image. Change aspect ratio / zoom factor

CHB: Moving the slider changes the scale of the display along the X axis. This improves the display of distorted images. SBO...-Q: Moving the slider changes the zoom factor. This enables the image to be enlarged or reduced.

Display received parts automatically

Received parts are immediately displayed in the "Part contour" window when this button is clicked.

Show world coordinates

The mouse position and coordinate grid are displayed in world coordinates when this button is clicked. The world coordinates are calculated from the coordinate transformation calculated in the device.

Show 'CheckKon (Viewer)' features

Clicking this button – reduces the feature list to those features selected in the check program with the data output "CheckKon (Viewer)", – extends the graphical display. The features in the part image are displayed as appropriate to the setting in the "Settings" dialog window.

Transfer contour / camera images

You can use these buttons to switch off the transfer of the corresponding data. This enables faster processing by the device.

If you have installed a PC mouse with a scroll wheel, you can zoom the contour images or camera images.

35


Software package CheckKon – Version 4.2 Status bar of the "Part contour" display window Status bar

Contents Coordinates of the mouse in the image with colour or grey scale value Part number in the CheckKon parts buffer Details of the part type and orientation, for SBO devices the number of the check program is also provided Additional information

Division of the "Part contour" display window Window part

Contents

Left-hand

Contour image of the part or camera image of the part.

Top right

Results and information on the sample part/test part, decision about quality, type and orientation, etc.

Bottom right

Information on the features (feature value, deviation, etc.).

The provision of this data on the sample or test parts is dependent on the device, the operating mode and further conditions. Results for sample or test parts Results for the selected sample or test part are displayed in the top right part of the window: Result

Meaning

Type

Specified or detected part type.

Orientation

Specified or detected orientation.

Deviation

Deviation with colour coding: good (green) or bad (red).

1)

Orient. uncert.

Evaluation of the detected orientation.

Tolerance

Specified tolerance for test parts.

2)

I/O access

Shows the outputs set by an "I/O access" tool in the check program (only if the system parameters are set appropriately). The character "-" appears if no outputs are set. – Internal outputs of the camera and outputs of the I/O expansion are differentiated using the following extensions (e.g. "Int. O0:= 1 O4:= 1 Ext. CP O1:=1").

Data outputs

Shows the data outputs used in the check program. The character "-" appears if no data outputs are used. The communication name or the communication ID of the data outputs (e.g. "RPD") appears. – A tilde character "~" after the data output means that the "Automatic data output (streaming)" option is enabled for this data output.

Record no.

Number of the recording in the device.

Recorded on

Date and time of the recording in the device.

Processing time [ms]

Processing time for one test part (in milliseconds).

Check program no.

Number of the active check program.

Check program name

Name of the active check program.

1) Only with test parts

36


CheckKon program interface Features of the current part (sample or test part) The table in the bottom right part of the window (feature list) contains the features of the sample or test part. Column

Meaning

Info

Number of the feature, with symbols to indicate the properties of the respective feature (see below).

Feature

Name of the feature.

Value

Feature value with unit, e.g. [pixels]. Text features are represented with "..".

Value (trans.) 1)

Feature value (transformed) or alternative feature value. The display must be switched to "world coordinates" to show transformed feature values ( Toolbar of the "Part contour" window).

Scatter 2)

Feature scatter.

Dev.

Feature deviation.

3)

Tol.

Tolerance feature of the feature if there is a deviation from the overall tolerance (only if tolerance factor is not 1.0).

Duration[ms]

Processing time of the tool (displayed in the row of the tool's first feature)

FW / STR

Flagword and string offset: address of the feature in the device (if the display is enabled in the Settings dialog box).

1) Only with projects with automatic coordinate transformation 2) Only with sample parts 3) Only with test parts Symbols in the "Part contour" window Symbols with sample parts 1)

1)

1)

Meaning

Dark green "T"

Feature is used to determine the value range in the teach data.

Red "T"

Feature is not used to determine the value range in the teach data because the part is ignored during the teach process.

Blank dot with V

Feature is invalid (with projects without quality check).

"D" on yellow background

Feature is not used for quality decision (check disabled).

"M" on yellow background

Feature has no influence on the value range in the teach data because this is assigned manually by the user. – M: without write protection – F: with write protection

"F" on yellow background

1) The V index beside the symbol means that it was not possible to calculate a result for the feature, i.e. it is invalid. This information is taken into consideration in the teach data.

37


Software package CheckKon – Version 4.2 Symbols with test parts

Meaning

Green dot

Feature with good result, feature deviation max. ±50.

Green dot with V

Feature is invalid (it was not possible to ascertain a result). The specifications of the teach data with respect to feature validity do, however, evaluate this as a good result.

Red dot with V

The result of the feature does not match the specifications of the teach data with respect to feature validity. This leads to a bad result.

Blank dot with V

Feature is invalid (with projects without quality check).

Green arrow

Feature with permissible result, feature deviation max. ±98.

Yellow arrow

Feature at tolerance limit, feature deviation max. ±100.

Red arrow

Feature with bad result, feature deviation more than ±100.

"D" on yellow background

Feature is not used for quality decision (check disabled).

Status bar Display

Contents

Position of the mouse cursor

With display in "image coordinates": – The position of the mouse cursor over the image point is shown as X and Y coordinates in pixels relative to the lower left corner of the image. With display in "world coordinates": – The position of the mouse cursor over the image point is shown as X and Y coordinates in world coordinates. The position is calculated using the device's coordinate transformation data.

Brightness

Representation of the brightness value for the image point underneath the mouse cursor.

Colour value (only with colour images)

Representation of the colour value as a H component for the image point underneath the mouse cursor. Representation of the colour value as an RGB value for the image point underneath the mouse cursor.

Type

Representation of the part type (only with "Project with type separation" = active).

Orientation

Representation of the orientation (only with "Project with orientation separation" = active).

Context menu of the "Part contour" or "Camera image" window part Command

Function

[Switch between sample or test parts]

Switches between the views of sample and test parts.

[Switch between contour and camera image]

Switches between contour image and camera image.

[Copy displayed part to clipboard CTRL+C]

Copies the data of the displayed sample or test part to the clipboard.

[Paste parts from clipboard CTRL+V]

Pastes the data of a sample or test part from the clipboard.

[Delete displayed part DEL]

Deletes the data of the sample or test part displayed.

38


CheckKon program interface Command

Function

[Edit comment CTRL+L]

Enables the input of additional information on the sample or test part. This information is displayed in the "Info" status line.

[Copy all parts to clipboard]

Copies the data of all sample or test parts to the clipboard.

[Delete all parts]

Deletes the data of all sample or test parts.

[Add reference point from cursor ALT+R]

Additional markings can be defined and displayed in the "Part contour" window and in the "Live image" window for the display. These are helpful e.g. when replacing the camera. The reference points are also saved in the system file.

[Delete reference points]

Deletes all markings.

[Copy image to clipboard]

Copies the displayed image to the clipboard as a bitmap.

[Save image as file]

Copies the displayed image to a bitmap file (*.bmp).

Context menu of the "Features" window part Command

Function

[Copy image to clipboard]

Copies the displayed content of the window to the clipboard as a bitmap.

[Save image as file]

Copies the displayed content of the window to a bitmap file (*.bmp).

5.5.5

Grey scale line (Checkbox only)

You set the viewing area of the line camera and the grey scale threshold in the "Grey scale line" window. The grey scale line also supports fault analysis, e.g. with: – contamination, – incorrect setting of the lens, – incorrect setting of the lighting.

• Click the adjacent icon in the toolbar of the program window to open the "Grey scale line" window. By recording the grey scale line, you can obtain a grey scale curve for the entire area of the line camera. Each element (pixel) of the camera line then delivers a brightness value: – dark/black indicates "object" (to the left of the grey scale threshold), – bright/white indicates "background" (to the right of the grey scale threshold). The grey scale threshold determines the light intensity above which a shadow is interpreted as a part contour or as a background. At the upper and lower edge of the grey scale line you get dark values (these are inherent in the design), while the maximum brightness is achieved in the centre area due to the unrestricted light effect of the light unit. The active viewing area is specified by the upper and lower limits. Elements of the camera line that lie outside the viewing area do not form part of the image. These areas are hidden when the upper and lower limits of the viewing area are set. For example, this allows the shadow of the conveyor belt to be excluded from the image. Only the combination of the shadow to the left of the grey scale threshold and the shadow in the active viewing area produces a part contour.

39


Software package CheckKon – Version 4.2 This window shows the grey scale line of the devices with line sensor.

Figure: "Grey scale line" window Control elements in the "Grey scale line" window Command Start recording

Button

Function With this button you can set CheckKon to ready to record.

• Press the START button of the Checkbox to record the grey scale line. End recording

• Next, press the STOP button of the Checkbox. This button ends the recording of the grey scale line (only active after recording has started).

Save

This button adds the current line to the system file. This always applies to only one individual grey scale line.

Show

Shows the saved grey scale curve.

Switch

Switches image display between single rows and multiple rows.

Comment

Allows you to edit the comment for the grey scale line.

Apply

Accepts settings, transfers grey scale threshold and viewing area limits to the Checkbox.

40


CheckKon program interface Setting the viewing area limits and the grey scale thresholds This system parameter setting can only be modified by entering a password.

System parameter

Representation

Total viewing area &endash; lower limit

Blue horizontal line

Total viewing area &endash; upper limit

Green horizontal line

Grey scale threshold

Red vertical line

Click the end markings of the colour lines in the "Grey scale line" window.

• Hold the mouse key to drag the lines to the desired position. or •

Double-click the end markings of the colour lines. A dialog box where you can input numerical values opens. Alternatively, you can also enter the exact numerical values in the "System parameter" window. 1. Open the "System parameter" window. 2. Enter the numerical values under [Camera and image].

Set the lower and the upper viewing area limits and the grey scale threshold one after the other. Lower limit

Set the lower limit (blue horizontal line) so that it runs just above the shadow of the conveyor belt. No part may lie between the lighting and the camera. On the display you can observe the effect of the lighting and the shadow of the conveyor belt in the grey scale line.

Upper limit

Place a conveyed part between the lighting and the camera so that the highest point of the part lies directly in front of the camera. The grey scale line now shows the shadow created by the part. Set the upper viewing area limit (green horizontal line) so that it runs above the shadow of the conveyed part.

Grey scale threshold

Set the grey scale threshold (red vertical line) so that it runs to the right of the light intensity of the part shadow and to the left of the light intensity with full lighting (without a part between the lighting and the camera).

Starting recording

• Set CheckKon to ready to record by clicking the adjacent button. • Press the START button of the Checkbox. Ending recording

• Press the STOP button of the Checkbox. • End recording of the grey scale line by clicking the adjacent button.

41


Software package CheckKon – Version 4.2 Data transmission to the Checkbox If the grey scale threshold or the limits of the viewing area have been modified, the new settings can be applied by the Checkbox. 1. 2.

Transfer the newly set values for the grey scale threshold and the viewing area to the system parameters of the connected Checkbox by clicking the adjacent button. Repeat the teach process with the new settings.

Saving the grey scale line The grey scale line can be saved by clicking the "Save" button. This function enables a comparison to be made between two different grey scale lines. When it is saved, the current grey scale line is added to the system file. A saved grey scale line can be shown by clicking the "Show" button.

5.5.6

Live image (SBO...-Q only)

This window displays camera images and images of the pre-processing steps. The functions for image creation and pre-processing can also be configured here. These vary depending on the device and the firmware used. The settings for the image-based trigger are also made here.

• Click the adjacent icon in the toolbar of the program window to open the "Live image" window. No parts are checked by the device during the recording of live images. Recording of the live images is automatically stopped as soon as the "Live image" window is closed or by activating another window in the background.

Figure: "Live image" window Live image window – Left: camera image and pre-processing 1 ... 3 – Right: control list The viewing area can be set using the mouse in the "Camera image". The device then only evaluates the viewing area range. The smaller the range selected, the shorter the processing time. •

Select the viewing area range such that the part to be checked is always inside the range.

Make sure that unused image areas are kept to a minimum.

42


CheckKon program interface In "Free run" evaluation mode and if the image-based trigger is activated, the trigger area range can be set using the mouse within the viewing area range. The image-based trigger is initiated depending on the other settings in the control list. â&#x20AC;˘

Select the trigger area range so that the image information for initiating the trigger is always within it.

â&#x20AC;˘

Make sure here too that unused image areas are kept to a minimum.

System parameters that impact the creation of the camera image and pre-processing can be set with the help of the elements in the control list. The purpose of the settings is to model the test part properties that are to be measured such that they can be reliably detected and checked on the basis of the check features. These check features are generally calculated using the pre-processing image 3, whereby the check part is interpreted as a black object and the background is shown in white. The setting options available depend on the device and the firmware used.

â&#x20AC;˘ Click the adjacent icon in the toolbar of the "Live image" window to display the Help for the pre-processing functions and setting options. Control elements of the "Live image" window Command

Button

Function

Start

Starts recording of the live images.

Stop

Ends recording of the live images. Closing or deactivating the "Live image" window automatically ends recording.

Save

Saves the recorded live images.

Display

Switches between live images and saved images.

Show

Shows the pre-selected images (camera image, preprocessing 1 ... 3).

Zoom

Activates the "Zoom" tool. You can enlarge the camera image by left-clicking it and reduce it by right-clicking.

Comment

Allows you to edit the comment.

Control list Help

Enables the display of a description for the entries in the control list over which the mouse pointer is moved.

43


Software package CheckKon â&#x20AC;&#x201C; Version 4.2 Context menu Command

Function

[Record CTRL+R]

Starts recording of the live images.

[Stop CTRL+T]

Ends recording of the live images. Closing the "Live image" window automatically ends recording.

[Save CTRL+E]

Saves the recorded live images.

[Show live or stored images]

Switches between live images and saved images.

[Show camera image]

Shows the respective image.

[Show pre-processing image 1] [Show pre-processing image 2] [Show pre-processing image 3] [Zoom]

Enables the zoom setting for the images.

[Edit comment]

Allows you to edit a comment for the image.

[Add reference point from cursor ALT+R]

Additional markings can be defined and displayed in the "Part contour" window and in the "Live image" window for the display. These markings are helpful e.g. when replacing the camera. The reference points are also saved in the system file.

[Delete reference points]

Deletes additional markings.

[Copy image to clipboard]

Copies the displayed image to the clipboard as a bitmap.

[Save image as file]

Copies the displayed image to a bitmap file (*.bmp).

44


CheckKon program interface

5.5.7

System documentation

In the "System documentation" window you can describe the content of the current system or your customer project. Three tabs are provided for this. â&#x20AC;˘

Click the adjacent icon in the toolbar of the program window to open the "System documentation" window.

Here you can enter information in order to simplify the assignment of your projects and data at a later stage. Under "Additional file" you can also make reference to any file (enter name and path), e.g. a text file with detailed information.

Figure: "System documentation" window Tab

Contents

Project

General information on the project.

Customer

Information on your customer.

Device

Technical data of the device.

Button

Function

Today

Automatic entry of the current date.

Browse

Opens a dialog window for selecting an additional file.

45


Software package CheckKon â&#x20AC;&#x201C; Version 4.2 Context menu â&#x20AC;˘

Right-click (Windows standard) the system parameters to activate the context menu.

Command

Function

[Import project documentation from file]

Enables the import of system documentation from a saved system file.

[Copy project documentation to clipboard]

Copies the system documentation to the clipboard.

[Paste project documentation from clipboard]

Use of the system documentation from the clipboard (e.g. from a second CheckKon program window).

[Copy screenshot of window to clipboard]

Copies the displayed content of the window to the clipboard as a bitmap.

[Save screenshot of window to file]

Copies the displayed content of the window to a bitmap file (*.bmp).

5.5.8

Print preview

[File] [Print Preview]

The contents of the currently active window are always shown in the print preview so that the printing data can be checked.

Start printing Go to next page Go to previous page Show two pages Zoom in = enlarge display Zoom out = reduce display Close print preview Status bar Page representation

Figure: "Print preview" dialog window

46


CheckKon program interface

5.5.9

Feature graph The "Feature graph" window ([View] [Feature graph]) shows the progression of the results (e.g. feature values) across the different parts in the parts buffer.

The "Feature graph" window lets you analyse the behaviour of individual results during the test process in the device. You can also represent the distribution (histogram) of the results. In each case the number (sum) of the values within a value range will be shown as a horizontal bar.

Figure: "Feature graph" window Selected feature (if relevant for displayed results) Selection of how the result is displayed: results with or without distribution (histogram) Selection of the parts to be used for the display by orientation Selection of the parts to be used for the display by part type Distribution of the result values Status bar showing the part number, type, orientation and result value for the selected part (in accordance with the selected display) as well as information on the selected part Number of the sample or test parts Result values of the individual parts Further selected parts (large dots) Current part (large rectangle)

Toolbar of the "Feature graph" window

Figure: Toolbar of the "Feature graph" window Previous feature

Copy part

Next feature

Paste part

Switch between sample and test parts

Delete part

Previous part

Part properties

Next part

47


Software package CheckKon – Version 4.2 "Display" drop-down list Different results are available in the "Display" drop-down list. Results

Representation in the feature graph

Feature values

– Feature values of the parts (e.g. in pixels)

Feature values & histogram

– Feature values of the parts (e.g. in pixels) – Number of parts with this feature value

Feature values (trans.) 1) 2)

– Transformed feature values (e.g. with the unit of the coordinate

transformation) Feature values (trans.) & histogram 1) 2)

– Transformed feature values (e.g. with the unit of the coordinate

Feature deviation 3)

– Deviation of the feature values from the teach data

Feature deviation & histogram 3)

– Feature deviation from teach data

transformation) – Number of parts with this feature value

– Number of parts with this feature deviation

Processing time of feature/tool

– Processing time of the feature/tool (in milliseconds)

Processing time of feature/tool & histogram

– Processing time of the feature/tool (in milliseconds)

Processing time of part

– Processing time of the part (in milliseconds)

Processing time of part & histogram

– Processing time of the part (in milliseconds)

– Number of features/tools with this processing time

– Number of parts with this processing time

1) Only with projects with automatic coordinate transformation of the features 2) Transformed values of the coordinate transformation are displayed Representation of the displayed parts –

– – – –

– The result of each individual part is indicated by a dot. Exception: if the result is invalid, no dot will be displayed with the corresponding part number (this location will be "skipped"). Selected parts are indicated by large dots. The most recently selected part is marked with a large rectangle. When using different orientations, all parts with the same orientation get their own dedicated colour (only with projects with orientation separation). In the test parts view, bad parts are shown with an X (crossed through in red).

Possible actions: •

Click a feature dot to select the corresponding part. The display of information in the other windows is adapted accordingly.

Select several parts by drawing a frame around the relevant dots using the mouse or clicking several parts one after the other with the SHIFT or CTRL key pressed.

You can then change the type, orientation, properties or order of the parts (with the help of the other windows).

48


CheckKon program interface

5.5.10 Part statistic The "Part statistic" window serves to create simple part quality and throughput statistics. Parts are counted and the time that has passed since starting is clocked in order to determine the throughput.

â&#x20AC;˘ Click the adjacent icon in the toolbar of the program window to open the "Part statistic" window.

Figure: "Part statistic" window With SBO...-Q, information on the minimum, average and maximum processing time is additionally available. Periods for evaluation of the images and for decisions on quality are shown here. Waiting times and periods for image creation are not taken into consideration. Control elements of the "Part statistic" window Command

Button

Function

Start

Starts recording of the data for the statistics.

Start with timer

Starts recording of the data for the statistics. You are prompted via an input dialog to enter the maximum time for recording the data.

Stop

Ends recording of the data for the statistics.

Reset statistics

Deletes the statistical data.

Statistics from parts buffer

Creates statistics from the test parts of the parts buffer in CheckKon.

Comment

Allows you to edit the comment on statistics.

49


Software package CheckKon â&#x20AC;&#x201C; Version 4.2 Command

Button

Function

Switch

Switches between the pie chart and bar chart views.

Transfer contour/camera images

Switches the part contour and/or camera image transfer on and off.

Context menu in the "Part statistic" window Command

Function

[Start / continue statistics]

Starts recording of the data for the statistics.

[Start / continue statistics using timer]

Starts recording of the data for the statistics. You are prompted via an input dialog to enter the time for recording the data.

[Stop statistics]

Stops recording of the data for the statistics.

[Reset statistics]

Deletes the statistical data.

[Calculate statistics from parts buffer]

Creates statistics from the test parts of the parts buffer in CheckKon.

[Copy statistics to clipboard]

Copies the statistical data, itemised according to type, to the clipboard e.g. for further processing in Excel.

[Change display]

Switches between the pie chart and bar chart views.

[Edit comment]

Allows you to edit the comment on statistics.

[Copy image to clipboard]

Copies the displayed image to the clipboard as a bitmap.

[Save image as file]

Copies the displayed image to a bitmap file (*.bmp).

50


CheckKon program interface

5.5.11 Check program Manager The Check program Manager serves to transfer check programs and teach data from and to the device respectively and to import and export the check programs and teach data respectively. Depending on the device type, the teach data of the part types is saved individually or cumulatively (= check program).

â&#x20AC;˘ Click the adjacent icon in the toolbar of the program window to open the "Check program Manager" window. Note Transfer check programs/teach data to the device only when â&#x20AC;&#x201C; the sample parts from which the data is calculated were produced using the same device, â&#x20AC;&#x201C; the same system parameter settings were used during the teach process as were set on the target system.

Figure: "Check program Manager" dialog window The list on the left contains the checks programs or teach data saved in CheckKon. The list on the right contains the memory locations for check programs/teach data on the connected device. The remaining available memory space on the device is displayed beneath this list (only with SBO...-Q). Control elements of the "Check program Manager" window Button

Function

Copy

Transfers the selected check program or the selected teach data.

Delete

Deletes the selected data.

Rename

Changes the name of the check program or teach data. After transfer to the device, the check program name is only retained for SBO...-....

Import from file

Imports saved check programs or teach data.

Export to file

Exports saved check programs or teach data.

Close

Closes the window.

51


Software package CheckKon – Version 4.2 Context menu Command

Function

[Paste check program]

Pastes a check program from the clipboard. A check program copied under e.g. CheckOpti can be transferred to the list of check programs under CheckKon in this way.

[Copy check program]

Copies the selected check program to the clipboard.

5.5.12 Wizards for procedures CheckKon provides wizards to help the user with more complex operations. The wizards lead the user through the respective procedures interactively and without the need for additional explanation. Further information can be found in the wizards. Contact Festo service if necessary.

5.6

"Calibration of coordinate transformation" wizard

5.6.1

Overview

Transformation between the coordinate system of the device (image coordinates) and the actual world coordinates is only supported by the Compact Vision System SBO...-Q. Use this wizard: – when using projects with tools of the type "Coordinate transformation", – when using projects with the project property "Project with automatic coordinate transformation" activated. Use the coordinate transformation: – if coordinates detected in the image by the device (e.g. the position of a part) are to be used for operations in the real world (e.g. gripping the part), – if errors due to distortion of the lens are to be corrected for accurate measurements. The transformation takes the following influencing factors into consideration: – Twisting of the device relative to the world coordinate system – Device and world coordinate systems are not parallel (device alignment is skewed) – Position in Z direction during transformation – Distortions caused by the lens. In the world coordinate system, the Z axis is perpendicular to the X/Y axes. The positive direction is pointing towards the camera. The Z axis cannot be changed or swapped with the X/Y directions. Device Part

Figure: Device in the world coordinate system The wizard provided for calibrating the coordinate transformation offers the following options: – Automatic calibration through presentation of a calibration pattern. – Manual calibration through entry of at least 8 calibration points in any image (e.g. if the calibration pattern cannot be used).

52


CheckKon program interface

5.6.2

Prerequisites for calibration

The device is attached mechanically at the designated position and all visual settings have already been made. – A calibration pattern with good and precisely detectable calibration points is available (Calibration patterns for automatic calibration). The calibration pattern used should be recorded in full size by the device if possible. – The calibration pattern is flat (e.g. no wrinkles or bulges) and exactly parallel with the X/Y world plane. – The position of the calibration pattern or calibration points in Z direction is or will be Z=0 after calibration. – The X/Y world coordinates of the calibration points are known or can be ascertained. – The device is configured (e.g. using CheckKon) so that the calibration points of the calibration pattern are visible in the camera and contour image. The camera image is used for manual calibration, the contour image for automatic calibration. – A connection has been established with the device using CheckKon and the project properties have been adapted to the device. Start the wizard using the [Action][Calibration of coordinate transformation] menu command. The wizard is then displayed. –

Figure: "Calibration of coordinate transformation" wizard Automatic calibration through presentation of a calibration pattern and entry of a calibration point and the length of a line plotted on the calibration pattern. Automatic calibration through presentation of a calibration pattern and entry of two calibration points of the calibration pattern. Manual calibration through entry of at least eight calibration points in the image. Selection of the unit for displaying the coordinate transformation calculations. Next: shows the selected type of calibration. Cancel: closes the wizard.

1. 2. 3.

Choose the required type of calibration. Enter the reference points required for the calibration if necessary. Select a suitable unit for the world coordinate system or enter the unit manually.

53


Software package CheckKon â&#x20AC;&#x201C; Version 4.2 The unit is informal and is only used to display feature results.

You proceed to the next page of the automatic or manual calibration using the "Next" button.

5.6.3

Automatic calibration of the coordinate transformation

The calibration pattern used by this wizard is designed for easy execution of automatic calibration. This pattern (in particular the calibration points) can e.g. be printed, stamped or milled for use while precisely maintaining its proportions.

Figure: Calibration pattern The calibration pattern for automatic calibration is stored as the file "SBO Calibration Pattern.tif" in the installation directory of CheckKon and can also be accessed via the Windows Start menu in the "Festo Software" group.

â&#x20AC;˘ If printing out the calibration pattern to use, make sure that the printout is of high quality without any distortion. Otherwise the transformation will be incorrect.

54


CheckKon program interface

Figure: "Calibration of coordinate transformation" wizard - Automatic calibration Record new calibration image: registers a new image using the target device and carries out the calibration. Invert X-direction: enables the X direction of the world coordinate axis to be adapted. Invert Y-direction: enables the Y direction of the world coordinate axis to be adapted. Shows the direction of the world coordinate axes (blue). Automatically detected calibration points with assigned X/Y world coordinates. Result of the calibration – Red = calibration could not be successfully carried out – Green = calibration successfully carried out Estimate of the transformation accuracy. Back: returns to the start page of the wizard. Finish: shows the selected type of calibration. Cancel: closes the wizard.

Procedure for automatic calibration Note The wizard uses only the contour image for automatic calibration of the coordinate transformation. The system parameters of the Compact Vision System must be set appropriately for this.

• Check the settings of the system parameters in the section "Camera image and preprocessing" ( CheckKon, System parameter window). Example: "Pre-processing and contour image" system parameter = On

55


Software package CheckKon – Version 4.2 •

Click "Record new calibration image" to record the calibration pattern. The wizard then starts an image on the device; this image is transferred to CheckKon. – The wizard searches the contour image for the calibration points of the calibration pattern for automatic calibration. – The larger calibration points at least must be detected for successful calibration. – The small calibration points should also be detected by the wizard for a calibration with the least possible number of transformation errors.

If detection is not possible, check the prerequisites again (section: Prerequisites for calibration).

Conclude the calibration with the "Finish" button. The new coordinate transformation data is transferred to the device.

5.6.4

Manual calibration of the coordinate transformation

Figure: "Calibration of coordinate transformation" wizard - Manual calibration Manually entered calibration points with assigned X/Y world coordinates.

Edit point: opens the "Coordinates of calibration point" dialog window for editing the entry selected in the list of calibration points.

List of calibration points with assigned world and image coordinates as well as deviation in the current transformation.

Copy points as text: copies all points and deviations in the list as text to the clipboard.

+ / - zoom in image.

Back: returns to the start page of the wizard.

Record image: starts a new image on the device and displays it.

Finish: concludes the type of calibration.

Add point: opens the "Coordinates of calibration point" dialog window for entering the associated world coordinates.

Cancel: closes the wizard.

Delete point: deletes the selected entry in the list of calibration points.

56


CheckKon program interface Procedure for manual calibration •

Click the "Record image" button to record an image. The wizard then starts an image on the device; this image is transferred to CheckKon and displayed.

Select points in the image using the mouse (left mouse button) and correct the position (red crosshair) if necessary using the arrow keys on the keyboard.

Click the "Add point" button to accept a new calibration point. Enter the world coordinates for the image point in the "Coordinates of calibration point" dialog window ("Coordinates of calibration point" dialog window). The new calibration point is added to the list.

Add at least eight points to the list. These calibration points can be used to ascertain the coordinate transformation data.

Enter as many calibration points as possible. The calibration points should be distributed uniformly over the image. – Place the calibration points in the image as exactly as possible. – Use the enlargement options offered by the "Zoom +/-" buttons for this. – Enter the respective associated world coordinates as exactly as possible.

To review your entries, evaluate the values in the "Error" column in the list of calibration points.

Conclude the calibration with the "Finish" button.

Further entry or editing options: •

Move new and existing calibration points with the help of the mouse.

If necessary carry out fine correction of the point selected in the image (red crosshair) with the mouse using the arrow keys on the keyboard.

Move existing calibration points also with the help of the mouse. The coordinate transformation data on the target device is valid for all check programs. The coordinate transformation is independent of the check programs. The data is transferred to the device once the wizard is finished. Note Test results of the target device when using the coordinate transformation are only correct if the calibration of the coordinate transformation has been carried out exactly.

5.6.5

"Coordinates of calibration point" dialog window X coordinate of the calibration point in the image Y coordinate of the calibration point in the image X coordinate of the calibration point in world coordinates Y coordinate of the calibration point in world coordinates Z coordinate of the calibration point in world coordinates, always assumed to be 0 OK: accepts the entries Cancel: rejects the entries Figure: "Coordinates of calibration point" dialog window

57


Software package CheckKon â&#x20AC;&#x201C; Version 4.2

5.7

Colour conventions

The type of the parts, their features and the orientation are always shown in appropriate colours in CheckKon.

5.7.1

Colour coding of the conveyed parts

Colour

58

Meaning Green (dark)

Sample parts

Grey

Test parts

Green (light)

Good part/feature within tolerance

Red

Bad part/feature outside tolerance

Yellow

Feature directly at tolerance limit


6

Data management

6.1

The system file

Work and settings carried out with CheckKon should be saved in a system file for documentation, re-use and archiving. System files contain information specific to each individual device: – System parameters and system settings – Check programs/teach data saved in CheckKon – Live images (SBO...-...) or grey scale lines (Checkbox) saved in CheckKon – Project documentation. 1. 2. 3. 4. 5.

Document your systems in the System documentation dialog window. Enter all relevant information in order to simplify the later assignment of the individual system files. Save the check programs or teach data on the device in CheckKon. Save the grey scale lines or live images in CheckKon. Click the [Save] command in the [File] menu. If you have not yet assigned a name to the current system file, you will now be requested to assign a new name.

Figure: "Save As … " Windows dialog 6. 7.

Enter a directory path and the new name. Click "Save".

The system files for devices from the Checkbox series and Checkbox Compact have the file extension ".cbs". The system files for Compact Vision Systems SBO...-Q have the file extension ".sbs". Manage your system files using Windows Explorer. You can copy, move or delete the files as desired or open them with CheckKon. System files with the file extension ".sbs" relating to SBO...-Q devices can only be edited with CheckKon version 4.0 (and higher).

59


Software package CheckKon â&#x20AC;&#x201C; Version 4.2

6.2

Importing and exporting data

The data of the current system can be imported or exported, in some cases in different file formats, for exchange or for further use in other programs (e.g. CheckKon 3.x, CheckOpti).

6.2.1

Import The import options available depend on the device used.

1.

Select the [Import] command in the [File] menu.

Figure: "Import" dialog window 2. 3. 4. 5.

Select the desired component in the "Import" dialog window. Confirm your selection with "OK." The "Open" dialog window is shown. Select the desired file in the "Open" dialog window. Click the "Open" button to import the file.

6.2.2

Export The export options available depend on the device used. Only the data currently available in CheckKon can be exported.

1.

Select the [Export] command from the [File] menu.

Figure: "Export" dialog window

60


Data management 2. 3. 4. 5.

the desired component in the "Export" dialog window. Confirm your selection with "OK." The "Save As" dialog window is shown. Enter a file name in the "Save As" dialog window. Click the "Save" button to export the file.

The following table shows all the import and export options and the usual use of the data. Data

Contents

Format

Use

Contents of system documentation

Text (*.txt)

Data exchange for text processing

CheckOpti project file (*.sbp, *.cbp)

Import from file

CheckKon system file (*.sbs, *.cbs)

Import from file

System data System documentation

System parameters

Device settings

Binary file (*.bin)

Data exchange between different devices

System parameters of CheckKon 2.x

CheckKon 2.x settings

Binary file (*.dat)

Import

Grey scale line

Grey scale curve of line camera

Text (*.txt)

Import or export

Live images

Camera and pre-processing images

JPEG image (*.jpg)

Export

Mask for pre-processing

Mask image for preprocessing

BITMAP image (*.bmp)

Import or export

Coordinate transformation data

Data for conversion between image and world coordinate using the "Coordinate transformation" tool.

Binary file (*.sbtr)

Import or export

Camera image, sample part

Camera image

BITMAP image (*.bmp)

Export

Camera image, test part

Camera image

Features, sample part

Features of the sample parts

Excel file (*.xls)

Features, test parts

Features of the test parts

Test part statistics

Statistics of the test parts

Export for statistical evaluation in Excel

Process data

Data exchange with CheckOpti CheckOpti project

Content of a CheckOpti file that is usable in CheckKon, with system and teach data of the check programs

CheckOpti project file (*.cbp/*.sbp)

Import

Sample parts

Data of the sample parts

Parts log file (*.cbl/*.sbl) Text (*.txt) only contours

Export of parts for CheckOpti

Test parts

Data of the test parts

61


Software package CheckKon â&#x20AC;&#x201C; Version 4.2 Check programs or teach data can be additionally exported and imported via the Check program Manager. Data

Contents

Format

Use

Check programs

Check programs for exchange with CheckKon or CheckOpti as well as for transfer without CheckKon (e.g. via ftp)

(*.sbc)

Import or export

Teach data

Teach data of Checkbox up to operating system version 3.1

(*.typ)

Import or export

Teach data of Checkbox for operating system version 3.2 and higher

(*.cbt)

Teach data for transfer to Checkbox without CheckKon (e.g. with PLC)

Binary file (*.bin)

System data

62


7

Appendix

7.1

Command line parameters when starting CheckKon

Various parameters can be passed for starting the CheckKon program. This influences the program – when starting, – when establishing a connection, – when displaying windows. Without further user interaction e.g. a connection is then established with a specific device. Starting CheckKon without additional command line parameters is the same as calling the program via the Start menu. – The "Welcome to CheckKon" dialog window appears. – The program behaves as described in this manual. The passing of command line parameters to a program takes place under Windows – via an MS-DOS batch file ( *.bat) or – via a shortcut to the program (e.g. on the desktop or in the Windows Start menu).

7.1.1

Batch file

You create a batch file using a text editor. This batch file contains the program call with path details together with the parameters for influencing the program sequence as a command line. •

Give the file the extension ".bat". To assign a specific extension, this must be visible under Windows.

• Uncheck the setting "Hide extensions for known file types". You will find this setting under "Files and Folders" on the "View" tab under [Folder Options...] in the [Tools] menu of Windows Explorer. •

Using the text editor, enter the program call with command line parameters that are passed to the program when it starts.

7.1.2

Shortcut

A shortcut to the program can be edited as follows: •

Right-click the shortcut.

Select the [Properties] command from the context menu.

Windows opens the "Properties" dialog for the shortcut.

63


Software package CheckKon – Version 4.2

Figure: "Properties" dialog - "Shortcut" tab •

In the "Target:" field, after the program call enter the command line parameters that are passed to the program when it starts. If special characters and spaces are used in the Windows directory structure, the space between the program path and parameters will not be recognised.

• Enclose the path to CheckKon as well as the command line parameters in quotation marks. Example: "C:\Programs\Festo\CheckKon42\CheckKon.exe" "-WIN:2 -DISABLE_UI:7 ETH:192.168.2.10"

64


Appendix

7.1.3

Parameters

The following command line parameters are available for CheckKon: •

The command line parameters must be specified in the order in which they appear in this table.

Parameter

Function

[Path to CheckKon file]

Opens a CheckKon file without establishing a connection to a device. The contents of the file can then be viewed in CheckKon. No other command line parameters can be combined with this parameter.

-A:[0..6]

Defines the CheckKon system function and thus the access options for the user ( "Function / System..." selection in the "Welcome to CheckKon" dialog window). 0 = observation 1 = modification (password) 2 = modification (temp. password) 3 = extended modification (password) 4 = extended modification (temp. password) 5 = documentation (password) 6 = specification (password) System functions >0 require a password. This password can also be passed using the "–PWD..." command line parameter. Alternatively, the prompt to enter the password takes place at execution time of the program before the connection is established.

-PWD:[abc]

Passes a password for specific access options for the user. CheckKon will expect a password (in plain text) if the command line parameters "-A:1" to "-A:6" are used. Alternatively, the prompt to enter the password takes place at execution time of the program before the connection is established.

-WIN:[0..7]

Opens a window and places it in the foreground of the CheckKon program window (following successful connection with the device). The position and size of the window before CheckKon was last terminated are restored. 0 = "System state" window 1 = "System parameter" window 2 = "Part contour" window; switches the device to diagnostic mode. 3 = "Line representation" window (for CHB only); switches the device to diagnostic mode; activates the device's line transmission function. 4 = "Live image" window (for SBO...-Q only); switches the device to diagnostic mode; activates the device's live image transmission function. 5 = "System documentation" window 6 = "Part statistic" window; starts the CheckKon part statistics function 7 = "Log parts to file" dialog; starts the recording of parts to a file using the settings from the last parts recording session.

-VIEW_TEACH

Switches the "Part contour" window to displaying the sample parts.

-VIEW_TEST

Switches the "Part contour" window to displaying the test parts.

-VIEW_CONTOUR

Switches the "Part contour" window to "Contour image" display and activates the transfer of contour images.

-VIEW_CAMERA_IMAGE

Switches the "Part contour" window to "Camera image" display and activates the transfer of camera images.

65


Software package CheckKon â&#x20AC;&#x201C; Version 4.2 Parameter

Function

-DISABLE_UI:[1..7]

Restricts the functions available in the CheckKon user interface. 1 = User cannot open display windows 2 = User cannot perform any actions on files (opening, saving, etc.) 4 = User cannot start CheckOpti, DeviceManager, etc. Combinations of these restrictions are permitted. They are linked by adding the respective number, thus producing values from 1 to 7.

-VIEWER

Opens the "Part contour" window, places it in the foreground of the CheckKon program window (following successful connection with the device) and activates the "Show CheckKon (Viewer) features" function. The position and size of the window before CheckKon was last terminated are restored. Restricts all functions available on the CheckKon user interface (ď&#x192;¨ DISABLE_UI).

-TDM:[path to CheckKon file]

Imports teach data or check programs from the specified CheckKon file (*.cbs or *.sbs respectively). The data records contained are displayed in the Check program Manager. No other command line parameters can be combined with this parameter.

-COM

Establishes a connection via the RS232 interface with CHB using the "automatic" setting.

-COM:[interface no.]

Establishes a connection via the RS232 interface with CHB using the specified interface number.

-MODEM

Displays the connection dialog for modem connections with CHB.

-ETH

Establishes a connection via Ethernet with SBO...-Q using the most recently used settings (IP address).

-ETH:[IP address]

Establishes a connection via Ethernet with SBO...-Q using the IP address transferred.

7.1.4

Example

Program call: CheckKon.exe -WIN:2 -DISABLE_UI:7 -ETH:192.168.2.10 Execution: Starts CheckKon in the "observation" user level and restricts the user interface. CheckKon connects with an SBO...-Q with the IP address 192.168.2.10 via Ethernet and then displays the "Part contour" window maximised.

66


Appendix

7.2

Detecting and eliminating faults

The table below contains the most important error messages as well as instructions on how to eliminate the faults. Error message

Meaning/remedy

Communication problems

Communication cannot be established between CheckKon and the device.

• Check the connection (e.g. plug not inserted correctly). • Check the device. • Check that the device is stopped. • Check the connection parameters. • If necessary, close CheckKon and start the PC again. Then repeat the action. File error System file cannot be opened.

Error opening a system file: – the system file does not exist or – the system file is already being used or – the file selected is not a system file version that is known to CheckKon.

• Check e.g. with Explorer to see if the file exists. • If necessary, check the data storage medium containing the system file. File error Unknown system file version.

The system file was created with an unknown version of CheckKon.

File error Specification of the Checkbox is not contained in the version of this system file. The standard settings are used. If necessary, adapt these accordingly and save the file again.

The system file was created with an earlier version of CheckKon.

File error System file exists already. Replace file?

The specified system file exists already.

• If necessary, use a later version of CheckKon.

• Carry out a synchronisation with the relevant Checkbox and save the system file.

• Confirm the message in order to overwrite the system file. or

• Interrupt the procedure and save the system file under a new name.

7.3

Malfunctioning of the Compact Vision System

You will find information on malfunctions and how to eliminate them for SBO...-Q in the manual for the Compact Vision System ( Further manuals).

67


Software package CheckKon – Version 4.2

7.4

Malfunctioning of the Checkbox

Problem

Cause

Action

Device cannot be switched on with START button; start and stop buttons light up at the same time.

– No power supply to the I/O

• Plug in supplied blanking plug at the

Device is not working, all illuminated buttons flashing

– Ambient, setting, data or

module

"Controller" connection

• Or in the case of external I/O power supply: check the power supply hardware error

• Identify fault coding • Eliminate fault • Acknowledge with STATUS button

Good test parts are sorted out as bad parts

– Tolerance set too low

• Increase tolerance

– Incorrect sample part

• Repeat teach process (with more

selected

teach parts)

• Select (correct) sample part with TYPE SELECT buttons Bad test parts are accepted by the device as good parts

– Tolerance is set too high

• Reduce tolerance.

– Undefined error

• Perform optimisation with CheckOpti

Good test parts of every orientation are rejected as incorrectly oriented good parts. TOLERANCE display: FULL

– Missing blanking plug

• Check inputs for "Sensors"

– Bridges in the blanking

plug incorrectly set – Connected sensors faulty or cable break

connection

• Insert blanking plug • Check bridges at "Controller" connection

• Check sensors and sensor cables • Check connection to external

Good test parts of every orientation are rejected as incorrectly oriented good parts. COUNTER display: FULL

– Preselected counter

reading reached (no resetting via external controller)

controller

Lightweight conveyed parts are not reliably blown down at the delivery points

– Blow-down timing point

With CheckKon:

incorrectly set – Contour of conveyed parts is streamlined

• Modify blow-down timing point • Enlarge nozzle geometry

Conveyed parts facing wrong way at end of conveyor belt

– Conveyed parts are turned

• Close the compressed air flow

the wrong way due to unevenness of the system edge or – Conveyed parts are turned the wrong way when previous or following parts are blown down.

When a new sample part has been learned, good test parts are sorted out as bad parts

– Teach process interrupted

The Checkbox blow-down intervals do not correspond. The deviation is displayed for an unusually long period of time on the TOLERANCE display during the check process

– Checkbox is switched to

68

with STOP button

diagnostic mode via the CheckKon software

control valve

• Observe the conveyed parts at the end of the conveyor belt: – turned: replace system edge – not turned: reduce the blow-down

duration with CheckKon or increase the distance between conveyed parts.

• Repeat teach process for new sample part Conclude teach process: Do not press the STOP button, but use the key switch to switch to operating type SELECT.

• Switch to the operating mode of the configurator software

• Switch off main switch


Appendix

7.5

Checkbox error messages

Error messages are shown on the LCD TOLERANCE. They must be acknowledged before the Checkbox can start again: 1. First eliminate the cause of the fault. 2. Then press the (flashing) STATUS button. The Checkbox differentiates between the following fault groups: – Peripheral faults – Recognition faults – Loss of data – Hardware faults

7.5.1

Peripheral faults

Code

Cause

Action

E 01

Fault in the compressed air supply

• Check compressed air supply, if necessary

– No compressed air – Pressure too low

insert a pressure reservoir between the Checkbox and the compressed air network.

– Fluctuations in pressure in supply

network E 02

Optical fault – Lighting dirty or defective;

E 03

• Remove dirt with a soft cloth and non-

glass cover of camera or camera lens dirty – Camera optics misted due to considerable difference in temperature of the Checkbox/environment – Blockage in front of the optical unit – Camera registering lower range of conveyor belt

With CheckKon:

Camera fault

Attention:

abrasive cleaning agent or blow from the glass cover with non-lubricated compressed air

• Avoid large differences in temperature • Correct the picture area limits settings

Disconnect from the mains before loosening the camera connection

• Check camera connection • Replace the camera cable E 04

System recognising too many incorrect conveyed parts: – >75% of the last 20 parts have

• Increase tolerance • Check the selection of the sample parts type

been graded as bad parts E 05

Material blockage

• Fill up small parts conveyor

– E.g. no conveyed part for 30

seconds ( Checkbox configuration) E 06

Part length – Part length for conveyed parts

exceeded E 07

Optical fault – Reduced brightness

• Clean the glass covers of the lighting and of the camera

69


Software package CheckKon – Version 4.2 Code

Cause

Action

E 08

– Conveyor belt blocked or encoder

• Press the STOP button • Remove test parts which have become

blocked

trapped Check units attached to the conveyor unit Remove obstructions on the conveyor belt and check whether the encoder is also turning

• Press the START button E 09 E 10

– Internal I/O module overloaded

• Press the STOP button Check whether external outputs are loaded with an overly high current Press the START button

• or contact the Festo After Sales Service E 12

– No power supply at I/O module

• Check the blanking plug on the connection for the higher-order controller

• Operation with galvanic isolation: check the external supply voltage

Special malfunctions Fault situation

Cause

Action

E 01, although pressure in the compressed air network seems to be constant.

– Brief fluctuations in pressure in

• If necessary, insert a pressure

FULL, although the buffer zone is not full.

– Configuration plug missing at

the compressed air network, e.g. by large-volume consuming devices "Sensors" connection – Bridges missing at "Controller" connection – Control cable defective or incorrect pin assignment at "Sensors" connection

reservoir between the Checkbox and the compressed air network Operation without buffer zone sensor

• Insert blanking plug and check bridges Operation with one or two buffer zone sensors

• Check control cable and pin assignment

E 02, although conveyed part length is shorter than maximum length permitted.

– Conveyed part has lots of

holes or is semi-transparent

With CheckKon

• Increase belt speed • Increase exposure time • Vary the grey value threshold • Limit field of vision of camera

E 02 appears in the morning although the Checkbox functioned faultlessly the day before.

– High fluctuations in

E 04, although only a small number of bad parts passes the camera.

– Moving particles of dirt on the

• Set the lower picture area limit

temperature, e.g. between day and night – Conveyor belt has slipped down from the conveyor unit – Conveyor belt replaced conveyor belt

• Clean the conveyor belt with compressed air

• Install a cutting device in front of the conveyor belt

70


Appendix

7.5.2

Recognition faults

Code

Cause

Action

E 20

– Views of the various orientations

• Switch to the TEACH operating mode with the

are too similar – An unambiguous differentiation of the current orientation is not possible

key switch

• Acknowledge the error message with the STATUS key

• Repeat the teach process or if a check of the desired orientation is not required: switch on the ORIENTATION illuminated pushbutton

E 21

– Views of the various sample parts

are too similar – An unambiguous differentiation of the sample part from another sample part is not possible

7.5.3

• Teach in the entire sorting program again • Sorting of the learned part mixture is not possible; use CheckOpti if required

Loss of data

Code

Cause

Action

E 40

– The teach data is not

• Repeat the teach process If this occurs frequently:

clear: when the device is switched on again, the saved teach data is no longer OK

• Where Checkbox is connected to other devices, switch to an external power supply

• Check whether non-CE-compliant devices are being used in the vicinity E 41

– Controller has lost

system parameters

• Select other part type or other sorting program or

• Load system parameters again from internal safety memory: 1. Switch off Checkbox via mains switch 2. Press the TYPE SELECT [1] button and hold pressed down while the mains switch is switched on 3. Release the TYPE SELECT [1] button after 2 seconds During the load procedure all the illuminated buttons light up briefly one after the other from left to right (running light) With CheckKon

• Load system parameters again • Contact Festo service E 42

– Controller has lost the

configuration data of the current type or sorting program

• Load system parameters again from internal safety memory: 1. Switch off Checkbox via mains switch 2. Press the TYPE SELECT [1] button and hold pressed down while the mains switch is switched on 3. Release the TYPE SELECT [1] button after 2 seconds During the load procedure all the illuminated buttons light up briefly one after the other from left to right (running light) With CheckKon

• Load the configuration data again • Contact Festo service E 43

– Check program or

teach data not compatible

• Adapt check program/teach data to device with the help of CheckOpti

71


Software package CheckKon â&#x20AC;&#x201C; Version 4.2

7.5.4

Hardware faults Note If a hardware fault message is displayed, please contact Festo service.

Code

Comment

Fatal error

E 60

Self-test error ADC

1

E 61

Self-test error pre-processing

2

E 62

Self-test error DSP-LUT

3

E 63

Self-test error PIO

4

E 64

Self-test error Zero-Power-Ram

5

E 65

Self-test error Boot DSP-1

6

E 66

Self-test error No answer from slave

7

E 67

Self-test error Offset

8

E 68

Self-test error DSP Comm. Data error

9

E 69

Self-test error DSP Comm. Send error

10

E 70

Self-test error DSP Comm. Receive error

11

E 71

Self-test error No Encoder Hardware

12

72


8

Index

A

G

Abbreviations ............................................... 8

Good part ..................................................... 8

B

Grey scale line ............................................ 40 Saving .................................................... 43 Setting .................................................... 42 Transmitting............................................ 43 Values .................................................... 41

Bad part ....................................................... 8

C C value ......................................................... 8 Cable connection ....................................... 13 Diagnostic cable..................................... 13 Galvanic isolation ................................... 13

Grey scale threshold................................... 42 Lower limit .............................................. 42 Upper limit .............................................. 42

Check process ............................................. 8

I

Check program Manager ........................... 52

Import ......................................................... 61

Checkbox ..................................................... 8

Interface ..................................................... 13 Ethernet .................................................. 13 RS-232 ................................................... 13

CheckKon ............................................ 10, 12 Installing................................................. 12 Scope of delivery ..................................... 6 Settings .................................................. 29 Uninstalling ............................................ 12 Use .......................................................... 5 Version..................................................... 6 CheckOpti .................................................. 10 Colour conventions .................................... 59 Configuration tools ....................................... 8 Connection setup ....................................... 15 automatic ............................................... 15 manual ................................................... 15

D Deviation ...................................................... 8 Device .......................................................... 8 Diagnostic mode ........................................ 15 Display and dialog windows Grey scale line ....................................... 40 Part contour ........................................... 35 System documentation .......................... 46 System information ................................ 32 System parameters ................................ 33 System state .......................................... 31 Teach data manager .............................. 52

E Error messages.......................................... 70 Checkbox ................................... 70, 72, 73

M Menu Action ..................................................... 26 Edit ......................................................... 25 Extra ....................................................... 27 File.......................................................... 24 Help ........................................................ 28 Mode ...................................................... 27 Navigate ................................................. 27 View........................................................ 25 Window................................................... 25

O Operating mode.................................... 15, 31 AUTO ..................................................... 31 Diagnosis................................................ 31 Operation................................................ 31 SELECT ................................................. 31 TEACH ................................................... 31 Operating system update ........................... 21 Orientation .................................................... 8

P Part contour ................................................ 35 Deleting ............................................ 35, 36 Sample parts .......................................... 35 Switch ..................................................... 35 Test part ................................................. 35 Part type ....................................................... 8

Evaluate process data ............................... 11

Print ............................................................ 47

Export ........................................................ 61

S

F

Sample parts ................................................ 8

Factory setting ........................................... 14

SBO-DeviceManager.................................. 10

Fault handling ............................................ 68

Service ......................................................... 6

Feature ........................................................ 8

Setup .......................................................... 12

Feature scatter ............................................. 8

Signal tones................................................ 29 Software package ....................................... 10 System ....................................................... 60 System documentation ............................... 60 System file .............................................. 8, 60 73


Software package CheckKon â&#x20AC;&#x201C; Version 4.2 System functions........................................ 15 modify .................................................... 15 observe .................................................. 15

Test part ....................................................... 8 Part contour ............................................ 35

System information .................................... 32

Tolerance ..................................................... 8

System parameter.................................. 8, 33 Camera and picture ............................... 40 Grey scale line ....................................... 40 Grey scale thresholds ............................ 40 System ................................................... 33 Viewing area limits ................................. 40

Tolerance factor ........................................... 8

System requirements ................................... 6

Test parts ..................................................... 8

Type of connection ..................................... 14 no connection ......................................... 14 via Ethernet ............................................ 14 via modem .............................................. 14 via RS-232.............................................. 14

System state .............................................. 31

U

T

Uncertainty of orientation.............................. 8

Target group ................................................ 6

V

Teach data ................................................... 8

Viewing area limits................................ 40, 42 Lower limit .............................................. 42 Upper limit .............................................. 42

Teach process ............................................. 8

74


CheckKon