106
Optical Character / Code Verification OCV 7.003 - Document Version A User Manual

Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Optical Character / Code VerificationOCV 7.003 - Document Version A

User

Man

ual

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A  4/24/20183:22 PM  - Schema ST4 PDF engine -  Layout by Victor Mahler

Optic

al C

hara

cter

/ Co

de V

erifi

catio

n

Page 2: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Inten

tiona

lly le

ft blan

k

2 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 3: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Table of Contents

1 General Instructions 5

2 Type of Control 72.1 Numbers and Types of Camera Control Windows ............................................................ 8

3 Operation of the Camera 93.1 Keys .......................................................................................................................... 93.2 The Virtual Keyboard .................................................................................................... 103.3 Zoom ......................................................................................................................... 11

4 Camera Start-Up (New Product) 124.1 Teach-In - Control ........................................................................................................ 124.2 OCR/OCV - Control ....................................................................................................... 134.3 Code - Control ............................................................................................................. 144.4 Pixel - Control ............................................................................................................. 154.5 Pattern Check .............................................................................................................. 164.6 Position Control ........................................................................................................... 174.7 Acquire Image ............................................................................................................. 184.8 Instructions for Setting the Control Window ..................................................................... 184.9 Instructions for Setting the Grey Value Threshold .............................................................. 194.10 OCV Window Color Normal and Inverted......................................................................... 214.11 Tracking Linkage ......................................................................................................... 214.12 Track OCV/TIN/PIX Windows with POS windows .............................................................. 224.13 Track all windows with PATTERN CHECK Window ........................................................... 244.14 Color Inspection of the Pixel Window ............................................................................. 244.15 Control Mode of the Pixel Window ................................................................................. 244.16 Tolerances of the Pixel Window..................................................................................... 244.17 New Reference Code .................................................................................................... 254.18 Production Mode ......................................................................................................... 264.19 Menu Overview............................................................................................................ 27

5 Production Management Menu 29

6 Edit Product 30

7 Font Menu 317.1 Learn Character Group.................................................................................................. 317.2 Train Characters .......................................................................................................... 317.3 Show Font .................................................................................................................. 327.4 Confusion List ............................................................................................................. 327.5 Tolerances .................................................................................................................. 337.6 Change threshold 1 and 2 ............................................................................................ 347.7 Delete pattern .............................................................................................................. 347.8 Delete Character .......................................................................................................... 347.9 Copying, Renaming, Deleting Font ................................................................................. 347.10 Correct Font Size.......................................................................................................... 347.11 Temporary Teaching Character ...................................................................................... 35

8 Statistics Menu 36

9 Service Menu 379.1 Optical Settings............................................................................................................ 379.2 Camera Configuration................................................................................................... 39

9.2.1 I/O Configuration........................................................................................... 399.2.2 Master Slave Statistic Mode ............................................................................ 449.2.3 Eject Station Control ...................................................................................... 459.2.4 Image server ................................................................................................ 469.2.5 Reader Mode ................................................................................................ 469.2.6 Measuring Unit ............................................................................................. 47

9.3 Diagnosis ................................................................................................................... 48

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 3 / 106

Page 4: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

9.4 System Parameters ...................................................................................................... 499.4.1 Time Out ...................................................................................................... 499.4.2 Clock overflow .............................................................................................. 499.4.3 Reference Data receive check ......................................................................... 499.4.4 Consecutive error .......................................................................................... 499.4.5 On/Off measurement line automatic................................................................. 499.4.6 Trigger edge ................................................................................................. 499.4.7 Save counters............................................................................................... 499.4.8 Image transfer configuration ........................................................................... 509.4.9 Language..................................................................................................... 509.4.10 Default Text Colour ........................................................................................ 509.4.11 Date and Time .............................................................................................. 50

9.5 User and Password Management .................................................................................. 50

10 Password 52

11 Parameters of OCV/TIN Windows 53

12 Parameter PATTERN CHECK Window 60

13 Parameter Position Control Window 61

14 Parameter Code Window 66

15 Barcode Quality Control Referring to ISO/IEC 15416 7215.1 Classification of a 1D Barcode ...................................................................................... 7215.2 Configuration of Quality Control ..................................................................................... 74

16 Pixel Window Parameters 76

17 Data Matrix Window Parameters 78

18 Data Matrix Quality Control 8318.1 Data Matrix Quality Control in Keeping with ISO/IEC 15415 .............................................. 8318.2 Camera Calibration for Data Matrix Quality Control Reasons ............................................. 84

19 QR Code Window Parameters 87

20 Code Aggregation 90

21 Appendix 9221.1 Error Messages and Error Recovery................................................................................ 9221.2 Maintenance ............................................................................................................... 9421.3 Further Documents....................................................................................................... 9421.4 Adjusting the Focus / Reading Distance .......................................................................... 94

22 Specifications for OCR/OCV Control 9622.1 Font ........................................................................................................................... 9622.2 Premissible Characters for OCR/OCV Control ................................................................... 96

23 Readable Code Types 99

24 Size / Data Comparison Chart 102

25 QR Code Reading Support 103

4 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 5: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

1 General InstructionsOperator’s Duty to Exercise Due CareThe PCE OCV SMART CAMERA was designed and constructed in accordance with the stipulated harmonizedstandards and other technical specifications. It thereby conforms to state-of-the-art technology and enablesan optimum degree of safety during operation.The safety of the system during everyday operation can only be ensured if all the necessary, relevantmeasures are taken. Planning these measures and controlling their implementation is part of the systemoperator's responsibility for exercising due care.The operator must ensure that• The system is used in accordance with the stipulations.• The system is only operated in perfect, fully functional condition.• The operation manual is always in complete and readable condition at the location of the machine.• Only respectively qualified and authorized personnel operate and service the system.• This personnel is instructed on a regular basis in all the relevant aspects concerning work safety, and

that they are familiar with the Instruction Manual and the safety instructions it contains.• All the system features relating to safety are carefully tested at regular intervals.• The higher the safety risks of this device the more frequently regular inspections have to be performed.

Basic Safety MeasuresFor safe operation of the image processing system, the following points must be observed:• The camera must be mounted on a stable, mechanically fixed attachment.• During operation, the camera must be protected against the influence of external light.• The voltage supply system of the device is 24V DC and is supplied from an external voltage source. All

the safety instructions necessary for this type of system design are to be observed.• The device may only be operated by persons trained and authorized to use the device, who are familiar

with the Instruction Manual and are able to operate the device accordingly.To ensure safe operation of the image processing system, repeated inspections of all safety relevant partsmust be performed. The points mentioned above and the operating manual must be followed.

Requirements for the Operating PersonnelThe device is operated via user administration. This may only be operated by personnel specifically trainedfor the respective level.In this connection, please also read the section “Operating details and menu structure”. This InstructionManual serves for enabling the user to install and operate the device. However, this operation manual doesnot replace the installation and the customer service performed by trained personnel!

Transport, Installation and Start-upDuring transport must be ensured that the device is packed and transported so that it is protected againstmoisture and impact.When installing the device in an industrial environment, this should be done where the effects of dust,moisture, temperature and vibration lowest. Safe operation of the device can only be guaranteed if speciallytrained personnel have conducted the installation and start-up.

NOTICETo avoid the risk of stumbling, all device connections (cables) must be laid in such away that they will not cause tripping!

Intended UseThe PCE OCV SMART CAMERA is suitable for inspecting the readability of:Identification number, lot number, proof of origin, expiry date and variable print on labels, cartons, filmsand other printed items.

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 5 / 106

Page 6: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

The optical character reading monitors the most important errors of:Stamp, hot stamp block, photo plate, thermal transfer, laser or inkjet printers, that render the printunreadable or result in incorrect recognition, for example:Reversed characters; blurred characters; worn characters; merged characters or missing character(s).Typical applications for PCE optical character verification are on:Brochures, labels, vignettes, cartons, tubes and tins.

NOTICEIf the PCE optical character verification is not used correctly, reliable operation of thesystem cannot be guaranteed. For all personal and material damage resulting fromimproper use the operator of the PCE image processing system is responsible, not themanufacturer.

6 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 7: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

2 Type of ControlOCV mode (optical character verification)The individual characters are taught in once by the operator using samples. The sample will be depositedat the character set. When changing the batch the reference characters will be taught-in via keyboard. If thedeviation of the character set compared to the reference code is too big, the print will be evaluated as"BAD". Application: For bad print, because several samples of one character can be taught in. If there is a small gap or the gap is missing between the characters.

OCR mode (optical character recognition) As in the OCV mode, reference character samples can be taught-in as one character set. When changingthe batch the reference characters will be taught-in via keyboard. During production the actual characterwill be compared with all samples of the character set. The sample with the least deviation is selected andcompared to the reference code. If the matching calculated is too small, the print will be evaluated as"bad". The OCR mode is slower than the OCV mode. Spaces have to be available between the characters;otherwise they cannot be recognized individually!Application: If the OCV mode is not sufficient for distinguishing between different characters (example: O vs.0 or 8vs.B) If the content of a print job needs to be read and output. If the exact reference code is unknown but only characters from the taught-in character set are allowed.Note: OCV has a greater tolerance for poor quality print and is generally sufficient.

Teach-In mode The operator teaches in the reference character samples as a reference code. No allocation of samples tocharacters takes place. Application: Constant changes of font type and font sizes; characters must be separated clearly by a gap. Note: This mode should not be used if reference codes are specified by the PLM.

Pixel mode In a pixel window the sizes of the black and white areas are verified. The tolerances can be entered asabsolute, or relative. Application: Presence control of objects or print.

Code mode With the set window, a barcode (1D code) is read and the code content is compared with the referencecode. See the "Readable Code Types" chapter for the various possible code types. Application: Object control using code reading. Verification of the code quality (grading)

Data Matrix mode With this window, a data matrix code (2D code) can be read and compared with the reference code. See the "Readable Code Types" chapter for the various possible code types currently available. Application: Object control via data matrix code reading. Verification of the print quality of the data matrix code(grading)

QR mode With this window, a QR (Quick Response) code can be read and compared with the reference code. See the "Readable Code Types" chapter for the various possible code types currently available. Application: Object control via QR code reading. Verification of the code content.

Pattern Check The camera will search for a pattern taught in. The position of pattern and the deviation from reference willbe measured. This control type can be used for positioning of OCV/OCR, PIXEL or CODE windows. Application: Presence control of correct print. Positioning tool for other control types

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 7 / 106

Page 8: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Position Control The POS window can be used for the absolute and relative position measurement of objects. It can also beused only for the tracking and shifting of windows with each image processing cycle. Application: Position control for example of label positions or cap fitting. Positioning tool for other control types.

2.1 Numbers and Types of Camera Control Windows

The following control types are available:

Type Name Number #Optical character (OCR, OCV,Teach In) window

OCR#, OCV#, TIN# 20

Pixel windows PIX# 20

Barcode window CODE# 5

Data matrix code window DM# 5

QR code window QR# 2

Pattern Check window PC# 4

Position windows POS# 25

The results of the controls (checks) can be AND or OR linked and routed to different outputs. An AND linkand OUT0 have been preset as a GOOD output.

The 310 cannot be used for code quality verification (grading).

8 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 9: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

3 Operation of the CameraThe image processing system is operated using simple menu navigation on the display and an integratedtouch screen. The areas that shall be inspected are marked and verified using the window technique.Operating instructions are displayed for single products. The following illustration shows the main menuafter choosing a camera and pressing Menu on the touch screen.

NOTICEWhen the system is switched on, the production run – the actual control mode – isstarted. After choosing the camera and pressing Menu, the production run can be quit,and the main menu is displayed.

3.1 KeysThe following key assignments are valid in the menus:

A menu item can be selected via touch screen.• A menu item will be selected after releasing a menu item.

• Quit or cancel a sub-menu using the Exit button.

Setting windows, frames and lines:The windows for the different types of control (OCV, OCR, Code, DM, QR, PIX, PC) will be configured on thetouch screen via control symbols.

The windows can be changed directly via touch screen (mouse). By pressing the center of the window thiscan be moved, by pressing on the side next to the window the size of the window can be changed.

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 9 / 106

Page 10: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Mode

Arrow Keys

Turn Keys

• By choosing the center button the active mode can be switched.

• In “shifting” mode the window can be shifted using the arrow keys

• In “enlargement” mode the window can be enlarged using the arrow keys.

• In “reduction” mode the window can be reduced using the arrow keys.

• The entry will be acknowledged using the button.

• The entry will be cancelled using the button.

• The button will activate and deactivate the Zoom Mode, where you can change the currentlyvisible Camera Image Section.

• With the key you can switch to the rotation mode. You can now use the mouse to rotate the window.Actuating the key again will switch you back to the scrolling and scaling mode (for OCV windows only).

• Using the turn arrows and the window can be rotated in degree increments (for OCVwindowsonly).

3.2 The Virtual KeyboardAlphanumeric characters (passwords, set texts, codes) will be entered via touch screen using the virtualkeyboard. This will be displayed as soon as an entry has to be made.

• Changes between capital and small letters as well as numbers and special characters.

• Confirms the entry of characters or completes the entry.

• Cancels the entry.

• Shifts the keyboard upwards.

• Shifts the keyboard downwards.

• allows to freely position the keyboard

• let the keyboard disappear

10 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 11: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

3.3 ZoomThe Zoom function is availabe in every Acquire image menu or when it is activated with the Zoom Modebutton. With the Zoom function, the visible camera image section can be modified.

When the Zoom is set to OFF, the whole image of the camera is visible. When increasing the Zoom factor, adefined section of the image will be enlarged. This should help the operator to have a closer look on certaindetails of the inspection or when setting format parameters.

By tapping into the image display, the image will be enlarged to the next Zoom factor and centered to thislocation. The camera cycles through the available Zoom factors with each tap.While pressing and holding you can move the section to a different location without changing the Zoomfactor.

The available Zoom factors are depending on the camera resolution.

This way of adjusting the Zoom setting is also possible when Zoom Mode mode is active, in any live imagemenu and in most of the other setting menus.

Note: Do not forget to set the Zoom to OFF, when not needed. Otherwise you may miss out things that occurduring production in the area outside your enlarged image section.

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 11 / 106

Page 12: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

4 Camera Start-Up (New Product)

4.1 Teach-In - Control

12 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 13: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

4.2 OCR/OCV - Control

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 13 / 106

Page 14: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

4.3 Code - Control

14 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 15: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

4.4 Pixel - Control

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 15 / 106

Page 16: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

4.5 Pattern Check

16 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 17: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

4.6 Position Control

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 17 / 106

Page 18: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

4.7 Acquire ImageFor adjustment of camera position, focus and aperture, it is necessary to acquire an image. The acquisitionof an image is also required for teaching the control windows and learning patterns and characters.In this menu the camera will wait for an external trigger signal to acquire images.

Live imageThis Button activates or deactivates the Automatic Image Acquisition Mode. In this mode the camera willacquire images continuously until the mode is deactivated or user leaves the menu.

Optical Settings (optional) This willl call the Optical Settings Menu. [Optical Settings } Page 37]

Load image (optional)Loads a previously saved image from the camera's data storage.

Save Image (optional) Saves the current image to the camera's data storage.

NOTICEThe Load and Save options are only displayed if the Save and Load images for Test-Evaluation Diagnosis Option is activated. Error Images can also be stored in Batch record -> Show faulty pictures menu.

4.8 Instructions for Setting the Control WindowThe described procedure is valid for all types of windows (verification types) of the camera. The controlwindow is superimposed as a yellow frame. The position and size of the window can be changed. Detaileddescription of the keys on the touch screen can be found in section Keys.The active mode is shown on the mode key between the arrow keys.• Shift window,• Enlarge window,• Reduce window.Shifting the window or changing the size is carried out either via touch screen (follow cursor) or using thefour arrow keys which are also suitable for fine adjustment. Change the mode using the key between thearrow keys. Complete and save the procedure by pressing Enter.Editing multiple windowsExisting windows can still be edited in position and size. The Editing Menu is accessible through thewindows parameter tables. If multiple windows of the same type are existing, this Editing Menu will providea multi edit mode.

The possible options in this mode are Individual and All at once. The active option is marked green.

Individual: The currently selected window is shown yellow. This window is the one which is currentlyeditable. Another window can be selected by pressing near its center.All at once: The window selected last in the individual mode is displayed in red. All changes in position orsize which are done to this reference window will be applied simultaneously to the other (yellow) windows.The reference window can be switched by selecting Individual mode, choosing your preferred window andswitching back to All-at-once mode.

18 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 19: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Individual All at once

4.9 Instructions for Setting the Grey Value ThresholdSeparating the object from background is done using the grey value threshold, which is set manually by theoperator:After the control window has been set, the camera displays the binary image (black/white image).

Binary Image

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 19 / 106

Page 20: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

The black and white part of the binary image can be changed by moving the slider up and down. Theimage will be updated as soon as the slider is no longer pressed. The histogram on the right shows theamount of grey values within the window.

The threshold is set correctly if the characters are displayed in strong black. No black points should bevisible in the background.

The inkjet filter is also used for adjusting the threshold values of an optical character control window, thusmaking it easy to check the effect

20 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 21: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

4.10 OCV Window Color Normal and InvertedIf there is a combination of windows with dark font on light background and light font on dark backgroundin the document, this action can be performed separately for each window in the OCR parameter table('Parameters of OCV/TIN Windows').

If different settings in the OCR parameter table are used in a product, then for each new window the camerawill ask whether dark font on light background or light font on dark background should be used.

In the production display a window with inverted font (light on dark background) is marked with a windowname with inverted font (see image OCV1 below). If the reading direction is vice versa (from right to left / from bottom to top) the reference code will bedisplayed in an inverted font (see image 0A186A12.2011 below).

4.11 Tracking LinkageSome control windows can provide position information like a Data Matrix Code position or the edgeposition of a label. With this information other windows can be repositioned in the camera image beforethey are being processed. For repositioning one window by another, the two windows must be linked.The following windows provide position information after they were processed and can shift other windowsby the position offset: PC, DM, QR, POSThese windows can be shifted by one of the previously named window types: PC (only by other PCwindows), POS, CODE, TIN/OCR/OCV, PIXThe windows are executed depending on their type in the described order and in numerical order. (PC0,PC1, ... , DM0, DM1, … , etc.)

As a diagnosis option, the display of the brown connection lines can be switched on in the Diagnosismenu. The arrow link displays the linking direction and points from the leading window to the one whichwill be shifted.

Example: The yellow windows POS0 and POS1 are searching for the location of the bottle. POS2 is shiftedby POS0 and POS1 to the correct position and inspects the cap location on the bottle. POS3 is also shiftedby POS0 and POS1 and then checks the label position. Finally the PIX0 window is shifted by POS3 to thecorrect location on the label and checks for the presence of the printing.

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 21 / 106

Page 22: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Example: The windows OCV0 - OCV3 are all shifted by the position offset of the DataMatrix code, foundinside the DM0 window.For changing the processing order (for example to change the linking direction of two linked POS windows)please refer to the Change control window sequence menu in [Edit product } Page 30].Windows which would be shifted outside the camera-image, will be marked magenta on the affectedwindow sides.

4.12 Track OCV/TIN/PIX Windows with POS windowsIn case the print position of the text characters differs between the printed labels, the window positionshould be tracked using POS windows, Data Matrix-Code or a Pattern position.If the Label has a code or a check pattern printed together with the text or pixel you have to control, try touse tracking via Data Matrix or check pattern. On other cases the inquiry Add POS window for tracking ofOCV/TIN/PIX has to be answered with Yes.

Adding POS windows for trackingIf a new OCV/OCR/TIN window is set and POS windows for tracking are activated, the camera will add twoPOS windows (one horizontal and one vertical) and adjust them automatically. To keep operation expen-diture small, the two POS windows should be set only for the first window. All further windows are likewisecorrected with these POS windows.If a new PIX window is set and tracking is activated the POS window has to be set manually.

Manual setting of POS windows for tracking:If you have set two POS windows for the tracking of one or multiple OCV/OCR/TIN windows you can use theoption to align the POS windows automatically. This only works for POS windows which have a horizontalor a vertical search direction.Also the pixel windows can be tracked with POS windows. In case e.g. the black printed area varies severalmillimeters to the left, right or up and down. First of all the POS windows adjust the yellow control windowto the correct position. Afterwards the content of the window is evaluated. It always has to be set to at leasttwo lines. These can be active for only one window, several windows or for all windows. If necessary,individual POS windows can be set for each window. That means each window can be adjustedindividually with two lines.Regarding the OCV, OCR and Teach-In control the tracking POS windows can be aligned automatically.Please see also Section “Set measuring lines automatic”.

22 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 23: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

One measuring line is necessary horizontally or vertically respectively.

Inside the capture ranges a changeover from bright / dark is searched across the scanning width. The lineindicates the search direction here.

Setting the POS window for the horizontal guiding positionFirst, the tracking POS window is set to the horizontal guiding position. By operating the arrow keys you canchoose the direction in which the edge should be searched. This is to be set as shown in the example:

Correct

For greater clarity in the example, only one window is set around the first line. The line scans the secondline from the right and guides the window back into position accordingly. The line is correctly positioned asno other additional print is found in the scanning area of the POS window.

Setting the POS window for the vertical guiding positionThe line for the vertical guidance can scan downwards or upwards. In the example, the line is shownscanning upwards.

Correct

The line is positioned correctly because no other additional print can be found in the scanning area of thePOS window.

Alternative: Setting one POS window for both directionsIf the area around the corner of the printing is free, you can work with one single POS window, which isscanning in horizontal and vertical direction.

Correct

The line is correctly positioned, as no other additional print is found in the scanning area of the POSwindow.

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 23 / 106

Page 24: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

A grey value threshold is also defined for each POS window. The threshold is optimally set when thebackground is an even grey and the print is shown in black with sharp outlines.After setting the POS window for tracking you can still edit parameters for those windows in the ParameterTable for POS windows.

4.13 Track all windows with PATTERN CHECK WindowInstead of measurement lines it is also possible to use a PATTERN CHECK for positioning other controlwindows. This tool is more flexible, because there are fewer restrictions.To use this feature, measurement lines have to be denied during setting up OCV/TIN/PIX windows. At theend of PATTERN CHECK adjustment, the question arises weather all other active controls ((Data Matrixwindows expected) should be tracked using this tool. If Yes is selected, all windows will be moveddepending on reference pattern position.

„Exp“ = reference pattern;„PC0“ = Pattern Check window;“OCV0” = window, which will be moved;

4.14 Color Inspection of the Pixel WindowWhile teaching in a Pixel window, the message is displayed that asks: Which pixels are to be counted?.There are two answering possibilities, dark pixels or bright pixels. The answer that is suitable for the objecthas to be chosen. For example dark pixels have to be chosen, if a dark print on a white background shallbe inspected. Bright pixels have to be taken, if a white label on a brown bottle shall be inspected.

4.15 Control Mode of the Pixel WindowAfter choosing the pixel color the message Reference value for the tolerances is displayed with the choiceof Presence control or Print control.

“Presence control” (absolute measurement)For the “absolute measurement”, the black area e.g. is displayed as a measured pixel number. When theblack area increases, the measured number of pixels increases, and vice versa. The plus tolerances and theminus tolerances are entered as a pixel number. Finally, in the production mode, the measuring value issimilarly displayed as a pixel number.

“Print control” (relative measurement)In the relative setting, the size of an area (reference area) is taught in and accepted as 100%. The followingmeasurements can be smaller than 100% if, e.g. the printed area is missing, or greater than 100% if, e.g.there is too much print. The input of the plus and minus tolerance and the display of the measuring valuesis given as a percentage value.

4.16 Tolerances of the Pixel WindowAfter selecting and acknowledging with Enter the present measuring value is displayed in pixels or as100%. The camera waits for the entry of the minimum tolerance. Following this, the maximum tolerance isentered.

24 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 25: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

• For the presence control:the minimum tolerance value should be less than the actual pixel value and the maximum tolerancevalue should be greater than the actual pixel value.

• For the print control:the minimum tolerance value should be entered less than 100% and the maximum tolerance valuegreater than 100%.

4.17 New Reference CodeThe entering of new reference codes depends on the control windows which have been set before.

Control Window New Reference CodeTeach-In Reference character will be taught-in by the means of

a GOOD-print

OCV Reference character will be entered via the keyboard

OCR Reference character will be entered via the keyboard

Code Depends on the “Teach-in” parameter, see the“Parameters for the Barcode Window”.- Reference character will be entered via thekeyboard- Index a./o. Parameter of the code will be taught-inby means of a GOOD code

Pixel In case of control type "Print Control" the printreference will be taught-in by the means of a GOOD-object.

Data matrix Depending on the parameter “Teach-in Code”, see“Parameter Data matrix window”.- Reference character will be entered via thekeyboard- Index a./o. Parameter of the code will be taught-inby means of a GOOD code

Pattern Check No action

NOTICEIf the camera is operated with PLM 4 or higher, reference codes will be transferred fromthe PLM to the camera at start of production. The input reference codes are of secondaryimportance in this operating mode, nevertheless this function is useful because the CODEand data matrix windows detect important settings during reference check.

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 25 / 106

Page 26: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

4.18 Production ModeAfter entering the reference code it is possible to change over to the production mode, and the camera isready for operation.If only PIXEL or PATTERN CHECK windows are used for inspection, it is possible to change directly to theproduction mode after creating a new product.The camera is now ready for operation.

NOTICEFor safety reasons it is not possible to switch to production mode with the “DefaultProduct” since there are no control windows set. The warning message “No windows set”appears on the screen.

26 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 27: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

4.19 Menu Overview

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 27 / 106

Page 28: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

28 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 29: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

5 Production Management MenuNew productTo create a new product, please follow the instructions of section [Camera start-up (newproduct) } Page 12]. The teach-in procedure is basically identical for all the camera inspection types(Teach-In, OCV, OCR, code, pixel and Data matrix): image-acquiring, naming the product, and selectingthe inspection type, setting windows and different parameters. This procedure is repeated for each controlwindow required.

Naming, copying and deleting the productBefore a product is renamed, copied or deleted, the required product is selected from the product list. Thenthe product can be changed or deleted accordingly.

Show productThe entire data specific to the product are displayed here. To print out the data, drag the slider on the right ofthe window down until the text line "Print data" at the end of the list appears. Use the touchscreen to selectit. By default the question arises weather the data shall be saved (as a PDF-file) or sent directly to aconnected printer (via the PCs standard printing menu). The file will be saved by default to the PLM (resp.MscClient) installation folder on the PC. Printing and saving works only for PLM versions above 4.1.

Change productAfter choosing this option, all products created until now are displayed. The required product can beselected. In this way, all the settings stored under this product are called up and activated.

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 29 / 106

Page 30: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

6 Edit ProductUse the Menu button to navigate to the Main menu and then activate the Edit product submenu therein.This submenu contains the various options for changing an existing product. You will need to do this if thewindow position, window size, reference positions for tracking, etc., are no longer correct. You can makethe changes under the corresponding menu items. The description of the parameters for each type of controlor inspection you will find in a separate chapter in this manual.

Change control window sequenceIn this menu the index number of the control windows can be changed. This way also the processing orderof those windows is affected.When changing the order of two windows of the same type (e.g. PC0 -> PC1 and PC1 -> PC0), which arelinked for tracking, the following window will become the leading window and vice versa.It is not possible to change the processing order for windows of different types.

Set DM windows automaticallyThis function will let you set a window for one DM code in the camera image. When the camera has readthe code it will search for a number of other resembling DM codes and set the control windows for themautomatically.

Track windowsSee chapter [Tracking linkage } Page 21]

Switching off the cameraIn the menu Change product the camera can be switched off. During production run, the message Camerais switched off is displayed. The following signal conditions are possible for adaptation to the machinecontrol:

Camera ON System Ready = High Good signal(s) as per the settingin the service

Camera OFF System Ready = Low Good signal(s) always = High

Camera OFF System Ready = High Good signal(s) always = High

NOTICEWhen the camera is switched off, it always sends a “GOOD signal” to the machine.Because no check is performed, the light will not flash.

Test-EvaluationThis option is only available if you activated the corresponding Diagnosis function. With this option you cantest your current inspection setup, without entering production mode. You can decide to take a (triggered)Live image or to load a previously save camera image. The inspection will then be applied to this imageand you will see the results as they would be displayed in production mode.

30 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 31: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

7 Font MenuIn this menu characters can be taught in. There is the choice between teaching several characters at once ormultiple char sets. Up to 70 different characters can be applied per character set.

Please note! A new character set (font) must be created, when size of characters, font type orcharacter orientation (horizontal, vertical, upside down) was changed!

7.1 Learn Character GroupAfter selecting the menu item Learn character group in the sub-menu Character set, an image of a sampleobject has to be taken. “Live-image” or “Live-image with trigger” can be chosen.Afterwards the character set belonging to the characters that shall be taught in can be selected.A teach-in window is inserted in the image acquired. The position and size of the window can now bechanged. The active mode is displayed in the lower status line. Depending on the mode, the window can beshifted, enlarged or reduced using the touch screen or the four arrow keys, as mentioned in chapter 5.1.

• Changing the mode using key Mode;

• Acknowledge and terminate the procedure using the Enter key.

With a teach-in window, a complete line can be taught in. The character(s) must lie completely inside thiswindow. For character strings without a gap or for poor printing quality, the teach-in procedure should becarried out for each character separately. In this case, make sure that only this one character and noadditional print is inside the teach-in window.

After setting the window enter the character (or characters) using the keyboard. For entering letters, pressthe Alpha key and for capital letters, additionally press the shift key.

If the same characters are already available in the character set, a message is displayed asking whether thecharacters are to be additionally taught in, or whether they should be overwritten. After all the charactershave been taught in please change to the mode, "Train characters".

7.2 Train CharactersIn this special mode a re-correction of the taught-in characters is carried out inside the reading window. Forthis reason the references for all the windows are scanned. A trigger signal is required for starting. Using thetraining function, additional character samples are created. The training is used to reduce the “Pseudorejection” in the production mode.

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 31 / 106

Page 32: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

7.3 Show FontIn this sub menu all the characters of one character set is displayed. For inspecting the “Teach-in andtraining results”, the samples of a character shown as a group of 8 can be viewed.

Characters that cannot be read properly can be deleted.The quality of the samples is decisive for the system's readability exactness.Make sure that the character samples are easily readable and can be distinguished well from the samplesof other characters.

• The black character contour should be shown without any discontinuation.• The green zone describes the pixels that may be black or white during evaluation. In other words, this is

the tolerance zone.

For checking how good the separation of characters works, please see [Confusion List } Page 32].

7.4 Confusion ListThe Confusion List shows for each character the most similar character. Since there exists up to 8 differentpatterns for each character, the number of the most fitting pattern will also be displayed.

The values in the last row show the amount of different modules and the matching tolerance (here forexample “6”). In this confusion list, separation of all characters is guaranteed, because for all charactersthe amount of different modules is greater than matching tolerance. If this is not fulfilled, the matchingtolerance for the regarding character can be decreased or the regarding pattern can be deleted.

32 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 33: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

7.5 Tolerances

Change matching tolerance and searching toleranceThe matching tolerance specifies the maximum permissible deviation between the actual character and thereference character. If the deviation is less than the matching tolerance, the character is recognized as“good”. --> Character marked green. The current character will be searched as long as the deviation issmaller than the searching tolerance and larger than the matching tolerance. When the max. search time isexceeded (“! TO !” marking) or when the end of the window is reached, the search will be terminated andthe control window is marked red.

A character recognized as “Good” will be marked green. An incorrect character will be marked red.Matching tolerance is adjustable for each single character!

Change size toleranceThis factor determines how much the size of a taught-in sample may vary from the read character and stillbe recognized. The default value is 30%, which means that a taught-in sample and a read character mayvary by as much as 30% and still be recognized as “Good”. This setting can be reduced to less than 10%in order to distinguish between characters that are only different in terms of size, e.g. zero = “0” and “O” oreight = “8” or “B”. For such character sets it is also recommended using OCR, because characters are nolonger recognized with certainty if the size tolerance is less than 5%.

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 33 / 106

Page 34: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

7.6 Change threshold 1 and 2Threshold 1 and threshold 2 define the black and white proportions of a character. Threshold 1 specifies amean value and threshold 2 a deviation from this mean value. The graphic illustration of the values can beseen in “Display character set”. The gray background is above threshold 1+(1/2*threshold 2). In “Displaycharacter set “, the characters are displayed as follows: The green area lies within the tolerance specified bythreshold 2. And the black area is below threshold 1-(1/2*threshold 2).

black = core area of the character,green = black or white area, grey = background (white)

7.7 Delete patternBy selecting the character and the respective sample number a sample can be deleted.

7.8 Delete CharacterBy selecting the character and selecting the Delete character menu item, it is possible to delete an entirecharacter with all samples.

7.9 Copying, Renaming, Deleting FontThe simple character set administration allows copying, renaming and deleting a character set. Caution! Acomplete character set can be deleted here. In the menu item Display character set individual characterscan also be deleted.

7.10 Correct Font SizeFor each character taught-in the width and height is saved. If now, e.g. the reading distance is considerablychanged, or the same character set shall be created in another size, it is possible to correct the charactersize (height and width) in the menu character set. To change the character size, please proceed asfollows:

1. Call menu Correct character set/character size;

2. Acquire image using “Live-image” or “Live-image with trigger”;3. Select character set required;4. Use window to completely frame a line with several characters;5. Set grey value threshold;6. Enter character sequence of the window;

Then the size for all the characters of the selected character set is corrected.

34 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 35: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

7.11 Temporary Teaching CharacterThe procedure of “Temporary teaching character” is the same as “Learn character group”. But in this menuthe taught in character will be saved only until the format is changed.After teaching character go to "show font" to check results.

Pattern 1 is marked “brown”, because this pattern was taught-in temporarily.

See also2 Show Font } Page 32

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 35 / 106

Page 36: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

8 Statistics MenuStarting, viewing and ending batchWithin the statistics menu, a batch protocol can be started. A batch protocol is intended for documenting theproduction. All the relevant data, such as the order number, quantity, remarks etc., can be entered in thebatch protocol at the start of a batch. The first three lines marked with "<Fix>" have to be entered once andwill then appear on every protocol start.The information in the first "<Fix>" line (max. 45 characters in length) will also be displayed in theproduction run and in the main menu at the top margin of the screen. Hence for example different batchescan be distinguished faster.To print out the data, drag the slider on the right of the window down until the text line "Print data" at theend of the list appears, and then use the touchscreen to select it.By default the question whether you want to save (as a PDF-file) or send the data directly to a connectedprinter (via the PCs standard printing menu) appears. The file will be saved by default to the PLM (resp.MscClient) installation folder on the PC. Printing and saving works only for PLM versions above 4.1.

NOTICETo display the menu screen after changes are made a restart of the system is required.

Display error imagesDepending on the configuration, up to four error images, generated during the last production run, can bedisplayed.Options Buttons:• [Continue] Displays the next error image• [Cancel] Ends the display• [Accept] Accepts the error image as current sample, so it is available for teaching in characters and

other improvements.

NOTICEThe error images are lost once the system is switched off. In the Service menu can beselected, whether no, one or four error images shall be displayed.

Delete counterThe counters for good and bad readability are set to zero. The deletion of the counters is only active if nobatch protocol has been started.

36 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 37: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

9 Service MenuWhen calling up the menu item Service the password for access to the service settings is required. Thepassword after delivery of the device is "000".

To make any specific settings on the system select the menu item Service in the main menu.

NOTICEIf changes to the service settings shall be made, a documentation is available in thechapter "Form Settings ".

9.1 Optical SettingsShutterThe shutter value states the exposure duration of an image in µs. The image will get brighter using highvalues and darker using low values. The exposure duration is also related to the flash duration of theinternal or external LEDs and the exposure duration of the image acquired by the camera. High shutter timesand fast moving products may cause a motion blur in the images acquired.The shutter can be adjusted via a slider that switches between high and low values if needed.

The cameras will be delivered with the following values:

Type Resolution [Pixel] Description Shutter [µs]320 1600 x 1200 Standard 300

NOTICEIf the camera is equipped with a dimmable internal illumination always set dimmervalues to maximum before adjusting the shutter values.

For data matrix quality analysis, it is recommended that these values are not changed. The values may bedifferent for cameras with external illumination, UV illumination, or for special requirements.

GainThe Gain setting can increase the image brightness without affecting the shutter or lens aperture. The higherthe value the brighter the image. The value can be set for each format individually.

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 37 / 106

Page 38: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

NOTICEHigher Gain Values may cause a lower image quality by adding more noise.

FocusThe Focus Menu includes an indicator for the image sharpness. This value will increase until the maximumof sharpness is reached.

IlluminationIt is possible to switch between internal, external and internal, and external lighting here. The setting isstored under the current format name. This function is only available for certain types of cameras!

ResolutionIf only a part of the field of view is needed it can be reduced by changing the resolution. The resolution canbe changed for example to ‘640x480’ pixel, ‘1024x768’ pixel, ‘1280x1024’ or full resolution, dependingon the Camera Type. The sector that shall be inspected can be selected by shifting the image.

GeometryThe geometry of the recorded image can be adjusted for presentation and processing. A typical applicationis the correction of an upside-down image. Possible options are: ‚turn image by 180 degree’, ‚mirror imagehorizontally’, ’rotate image by 90 degree to the right’, ‘rotate image by 90 degree to the left’, ‚mirror imagevertically’, and ‚normal image’.

Shading CorrectionIf the camera image has an unevenly or inhomogeneous brightness distribution, we talk about imageshading. This shading can for example be caused by the illumination or the camera optics. For these casesthe camera has a correction function to compensate the shading. For using this shading correction thecamera has to be calibrated once.

• CalibrationThe camera switches to the Live Image view. You need to place a plane, white surface into the camerasfield of view in the same distance as the product, which the camera will inspect. It will be used as areference for defining the appearance of the shading.

Before calibration: Calibrating (full correction range):

The range of the correction is adjustable while calibrating. For a low range value, only pixels with a strongdeviation will be corrected, for a high value, also pixels with a small deviation will be corrected. A higherrange value will cause a more homogenous image but also increases the calculation time.

• Correction On/OffThe correction data is global but the correction can be activated or deactivated for each product. In thismenu the shading correction can be turned on or off for the current product. This menu will show a liveimage preview, to see the effect of the correction and also the time consumption of the processing.

• View Shading TemplateThis menu displays the correction template/image for diagnosis purposes.

38 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 39: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

9.2 Camera ConfigurationSettings regarding the camera can be adjusted using this menu.

9.2.1 I/O ConfigurationGood outputs and results-linking for window groupsControl windows can be organized into groups. Each control window must be in exactly one group. The firstgroup is G0 in the basic setting for each window.The good output of a group defines on which camera output the result of all control window of this group isdisplayed. The good/bad results of the control window or window groups is given in the basic settings onthe “good output” (OUT0) of the camera. There is a further output (OUT2) of the camera available whichcan be used as a second good output.Within a group, the results of window control are linked to one another, and return a group result. Theresults are linked with AND using the basic settings. If the results of several groups go through the sameoutput, the group results are always connected together using the logic AND.

Linking logic:

AND - already bad reading from only one control window leads to a total 'bad' result. (“Bad wins”)

OR - already a good reading from only one control window leads to a total 'good' result. (“Good wins”)

The camera offers a “good signal”; it is high during a good reading (+24V) and low during a poor reading(0V). There are four variations of good signal behavior to choose from.• Mode 0: For the setting “Good pulse after evaluation up until the next trigger” the good signal is high or

low, depending on each evaluation after a trigger pulse. During the evaluation time, the good signal islow.

• Mode1: For the setting “Latch mode” the good signal remains low after a poor evaluation, even if othertrigger pulses and possible good readings follow. For resetting a poor reading, the quit key therefore hasto be pressed. The quit key is located on the terminal, or separately on the machine. During theevaluation time the good output remains high.

• Mode 2: For the setting “Good pulse after evaluation up until expiry of the defined time” the output is setafter the evaluation time up until the expiry of a settable time. In the case of a negative reading result theoutput remains at low. The GOOD pulse length can be set between 5 and 100 ms.

• Mode 3: not supported at the present time.

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 39 / 106

Page 40: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

WARNINGIn order for the camera to be able to recognize the negative trigger edge, the white quitlead has to be connected to the brown trigger lead.

• Mode 4: not supported at the present time.• Mode 5: not supported at the present time.• Mode 6: For the setting “like configuration ' 2 ', only with additional RESULT-READY signal on exit '

OUT3” the output is set after the evaluation time up until the expiry of a settable time. In the case of anegative reading result the output remains at low. The GOOD pulse length can be set between 5 and100 ms. In addition the output ' OUT3 ' is set on High. This means that starting from this time a goodsignal can be measured. Thus 2 identical signals come at the same time during a positive reading.

• Mode 7: For the setting “like configuration ’6’, but good signal and the next trigger can be overlapping”if the output is set after the evaluation time up until the expiry of a settable time. In the case of a negativereading result the output remains at low. The GOOD pulse length can be set between 5 and 100 ms. Inaddition the output ' OUT3 ' is set on High. This means that starting from this time a good signal can bemeasured. Thus 2 identical signals come at the same time during a positive reading. In addition, it ispossible that the good signal and the next trigger are overlapping, without any problems.

• Mode 8: In this mode there will be a delayed emission of a GOOD impulse at a defined time after thetrigger. The mode has been programmed for applications in which a good signal confirms the positionand content of a code at a precise time. The delay interval and the pulse length are adjustable. A secondtrigger before the possible output will be ignored. The delay between time set and trigger output can beup to 5 ms.

The following diagram clearly shows the different signal samples.Signal overview of the trigger and good signal.

40 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 41: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Trigger signal from the machine:

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 41 / 106

Page 42: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Trigger signal from the machine:

42 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 43: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Trigger signal from the machine:

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 43 / 106

Page 44: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

False codeThe universal camera output OUT2 can, as an option, also be used for displaying a false code. Thisadditional signal is High (24V) if the code agrees with the reference. If the code is not legible or has falsecontents, the signal is Low (0V).In this mode OUT2 can be used together with OUT0 in order to discover sub-mixes.

When using this function, all DataMatrix, Barcodes and OCR controls are checked. Furthermore, OUT2 canno longer be used as a good output.

A “false code” error (OUT2->Low) occurs in the following cases:

DM OR Code OR OCR

If at least one DMcode has a legiblecontents whichdeviates from thereference code.

If at least one barcode codehas a legible contents whichdeviates from the referencecode.

If at least one OCR window readsa string in which at least onecharacter does not match thereference character, but a differentcharacter from the character set orif the character set does notmatch.

Data Valid / Data Ready SignalSee good output configuration, modes 6 & 7.

Control output OUT3Using the option “Control output OUT3,” one can choose depending upon format whether the output OUT3 isswitched with 0V or 24V. At this output, for example, an additional illumination can be switched on. So thatthe choice of a specific format in which this output is set to 24V, the external illumination is switched on.

9.2.2 Master Slave Statistic ModeThis option is only available if the needed extension program OCRMSS is installed on the camera and onlywork with a compatible PLM version.

This parameter controls a Master Slave Statistic messaging system. In this mode multiple cameras, actingas Slave Cameras, send their statistic data to one Master Camera. This Master Camera bundles all statisticdata into on statistic message for transmission via the VDMAXML communication interface e.g. to the PCELine Manager (PLM).

Master Mode:The Master Camera is ready to accept a connection from a Slave Camera when it is in Production state. Allmessages the Master Camera receives from the Slave Cameras are put into a queue. After a trigger wasreceived the Master Camera processes its own inspection. After that it generates a Statistic Message, whichcontains the Masters Statistic Data from the current cycle and the oldest Statistic Data from the queue foreach Slave Camera and sends it to the PLM. If the queue is empty for any of the Slave Cameras, the MasterCamera will wait for this data before it sends the Statistic Message to the PLM. One Master Camera canhandle 4 Slave Cameras at maximum.

Slave Mode:The Slave Camera connects to the Master Camera as soon as it enters Production state. In Production stateafter a trigger was received, it processes its inspection function and afterwards sends the resulting statisticdata to the Master Camera.

Master-IP:The Master IP is the IP address of the Master Camera. It has to be entered once, so that the Slave Cameracan connect to the right camera when entering Production Mode.

44 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 45: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

On the production screen of the Master Camera the IP addresses of all connected Slave Cameras aredisplayed. If there are currently messages in the queue, the number of messages will be displayed behindthe corresponding Slave Camera IP. On the production screen of a Slave Camera, the IP address of theconnected Master Camera is displayed.

9.2.3 Eject Station ControlIn this mode the camera can track a product and control an eject station without a PLC.The camera must be mounted directly next to the eject station. There must be no other products in betweenthe camera and the eject station, until the last evaluated product has passed the station.The camera uses three 24V inputs for handling the tracking. Furthermore one 24V output is used forcontrolling the eject station and one 24V output (System Ready) for stopping the machine, if an erroroccurs.

Sensor1/TriggerThe product is at the camera position and should be inspected.Sensor2/Eject Station The product has arrived at the eject station.Sensor3/Counter Check Product has passed the eject station.

Eject Station Control SettingsSensor Signals - Sensor2 / Sensor3:If set to “Rising Edge”, the camera will detect a product with the rising edge of the sensor signal. If set to“Falling Edge”, the camera will detect the product with the falling edge of the sensor signal.Eject Signal - Logic If set to 24V the camera will set the ejection output to 24V to activate the ejector. If set to 0V instead, thecamera ejection output will be 24V by default and will be set to 0V to activate the ejector.Eject Signal - Delay Specifies the time until the eject signal will be set after the product has been detected at Sensor 2.Eject Signal - Duration The time frame for how long the ejection signal should persist

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 45 / 106

Page 46: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Counter Check - Timeout From the moment when the product has been detected by Sensor 1, this defines the timeframe in which agood product must have passed the eject station and been detected by counter check Sensor 3. If a badproduct which has not been ejected is detected by Sensor 3 or if a good product was not detected by Sensor3 within the timeframe, the system will be stopped.

NOTICEThe following product must not pass Sensor1 before the current timeframe is closed.For Error recovery, please refer to Appendix 23.1Error Messages and Error Recovery.

9.2.4 Image serverThis option is only available if the needed extension program OCRIMG is installed on the camera. With thisoption there is the possibility to transfer all faulty pictures to an external storage space. The images will bestored in a reduced resolution with integrated overlay graphics in a special format. For this feature a FTPclient is running in program OCRIMG. On server or PC side a standard FTP server e.g. “IIS FTP”, “FileZil-laServer”, “WingFTPServer”, “Quick&EasyFTP”, or other is needed. Please use ”mtpceftp” as user name andpassword on FTP server side. The camera will generate a sub directory “100.xxx”. “xxx” is depending on IPaddress of camera. The Filename will have the following syntax:<format name><error counter>.999

While ftp server is running, press on text Image server off .

Image Server Settings

FTP Connection Image server off

IP address server ---.---.---.---

FTP user mtpceftp

FTP password mtpceftp

FTP Subdirectory 100.216

Camera will try to connect with server. When successful, the IP address of the server will appear in thetable.

Image Server Settings

FTP Connection connected

IP address server 192.168.100.010

FTP user mtpceftp

FTP password mtpceftp

FTP Subdirectory 100.216

The faulty images can’t be displayed with a standard image viewer. For displaying images, please seeInspection Manager (IM) or PCE-Line-Manager (PLM) user manual.

9.2.5 Reader ModeStandard:The camera is waiting for the trigger signal on input 0. With rising or falling edge (adjustable) a picture willbe taken. After that the camera starts with evaluating the image. When finished, the good signal will be set.

Auto-Read:When gate signal on input 1 is high, the camera grabs a picture and evaluates the image. This will berepeated till the end of gate signal or a positive reading result.

46 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 47: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Aggregation:Please see Chapter “Code Aggregation”.

Aggregation (partial rejection):Please see Chapter “Code Aggregation”.

Peel-Off Check:This mode is dedicated for when the Smart Camera is doing a regular product/label inspection but is alsoused as a counter check for rejections.While the signal on input 1 (IN1) is high, the Smart Camera will behave as follows:• will not increase the good or bad counters• will not send any results via the VDMAXML interface (to the PLM for example)• will invert the result signal logic (high signal on bad and low signal on good evaluation)

9.2.6 Measuring UnitIn this menu you can set and calibrate a conversion from the camera's pixel values to a different measuringunit. You can choose between millimeter and inch. All control windows which support this feature will thenshow their inspection results in mm or inch instead of pixel.When setting up a measuring unit you will have to calibrate the image scale. In the calibration process youneed to put a defined scale (e.g. a ruler) into the camera's view, mark two points on the display and entertheir real distance in your chosen unit.

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 47 / 106

Page 48: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

9.3 DiagnosisIn order to switch the different display functions of the system on and off, the diagnosis value is changed.The diagnosis value is also a helpful instrument for seeking errors. Currently the following functions can becalled up for diagnosis:

Diagnosis Level

Pattern Check: Current Values

OCR/OCV Window: Binary Picture

OCR/OCV Window: Blank-Out

OCR/OCV Window: Current Character

OCR/OCV Window: Matching Accuracy

OCR/OCV Reading Direction

PIX/POS Window: Binary Picture

Data Matrix: Display Edge and Grid

Data Matrix: Display Binary Picture

PIX window: Current values

Debug Data Matrix searching (exp. mode)

Debug character searching (exp. mode)

Debug code reading (exp. mode)

XML Data on Port 23 (exp. mode)

GUI Data on Port 23 (exp. mode)

Data Matrix: Display Quality Parameter

XML ACK on Port 23

GUI ACK on Port 23

BarCode: Display Quality Parameter

Save and Load images for Test-Evaluation

Display Tracking Linkage

POS: texts on top left

Display duration Ref. Data -&gt; Trigger

digital testbench mode

NOTICEPlease observe that changes in the diagnosis level can increase the evaluation time of thecamera. The debugging display functions cannot be used during machine run.

Data that sent via the serial interface to Port 23 (Ethernet, TCP/IP, Telnet-Port) can be received by a PC, e.g.with the PCE service program JDATATRANS, or can be visualized via a laptop and a suitable terminalprogram.

48 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 49: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

9.4 System ParametersSpecific camera parameters that as a general rule only have to be changed when mounting the camera areset in the System Parameters submenu.

9.4.1 Time OutUsing this value, the maximum evaluation time of the camera can be changed. The value is given inmilliseconds [ms]. A typical product with a data matrix window and three OCV windows requires less than100 ms on a standard camera. These times could vary through bad print quality, grading, switched ondiagnosis functions, or high image quality image transfer setting.

9.4.2 Clock overflowThe camera offers a function for detecting when the machine is running too fast. If the camera is triggeredwithin the evaluation time, then the error message “Machine over clocked” is shown on the display. Thiscan be deleted by pressing any key. The speed of the machine must be reduced if this message appears.The function can be switched on and off.

WARNINGIf for example the trigger signal bounces it is recommended switching off the overclocking protection.

9.4.3 Reference Data receive checkWith each trigger, the camera will check if it has received new reference data for all applicable ControlWindows via the VDMAXML_P interface (e.g. the PLM). If one or more windows have not received any newdata, the camera will stop the machine by switching off the System Ready signal.

9.4.4 Consecutive errorThe production will stop after a certain amount of incorrect readings. After this number, the system readysignal goes to low and is reset to high only after acknowledgment of the error message.

9.4.5 On/Off measurement line automaticWhen this menu item is active, the measuring lines for position guiding are automatically set during settingup a new product and activating measurement arrows.

After selecting automatic a grey offset (basic setting 15%) can be set for the measuring lines. Finally themaximum permissible position tolerance in the reading direction (basic setting 50) has to be entered.

9.4.6 Trigger edgeWith this option can be adjusted whether the camera takes an image after the rising trigger edge from 0V to24V, or after the falling edge from 24V on 0V. The rising edge is set by default.

9.4.7 Save countersIf this option is active and a High signal is applying at input IN3, the counters (ALL and GOOD) are storedin the file “_counter.110 “in the Flash. This option prevents that the counters of the camera are lost duringpower loss. The supply voltage of the camera has to be buffered longer than 100 ms. In the frame buffer themessage appears !Power fail! Counters are saved!.

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 49 / 106

Page 50: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

9.4.8 Image transfer configurationHere the quality of the transferred images can be modified or turned off. Depending on the value used forimage quality, the transfer is activated or deactivated; the screen will be updated accordingly in theproduction mode. Image transfer is turned on (activated) and set to a quality of '2' by default, which meansthat with a resolution of 640 x 480, only every second pixel in X and only every second pixel in Y will betransferred. The evaluation time could increase to 30 ms if every pixel were transferred.

WARNINGIf image transfer is deactivated, in the production mode the screen will not be updated,including counters. Internally, however, the recorded image will be analyzed and allsignals will be emitted as usual. It is possible to call up the main menu at any time with“MENU”. In this case image transfer is always activated!

9.4.9 LanguageThe language of the user interface can be changed here. The corresponding language files must be installedon the camera. In some cases the currently existing language files are only available upon request.

German ocr_de.222

Italian ocr_it.222

Hungarian ocr_hu.222

Polish ocr_pl.222

English ocr_en.222

English ocr_en.222

Spanish ocr_es.222

Dutch ocr_nl.222

Portuguese ocr_pt.222

Swedish ocr_sv.222

French ocr_fr.222

Danish ocr_da.222

Norwegian ocr_no.222

Slovenian ocr_sl.222

Turkish ocr_tr.222

9.4.10 Default Text ColourHere the pre-selection of the preferred font color for OCR, OCV or Teach-In windows can be selected. Thiscolor is also valid for teaching in fonts. Depending on the setting, dark print on light background or lightprint on dark background will be the default for creating a window or teaching in a character set. Thecamera analyzes the set reading fields and queries again if there is an obvious deviation from the presettext color. If both is specified as the preferred font color, the camera will then query the desired font color foreach new font window.

9.4.11 Date and TimeIn this menu the internal clock of the Camera System can be set. The Clock representation follows the International Date and Time Standard Format: YYYY-MM-DD hh:mm

9.5 User and Password ManagementThe default password for all the menu levels is “000”. This can be freely configured in the Usermanagement or under Change password. The password “000” allows Administrator rights. By default,the password is requested on the menu levels:

50 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 51: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

• Change Product• Product management,• Character set,• Service,

• Change password requested.

NOTICEThe PLM software will handle user management if the camera is used with Version 4 ormore recent versions.

User managementSeveral users with user names, passwords and different rights can be set up. These settings are made inthe User management menu. In the basic setting, the user is “admin” with password “000”.

The selection of the menu levels for which a password is requested, can be set in the user admin. Bypressing the key admin twice the settings Change password, Define password, Minimum passwordlength and Logout Time. Under Define password levels, the required password levels can be defined. Apassword is required for the levels marked red. The levels marked blue can be reached without password.

The following password levels/rights can be assigned:

• A Product new delete o. rename,

• B Font delete o. rename,

• C Batch record start/stop and Error Reset,• D Reference code,

• E Switch product,• F Product edit/manage ,

• G Edit font,• H Service,

• I Switch ON/OFF camera,

• J Temporary characters,

If a new user is created, a blank window will be opened via clicking twice, here the desired user name andpassword have to be entered. Subsequently the requested right or the requested rights are assigned to theuser. If clicking twice on the entry of an existing user, the menu User management appears with the itemsChange user profile, Delete User and Set password invalid When a user registers for the first time he hasto change his password. The administrator can block or delete users.

Change passwordHere for example, the password “000” can be changed if Administrator only (default) is created as user. Ifseveral users are created, all the created users can change their password. When changing the password,first the user name, then the new password must be entered twice.

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 51 / 106

Page 52: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

10 PasswordIn the Change Password menu item, the user can change his/her actual password on the camera.

52 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 53: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

11 Parameters of OCV/TIN WindowsWith an OCV Control window, plain texts can be checked in the TIN (Teach In), OCV (Optical CharacterVerification), and OCR (Optical Character Recognition) modes. Texts can be read horizontally or vertically,and also forwards or backwards; this is governed by the orientation of the control window and also thesetting of the reading direction.

Parameters of TIN, OCV, OCR Windows

Control Window name: OCV0 Alias GTIN Font: test

Search area Position: 165/205/ 2° Size: 57/46 >>NEXT>>

Search area Threshold: 120 Color: Black ---

Lines Tilting: 0 Noise pixel: 5 Distance: 0

Character Min. size: 5 Max. width: 100 Check quantity: Off

Character Character search:standard

Gap: -2 ---

Special characters Min. w. wildcard: 5 Check “.„ a. „–„ 0/3 ---

Filter Ink-Jet: 0,0 Reflection: 0 Brightness correction:OFF

Filter Delete border pix: 0 Noise reduction: OFF ---

Reference code Compare: --- Dynamic: OFF from Data Matrix: ----

Control

Window nameThe name of the window currently being processed is shown here. By selecting a window, a menu willopen in which the TIN (Teach In), OCV (Optical Character Verification), and OCR (Optical Character Recog-nition) modes for that window can be selected.

NOTICEBefore changing to production, a teach-in window will analyze the text portions andcreate a character set with the name #auto for them. The sample is not allocated alpha-betically; hence these windows cannot be used with version 4 of the PLM software, whichsends reference values to the camera.

AliasIt is possible to give a window an additional name. This identifier is used by older versions of the PLMsoftware to assign reference values. The reference code from data matrix option also uses theseadditional identifiers.

FontHere subsequent changes to the character set for a control window can be made.

Position / SizeThe position, size and angle of the control window can be changed by selecting a parameter. The valuesshown here define the coordinates of the control window in which the OCR process is being performed. If anangle is set on the OCV window, it will also be displayed here.

>>Next>>By clicking this field the different windows taught in can be selected. Only windows created beforehand willbe displayed.

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 53 / 106

Page 54: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Search area:

ThresholdThe grey value threshold for the OCR is shown in this window. The setting can be changed here. Details canbe found in the [Instructions for Setting the Grey Value Threshold } Page 19] section

ColorThis function can be used to adjust the color of the print relative to the background:

Black stands for dark font on light background,

White stands for light font on dark background.

The default for creating an OCV window is black, but it will change if there are only white windows or if thereis a combination of black and white windows.

Lines:

TiltingThe maximum degree, that the text line may be tilted in production, can be adjusted here with a slider.

Text tilted horizontally by -10 degrees Text tilted vertically by +12 degrees Tilting

A maximum tilting up to +/-44 degrees is possible. The basic setting is 0 degrees. The greater thepermissible tilting, the longer the analysis time may last.This setting is valid for all TIN, OCV, or OCR windows

Noise pixelsThe maximum number of pixels that can be contained in an empty line is adjustable here.

Example: Parts of the barcode are located above (and within) the text line. The black pixels of the barcodewill interfere with the empty line needed for searching. The Max. Empty Line Pixels has been set to 30 inthe example (the basic setting is 5).

54 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 55: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

NOTICEFor some parameters an input in pixels is expected. A size expressed in millimeters canbe converted to pixels if the camera resolution and the image size are known. For thestandard camera, the resolution in X is 1600 pixels and the image size in X is 95 mm. Acharacter with a width of 2.5 mm would thus have a width of 2.5/95*1600 = 42 pixels.

This setting is valid for all TIN, OCV or OCR windows

Distance:The minimum number of pixel lines for the empty space between two lines is adjustable here.

Line spacing = 1; Line spacing =5

If characters consisting of several non-connected parts (e. g., Ü, Ä, À, ´B....) are being checked, the linespacing must be set to a value greater than the largest gap within the character so that all parts will becombined into one character.This setting is valid for all TIN, OCV, or OCR windows

Character:

Min. size:The minimum character size setting removes objects that are too small for a character. Any objects whichare smaller than the size of the adjusted pixel number will be masked. It is thus possible to eliminatedisruptive dots in the background.This setting is valid for all TIN, OCV, or OCR windows

Max. width:Here the maximum character width for character recognition can be specified. The value corresponds to thepixel width of a character. If a character in a Teach-In-Window is wider than that, this character is cut in twopieces. This setting effects only the TIN-Windows (in production mode and when teaching in a newreference code)

NOTICEThis value plays an important role in character recognition in the Teach-in or character setteach-in modes. The setting is valid for all TIN windows.

Check quantityIf the character number check is activated, an error message will be generated if additional characters aredetected in the reading window in front of or after the reference characters.This setting is valid for all TIN, OCV, or OCR windows

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 55 / 106

Page 56: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Character

Character searchThis setting is a switch between the standard and advanced character search. If the character search is setto advanced, it is possible to separate vertically overlapping characters, like it is shown in the figuresbelow.

Standard character search Advanced character search

NOTICEThis setting only affects the OCR-windows and the teach-in of new characters.

GapHere the size (in pixels) of the gap between two characters can be adjusted. This setting has differentmeanings for OCV- and OCR-mode:

• In OCV-mode or TIN-mode, the next character will be searched from this position relative to the previouscharacter, so if there is no gap between two characters, please enter a negative value for the gap size. Inthis case the next character will be searched within the previous character.

• In OCR-mode, if the value is greater than zero, then characters which have a smaller gap to each otherthan this value will be merged. If the value is zero, it depends on the setting Character search, whathappens: If the character search is set to advanced, then characters, which overlap each other verticallyslightly, will be separated. If the character search is set to standard, then nothing happens.

This setting is valid for all TIN, OCV, or OCR windows

Special characters

WildcardIf for example the quality is not adequate for an OCV/OCR control, characters can simply be checked forpresence. To do so, the operator enters a star (*) in the reference code for the character in question.

This setting is valid for all OCV windows.

Control “ . “ and “ – “

Distinguishing “.” (dot) from “–“ (hyphens)If the camera should do a very precise dot and hyphen check, in this menu two parameters can be set: thelimit value and the tolerance. The first pixel value indicates a limit value for the black surface, e.g., 150means that each character smaller than 150 pixels will be evaluated as a dot or a hyphen. The length of

56 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 57: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

the dot or hyphen is then measured with the accuracy specified in the Tolerance setting. For example, theTolerance can be +/-3 pixels. The size of the tolerance value can be used to distinguish between dots andhyphens.

The length of characters with an area of, e.g. morethan 150 pixels = threshold value, is notmeasured.

Characters with less than e.g. 150 pixels areverified in their length using the tolerance value.

This setting is valid for all TIN, OCV or OCR windows

Filter:

InkjetThe inkjet filter must be used for inkjet printing or for similar printing results. The filter function enlargesindividual dots so that undesired white spaces between the dots are filled in. Setting the value of the filtersize in x- and y-direction to zero (Filter size = 0,0) will turn off the filter.

The Inkjet filter turned off The Inkjet filter turned on

The size of the Inkjet-filter is adjustable in x- and y-direction, so that the single dots of a stretched inkjetprint can be merged.

NOTICECharacter sets should always be taught in with each inkjet filter. In other words, if the filteris changed, then a character set needs to be taught in again.

This filter is used for all TIN, OCV, or OCR windows

ReflectionYou can adjust the reflection filter to reduce disruptive reflections (such as those on aluminum blisters). Thevalue is specified as a %. Excessively bright areas in the window will thus be darkened.This filter is used for all TIN, OCV, or OCR windows

Brightness correctionWith the Brightness correction filter you can make the background more evenly colored. The filter shouldbe turned on if the brightness of the background is not uniform. Areas that are too dark will be madebrighter.This setting is valid for all TIN, OCV, or OCR windows

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 57 / 106

Page 58: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Filter:

Delete border pixThis filter deletes black pixels projecting from the outside into the edge area of an OCV field; the parameterdefines how large the interruptions may be. This function is especially useful for optical character fields withdisruptions in the edge areas. Such disruptions interfere with tilting recognition.

Noise reductionThis filter suppresses noisy background when switched on.

Reference code:

CompareThe camera normally always performs a comparison between target and reference values in OCR windows.If the camera only reads window content, however, the result of the reading can be obtained from thestatistics report in the VDMAXML log. In this case the target/reference comparison for OCR windows can beturned off.This setting is valid for all OCR windows

WARNINGIf this function is active, there will be no comparison between the read characters and thereference code. The camera works for character reading and display.

DynamicThe Dynamic reference code setting should only be turned on when checking sequential number series. Alisting or counting of the code is thus possible. The setting can be turned ON or OFF individually for eachOCV window, OCV0-OCV3, or code window. It is thus possible to check dynamic and static print simulta-neously. The dynamic counter is not increased until after the first GOOD reading.

From Data Matrix:This function is designed for stand-alone systems in which PLM software does not specify dynamicreference values. A data matrix code reading is used as a source for OCV reference codes. The content inthe data matrix code must be in GS1 format. The content is allocated via the identifiers of the windows.

Identifier Function

DMx : DMX DM window as source of data in GS1 format

OCVx : GTIN OCV window as target, GTIN data

OCVx : LOT OCV window as target, BATCH (LOT) data

OCVx EXP OCV window as target, expiration date

OCVx : PROD OCV window as target, manufacturer date

OCVx : SER OCV window as target, serial number

A wizard will help with the selection once the function has been activated:

58 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 59: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Example of an application:

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 59 / 106

Page 60: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

12 Parameter PATTERN CHECK WindowWithin the search region, a previously learned pattern will be searched. The position with the lowestdeviation between located and learned pattern will be marked.This tool can be used also for positioning other control windows.

Parameter Pattern Check

Control PC0 <<< >>>

pattern Show Change 80x100

Search Region Change 50/50 500x300

Position tolerance (X/Y) OFF OFF ---

Precision Congruency: 0% Resolution: 4 ---

Amount OFF --- ---

Group 0 --- ---

Control:

Window nameThe name of the window currently being processed is shown here. Show only!<<< ---- >>>Select next or previous control window.

pattern:

ShowDisplays the learned pattern;

ChangeLearn the reference pattern. Window can be moved only inside the search region. Maximum size ofreference pattern is 400 x 400 Pixel.

Search Region

ChangeLearn the search region. Moving the search window is limited by pattern window.

Position Tolerance (X/Y)Defines the tolerance of the position of the pattern in pixel.

CongruencyIs a tolerance which indicates how well the learned pattern must match the found pattern. 0% means:Search for the best match, matching value is minor.100% means: Only if learned pattern and found pattern are absolutely identical, the result is good;

ResolutionThe Resolution Level parameter defines how much the pattern and image will be reduced before searching.A higher value will increase the precision but also the evaluation time.

AmountDefines, how many matching objects must be found within the search area.

GroupThis is the number of the group which this control window belongs to. Show only! For modifying this settingsee chapter System Parameters/ I/O configuration.

60 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 61: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

13 Parameter Position Control WindowA position control window (POS window) searches for a gray value edge in the image. The referencepositions of the edge are taught in with the aid of a Good Product. The user can set a tolerance range forthis edge. The window will be rated as Good as long as the edge lies within the tolerance range.

Parameter of Position Windows

>>NEXT>> POS0 POS 1 POS2

Mode tracking Inspection tracking

Search area 54/413/83/53 38/225/83/53 271/207/83/53

Edge threshold 100 100 100

Edge height 10 10 10

Edge length 1 1 1

Edge pixels 10[%] 10[%] 10[%]

Pixel in tolerance 0[%] 0[%] 0[%]

Direction 3(↓) 1(→) 0(←)

Increment 1 1 1

X target pos --- 41 px 82 px

Y target pos 26 px --- ---

X pos tolerance --- -12 / +12 px OFF

Y Pos tolerance OFF --- ---

Group-No. 0 0 0

Linkage none none none

Reference Reference Reference Reference

Note:All position values are provided in pixel, but you can switch to a different unit like mm or inch in the cameraconfiguration.

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 61 / 106

Page 62: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Fig.: Gray value edge and parameters

Position control parametersMode: The mode is an indicator to show, if this window is doing an inspection on the position or if it is only usedfor tracking. The mode is depending on the tolerance settings. If all tolerances (X and Y) are set to 0 (off),this window is in tracking mode.

Search area: The search area is defined with windows. For each line or column in the search window, a light/darktransition will be sought, and its position will be marked in green.

Edge threshold: The slider can be used to adjust the gray value for the edge threshold. The edge threshold defines the bordervalue between light and dark (see above).

Edge height: For detecting an edge, the criterion of edge height must also be fulfilled in addition to that of edge threshold.Edge height describes the gray value difference of the adjacent pixels.

Edge length: Edge length describes the distance between pixels for determining the edge height. The edge length is equalto 2 pixels in the above figure.

Edge pixels: "Edge pixels" is a percentage value and relates to the total number of pixels marked in green (edge points)(see below).

Edge pixels = 15%

62 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 63: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Edge pixels = 50%

Edge pixels = 80%

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 63 / 106

Page 64: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Direction:This defines the direction in which the edge is searched for:

1

2

3

45

6

7

8

1 Search from left to right and from top to bottom

2 Search from right to left and from top to bottom

3 Search from right to left and from bottom to top

4 Search from left to right and from bottom to top

5 Search from top to bottom

6 Search from bottom to top

7 Search from left to right

8 Search from right to left

Increment:The increment specifies the interval for scanning for the edge. In other words, if the increment is set to 1, anedge will be searched for in each line or column within the POS window. If the increment is set to 2, onlyevery other line or column will be scanned. The evaluation time can be shortened by selecting a largerincrement. The number of edge points, however, will also be reduced.

X target position, Y target position:The reference position can be taught in (see "Referencing") or set by hand here. The zero position is alwaysthe left window border for the X position and the top window border for the Y position.

X position tolerance, Y position tolerance:The allowable position tolerance in the X and Y directions is set here (see the figure: "Gray value edge andparameters"). The unit is pixels. When set to 0, the tolerance will not be checked but the position infor-mation will still be calculated and can be used for Window Tracking.

64 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 65: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Linkage:Opens the window linkage menu, where for example POS windows can be linked with each other. Thewindow with the smaller number (e.g. "POS0") is calculated first. The linked window (e.g. "POS1") isshifted by the corresponding position offset. The display of the brown connection lines can be switched onwith "Display service/diagnosis/linkage”.

Referencing:The target edge positions of all POS windows are recalculated with "Referencing". Please note that theobject in the recorded image also has the reference measurements.

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 65 / 106

Page 66: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

14 Parameter Code WindowBarcodes can be checked with windows for code control (barcodes, pharmacodes, batch codes). Barcodescan be read in horizontal or vertical directions, or omnidirectionally. This is controlled with the value forcode size as well as the geometry of the control window.

Parameters of BARCODE Windows

Window name: CODEO ---- >>>>NEXT>>>>

Search area 250/190/100/75 ----- Omnidirectional:On

Code Type Pharmacode QZone:0 ---

Pharmacode binary L -> R ---

Threshold / Colour #AUTO# #AUTO# ---

Size #AUTO# Attempts:1 ---

Finder 0 0/0 ---

Filter Delete:0 Connect:4 Noise reduction: Off

Contrast 0 Attempts:1 ---

Learn OFF `11` ---

Quality check All Barcodes 11111111 Code Syntax: CTRLC ON:

Scans Min. / Steps 1 2 ---

Compare/Dyn.Code / ON OFF ---

Search area PX, PY, DX, DYBy choosing this parameter, the control window's size and position can be changed. The values displayedhere describe the coordinates of the control window in which the barcode will be searched for.

OmnidirectionalON/OFF

If Omnidirectional is switched on, the camera is able to read a barcode on any rotated position. Someadditional parameters as Threshold, Color and Size will appear in this mode. Please switch on only whennecessary, because Omnidirectional reading isn’t possible in some cases.

QZone, checking the quiet zoneA test can be allowed for the minimum width of the quiet zone on the left and right border of the codewindow. If the quiet zone is too small, the code will be indicated as invalid; the standards for most codesindicate a quiet zone of at least 10x the width of the smallest module; if the code is tested for adherence tothese values, a '10' is to be entered. If a '0' is entered as a value, no test is undertaken.For quality control of a printed barcode, this function is recommended to be used together with the functionminimum number of positive scans, and to set a minimum number of code height/4.

Scans with false quiet zones are marked in the reading window; red lines indicate a disrupted quiet zone,blue lines an error-free range.

Checking the quiet zones is only possible at this time with static codes, for omnidirectional codereading, the QZone displays a value which is added to the length of the codes, and makes it possible tohave a quiet zone for the reliable reading of codes. The default value is 10, and means that the code foundhas been lengthened by 10 pixels.

66 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 67: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Code TypeThe type of barcode is set under code type. This can also be changed later. The currently legible code typesare found at “general” in Appendix “smart camera code types”. The code type can be analyzed byspecifying the reference codes, and is then entered into the product.

Code Type dependent settings:

PharmacodeFor pharma codes, the decoding of the reference codes can have additional decimals or binary settings.

Binary (Pharmacode): 1= thin bar, 2= thick bar

Trinary (2-track-Pharmacode) 0= bar below, 1= bar above, 2= bar above andbelow

Decimal Decimal value

PDF417A PDF417 Code has some special properties as the Number of Rows and Lines and the Level for ErrorCorrection (ECC). Those can be manually defined (but they can also be automatically detected)Furthermore the camera has an ECC Mode option which can be turned off to prevent the camera from usingthe Error Correction Data inside the code. If the Decoding is turned off completely, the camera will onlycount the readable Code words and return this as the number of positive scans.

L->R / R-> L ; U->D / D->U - DirectionIf a Pharmacode, a two-track Pharmacode or a PDF417 is chosen as a code type, the reading direction canbe set here.

Threshold [for omnidirectional reading]The gray value threshold is shown in this window for omnidirectional reading to find the barcode. The valuecan be taught. If the value is at #AUTO#, then the camera tries to automatically determine this value, andthen enters the value found into the product.

Color [for omnidirect. reading]

Threshold [for omnidirectional reading]Here a setting is made which searches for a code which is black on white or white on black.

Size [for omnidirect. reading]The size and print color of the code can be set in this window, with omnidirectional code reading, itconstructs an important value to find the code within the control window. If the value is at #AUTO#, then thecamera tries to automatically determine this value, and then enters the value found into the product.

NOTICEWith omnidirectional reading of pharmacodes, the code size must necessarily be taught.

Attempts (1,3,5,7) [for omnidirectional reading]The number of tries to search for the barcode with omnidirectional code reading can be set here; if thecode is not found in the first attempt, then the code search will be repeated with changed threshold valuesand filter settings.

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 67 / 106

Page 68: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Finder [for omnidirectional Reading and pharma code]Additional information must be configured to find the pharmacode with omnidirectional code reading,because pharma codes possess identifiers for the start or end, such additional information is needed inorder to determine the reading direction of the pharmacode.

In addition, the size of the codes must be learned:

Then the range can be established in which the additional information is searched for:

The size of the search area and the number values found are entered as parameters in the product.

Filter: Delete points, Connect points [for omnidirectional. reading]These parameters are important to find the barcodes with omnidirectional code reading, with codes withlarge gaps, a large filter value is needed with “connect points,” small codes with small distances todisrupting objects need a smaller filter value. The behavior of the filters can be analyzed with the diagnosticfunction. [Menu]->|Service|->|Diagnostic|->|Data Matrix: Display binary image|check.

Filter: Noise ReductionThis filter is suppressing noisy background when switched on.

68 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 69: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Improves the image quality in colored background.

Can be used for smoothing of holes in bars. Should not be used, if structures are extremely fine.

ContrastThe contrast value is related to the contrast between the code and the background. A small value is set forlow (“poor”) contrast, a larger value accordingly for a high contrast. The value range is from 1 to 255.Undesired contrast in the background can be grayed out, or the sensitivity increased with the contrast value.The contrast can also be automatically taught if the respective option is chosen to set or change the codewindow.

Contrast: Attempts (1,3,5,7)Camera is trying to read the code with up to 7 different contrast settings. This can be useful, when illumi-nation or contrast conditions are inconstant during production.

Learn: Code 39, Int2/5, Code 128……These are the predefined code types, which will be used for automatic code learning.

Learn: ‘11’Here one can choose whether contrast and reference codes are automatically taught, or should be setmanually.

Manual

[X] Reference code [_] Contrast

[_] Reference code [X] Contrast

[X] Reference code [X] Contrast

[_] Reference code [_] Contrast

[X] Reference code [_] Contrast

[_] Reference code [X] Contrast

[X] Reference code [X] Contrast

The setting determines which parameters can be learned automatically with the “new reference code”function.

NOTICEBecause reference codes are for the most part sent from the PLM, the camera in normaloperation can be easily used manually with Teach-in set to manual.

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 69 / 106

Page 70: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Print quality (ISO15416)Here, the Quality Control of the Barcode reading can be activated and configured. The quality analysiscorresponds to ISO15416.

Print quality (ISO15416) C 11111111

Off / A / B / C / D / F Quality Parameters

NOTICEThe correct code analysis depends on an accurate adjustment of the camera; the apertureof the camera must be configured accurately by means of calibration cards. Any laterchanges such as illumination, distance, focal length or contamination change the relia-bility of the quality analysis.

Quality check / Grading

The grading classes ABCDF correspond to the proposals of the ISO15416. Class ‚F’ is classified as nolonger readable.At this point the minimum quality class that has to be reached by a barcode, to be evaluated as a “GoodProduct”, can be set.

Quality Parameters

Configuration of possible parameters for the classification of a code is made here. All seven parametersmust be set for an analysis according to ISO15416.

Code SyntaxCTRLC ON (default):Camera will read and transfer all control character.

CTRLC OFF:When “CTRLC OFF” is set, a control character like value 102 (“]C1”) will be hidden in the current code.

GS1:If “GS1” is set, then a code must start with a decimal value 102, which during decoding will be convertedto the character sequence “]C1”. This setting helps distinguish a GS1-compliant code from a code that ismerely similarly decoded.

70 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 71: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Scans, minimum numbers of positive scansThis inputs how many scans must be positive so that the code can be assessed as GOOD.

With CC-A-Code, the minimum number of positive scans is given for how many rows of stacked code mustbe present at a minimum.

Scan Steps (distance of the individual readings)Code reading by the camera is carried out similar to a laser scanner. Individual rows of the code are read.The reading frequency of the codes can be set using the parameter scan distance.The adjustable step widthis 1-10 rows. As a default here, '2' is set; for very small codes, one can set '1,' for large codes, greatervalues can be set in order to save calculating time.

Reference - Actual ComparisonThe way the reference/actual comparison is performed is defined here. The possibilities are as follows:

0 = Good signal for a positive reference/actual comparison1 = Machine stops for an incorrect code 1)2 = NO positive reference/actual comparisonThe reference/actual comparison is adjusted for each defined code window.1) If the Function 1 is activated and if the code is incorrect, the active signal of the camera will be reset andthe message Wrong Code will be displayed.

Dynamic Reference CodeIn order to check a continuous barcode, the reference code of the camera must be changed too. With theDynamic reference code setting, the camera can adjust the reference code. For doing so, various settingscan be input in the camera menu item New Reference Code:

Correction = Pre-specification of the next reference characters(reference codes). The first code for which the checkis to start must be entered.

New Format = Specify a new counting system: Input unchangingcharacters, next counter reading, minimum counterreading, maximum counter reading, countingdirection (up, down) for counters and interval forcounters.

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 71 / 106

Page 72: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

15 Barcode Quality Control Referring to ISO/IEC 15416The bar coding technology is based on the recognition of samples, which are encoded in bars and gapswith different widths. The translation of numbers and characters into bars and gaps is defined for every codetype in its on guideline. If a barcode shall fulfill its purpose, it has to be decodable reliably at the place,where it will be used. The standard ISO/IEC 15416 is a basis for the classification of the quality of 1Dcodes, related to specific demands on the reading process.The print quality control with a PCE Smart Camera can only be an approximation to the standard, becausethe control conditions of the standard are adjusted for an Offline-Inspection, the PCE SMC instead is anInline-Inspection system. Various adverse conditions for inline inspection (e.g., position tolerances,aberrant lighting, limited analysis time, etc.) may result in a difference of one grading class betweeninline inspection and offline inspection.The viewing direction of the camera as well as any additional lighting can also affect the grading results!

15.1 Classification of a 1D BarcodeThe classification of the quality of a barcode divides into the classes A (best) to F (worst).

NOTICEClass E will not be used for classification!

The class of a 1D barcode is determined from the classes of 10 different lines inside the code. This means,that every one of these lines will be evaluated. If a line has been decoded successfully, afterwards its qualitywill be checked by the usage of a number of parameters. The quality class of the line arises from the classof the worst rated parameter. If, for example, 5 parameters are rated A, but 1 is only rated C, the result classof this line will be C. The total class of the barcode is the average value over the 10 result classes from the10 analyzed lines.

Parameters of ClassificationIn the following the parameters, which have to be checked in order to fulfill ISO/IEC 15416, are described.Image 2 shows a grey value profile or reflection profile of one line of the code, shown in image 1. In thisprofile some of the parameters, which have to be analyzed, are shown.

Image 1: Original barcode image

72 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 73: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Image 2: Gray value profile for one line through the barcode

Decode [DEC]The classification of a Barcode Scanline can only be done, if the decoding was possible with the referencedecoding algorithm. This means that the code data has to be readable and the checksum (if applicable)has to be correct. Also the Quiet Zone will be checked.

NOTICEIf decoding of the barcode is possible, but the quality analysis claims a bad Decode-parameter, this suggests a Quiet Zone which is too small. If Omnidirectional Reading isdeactivated: Make sure that the Control Window is set big enough to contain the wholeCode and its Quiet Zone. If Omnidirectional Reading is activated: Increase the parameterQZone in the CODE-Window parameter table step-by-step if required Make sure, there areno other graphics/texts on the product inside of the codes Quiet Zone.

Symbol Contrast [SC]The Symbol Contrast indicates the maximumdifference of reflection in the barcode. Through thewhole Barcode including its Quiet Zone the minimumand maximum reflection values are searched.

Adjacency Contrast [ECmin]The Adjacency Contrast or Edge Contrast is thereflection difference between 2 adjacent elements.Every bar or gap is an element. The minimum ofthese contrast values which are found in the barcodewill set this parameter.This value is checked to make sure that a goodcontrast is not only available between the maximumand minimum brightness of the code, but alsobetween every bar and gap

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 73 / 106

Page 74: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Modulation [MOD]The Modulation is the ration from the AdjacencyContrast to the Symbol Contrast. An AdjacencyContrast near the Symbol Contrast means that theContrast is constant and will result in a betterModulation value.

Minimal Reflection [Rmin]The Minimal Reflection is the lowest reflection valuein the whole barcode. According to ISO/IEC 15416,it may not be greater than the half of the maximumReflection. This parameter shall make sure, that thereis enough difference between the brightness of barsand gaps.

Defects [Def]Defects are irregularities within spaces and bars. Ifthere are interfering elements in the spaces orscratches in the bars, the code indicates defects atthese places. Defects are identified in the wholebarcode including its Quiet Zone.

Decodability [V]The decodability of a barcode is an indicator of itsprinting accuracy in relation to the dimensionsspecified by its standard decoding algorithm. It iscalculated on basis of different reference decodingalgorithms depending on the code type."Dimensions" refers to the widths of the elementsand their relationship to one another.Inconsistent widths of bars and gaps in the barcodewill result in a lower decodability. This Parameteruses different calculations for 2-width-codes (Inter-leaved 2/5, Code39) and multi-width-codes(Code128, EAN13).

15.2 Configuration of Quality ControlCalibration of the camera for barcode quality control reasonsFor barcode quality control reasons the camera must be calibrated in advance. An adequate calibration isessential for the correct evaluation of the quality.Please refer to the instructions in chapter [Camera Calibration for Data Matrix Quality ControlReasons } Page 84].Maybe you will have to create a new temporary product with a data matrix control window, in order toperform the calibration.

Usage of the Barcode Quality ControlA Minimum-Quality-Class has to be chosen. If the printing of a barcode does not achieve this Minimum-Quality-Class, it will be rated as a Bad-Product. For example, if the class B was chosen, the printing of acode has to receive class A or B, to be rated as a Good-Product.Furthermore, single parameters can be specifically excluded from the print quality analysis.The quality control can be activated in the parameter table for CODE windows (see chapter [Parameter codewindow } Page 66]).It is recommended to use the omni-directional reading with the quality control if possible, to improve thecode finding and the reliability of the quality analysis.

74 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 75: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

NOTICEThe print quality control is currently only available for barcodes of the type Code128.

In production, the result of the quality analysis of thepresent barcode will be shown inside the CODE-Window

Structure of the result view:

Grade: C (2.2) (MOD)Grade: Grading-Class (numerical Class) (worstaverage Parameter)

Additional display of parameters: The parameter view shows the average quality of allline readings for each parameter. See chapter[Service Menu } Page 37].

NOTICEBy activating the view, the cameras calculation time possibly increases.

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 75 / 106

Page 76: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

16 Pixel Window ParametersBy using a pixel window, sizes of the black and white areas will be measured. In this way, the presence ofa label or printing can be verified very easily, for example: For one control window two limit values alwayshave to be set, the upper and the lower tolerance value. If the camera is in the production run, and theactual measuring value lies within the two tolerances, the object is then assessed as “good”. Below andabove the tolerance values the object is “bad”.

If the camera works with large tolerances, the system controls the presence. If the plus and minus toleranceis kept small the camera is able to carry out measurements. The operator can choose whether the tolerancevalues are to relate to a black or white area. In addition, the operator can decide whether the measuringvalues and tolerances are to be absolute or relative. The inspection principle “Area measurement” is thesame for both measurements.

During the pixel inspection, the first window is given the name “Pix0”. This is displayed in the top left cornerof the window. The other pixel windows are given the names “Pix1”, “Pix2”, etc. Up to twelve different pixelwindows can be set and thus up to twelve different features can be verified on an object. When the firstwindow has been set, press the Enter button to save the settings.

“Presence control” (absolute measurement)For the “absolute measurement”, the black area e.g. is displayed as a measured pixel number. If the area tobe inspected is enlarged, the number of pixels is then greater. If the size of the black area is reduced, thenumber of pixels measured is smaller. The plus tolerances and the minus tolerances are entered as a pixelnumber; the display for the actual value is shown in the production mode as a pixel number. Themeasurement of an area does not depend on the size of the control window.Examples:

Pixel numer = 1000 (referencevalue)

Pixel number = 500 Pixel number = 2000

“Print control” (relative measurement)For the “relative” setting, the size of an area (reference area) is taught in and set as 100%. The followingmeasurements can be smaller than 100% if, e.g. the printed area is missing, or greater than 100% if, e.g.there is too much print. The input of the plus and minus tolerance and the display of the measuring valuesis given as a percentage value.Examples:

Measuring value = 100%(reference value)

Measuring value = 50% Measuring value = 200%

76 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 77: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

NOTICEThe pixel windows are to be set as described in the section [Camera start-up } Page 12]with OCV windows.

Changing an existing product with pixel windowsIf for example, after a change in format, the window position is no longer correct or only the tolerances haveto be changed, this can be changed quickly and easily in the parameter table.

Starting at the main menu the sub-menu, Change product > Parameter PIXEL window can be called up. Atable appears there with all the pixel inspection parameters. Here the size and position of each window canbe changed, the grey threshold aligned or the tolerances modified.

Parameter table

Windows PX, PY, DX, DYThe parameters Px, Py, Dx and Dy give the coordinates of the control window. The size and position of thewindow can thereby be documented and, if necessary, reproduced. If the black cursor is positioned on oneof the values and the Enter key is pressed, the yellow control window appears in the following step forprocessing. The size and position can be changed using the line keys.

Grey thresholdThe contrast value Grey threshold should be set for each window such that the object appears black andthe background is shown in white without any black points. If the inspection is inverted, the backgroundshould be an even black and the object an even white.

Object colorHere it is possible to choose whether the tolerances are related to the white or black areas.

Minimum, maximum toleranceFor one control window two limit values always have to be set, the upper and the lower tolerance value. Forthe absolute measurement, the entry is given as a pixel number and for the relative measurement as apercentage value. (see absolute, relative measurement above).

ModeThe relative or absolute measurement can be selected as the mode. The absolute measurement is called"presence control" (mode0) and the relative measurement, "print control".• The absolute measurement supplies the pixel number. (Mode 0)• The relative measurement supplies a percentage value in respect to the teach-in object. (Mode 1)

ContrastHere a filter can be activated for improving the contrast. This is beneficial for poorly contrasting images, orimages that are illuminated unevenly. Pixels supplying contrast values that are smaller than the settableminimum value, are set to the background (background = black, if object color = bright pixels is activated;background = white, if object color = dark pixels is activated).

The evaluation time is longer if the contrast filter is switched on.

Send resultHere, the output of the reading result via the interface RS232 can be switched on and off.

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 77 / 106

Page 78: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

17 Data Matrix Window ParametersIn a DM window a Data matrix code (ECC200) or an EAN Data matrix is inspected. The code content isread by the camera and compared with the reference code. If they agree, the “good” signal is given. Thequadratic code can be read in any position (omni directional), i.e. the code can be turned at any anglewithin 360°. Currently there is no omni directional reading at rectangular code possible, but only in theorientations of 0, 90, 180 and 270° with a tipping up to 30°.The camera can also send the read content of the code on the serial interface without a comparison. WithMain menu > Change product > Parameter DATA MATRIX window any necessary setting can be made bythe operator. Further information about Data matrix Code sizes with preset content can be found in theappendix [Size/Data Comparison Chart } Page 102].

Parameter DATA MATRIX CODE

Control DMO ON Calibration >>NEXT>>

Searching area 180 74 364 351

Code size/Modulenumberr

136x135 px² 14x14 mod² --- ---

MultiCode(Amount/Int./Tol.)

#1 100% 300% ---

Ori/Colour #AUTO# Black --- ---

GW Threshold Search: 102 Code: 102 Attempts: 1 ---

Code Syntax / Codeto RS232

CTRLC ON OFF --- ---

Dot-Code OFF --- --- ---

Max. Distortion/Grid

0° Grid: 20% --- ---

Print quality ON C,40% 11111110 Minimum

Learn Code/Compare

4:`111` ON --- ---

Filter: Erase/Dilat 0 3 --- ----

Dynamic Code OFF --- --- ----

OCV Reference OFF --- --- ----

CalibrateThis function starts code reading of a Data Matrix Code in the presented search area. It will help youadjusting the camera for Data Matrix print quality inspection.

Searching areaThe search area stipulates the position and size of the control window using four coordinates.

Code sizeThe code size provides the camera with information telling it how large the code is printed, or seen by thecamera. This is given using two size coordinates

Module numberThe number of modules states the number of modules the code consists of, e.g. 14x14 modules. Atpresent, the camera can inspect quadratic codes from 10x10 to 144x144 and rectangular codes with8x18, 8x32, 12x26, 12x36, 16x36 and 16x48 modules. Using the “Auto” function, the camera canautomatically determine the number of modules and read the code.

78 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 79: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

MultiCode - Code AmountSets the number of codes inside of the DM window. This way multiple Codes can be found and read in onesingle DM window. All codes will be evaluated separately. Only if the adjusted number of codes was foundand every code was evaluated positively, the DM window will state a good reading. Please note that there isonly one reference code per DM window so that all Codes inside must have the same content if theComparison is set to ON.

MultiCode - Search IntensityIf the camera is finding other objects inside of the window (which have the appearance of the searched DMCode), it may not find the real DM Code objects. In this case the Search Intensity can be increased. Thesystem will then try to find and read additional objects, under which the DM Codes should be. A highervalue will increase calculation time.

MultiCode - Match ToleranceIf the DM codes inside the window have high deviations in their shape, this value may be increased to findthem. If the camera is trying to decode other objects which are no DM Codes but have a slightly similarshape, this value may be reduced, to ignore those objects. A smaller value will reduce calculation time.(Use this when working with multiple Attempts.)

Ori / ColThe Orientation parameter (Ori) stands for the position of the L-finder in the code. Different positions or“Auto” can be preset for the camera. The Color parameter (Col) states whether the code has been printed inblack or white, i.e. black on a white background or white on a black background.

GW thresholdThe grey value or contrast threshold appears in the list with three parameters. Grey value 1 “Search” definesthe contrast for finding the code and for distinguishing it from any other additional print and thebackground. Grey value 2 “Code” is used for code reading. By using the adjustment “Attempts” a multipleevaluation can be set. The quantity of trials can be chosen between 1, 3 and 7. The standard adjustment is3.

Code to RS232 (option)If this function is activated, the camera sends the code content via the RS232, for example, to a PC.

Code SyntaxCTRLC ON (default):Camera will read and transfer all control character.

CTRLC OFF:When “CTRLC OFF” is set, a control character like value 232 (“]d2”) will be hidden in the current code.

GS1:If “GS1” is set, then a code must start with a decimal value 232, which during decoding will be convertedto the character sequence “]d2”. This setting helps distinguish a GS1-compliant code from a code that ismerely similarly decoded.

PPN:If “PPN” is set, then a code must start with a decimal value 237, which during decoding will be convertedto the character sequence “[)>06”. This setting helps distinguish a PPN compliant code from a code that ismerely similarly decoded.

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 79 / 106

Page 80: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Dot-CodePrinting a data matrix code with an inkjet printer results in the creation of round or circular modules. Anideal printed module, however, should be square. The camera has various filter functions so that suchcodes can also be read accurately. In the software, the user can specify whether a dot (module) = a gap isprinted. Or whether a module smaller or larger than a gap is printed. With this function, several dots permodule are used for analysis.

Max. Distortion / GridIn order for the code reading to be less sensitive to printing errors, a setting can be allowed that permits thecode to be read with a trapeze-shaped deformation. The value given by the grid parameter determines thedeviation of a module from the ideal place in the grid.

Print qualityQuality control of the Data matrix reading can be activated and configured. The quality analysis corre-sponds to ISO15415.

ON/OFF Grading L-Finder Quality Parameters Search for quality

Print quality ON C,30% 11111110 Minimal

Grading

The grading classes ABCDF correspond to the proposals of the ISO15415, class ‚F’ is classified as nolonger readable.

L-Finder Damage

L-Finder Damage is an additional parameter that only evaluates the modules in "L". The percentage valuerefers to individual modules in the “L-finder” and sets the maximum number of pixels in a module thatmight be missing.

Quality parameters

80 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 81: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Configuration of possible parameters for the classification of a code is made here. The seven firstparameters must be set for an analysis according to ISO15415.

Search for quality

Classification of the code quality depends on the internal settings during the reading. During the setting‚Minimal’ the reading will be accepted with the first readable and valid quality. During the setting ‘Maximal’the parameters will be varied until a result with the utmost quality is reached. For pure control reasons thetimesaving function ‚Minimal’ is sufficient. For quality classifications (e.g. during configuration) the function‚Maximal’ is recommended.

NOTICEThe correct code analysis depends on an accurate adjustment of the camera; the apertureof the camera must be configured accurately by means of calibration cards. Any laterchanges such as illumination, distance, focal length or contamination change the relia-bility of the quality analysis.

Teach-in codeThe following parameters can be set manually by the operator or determined automatically by the camera:threshold value (grey), code size (print size), reference code and number of modules. The selection ismade using a table.

0 [_] Threshold [_] Size [_] Reference code [_] No. modules1 [X] Threshold [X] Size [_] Reference code [_] No. modules2 [X] Threshold [X] Size [X] Reference code [_] No. modules3 [X] Threshold [X] Size [_] Reference code [X] No. modules4 [X] Threshold [X] Size [X] Reference code [X] No. modules

ComparisonAs standard the camera offers the good signal of the machine control. It can then be shown whether thecorrect code or no code has been read. With the comparison setting, the camera can also indicate when an“incorrect” code has been read. For this purpose the “camera ready” signal (SR) is either set or not set.

Filter:If for example there are disruptive ink splashes in the background of the code, the “Erase” filter function canbe used. The “Dilat” filter function is helpful if the code is printed with large gaps. The standard value is “3”,but it can be lowered to 2 or 1 if interferences in the vicinity of the data matrix code are causing code recog-nition problems. For codes with small modules, large gaps, and defective finders, increasing the value mayhelp. This can be checked with the “Diagnostics: Data Matrix Binary Image” function.

Dynamic CodeHere a counter for the reference code can be activated. It will count up or count down with each trigger. Thecounter can be configured as follows:

• “dynamic reference code” ON /OFF• “start counting with first proper reading”: The counter only starts after the first proper reading.

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 81 / 106

Page 82: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Example:ABCDEF012009056

• left start digit of the counter (first digit is 0): 6• number of counting digits: 9• Increment and counting direction: -1

Dynamic Code ON ON 6/9/1 ---

In this example the reference code after the next trigger would look as following:

ABCDEF012009055

NOTICEIn operation with the PLM software, the reference codes are specified by PLM. Dynamicreference codes may not be used in this operating mode.

OCV ReferenceThese parameters define a function which enables an adjustable part of the read data matrix code to beused as the reference code of an OCV/OCR window.A wizard will ask for the necessary values one after the other and thus simplify input:

• First it will ask which the OCV/OCR window to use as the target for the operation.• Then it will ask for the start position in the Data Matrix reference code (There is a '0' position)• Then it will input the number of characters to transfer• Lastly, it will ask for the position in the target. (There is a '0' position and the target must have at least

enough reference characters to accommodate the beginning of the transferred characters.

Example:The text “Total---” was input as the reference code for OCV0.

The setting in the parameter table looks like this:

OCV Reference OCV0 6/7/5 --- ---

A calibration card with the text “Pharmacontrol Electronic GmbH” appears in front of the camera.

Reading in the production mode results in the following reference code in the OCV0 window: „Total control“

82 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 83: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

18 Data Matrix Quality Control

18.1 Data Matrix Quality Control in Keeping with ISO/IEC 15415To determine the code quality, 8 parameters are measured and the measurement results are assigned toclasses ranging from A to F.

The 8 parameters are:

Decode:Code is legible or code is illegible. Result is A or F.

Symbol Contrast:Difference between light and dark modulesexamined over the entire code.

Modulation:Difference between light and dark modules relativeto the individual code words.

Fixed Pattern Damage:Damage in the search sample, frequency sample,and in the quiet zone.

Axial Nonuniformity:Differences in the length of the X-axis relative to theY-axis.

Grid Nonuniformity:The greatest deviation of the actual position of themodules relative to the ideal position.

Unused error correction:Number of blocks not used for error correctionThe worst parameter determines the quality rating ofthe code.

L-Finder Damage:This parameter is not part of the ISO norm. It wasestablished for detection of typical Ink Jet faults.The value gives the percentage of pixels that may bemissing in an individual Module on the L-Finder.

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 83 / 106

Page 84: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

NOTICEThe ISO/IEC 15415 standard covers offline inspection. At the present time there is nocorresponding standard that covers inline inspection. Various adverse conditions forinline inspection (e.g., position tolerances, aberrant lighting, limited analysis time,etc.) may result in a difference of one grading class between inline inspection andoffline inspection. Should a code rated as “D” by the offline verifier be rated as “poor”inline, the grading threshold must therefore be set to “B” in the Smart Camera menu (alsosee “ Data Matrix Inspection Type” chapter).Laser labeling by removing color: Because the measured contrast is strongly dependenton the interplay of the varnish used with the lighting employed, it is possible that uniformresults may not be achieved with different verifiers.The viewing direction of the camera as well as any additional lighting can also affect thegrading results!

18.2 Camera Calibration for Data Matrix Quality Control Reasons

For data matrix quality control reasons the cameramust be adjusted strictly according to theinstructions by means of a calibration card. Asuitable calibration card can be ordered from PCE.

Adequate calibration is essential for the correctevaluation of the quality.It is recommended that calibration should bechecked every 3 months. Furthermore, ifcomponents (camera or illumination) are replacedor if the reading distance of the camera is changed,recalibration will be essential.In case the amount of DM codes evaluated as faultyduring the production exceeds extensively, thecalibration should be checked.

NOTICEFor all formats, it is important to use the same shutter value! For black ink-jet-print onwhite cartons, the following settings are recommended.

Camera type Shutter [microseconds]

• Standard• High-Speed

150

• High Res• High Res / High-Speed• Ultra-high / High-Speed / High Res

300

Each calibration card is gauged at PCE. The ML (mean light) value is indicated on the card.

84 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 85: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Steps:

1. Please select Menu -> Service -> System parameter -> shutter speed for checking the right shuttervalue.

2. You can adjust the ML (mean light)-value when you select the function ‚Calibration’Please note a Data Matrix window has to be set to use this function.

The function can be found under Menu -> Edit product -> parameter data matrix -> Calibration

Parameter Data Matrix Code

Control DM 0 ON Calibrate >>Continue>>

In this mode, the camera initially tries to recognize the data matrix code and then continuously displays theread values for ML as well as the quality parameters for the data matrix reading.

3.Position the data matrix code on the calibration card in front of the camera, at the correct reading distance.Press [next] button for teaching-in the data matrix code. If there are no hits during setup, please check theparameter settings explained in chapter 15.The data matrix code should now be read continuously and the graphic evaluation of the quality analysisdisplayed.The following graphic should be displayed on the screen of the PLM PC:

The displayed ML value must correspond to the value on the calibration card (+/-5).Please make sure that the measurements are made in exactly the same area of the image where you wantto read the production code.

4.Adjustment of illumination

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 85 / 106

Page 86: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

If the ML value varies, the illumination of the camera must be adjusted. In order to do so, open the M18x1screw blocking access to the objective and turn the aperture ring from the outside with a suitable tool, e.g. asmall pointed screwdriver, making sure not to alter the focus of the objective. Make sure that you don’tchange the focus of the lens.

Do not terminate the 'Calibration' function until you have successfully completed the process.

NOTICESome cameras might have an adjustable internal illumination. If the software detects thepresence of an adjustable illumination, it will display a slider for manual adjustment ofimage brightness. Please do not try any brightness adjustment on the aperture of yourcamera.

86 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 87: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

19 QR Code Window ParametersIn a QR window a QR (Quick Response) code can be inspected. The code content is read by the cameraand compared with the reference code. If they match, the “good” signal is given. The quadratic code can beread in any orientation. The camera can also send the read content of the code on the serial interfacewithout a comparison. With Main menu > Change product > Parameter QR window any necessary settingcan be made by the operator.

Parameter QR CODE

Control QR0 ON --- >>NEXT>>

Searching area 180 74 364 351

Size Finder: 135x135px²

Modules: 14x14mod²

--- ---

Colour Black --- --- ---

Threshold Search: 102 Code: 102 Attempts: 1 ---

Filter 1. Filter: 1 2. Filter: 0 Noise reduction:OFF

---

Dot-Code OFF --- --- ---

Code Syntax Symbology ID: OFF --- --- ---

Learn Code/Compare

4:`1111` On --- ---

OCV Reference OFF --- --- ---

Code to RS232 OFF --- --- ---

Searching areaThe search area defines the position and size of the control window in which the QR code will be detected.

Size - FinderThe Finder Size will help the camera finding the 3 Finder Elements which are part of every QR code and areimportant for recognition of size, position and orientation of the code.

Size - ModulesThe number of modules states the number of modules the code consists of, e.g. 21x21 modules. Using the“Auto” function, the camera can automatically determine the number of modules during inspection and readthe code.

ColorThe Color parameter states whether the code has been printed in black or white, i.e. black on a whitebackground or white on a black background.

Threshold - searchThe search threshold defines the contrast for finding the 3 finder elements of the code and for distinguishingthem from any other additional print and the background.

Threshold - CodeThe code threshold will be used for distinguishing the black and the white module in a QR code.

Threshold - AttemptsBy using the adjustment Attempts, multiple evaluations with different threshold levels around the configuredvalue can be activated. The quantity of attempts can be chosen between 1, 3 and 7. A higher valueincreases reading stability for poorly printed codes, but also increases time consumption for evaluation.

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 87 / 106

Page 88: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

FiltersIf for example there are disruptive ink splashes in the background of the code, the first filter can be usedwith a negative value. This will reduce the disruption but also the size of the code modules. To regain thecorrect size of the modules, the second filter can be used with a positive value.

Filters: off 1. Filter: -3 1. Filter: -3 & 2. Filter: +1

Filter: Noise ReductionThis filter is suppressing noisy background when switched on. Please consider that this filter will have animpact on the time consumption of the evaluation.

Dot-CodePrinting a data QR code with an inkjet printer results in the creation of round or circular modules. An idealprinted module, however, should be square. The camera has various filter functions so that such codes canalso be read accurately. In the software, the user can specify whether a dot (module) = a gap is printed. Orwhether a module smaller or larger than a gap is printed. With this function, several dots per module areused for analysis.

Code Syntax - Symbology IDThe Symbology Identifier (e.g. ]Q3) is part of every QR code as it is defined by ISO/IEC15424. In generalthis information is not returned by QR code readers. With this option the behavior of the camera can bedefined. If this option is turned on the camera will add this identifier to the decoded content as a prefix.

Teach-in codeThe following parameters can be set manually by the operator or determined automatically by the camera:threshold values, finder size, reference code and number of modules.

0 [_] Threshold [_] Size [_] Reference code [_] No. modules1 [X] Threshold [X] Size [_] Reference code [_] No. modules2 [X] Threshold [X] Size [X] Reference code [_] No. modules3 [X] Threshold [X] Size [_] Reference code [X] No. modules4 [X] Threshold [X] Size [X] Reference code [X] No. modules

The marked elements will be automatically defined by the camera, when setting a new reference code in themain menu.

ComparisonBy default camera releases a good signal to the machine control, when the decoded code matches thereference code. The camera provides an option here to stop the machine, as soon as it reads a wrong code.For this it will deactivate its system ready (SR) signal. A third option is to turn off comparison. Then thecamera will evaluate every readable code as a positive result, independent from the code content.

OCV ReferenceThese parameters define a function which enables an adjustable portion of the read data matrix code to beused as the reference code of an OCV/OCR window.

88 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 89: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

A wizard will ask for the necessary values one after the other and thus simplify input:• First it will ask which OCV/OCR window to use as the target for the operation.• Then it will ask for the start position in the QR reference code (There is a '0' position)• Then it will input the number of characters to transfer• Lastly, it will ask for the position in the target. (There is a '0' position and the target must have at least

enough reference characters to accommodate the beginning of the transferred characters.

Example:The text “Total---” was input as the reference code for OCV0.

The setting in the parameter table looks like this:

OCV Reference OCV0 6/7/5 --- ---

A calibration card with the text “Pharmacontrol Electronic GmbH” appears in front of the camera.

Reading in the production mode results in the following reference code in the OCV0 window: „Total control“

Code to RS232 (optional)If this function is activated, the camera sends the code content via the RS232, for example, to a PC.

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 89 / 106

Page 90: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

20 Code AggregationThe Aggregation Mode is an optional mode for Smart Cameras which are for example integrated into a CasePacker System. The Aggregation can be activated in the Parameter Table of a Barcode or DM Code window.When activated, the mode will be applied to all Barcode and DM Code windows of the current product.For the function of aggregation, the camera needs two signals from the machine or PLC:• Primary Gate on Input 1• Secondary Gate on Input 2The Primary Gate Signal must be high during the aggregation cycle and point out the end of this cycle withits falling flank. If applicable, the Secondary Gate must point out the end of a subset of codes from thecurrent cycle. After each aggregation cycle the camera will send all aggregated codes to the PLM. Themaximum amount of codes for one aggregation cycle (e.g. one packing case) is 500.

Operating ModesThe code aggregation can be activated in two different modes (the appropriate mode is depending on thetype of the machine):• AggregationIn this basic mode all code reading results (no matter if positive or negative) will be submitted to the PLM,this means unreadable codes will also be sent as part of the aggregation data in form of an error message(prefixed with “#ERR”). In this operating mode, the Secondary Gate signal should be coupled with thePrimary Gate signal physically.

90 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 91: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

• Aggregation (partial rejection)If the aggregation system e.g. has a rejection system for a series of products (a layer or a row), a PLC mayuse the cameras result output to reject a series if at least one code of it was unreadable. As the Codes fromthis series then should not be part of the aggregated data, the camera has this operating mode in which itwill discard these codes (all codes of a series with at least one bad reading). A series of codes is definedby the Secondary Gate.

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 91 / 106

Page 92: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

21 Appendix

21.1 Error Messages and Error Recovery

Error message Error recoverySystem fails to start: • Switch system off and on again.

• Check connection leads.

System cannot be operated using the mini keyboard: • LAN connection OK?• Switch system off and on again

System cannot be operated from the PC: • Has the IP address been configured correctly?• Has the correct part on the PC been selected?• Network hardware hub, switch and cabling

correct?• Firewall in PC active?

System fails to take a photo: • Check the trigger signal.

The photo is blurred: • Check the distance between the camera and theobject.

Good characters are mistaken for errors: • Check character set, if necessary, conduct newcharacter teach-in.

Characters in the character set are not readable: • Avoid reflections, new character teach-in.

Incorrect readings in the production run for theoptical character verification:

• Control window or measuring lines wronglypositioned.

• Reset window.• Brightness of background is not even.• Reduce reflections.• Protect against any external light.• Check references entered.• Train characters.

Incorrect readings at high speed: • Reduce machine clock speed.• Check whether trigger signal bounces.

“No window set!” • One window has to be set.

“Characters not found in the memory!” • Teach-in character.

“No teach-in for character!” • Teach-in character.

Please teach-in the character set first!” • Teach-in character.

Please take photo first!” • Take live photo.

Reference code is not permissible!” • Change reference code.

Too many different characters!” • Enter correct number of characters.

“For dynamic reference code, teach-in compulsoryfor all digits!”

• Teach-in the characters 0, 1, 2, 3, 4, 5, 6, 7, 8and 9.

„!! Password is incorrect!!” • Enter correct password.

“Passwords are not identical” • The second new password must agree with thefirst.

„! Character set memory is empty!” • In the OCV mode the characters must be taughtin first.

„! Character set memory is full!” • No more characters can be taught in. To teach-innew characters, old characters first have to bedeleted.

“Incorrect number of characters! Characters found:” • The number of characters entered does not agreewith the number of taught-in characters. Entercorrect number of characters or repeat theprocedure.

92 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 93: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Error message Error recovery“Error when loading the device data” “The defaultsettings are used” “ < > “

• No data is available in the camera. Errormessage only occurs when switching on for thefirst time.

„!!!! Flash memory is full!!!!” • Flash memory is full, delete characters notrequired.

„!!!! Error Flash memory!!!! “Data could not bestored.”

• Memory is full or an error has occurred. Repeatmemory procedure or delete old characters.

“Error when loading the product! < > “ • Repeat loading, or product is not available.

“Error when initializing the main FDC < >.” • Error message cannot be influenced.

Statistic Buffer full for [IP] • Press Quit on the screen. You may have toremove all products between the Master andSlave Camera because their statistic data will belost.

Statistic not sent. • Camera was not able to send Statistic data toPLM before next trigger. Press Quit on the Screenand check speed limitations.

“Warning: No connection to Master“ • The Slave Camera was not able to connect to theMaster Camera.

• Ensure that the Master Camera is in productionmode.

• Check the Master-Slave configuration on thedevices.

“!TO!” • Time OUT: evaluation was stopped, because timereached the defined Time Out value. See alsochapter “System Parameters/ Time Out”

“E01” • Missing character in reference code

"-.” • Object width out of tolerance. See also chapter“Parameters of OCV / TIN Windows/ Control “ . “and “ – “

“1000” • Character height is out of tolerance. See alsochapter “Change scaling tolerance / scalingtolerance”

“ERROR: SENSOR1 (PRODUCT DISTANCE)” • Description: Too many triggers on Sensor1(product distance not ok/too small or sensorerror).

• Solution: Check object distance and adjustmentof Sensor1.

“ERROR: SENSOR2 (UNEXPECTED SIGNAL)” • Description: Too many triggers on Sensor2(sensor error, failure of Sensor1).

• Solution: Check operation of Sensor1 andadjustment of Sensor2.

“ERROR: SENSOR3 (NOT EJECTED)” • Description: If product was faulty, but was notejected and passed Sensor3.

• Solution: Check ejection system and timings.

“ERROR: SENSOR3 TIMEOUT (WRONG EJECTED)” • Description: Product passed Sensor1 and resultwas good, but camera received no signal fromSensor3 within the defined time frame.

• Solution: Check ejection system and timings andoperation of Sensor3.

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 93 / 106

Page 94: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Error message Error recovery“ERROR: SENSOR2 TIMEOUT" • Description: Product passed Sensor1 but camera

received no signal from Sensor2 within thedefined counter check time frame.

• Solution: Check operation of Sensor2 andtimings.

“ERROR: NO REFERENCE DATA RECEIVED” • Description: Camera not received new databefore next trigger; see chapter Systemparameter/Reference data receive check.

• Solution: Make sure that data will be send fromexternal or switch off control.

“No connection to image server” • Description:Camera is missing an external FTPserver for storing failed images.

• Solution: Start FTP server or switch off functionstoring failed images.

If the error cannot be remedied in this way, please call the Customer Service.

21.2 MaintenanceThe device has been specially designed for industrial requirements. As a result, reliable operation isguaranteed under the normal conditions existing in production plants, provided that trained personnel haveinstalled the device. For perfect operation, it is necessary to clean the glass plate of the camera housing atregular intervals. For cleaning, only use the cleaning cloths and agents intended specially for this purpose.

NOTICEThe device itself has no mechanical wearing parts and therefore requires no maintenance.If a Grading according to ISO 15415 for DM or ISO 15416 for other Code types shall beperformed a calibration described in chapter 18.2 Camera Calibration for Data MatrixQuality Control Reasons.

21.3 Further DocumentsThe following table shows further documents available for Smart Cameras.

Further Documents

SMC 3 Hardware Documentation Describes the functionally and handling of cameraHardware.

JDatatrans Software Manual Describes the functionally and handling of theservice tool JDatatrans which is running on a PC.

Patch Panel 3 Manual Describes how to connect the camera cables to thepatch panel and a switching cabinet and shows thewire and pin assignment.

SMC 3-Series Datasheets The datasheets for SMC 3 cameras shows propertiesof cameras in compact form.

21.4 Adjusting the Focus / Reading DistanceThe following description can be used to check if the image sharpness displayed by the PLM or the SMCClient corresponds to the expected image quality or if the image sharpness needs to be readjusted aftersetting the reading distance desired.After adjusting the Focus and the Image brightness change the quality of image transfer back to the pre-setvalue of “2” or turn off the Zoom mode. Setting the quality of image transfer too high can increase theprocessing time during production by more than 10 ms.

94 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 95: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Standard cameras have a reading distance of 89 mm; as a general rule the reading distances are setduring the installation of the system. If the reading distance changes, the focus has to be adjustedmanually.

NOTICESome cameras might have an adjustable lens, if the software detects the presence of anadjustable lens, it will display the buttons Focus and Autofocus on the menu for ‘OpticalSettings’. Please make all the adjustments by software using the Focus or Autofocusfunction.

Instruction to adjust the focus:

1. Increase the size of the details displayed either by turning on the Zoom mode in the Main menu or byswitching image quality to “1” in Service – Image configuration - image transfer.

2. Then switch the camera to the Live image mode.

3. Now adjust the distance between the object and the camera until the image displayed on the screencorresponds to the size desired.

4. 4. Loosen the screws of the lid, which closes the opening to the lens, and turn the ring for the focaldistance from the outside using a suitable tool such as a small pointed screwdriver until you see aclear, sharp image on the screen. Make sure that you did not accidentally change the f-stop.

5. Change the quality of image transfer back to the pre-set value of “2” or turn off the Zoom mode. Settingthe quality of image transfer too high can increase the processing time during production by more than10 ms.

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 95 / 106

Page 96: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

22 Specifications for OCR/OCV Control

22.1 FontFont typeIn principle the camera can check almost any font type. But because the characters in certain fonts can behard to distinguish, we recommend using OCR-A (ISO 1073-1) or OCR-B (ISO 1073-2) font.

Character spacingThere should be a space of at least one line width perpendicular to the reading direction betweencharacters.

Font sizeThe smallest possible font size depends on the size set for the field of view and on the camera resolution.Cameras are set to a minimum font size of 2 mm by default.

Font colorThe camera can check either light font on a dark background or dark font on a light background. Thecontrast between the characters and the background should be as high as possible. Black font on a whitebackground is ideal, whereas yellow font on a white background, for example, is problematic. The contrastcan also be enhanced by using application-specific lighting. The character background should be uniform.

Printing techniqueStamp, hot stamp, block, thermal transfer, laser, and also inkjet and UV print can be read. A special UVlight source is required for UV ink. For laser and inkjet print, there are filters in the software for connectingthe individual dots.

22.2 Premissible Characters for OCR/OCV Control

Unicode Character Unicode Character Unicode Character0020 SPACE (not

checked)0043 C 0065 e

0021 ! (not valid) 0044 D 0066 f

0022 " 0045 E 0067 g

0023 # 0046 F 0068 h

0024 $ 0047 G 0069 i

0025 % 0048 H 006A j

0026 & 0049 I 006B k

0027 ' 004A J 006C l

0028 ( 004B K 006D m

0029 ) 004C L 006E n

002A * (not checked) 004D M 006F o

002B + 004E N 0070 p

002C , 004F O 0071 q

002D - 0050 P 0072 r

002E . 0051 Q 0073 s

002F / 0052 R 0074 t

0030 0 0053 S 0075 u

0031 1 0054 T 0076 v

0032 2 0055 U 0077 w

0033 3 0056 V 0078 x

0034 4 0057 W 0079 y

96 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 97: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Unicode Character Unicode Character Unicode Character0035 5 0058 X 007A z

0036 6 0059 Y 007B {

0037 7 005A Z 007C |

0038 8 005B [ 007D }

0039 9 005C \ 007E ~

003A : 005D ] 00a3 £

003B ; 005E ^ 00c4 Ä

003C < 005F _ 00d6 Ö

003D = 0060 ` 00dc Ü

003E > 0061 a 00df ß

003F ? (not valid) 0062 b 00e4 ä

0040 @ 0063 c 00f6 ö

0041 A 0064 d 00fc ü

0042 B 20ac €

Cyrillic character:

Unicode Character Unicode Character0401 Ё 0432 в

0404 Ɣ 0433 г

0407 Ɨ 0434 д

0410 А 0435 е

0411 Б 0436 ж

0412 В 0437 з

0413 Г 0438 и

0414 Д 0439 Й

0415 Е 043A к

0416 Ж 043B л

0417 З 043C м

0418 И 043D н

0419 Й 043E о

041A К 043F п

041B Л 0440 р

041C М 0441 с

041D Н 0442 т

041E О 0443 у

041F П 0444 ф

0420 Р 0445 х

0421 С 0446 Ц

0422 Т 0447 ч

0423 У 0448 ш

0424 Ф 0449 щ

0425 Х 044A ъ

0426 Ц 044B ы

0427 Ч 044C ь

0428 Ш 044D э

0429 Щ 044E ю

042A Ъ 044F я

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 97 / 106

Page 98: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Unicode Character Unicode Character042B Ы 0451 ё

042C Ь 0454 Dž042D Э 0457 Lj042E Ю 0490 Ǫ042F Я 0491 ǫ0430 а

0431 б

NOTICEThe characters listed above can be taught -in or entered as reference characters respec-tively. The ability to differentiate the characters from each other depends amongst otherson the font type and the features of the respective characters. “SPACE”(u0020) can beentered as reference character, however it will not be checked. “*” (u002A) is used asreplacement character. “!”(u0021) and “?”(u003F) are used as control characters.

98 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 99: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

23 Readable Code Types

Pharmacode

2-Track Pharmacode

Code-39

Code-32

Interleaved 2 of 5

Code 128

GS1-128(EAN.UCC 128)

UPC_A

UPC-E

EAN-13

EAN-8

Codabar

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 99 / 106

Page 100: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Data Matrix(ECC 200)

At present, the camera can inspect quadratic codesfrom 10x10 to 144x144 and rectangular codes with8x18, 8x32, 12x26, 12x36, 16x36 and 16x48modules.

GS1 Data MatrixEAN Data Matrix

At present, the camera can inspect quadratic codesfrom 10x10 to 144x144 and rectangular codes with8x18, 8x32, 12x26, 12x36, 16x36 and 16x48modules.

PPN CodeData Matrix

At present, the camera can inspect quadratic codesfrom 10x10 to 144x144 and rectangular codes with8x18, 8x32, 12x26, 12x36, 16x36 and 16x48modules.

QR Code

Currently supported QR V1-V6 (21x21 - 41x41modules); Max. 200 byte; FNC1 supported;Encodings Byte, Numeric, Alpha-Numeric.

GS1-DataBar(before RSS14)

GS1-DataBar Truncated

GS1-DataBar Stacked

GS1-DataBar Limited

EAN.UCCComposite (CCA)

PDF417 (ECC Level 0-6)

100 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 101: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Compact PDF417 (truncated)(ECC Level 0-6)

GS1-DataBar has been named as RSS14 before. EAN.UCC Composite (CCA-Code) does apply only inconnection with GS1-DataBar. In this case a control window has to be set for both codes.

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 101 / 106

Page 102: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

24 Size / Data Comparison Chart

102 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 103: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

25 QR Code Reading SupportCode Size and Data Capacity Comparison

Version Modules ErrorCorrection

Data bits Numeric Alphanumeric Binary

1 21x21 L 152 41 25 17

M 128 34 20 14

Q 104 27 16 11

H 72 17 10 7

2 25x25 L 272 77 47 32

M 224 63 38 26

Q 176 48 29 20

H 128 34 20 14

3 29x29 L 440 127 77 53

M 352 101 61 42

Q 272 77 47 32

H 208 58 35 24

4 33x33 L 640 187 114 78

M 512 149 90 62

Q 384 111 67 46

H 288 82 50 34

5 37x37 L 864 255 154 106

M 688 202 122 84

Q 496 144 87 60

H 368 106 64 44

6 41x41 L 1088 322 195 134

M 864 255 154 106

Q 608 178 108 74

H 480 139 84 58

7 45x45 L 1248 370 224 154

M 992 293 178 122

Q 704 207 125 86

H 528 154 93 64

8 49x49 L 1.552 461 279 192

M 1.232 365 221 152

Q 880 259 157 108

H 688 202 122 84

Supported:• QR V1-V8 (21x21 - 49x49 Modules)• Max. 400 byte• FNC1 supported• Encodings: Byte, Numeric, Alphanumeric• Byte Encodings will be interpreted, displayed and transferred in UTF-8 Text EncodingNot supported:• Encodings: Kanji, JIS• ECI Mode• Structured Append Mode

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A 103 / 106

Page 104: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Inten

tiona

lly le

ft blan

k

104 / 106 Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A

Page 105: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR
Page 106: Intentionally left blank - Mettler Toledo...18.118.2Data Matrix Quality Control in Keeping with ISO/IEC 15415Camera Calibration for Data Matrix Quality Control Reasons8384 ..... 19QR

Pharmacontrol Electronic GmbHGernsheimer Strasse 264673 Zwingenberg, GermanyTel. +49 6251 8545-0Fax +49 6251 8545-111www.mt.com

Subject to technical changes.© Pharmacontrol Electronic GmbH  04/2018Optical Character / Code Verification - OCV 7.003 - User Manual - DocumentVersion A

For more informationwww.mt.com/pce

Optical Character / Code Verification - OCV 7.003 - User Manual - Document Version A  4/24/20183:22 PM  - Schema ST4 PDF engine -  Layout by Victor Mahler