___________________
___________________
___________________
___________________
___________________
___________________
___________________
SIMATIC Ident
Optical identification
SIMATIC MV500
Operating Manual
06/2018
C79000
-G8976-C495-01
Introduction
1
Description of the WBM
2
Start page
3
Application
4
Settings
5
Device
6
Appendix
A
07/2018 Subject to change
Copyright © Siemens AG 2018.
All rights reserved
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
indicates that minor personal injury can result if proper precautions are not taken.
NOTICE
indicates that property damage can result if proper precautions are not taken.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The product/system described in this documentation may be operated only by
personnel qualified
for the specific
task in accordance with the relevant documentation, in particular its warning notices and safety instructions.
Qualified personnel are those who, based on their training and experience, are capable of identifying risks and
avoiding potential hazards when working with these products/systems.
Proper use of Siemens products
Note the following:
WARNING
Siemens products may only be used for the applications described in the catalog and in the relevant technical
documentation. If products and components from other manufacturers are used, these must be recommended
or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and
maintenance are required to ensure that the products operate safely and without any problems. The permissible
ambient conditions must be complied with. The information in the relevant documentation must be observed.
Trademarks
All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in this publication
may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 3
Table of contents
1 Introduction ............................................................................................................................................. 5
2 Description of the WBM........................................................................................................................... 7
2.1 Layout of the WBM ................................................................................................................... 7
3 Start page ............................................................................................................................................. 13
4 Application ............................................................................................................................................ 15
4.1 Program .................................................................................................................................. 15
4.1.1 "Sequence" program step ....................................................................................................... 20
4.1.1.1 Description .............................................................................................................................. 20
4.1.1.2 Program sequence .................................................................................................................. 20
4.1.2 "Overview" program step ........................................................................................................ 21
4.1.2.1 Auto-setup ............................................................................................................................... 21
4.1.2.2 Description .............................................................................................................................. 22
4.1.3 "Image acquisition" program step ........................................................................................... 22
4.1.3.1 Auto-setup ............................................................................................................................... 22
4.1.3.2 Image ...................................................................................................................................... 23
4.1.3.3 Trigger ..................................................................................................................................... 25
4.1.3.4 Lighting ................................................................................................................................... 29
4.1.3.5 E-focus .................................................................................................................................... 30
4.1.3.6 Verification .............................................................................................................................. 30
4.1.4 "Decoder" program step .......................................................................................................... 32
4.1.4.1 Auto-setup ............................................................................................................................... 33
4.1.4.2 General ................................................................................................................................... 34
4.1.4.3 Format ..................................................................................................................................... 37
4.1.4.4 Decoding order ....................................................................................................................... 53
4.1.4.5 Decoder .................................................................................................................................. 56
4.1.4.6 Multicode ................................................................................................................................. 57
4.1.4.7 Evaluation ............................................................................................................................... 59
4.1.4.8 MATCH ...................................................................................................................................
60
4.1.4.9 N_OK....................................................................................................................................... 63
4.1.4.10 Decoder options (standard) .................................................................................................... 64
4.1.4.11 Decoder options (ID Genius) .................................................................................................. 66
4.1.4.12 Decoder options (1D) .............................................................................................................. 67
4.1.5 "Result" program step ............................................................................................................. 70
4.1.5.1 Program format text ................................................................................................................ 70
4.1.5.2 Error messages ....................................................................................................................... 83
4.1.6 Image and result display ......................................................................................................... 89
4.1.7 Image and result view ............................................................................................................. 91
Table of contents
SIMATIC MV500
4 Operating Manual, 06/2018, C79000-G8976-C495-01
5 Settings ................................................................................................................................................ 97
5.1 Communication ...................................................................................................................... 97
5.1.1 Interfaces ............................................................................................................................... 97
5.1.2 Use ....................................................................................................................................... 106
5.1.3 Digital I/O ............................................................................................................................. 111
5.2 Options ................................................................................................................................. 113
5.2.1 Lighting ................................................................................................................................. 113
5.2.2 Diagnostics & monitoring ..................................................................................................... 116
5.2.3 Extras ................................................................................................................................... 120
5.3 Security ................................................................................................................................ 127
5.4 User management ............................................................................................................... 128
6 Device ................................................................................................................................................. 131
6.1 Diagnostics ........................................................................................................................... 131
6.2 System ................................................................................................................................. 134
6.3 Adapt .................................................................................................................................... 138
6.4 Help ...................................................................................................................................... 138
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 5
Introduction
1
The MV500 optical readers are equipped with a Web server that provides Web Based
Management (WBM). Using the WBM, you can configure your readers. Among other things,
you can create reader-specific programs and program sequences and run diagnostics.
Introduction
SIMATIC MV500
6 Operating Manual, 06/2018, C79000-G8976-C495-01
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 7
Description of the WBM
2
2.1
Layout of the WBM
Using the WBM, you can configure the SIMATIC MV500 optical readers.
NOTICE
Security recommendation: Enable user management
After starting the WBM the first time, no user management is enabled. To make sure that
no unauthorized persons can access the reader settings, we recommend that you enable
the user management, create new user profiles and delete any existing default user profiles
after starting the WBM for the first time.
For additional information on logging in to WBM and creating/deleting user profiles, refer to
the section "User management (Page 128)".
When you have created new user profiles you need to log in with one of these user profiles
when you restart the WBM.
Description of the WBM
2.1 Layout of the WBM
SIMATIC MV500
8 Operating Manual, 06/2018, C79000-G8976-C495-01
Layout of the WBM
After successful connection establishment to the reader, the start window of the WBM
appears:
Status bar and toolbar
Menu tree
Main window
Figure 2-1 Start window of the WBM
Status bar and toolbar
Above the main window, there is a status bar with the following information:
Display of the reader status and access status
Selection of the view
Drop-down list for selecting the user interface language
Display of the user profile
Login drop-down list for login/logout on the WBM (only with active user management)
Help
A menu-specific toolbar may be located below the status bar and above the main window.
The toolbar is only displayed in the "Application" and "Libraries" menus and has different
functions depending on the menu.
The toolbar and its individual functions are described at the start of each section related to
the menu.
Description of the WBM
2.1 Layout of the WBM
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 9
Reader status and access status
The reader status shows the current status of the reader.
Table 2- 1 Reader status
Icon
Description
Start
The reader has the "Start" status. This means that the device is currently
in processing mode (RUN).
Stop
The reader has the "Stop" status. This means the device is currently nei-
ther in processing mode nor in productive mode. There is no operation
(STOP).
Edit
The reader has the "Edit" status. This means the device is currently in edit
mode and changes can be made to the configuration.
Adapt
The reader has the "Adapt" status. This means the device is currently in
adaption mode. This mode is started either by the "READ" button or by
the "Full program" function in the program step "Overview > Auto-
adaption".
The access status shows the current status of the WBM.
Table 2- 2 Access status
Icon
Description
Red padlock
Operation is not possible in the "Read only" status because the WBM of
another PC is currently in control of the optical reader.
Blue padlock
The logged-on user is not authorized to change settings.
Red/gray padlock
DISA is active. Only users that have the "Take control" right are capable
of taking over control of the optical reader from the controller.
Green padlock
The currently logged on user has taken control of the optical reader.
Description of the WBM
2.1 Layout of the WBM
SIMATIC MV500
10 Operating Manual, 06/2018, C79000-G8976-C495-01
Standard view
Use the Standard view to switch between Standard and Extended view. In the Standard
view, the operator controls that are not required for standard applications are grayed out. If
the Standard view is disabled, extended parameters are released for editing.
Login area
If user management ("Settings > User management") is switched on, you must log on in this
area to be able to make changes in the WBM with your login.
Help
You use the question mark symbol "?" to open the WBM online help. The help is context-
sensitive. The corresponding help page for the menu in which you are currently working is
called.
Description of the WBM
2.1 Layout of the WBM
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 11
Menu tree
The menu tree with the different menu items is located in the left margin of the WBM. The
currently selected menu item is highlighted in color.
The following table provides an overview of the menu items and the functions they provide.
Table 2- 3 The menu structure of the WBM
Menu items
Functions
Start page Retrieving device and network information
Starting/stopping processing mode of existing programs
Application
Program Specifying and testing image acquisition settings, reader orientation and
processing task
Monitoring/controlling processing
Libraries
Verification
Editing verification library
Settings
Communication
Specifying communication settings
Options
Specifying general device settings
Security
Assigning role-specific rights
User management Enabling/disabling user management
Creating and deleting user profiles
Changing passwords
Device
Diagnostics Displaying and backing up diagnostic data from reader
Creating system image including diagnostics
Treatment for persistent diagnostics
System Resetting reader to factory settings
Saving/restoring device configuration
Updating the firmware
Saving/restoring custom GUI
Adapt
Specifying settings for the WBM view
Help Further help on the WBM and the devices
Readme
"Service & Support" contact information
If you are logged in to the WBM as a "User", some menu items can only be used with certain
restrictions. You will find a list of the restrictions in the section "User management
(Page 128)".
Description of the WBM
2.1 Layout of the WBM
SIMATIC MV500
12 Operating Manual, 06/2018, C79000-G8976-C495-01
Main window
The main window shows the contents of the selected menu items. Here, you can configure
the various menu-dependent parameters. The main window is divided up into three columns
in the menu items "Application" and "Libraries".
Message area
The message area displays all WBM-related error messages and warnings (e.g. transfer
errors). If messages or warnings are present, they are displayed at the bottom of the main
window. Note that the message area is only displayed on the start page of the WBM.
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 13
Start page
3
The "Start page" menu contains device and network information as well as information on
the installed internal lamp.
Table 3- 1 "Start page" menu groups
Group
Description
Reader This group shows the following device information:
Product version
Article number
MAC address
FPGA version
Firmware version
Licenses
Internal lamp
This group shows information on the installed internal lamp.
Network
This group shows network information.
Control
You can start and stop the processing mode in this group.
If messages or warnings are present, they are displayed below the groups in the main
window of the start page.
Table 3- 2 Reader status
Icon
Description
Start
The reader has the "Start" status. This means that the device is currently
in processing mode (RUN).
Stop
The reader has the "Stop" status. This means the device is currently nei-
ther in processing mode nor in productive mode. There is no operation
(STOP).
Start page
SIMATIC MV500
14 Operating Manual, 06/2018, C79000-G8976-C495-01
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 15
Application
4
4.1
Program
The "Program" menu gives you the option of setting the type of processing that the optical
reader executes in one cycle. This task is the main task of the WBM and offers a wide range
of options. These options enable you to adjust the optical reader to suit a wide range of
reading tasks in line with your requirements.
The "Program" menu includes the following functions:
Creating, editing, and deleting programs
Functions during program creation:
Image acquisition control functions
Selection of lighting
Parameter assignment of read tasks, broken down into a sequence of read steps
(steps)
Output formatting of results
Selecting a verification
Program selection
Starting processing
Checking settings and results in processing mode
Application
4.1 Program
SIMATIC MV500
16 Operating Manual, 06/2018, C79000-G8976-C495-01
Structure of the "Program" menu
"Program" toolbar
Program steps & program-specific toolbar
Parameter area
Image and result display
Image and result view
Figure 4-1 Structure of the "Program" menu
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 17
Description of the toolbars
Table 4- 1 "Program" toolbar
Button
Description
Program sequence part of the toolbar
1)
Sequence
Select the program sequence you want to start.
Save sequence
Click this button to save the selected program sequence ("Sequence" drop-down list).
Edit program
Click this button to edit the selected program ("Program" drop-down list).
Start sequence
Click this button to start the selected program sequence ("Program" drop-down list).
Stop sequence
Click this button to stop the selected program sequence ("Program" drop-down list).
General part of the toolbar
Program
Select the program you want to start.
New element
Click this button to create a new program. You can also create new programs based on
existing programs (copy of "xx").
Save program
Click this button to save the selected program ("Program" drop-down list).
Application
4.1 Program
SIMATIC MV500
18 Operating Manual, 06/2018, C79000-G8976-C495-01
Button
Description
Save program as
Number
In this text box, enter the program number under which you want to save the current
program.
Value range: 1 ... 15
Name
In this text box, enter the name under which you want to save the current settings and
the program. This entry is optional.
Possible values: Letters, numbers and underscores. Maximum of 255 characters.
Comment
In this text box, you can enter your own program-specific information, for example.
Among other things, this is intended to make it easier for you to identify the individual
programs.
Wait for next image acquisition
Select this check box when you do not want to save the current image but the next
image.
Save program as
Click this button to save the current settings and the program with the specified name.
Discard changes
Click this button to discard the changes you have made since the program was saved
last. If the program was newly created and has not been saved since, it will not be
saved and will be lost.
Cancel
Click this button to close the menu without applying the changes.
Delete program
Click this button to delete the selected program ("Program" drop-down list).
Edit program
Click this button to edit the selected program ("Program" drop-down list).
Start program
Click this button to start the selected program ("Program" drop-down list).
Stop program
Click this button to stop the selected program ("Program" drop-down list).
1)
Note that the program sequence part of the toolbar is only shown when the "Program sequence" option was activated
under "Settings > Options > Extras > Program sequence".
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 19
Table 4- 2 Program steps & program-specific toolbar
Button
Description
Program sequence
Click this button to go to the "Program sequence" program step.
Program
Click this button to go to the "Program" program step.
Image acquisition
Click this button to go to the "Image acquisition" program step.
Decoder step
Click this button to go to the "Decoder step" program step.
Result
Click this button to go to the "Result" program step.
Add decoder step
Use a drag-and-drop operation to move this button to the desired position to add an addi-
tional decoder step.
Delete decoder step
Use a drag-and-drop operation to drag the decoder step you want to delete to the "Delete
decoder step" icon to delete the decoder step.
Description of the page layout with three columns
Table 4- 3 Page layouts
Column
Description
Parameter area
Left column
The various program step-specific parameters are shown in this column.
Image and result display
Center column
This column shows the image that was acquired last or the current image as well as the
associated results
Note: Identical for all program steps.
Image and result view
Right column
The settings for the image and result display are shown in this column. If the reader is in
processing mode ("Start") or in Auto-setup, additional information is displayed.
Note: Identical for all program steps.
Application
4.1 Program
SIMATIC MV500
20 Operating Manual, 06/2018, C79000-G8976-C495-01
4.1.1
"Sequence" program step
Note that this program step is only shown when the "Program sequence" option under
"Settings > Options > Extras" was enabled.
You can combine multiple programs into one program sequence in this program step.
4.1.1.1
Description
Table 4- 4 Description
Menu command or
parameter
Description
Sequence name In this input box, you can assign a name to the sequence.
Possible values: Letters, numbers and ASCII special characters. Maximum of
255 characters.
Comment In this input box, you can enter your own sequence-specific information, for
example. Among other things, this is intended to make it easier for you to identify
the individual sequences.
Possible values: Letters, numbers and ASCII special characters. Maximum of
4000 characters.
4.1.1.2
Program sequence
Table 4- 5 Program sequence
Menu command or
parameter
Possible values
Default
Description
Programs con-
tained
1 ... x 1 Select the programs that the program sequence
should use. You can select the programs with the
left mouse button + Ctrl.
Use 1st image On/Off Off Turn on this parameter to use an image acquisi-
tion with the acquisition settings of the first pro-
gram sequence contained in the program. Using
the acquired image, processing is attempted with
all the programs selected in the "Programs con-
tained" parameter.
If the parameter is disabled, separate image ac-
quisition is carried out for each program selected
in the "Programs contained" parameter with the
image acquisition settings stored in this program.
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 21
4.1.2
"Overview" program step
The program overview provides you with information about the currently selected program
and you are given the option of having the parameters assigned automatically or making the
settings manually.
4.1.2.1
Auto-setup
The Auto-setup functions assist you in the parameter assignment of a new or existing
program. You have the option of having the parameters assigned automatically or making
the settings manually.
Table 4- 6 Auto-setup
Menu command or
parameter
Description
Full program Automatically executes all adaption/program steps of the program. This may
take some time.
Note: This function is the same function that is triggered with the "READ" button
on the reader.
The adaption step is shown in the right column (image and result view).
Step-by-step
adaption
Guides you through the program settings step-by-step. You can follow this adap-
tion through all adaption/program steps and either set the parameters manually
or have them adapted automatically.
Automatic adaption with the help of the "Full program" function
The "Full program" function is similar to the function of the "READ" button. Both functions
automatically adapt the reader, but differ in some points.
Requirements
To use the function, you need a code in the target area of the reader. Use the image
display to ensure that the code is located in the target area of the reader.
Function description
When the function is started, the reader changes to the "Adaption" status and automatically
optimizes the lighting. When using an EF lens, the focus is also set. Then the reader looks
for a code in the target area. If a code is detected, the reader optimizes all relevant
parameters for reading the code. If no code is detected, the reader repeats the process with
adjusted settings. Depending on the model version and the code used, this process can take
up to one minute. The "READ" LED flashes green during this process.
The adaption progress is displayed in the "Auto-setup status" area during adaption.
When adaption is complete, the reader automatically switches to edit mode ("Edit"). Next you
must save the changes manually in the desired target program.
Application
4.1 Program
SIMATIC MV500
22 Operating Manual, 06/2018, C79000-G8976-C495-01
4.1.2.2
Description
Table 4- 7 Description
Menu command or
parameter
Description
Program name In this input box, you can assign a name to the program.
Possible values: Letters, numbers and ASCII special characters. Maximum of
255 characters.
Comment In this input box, you can enter your own program-specific information, for ex-
ample. Among other things, this is intended to make it easier for you to identify
the individual programs.
Possible values: Letters, numbers and ASCII special characters. Maximum of
4000 characters.
4.1.3
"Image acquisition" program step
You start setting up the reader in this program step and make all settings that have an effect
on the image acquisition.
This includes the following settings, among others:
Auto-setup
Image
Trigger
Lighting
E-focus
Verification
4.1.3.1
Auto-setup
The Auto-setup functions assist you in the parameter assignment of a new or existing
program. You have the option of having the parameters assigned automatically or making
the settings manually.
In this area, you can use the three buttons to have the WBM automatically make the basic
settings and set the basic orientation of the reader.
Table 4- 8 Auto-setup
Button
Description
Light You use this button to automatically adapt the settings of the "Image" and "Lighting"
area.
Focus
You use this button to adjust the focus ("Focus" area)
You use the "Back" and "Next" buttons to either return to the previous program step or
switch to the next program step.
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 23
4.1.3.2
Image
In this group, you enter the parameters for image acquisition.
Table 4- 9 Image
Menu command
or parameter
Possible values
Default
Description
Exposure Auto
Manual
Auto Setting the exposure control:
Auto
With this setting, each processing is preceded by a series of
image acquisitions so that the reader can set the optimum
brightness.
Position the Region of Interest (ROI exposure) of the image
so that the image area to be processed is included. Exposure
control is then based on this ROI.
To enable optimal operation of the brightness control, the
object to be processed must remain inside the ROI after the
trigger until exposure control is finished. The processing time
increases accordingly, whereby the cycle time and the high
limit of the cycle time include this increase in the processing
time.
To rule out reflections, use a limited ROI in this case.
Set a high limit for the exposure time and brightness in this
setting. Depending on your application it maybe necessary to
specify a high limit for the exposure time, for example, to
prevent excessive blurring due to movement.
The "A" button is hidden.
Manual
With this setting, you specify the exposure time and bright-
ness manually. This allows you to set the exposure according
to your own experience in conditions when the automatic
function might fail.
This setting is necessary for short image acquisition times,
for example at high reading speeds.
When you click the "A" button, you trigger a single adaption.
The reader calculates suitable values for the exposure time
and brightness. With this as a basis, you can then fine tune
the settings.
Note
If the trigger comes during the image acquisition when auto-
matic exposure control is active, it is ignored and an "N_OK"
is output.
Read the note on the use of the exposure ROI with verifica-
tion according to ISO/IEC 29158.
High sensitivity Off
On
Off The "On" setting increases the light sensitivity by a factor of 4
compared to the "Off" setting.
This setting therefore is especially useful for applications with
high movement speeds or poor lighting conditions. The in-
creased light sensitivity causes a greater pixel noise com-
pared to normal sensitivity.
Application
4.1 Program
SIMATIC MV500
24 Operating Manual, 06/2018, C79000-G8976-C495-01
Menu command
or parameter
Possible values
Default
Description
(Max.) Exposure
time
5 ... 10000 µs 200 (10000) (High limit for the) Shutter time of the sensor
Depending on the value set under "Exposure", you specify
the exposure time or the maximum exposure time.
If objects are moving quickly or if there is oscillation, select
short times to avoid a "shaky image".
(Max.) Bright-
ness
20 ... 750 200 (750) (High limit for the) Brightness
Depending on the value set under "Exposure", you specify
the brightness or the maximum brightness. The value speci-
fied here has an effect on the values of the "Image acquisi-
tion > Trigger" group.
Higher values result in a brighter image and better contrast. If
the cells are very small, however, the noise in the image
must be taken into account as a disturbance factor.
Trigger delay 0 ... 9999 ms 0 The trigger signal is delayed by the specified time.
Note
If the feed speeds are variable, the use of a trigger delay
changes the position of the object in the image in a manner
that can lead to read errors when the image section is exited.
The trigger delay is disabled in image acquisition mode "Au-
to-trigger". The value set here is ignored.
Table 4- 10 Relationships and dependencies of the parameters
Menu command or
parameter
Dependency
Description
Auto Program > Image acquisition Automatic exposure control can be selected only:
Can only be set if no verification reference is selected.
"A" button Program > Image acquisition The "A" button only works:
When exposure is "Manual".
When no verification reference is selected or the
"From reference" check box is cleared.
Max. exposure time
Max. brightness
Program > Image acquisition Can only be set if no verification reference is selected.
Exposure time,
Brightness
Program > Image acquisition Can only be set if no verification reference is selected.
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 25
4.1.3.3
Trigger
There are three different ways of controlling image acquisitions and processing procedures:
Individual trigger
Auto-trigger
Scan
Individual trigger
With the setting "Individual trigger", one image is acquired per trigger followed by one read. If
several objects need to be acquired in a very short time (bulk), acquired images can be
buffered before they are processed.
Table 4- 11 Options if "Individual trigger" is selected
Menu command or
parameter
Possible values
Default
Description
Cycle time limit Minimum image acqui-
sition interval
(+ minimum decoding
time + minimum verifi-
cation time)
7 ... 100000 ms
2000 ms Here, you enter the high limit for the processing time. The
time is measured from the triggering of a read to the point at
which the corresponding read result is available.
In "Program sequence" mode, the cycle time limit is applied
separately for each program.
Image buffer SIMATIC MV500 S/
H: 150
SIMATIC MV500 U/
X: 130
1 Determines the number of acquired images to be buffered.
The processing of the images can then take place at a later
time than image acquisition.
The image buffer can also be used in "Program sequence"
mode.
Auto-trigger
Table 4- 12 Options if "Auto-trigger" is selected
Menu command or
parameter
Possible values
Default
Description
Acquisition interval Larger of the two
values "minimum
image acquisition
interval" and "mini-
mum decoding time"
15 100000 ms
400 ms Here, you enter the interval at which independent acquisi-
tion of the images is repeated. This is also the time you
allow the reader for reading (decoding time).
If the selected interval is too short, e.g. with poor marking
quality, no reading takes place. In this case, increase the
time and test the reading again.
Initial trigger On
Off
Off When this option is enabled, the reader waits for an external
trigger that starts the Auto-trigger. This can be useful to help
reduce energy costs.
The auto-trigger is stopped as soon as a code is recog-
nized.
Application
4.1 Program
SIMATIC MV500
26 Operating Manual, 06/2018, C79000-G8976-C495-01
Menu command or
parameter
Possible values
Default
Description
Edge-triggered
start/stop
On
Off
Off Only valid when the initial trigger is enabled and the trigger
source is DI/DO or PROFINET. The attempt to read is end-
ed either by a successful read or by a negative edge after
the timeout. If reading is aborted by a negative edge, the
"N_OK" result is output.
Timeout 0.0600.0 s 5.0 s Valid only when initial trigger is enabled. The read attempt is
ended either by a successful read or at the latest after a
timeout. If reading is aborted due to a timeout, the "N_OK"
result is output. Setting 0.0 s only makes sense when "Edge
triggered start/stop" is enabled and reading needs to be
stopped immediately with a negative edge.
Recognize double
reads
0 … 50 1 The result buffer is used to avoid multiple output of results.
0: Each read code is output (again) with each read.
1: If the content of the code that is currently in the image
matches the last code read, the code is not output
again. If the content of the code has changed, the next
output is made.
n: As 1, but the last n different code contents are stored
and compared before output.
Buffer deleted if
absent
On
Off
Off Valid only when initial trigger is disabled. The buffer is de-
leted as soon as there is no readable code in the image. If
the code moved out of the image in the meantime, it is pos-
sible to read the same code multiple times using the "Auto
trigger" function.
Note
When an image acquisition interval that is too short is se-
lected, unintended double readings may occur.
Scan
With this setting, you can use the reader to scan a code on an object, for example, on a
rotating shaft. In contrast to the "Auto-trigger" option, a number of images can be buffered
and processed later. This may result in long processing times. Example: very poor marking.
One code is read per trigger signal. The code must be fully visible in one of the acquired
images. If a code cannot be decoded in any of the acquired images, an "N_OK" read is
output.
Table 4- 13 Options if "Scan" is selected
Menu command or
parameter
Possible values
Default
Description
Acquisition interval Minimum image acqui-
sition interval
15 100000 ms
400 ms Here, you enter the interval at which independent acquisi-
tion of the images is repeated.
Decoding time limit Minimum decoding
time
7 100000 ms
500 ms Corresponds to the maximum time available to the reader
for a read per image acquisition.
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 27
Menu command or
parameter
Possible values
Default
Description
Number of ac-
quired images
SIMATIC MV500 S/
H: 150
SIMATIC MV500 U/
X: 130
10 Here, you enter the number of acquired images necessary
to identify the object fully.
Edge-triggered
start/stop
On
Off
Off If enabled, the image acquisition series is ended on a nega-
tive (falling) edge before the configured number of images
has been acquired.
Result output First read result
Best read result
All read results
First read
result
First read result:
The programs contained in the program sequence are
processed one after the other. Following the first suc-
cessful processing procedure, processing is stopped
and the result is output.
Best read result:
The programs contained in the program sequence are
processed one after the other. All successful processing
procedures are compared with each other. Once all pro-
cessing procedures are completed, the best read result
is output.
All read results:
The programs contained in the program sequence are
processed one after the other. The result is output for
each program.
Quality criterion Overall quality
Symbol contrast
Axial non-uniformity
Unused error cor-
rection
L/F border violation
Minimum reflec-
tance
Overall quality
When selecting result output: "Best read result", set the
comparison criterion. The "Quality" of a result is evaluated
based on the comparison criterion.
Note
Only the selection "Overall quality" is valid for all code types
and verification standards.
If you want to use a different quality criterion, make sure
that this criterion is calculated with the selected settings. If a
result is compared in processing mode that does not pro-
vide the selected quality, the setting changes to the overall
quality, which can lead to unexpected results.
Minimum values for image acquisition, decoding and verification
Note
Specifying the acquisition interval
According to the sampling theorem, the acquisition interval should be selected so that the
code to be read can be decoded mathematically with two acquired images.
Application
4.1 Program
SIMATIC MV500
28 Operating Manual, 06/2018, C79000-G8976-C495-01
Note
Dependence on the actual achievable values
The actual achievable values depend on th
e lamp used and the maximum exposure time
currently set. The WBM shows the actual high and low limits for each of the parameters
affected by this.
Table 4- 14 Values for the minimum image acquisition interval
SIMATIC MV500 S models
SIMATIC MV500 H models
SIMATIC MV500 X models
"Manual" exposure
15 ms
15 ms
30 ms
"Auto" exposure
75 ms
75 ms
150 ms
Table 4- 15 Values for the minimum decoding time
Decoder
Decoding time
ID-Genius decoder, QR, PDF417
30 ms
Standard decoder, DotCode, all bar codes
7 ms
Table 4- 16 Values for the minimum verification time
Verification standard
Verification time
Uncalibrated
0 ms
ISO/IEC 16022, ISO/IEC 15415, ISO/IEC 15416,
AS9132 A, Siemens DPM verification
5 ms
ISO/IEC 29158
10 ms
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 29
4.1.3.4
Lighting
Table 4- 17 Lighting
Menu command or
parameter
Possible values
Default
Description
Lamp Internal
External
Internal
Choose the lamp with which you want to work.
If you subsequently change the parameters of
a selected lamp or connect a different lamp:
A program that uses these lamps (internal or
external) is marked as non-executable. You
must save the program again.
Notes
You define which internal and/or external lamp is
connected in the "Lighting" group of the "Options"
menu.
Product name Depends on the option
selected under "Lamp"
Depends on the
option selected under
"Lamp"
The product name of the selected lamp is dis-
played.
Operation Flash
Permanent light
Off
Depends on the
option selected under
"Lamp"
For lamps that support flash mode or permanent
light, you have the option of setting how you want
to operate the lamp.
For lamps that support only one of the two modes,
the setting is fixed.
Polarized On
Off
On This parameter must be switched on when using
an attachment with polarization filter. By activating
this parameter, the polarized LEDs on the top are
switched on.
Use the parameter to reduce reflections on very
shiny surfaces.
Unpolarized On
Off
On Turn on this parameter to use an unpolarized
light. By activating this parameter, the unpolarized
LEDs on the bottom are switched on.
Use these parameters to increase the brightness
of the lighting.
Main beam lamp On
Off
On This parameter must be switched on when using
a main beam lamp.
Note
Trigger pulses are ignored while image is being acquired
Trigger pulses arriving while the image is being acquired are ignored because the pulses
cannot be processed. In this case, no (further) image acquisition is
started. Instead, image
acquisition and processing are continued and an "N_OK" result (Trigger during image
acquisition) is generated immediately upon completion.
Application
4.1 Program
SIMATIC MV500
30 Operating Manual, 06/2018, C79000-G8976-C495-01
Table 4- 18 Relationships and dependencies of the parameters
Menu command or
parameter
Dependency
Description
Auto-trigger, Scan Options > Extras "Auto trigger" and "Scan" are not possible when "Use" is
enabled for the program sequence.
4.1.3.5
E-focus
You can make the manual E-focus settings in this group.
Table 4- 19 E-focus
Menu command
or parameter
Possible values
Default
Description
Object distance 36 ... 1000 cm 60 When you use an Electro-Focus lens (EF lens), you can use
this parameter to manually set the working distance between
the camera and the object it has to read. The distance is
measured from the front edge of the protective tube.
The automatic determination can be started via the "Auto-
setup" group. The set value can deviate from the real value
and depends, among other things, on the screw-in depth of
the lens as well as the LED color.
4.1.3.6
Verification
Select a calibration from the verification library in the reference drop-down list. This way, you
preset the exposure options for image acquisition and define the code verification standard
for the decoder steps in the program.
Note
Verification
For verification, you need the Veri
-Genius license.
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 31
Table 4- 20 Verification
Menu command
or parameter
Possible values
Default
Description
Reference Uncalibrated
Created calibra-
tions
Uncalibrated When selecting a calibration, the exposure settings deter-
mined by the reader during calibration setup are used. In this
way, standard-compliant exposure is achieved. In this case,
all parameters of the "Settings" group are grayed out.
From reference Enabled
Disabled
Note
"From reference" is
only visible when a
verification refer-
ence is selected.
If reference is
"Uncalibrat-
ed":
Disabled
If reference is
selected:
Enabled
If the exposure settings for the reading task stored in the
calibration are not suitable, you can configure the expo-
sure manually.
If you clear the check box, the parameters in the "Set-
tings" group can be edited again.
Note
If you change the exposure settings, the verification per-
formed no longer conforms to the standards.
For the result output, use the output of the verification
settings (%v) to document the exposure settings used.
The verification type (%Qt) is provided for lighting that
does not comply with the standard with a letter (B to G)
instead of a number (1 to 6).
Note
The verification standard ISO/IEC 29158 uses automatic
exposure control, in contrast to all other verifications. Auto-
matic exposure control is used with an algorithm optimized
for the code to be verified.
Switching the exposure control to "manual" is only possible
when you disable the "From reference" option. However, the
verification no longer conforms to the standards in this case.
Note
If you clear this check box when using a verification refer-
ence with the ISO/IEC 29158 standard, the valid range for
the average gray scale value ("Mean Light") defined in the
standard is not checked. Clearing this check box prevents
the occurrence of verification errors 4707 to 4709 "Mean light
out of range". However, the verification no longer conforms
to the standards in this case.
Time limit 100 ... 50000 ms 5000 ms Time available for the automatic exposure control according
to ISO/IEC 29158.
Note
The occurrence of verification errors 4709 and 4708 indi-
cates that the value is too low.
Only active when using an ISO/IEC 29158 verification refer-
ence.
Application
4.1 Program
SIMATIC MV500
32 Operating Manual, 06/2018, C79000-G8976-C495-01
4.1.4
"Decoder" program step
You define the following settings in this program step:
The decoding method you work with.
The code types that are read.
The format in which the read result is output.
The decoder type you are using.
The criteria by which the comparison with a specification was successful.
The conditions under which the code did not meet the quality expectations, and the
overall result of the program may be "N_OK".
You limit the Region of Interest (ROI) in the image display: Pull the rectangle with the
mouse.
Whether the ROI follows the result of a preceding step.
Whether one or more codes are read in the ROI.
Note
Multicode
Cell size of the codes must not vary greatly
For successful processing, the cell size of the codes that occur must not vary greatly
when using the "Multicode" option.
Polarity must be uniform
Several barcodes, including barcodes of different types, can be decoded in a single step.
However, this only works when all barcodes have the same polarity (black on white or
white on black). Barcodes of mixed polarity can be read in a program using two "Read
code" steps.
Note
ROI position
"Follow x" is not executed with enabled formation of result
When formation of result is enabled, the "Follow x" function is not executed. The ROI
positions remain fixed in this mode.
"Follow step x" functions only for a unique result position of the reference
The step serving as reference for the ROI position must generate a unique result position
for error-free functioning.
If the reference step processes multiple codes or object instances, a unique result
position is not generated. In this case, the instance or the code with the poorest quality
serves as the reference position. Error-free functioning is not ensured.
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 33
4.1.4.1
Auto-setup
The Auto-setup functions assist you in the parameter assignment of a new or existing
program. You have the option of having the parameters assigned automatically or making
the settings manually.
Using the button in this area, you can start an automatic search for machine-readable codes.
Table 4- 21 Auto-setup
Button
Description
Code type
Using this button, you can start an automatic search for machine-readable codes.
If a code is detected, the decoding order is adjusted so that you can read the code type
found. For this, the detected code type is entered in the decoding order, and existing entries
are removed from the decoding order. The search process can take a few seconds.
You use the "Back" and "Next" buttons to either return to the previous program step or
switch to the next program step.
Notes on the different code types
Note
Code 32
The "Code 32" code type is a subtype of the "Code 39" code type and cannot be
distinguished from "Code 39" based on the printed image. "Code 32" is therefore recognized
as "Code 39" when the "Recognize code type" function is used.
Pharmacode
Ensure tha
t pharmacodes are oriented correctly. Readers cannot identify the
orientation/rotational position of a pharmacode. If pharmacodes are rotated by 180°, this will
result in incorrect read results.
Code 39+CS / Int. 2/5+CS
The code types "Code 39" and "Interleaved 2/5" support an optional checksum in the last
character of the code.
It is not possible to identify from the printed image whether or not a checksum is used.
If you use a checksum, manually switch to the code type "Code 39 + CS" or "Int.
2/5+CS".
Application
4.1 Program
SIMATIC MV500
34 Operating Manual, 06/2018, C79000-G8976-C495-01
4.1.4.2
General
Table 4- 22 General
Menu command or
parameter
Possible values
Default
Description
Step name -- Decoder In this text box, enter the name of the currently se-
lected decoder step.
Possible values: Letters, numbers and underscores.
Maximum of 255 characters.
ROI position Fix
Follow step x
Fix Fix
The ROI position remains unchanged as set here:
The "Follow step x" entries are available from the
second step and refer to the processing steps before
the step that is currently being edited.
Follow step x
The ROI position follows the shift of the read result
of step x during processing. Only a translational shift
takes place, no rotary tracking.
Verification Uncalibrated
Calibrated
-- Display of the verification which was specified in the
"Verification" group of the "Image acquisition" pro-
gram step.
Click on the "Change" link to change the verification.
This automatically calls the "Image acquisition" pro-
gram step in which you can change the verification.
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 35
Menu command or
parameter
Possible values
Default
Description
Improve image On
Off
Off By enabling this function, you activate additional
image enhancement methods. Enabling this leads to
increased decoding time.
MED:3:3;
Median filtering, suppresses image noise.
NRM;
Histogram normalization, improves reading of
text with poor contrast. Performs normalization of
the gray values. This function requires no pa-
rameters.
EQU;
Histogram equalization, improves reading of text
with very poor contrast. Performs an equal distri-
bution of the gray values. If the images have a
good contrast, this can lead to unwanted intensi-
fication of image noise. This function requires no
parameters.
ERO:X:Y;
Refers to the dark image components.
Reduces the dot width (signal erosion of X pixels
in the x-direction and Y pixels in the y-direction).
DIL:X:Y;
Refers to the dark image components.
Increases the dot width and connects printing
dots, e.g., for inkjet (signal dilation of X pixels in
the x-direction and Y pixels in the y-direction).
X, Y, 1 to 7 in each case, whereby at least one of
the two must be > 1.
SOB:X:Y;
Sobel operator, finds and intensifies edges (large
changes in brightness). The following combina-
tions are possible for the X:Y values: 1:3 (only
vertical edges), 3:1 (only horizontal edges), and
3:3 (all edges).
MAV:X:Y
MAV Moving Average; moving average. Sup-
presses image noise. The intensity of the effect
can be varied using parameters X and Y. The
value range for X and Y is 1 to 7 pixels in each
case. The filter calculates a moving average of
the pixel values in a rectangular window. The
width and height of the window are specified by
parameters X and Y.
You can specify the image filters in any order and
also specify several of them in succession.
Note
When using image enhancement, the processed
image section may be slightly reduced per operation.
With the aid of the preview function, make sure that
the codes to be read are completely located in the
filtered image section.
Application
4.1 Program
SIMATIC MV500
36 Operating Manual, 06/2018, C79000-G8976-C495-01
Menu command or
parameter
Possible values
Default
Description
Uncalibrated quali-
ty (DMC) accord-
ing to:
ISO/IEC 16022
ISO/IEC 29158
ISO/IEC 16022 ISO/IEC 16022
Uncalibrated verification of data matrix codes is
carried out according to ISO/IEC 16022.
ISO/IEC 29158
Uncalibrated verification of data matrix codes is
carried out according to ISO/IEC 29158.
Evaluate symbol
contrast
Enabled
Disabled
Disabled If the check box is selected, the symbol contrast is
used for the overall quality. The check box can only
be selected if the entry "ISO/IEC 29158" was select-
ed from the "Uncalibrated quality (DMC) according
to" drop-down list.
Output calibrated
size in:
mil
mm
Pixel (px)
mil Selection of the unit for the cell size output. The unit
selected here is used exclusively for output in the
user interface. In order to output the cell size in the
read result in mm and/or pixels, the corresponding
formatting information (q34, q35) must be used.
Note
Best possible processing results under difficult reading conditions
Under difficult
reading conditions (for example, with oil-smeared or needle-punched codes),
use the correct dimension when saving the codes. This achieves the best possible
processing results.
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 37
4.1.4.3
Format
Table 4- 23 Format
Menu command or
parameter
Possible values
Default
Description
Filter Off
Position
ID
GS1
Off In this field, you specify whether and how the result
string or filtered partial texts, quality values, posi-
tions, etc. of this processing step are to be format-
ted.
Off
No character in the read codes is suppressed.
Nor are any characters added.
Position
Only one substring of the string of read codes is
taken into account. You specify its properties in
the "Start position" and "Length" input boxes.
ID
Only substrings of the string of read codes are
taken into account. You specify which substrings
are taken into account and in which order they
are output in the "Separators" and "Filter ID" in-
put boxes.
GS1
Only substrings of the string of read codes are
taken into account. You specify which substrings
are taken into account and in which order they
are output in the "Filter ID" input box.
Note
This setting is only useful for codes with data in
GS1 format. For other codes, the filter result is
always empty with this setting.
Different input boxes are displayed, depending on
the set value. These are described below.
Format text see "Format text" input
box
%s With this input box, you can specify the content and
the format of the string to be output.
Multicode
format text
like "Format text" input
box
%s You specify how the overall result of a read of multi-
ple codes is formatted.
The formatting instruction "%s" (filtered result string)
refers to the already formatted individual results in
this case.
Note
The multicode format text is used only when the
"Number of codes" check box in the "Multicode"
group is selected.
Application
4.1 Program
SIMATIC MV500
38 Operating Manual, 06/2018, C79000-G8976-C495-01
"Filter" parameter
Different input boxes are displayed, depending on the set value. These are described below.
"Filter = Position": "Start position" and "Length" input boxes
These two input boxes are enabled when you select the value "Position" in the "Filter" drop-
down list.
You decide the properties of the substring to be included: The substring consists of as many
characters as you specify in the "Length" input box and starts at the character with the
number you set in the "Start position" input box.
Table 4- 24 "Start position" and "Length" input boxes
Menu command
or parameter
Value range
Default
Description
Start position
1 ... 3000
1
Index of the first character of the substring
Length 1 ... 2048 1 Length of the substring
Example:
Read code = 1PABCDEF, Start position = 3, Length = 2
The output is: QB
"Filter = ID": "Separators" and "Filter ID" input boxes
These two input boxes are enabled when you select the value "ID" in the "Filter" drop-down
list.
For the selection "GS1", see input box "Filter ID".
In the "Filter ID" input box, you enter one or more IDs separated by one (and one only) of the
separators of the "Separators" input box. For each ID contained in "Filter ID", an attempt is
made to form a substring from the read code according to the following rules:
The substring start is identified by the ID. If several substrings are identified by the ID,
only the first one is used.
The ID can be at the beginning of the read code or immediately following one of the
separators in the "Separators" box.
The substring extends as far as the next separator from the "Separators" input box or to
the end of the code if there are no separators from the "Separators" box.
The substrings found are then put together in the order in which the IDs occur in "Filter ID".
They are separated by the same separator as the corresponding IDs in "Filter ID".
Max. 4 separators are supported.
Example
:
Read code = A+1P01234+1R01235-1Q01236; Separators = +-/_; FILTER-ID = 1P_1Q/1R
The output is: 01234_01236/01235
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 39
"Filter = GS1": "Filter ID" input box
This input box is active when you select the value "GS1" in the "Filter" drop-down list.
For the selection "ID", see the "Separators" and "Filter ID" input boxes.
Here, you enter any string with placeholders. Placeholders consists of two backslashes "\\"
and a 2-digit to 4-digit number that indicates the corresponding "GS1 Application Identifier".
You can find the list of "Application Identifiers" defined by GS1 in the table below.
Table 4- 25 Full list of GS1 application identifiers in numerical order
AI
Data Content
Format*
00
SSCC (Serial Shipping Container Code)
n2+n18
01 Global Trade Item Number (GTIN) n2+n14
02
GTIN of Contained Trade Items
n2+n14
10
Batch or Lot Number
n2+X..20
11 (**)
Production Date (YYMMDD)
n2+n6
12 (**)
Due Date (YYMMDD)
n2+n6
13 (**)
Packaging Date (YYMMDD)
n2+n6
15 (**)
Best Before Date (YYMMDD)
n2+n6
17 (**)
Expiration Date (YYMMDD)
n2+n6
20
Variant Number
n2+n2
21
Serial Number
n2+X..20
22
Secondary Data Fields
n2+X..29
240
Additional Item Identification
n3+X..30
241
Customer Part Number
n3+X..30
242
Made-to-Order Variation Number
n2+n…6
250
Secondary Serial Number
n3+X..30
251
Reference to Source Entity
n3+X..30
253
Global Document Type Identifier (GDTI)
n3+n13+n..17
254
GLN Extension Component
n3+X..20
30
Count of Items (Variable Measure Trade Item)
n2+n..8
310 (***) Net weight, kilograms (Variable Measure Trade Item) n4+n6
311 (***) Length of first dimension, metres
(Variable Measure Trade Item)
n4+n6
312 (***) Width, diametre, or second dimension, metres
(Variable Measure Trade Item)
n4+n6
313 (***) Depth, thickness, height, or third dimension, metres (Variable Measure
Trade Item)
n4+n6
314 (***)
Area, square metres (Variable Measure Trade Item)
n4+n6
315 (***)
Net volume, litres (Variable Measure Trade Item)
n4+n6
316 (***)
Net volume, cubic metres (Variable Measure Trade Item)
n4+n6
320 (***)
Net weight, pounds (Variable Measure Trade Item)
n4+n6
321 (***) Length or first dimension, inches
(Variable Measure Trade Item)
n4+n6
Application
4.1 Program
SIMATIC MV500
40 Operating Manual, 06/2018, C79000-G8976-C495-01
AI
Data Content
Format*
322 (***) Length or first dimension, feet
(Variable Measure Trade Item)
n4+n6
323 (***) Length or first dimension, yards
(Variable Measure Trade Item)
n4+n6
324 (***) Width, diametre, or second dimension, inches
(Variable Measure Trade Item)
n4+n6
325 (***) Width, diametre, or second dimension, feet
(Variable Measure Trade Item)
n4+n6
326 (***) Width, diametre, or second dimension, yards
(Variable Measure Trade Item)
n4+n6
327 (***) Depth, thickness, height, or third dimension, inches (Variable Measure
Trade Item)
n4+n6
328 (***) Depth, thickness, height, or third dimension, feet (Variable Measure
Trade Item)
n4+n6
329 (***) Depth, thickness, height, or third dimension, yards (Variable Measure
Trade Item)
n4+n6
330 (***)
Logistic weight, kilograms
n4+n6
331 (***)
Length or first dimension, metres
n4+n6
332 (***)
Width, diameter, or second dimension, metres
n4+n6
333 (***)
Depth, thickness, height, or third dimension, metres
n4+n6
334 (***)
Area, square metres
n4+n6
335 (***)
Logistic volume, litres
n4+n6
336 (***) Logistic volume, cubic litres n4+n6
337 (***)
Kilograms per square metre
n4+n6
340 (***)
Logistic weight, pounds
n4+n6
341 (***)
Length or first dimension, inches
n4+n6
342 (***)
Length or first dimension, feet
n4+n6
343 (***)
Length or first dimension, yards
n4+n6
344 (***)
Width, diametre, or second dimension
n4+n6
345 (***)
Width, diametre, or second dimension
n4+n6
346 (***)
Width, diameter, or second dimension
n4+n6
347 (***)
Depth, thickness, height, or third dimension
n4+n6
348 (***)
Depth, thickness, height, or third dimension
n4+n6
349 (***)
Depth, thickness, height, or third dimension
n4+n6
350 (***)
Area, square inches (Variable Measure Trade Item)
n4+n6
351 (***)
Area, square feet (Variable Measure Trade Item)
n4+n6
352 (***)
Area, square yards (Variable Measure Trade Item)
n4+n6
353 (***)
Area, square inches
n4+n6
354 (***)
Area, square feet
n4+n6
355 (***)
Area, square yards
n4+n6
356 (***)
Net weight, troy ounces (Variable Measure Trade Item)
n4+n6
357 (***) Net weight (or volume), ounces
(Variable Measure Trade Item)
n4+n6
360 (***)
Net volume, quarts (Variable Measure Trade Item)
n4+n6
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 41
AI
Data Content
Format*
361 (***)
Net volume, gallons U.S. (Variable Measure Trade Item)
n4+n6
362 (***) Logistic volume, quarts n4+n6
363 (***)
Logistic volume, gallons U.S.
n4+n6
364 (***) Net volume, cubic inches (Variable Measure Trade Item) n4+n6
365 (***)
Net volume, cubic feet (Variable Measure Trade Item)
n4+n6
366 (***)
Net volume, cubic yards (Variable Measure Trade Item)
n4+n6
367 (***)
Logistic volume, cubic inches
n4+n6
368 (***)
Logistic volume, cubic feet
n4+n6
369 (***)
Logistic volume, cubic yards
n4+n6
37
Count of Trade Items
n2+n..8
390 (***)
Applicable Amount Payable, local currency
n4+n..15
391 (***)
Applicable Amount Payable with ISO Currency Code
n4+n3+n..15
392 (***) Applicable Amount Payable, single monetary area (Variable Measure
Trade Item)
n4+n..15
393 (***) Applicable Amount Payable with ISO Currency Code (Variable Measure
Trade Item)
n4+n3+n..15
400
Customer's Purchase Order Number
n3+x..30
401
Consignment Number
n3+x..30
402
Shipment Identification Number
n3+n17
403
Routing Code
n3+x..30
410
Ship to - Deliver to Global Location Number
n3+n13
411
Bill to - Invoice to Global Location Number
n3+n13
412 Purchased from Global Location Number n3+n13
413
Ship for - Deliver for - Forward to Global Location Number
n3+n13
414 Identification of a Physical Location - Global Location Number n3+n13
415
Global Location Number of the Invoicing Party
n3+n13
420
Ship to - Deliver to Postal Code Within a Single Postal Authority
n3+X..20
421
Ship to - Deliver to Postal Code with ISO Country Code
n3+n3+X..9
422
Country of Origin of a Trade Item
n3+n3
423
Country of Initial Processing
n3+n3+n..12
424
Country of Processing
n3+n3
425
Country of Disassembly
n3+n3
426
Country Covering full Process Chain
n3+n3
7001
NATO Stock Number (NSN)
n4+n13
7002
UN/ECE Meat Carcasses and Cuts Classification
n4+X..30
7003
Expiration Date and Time
n4+n12
7030-7039
Approval Number of Processor with ISO Country Code
n4+n3+X..27
8001 Roll Products
(Width, Length, Core Diameter, Direction, Splices)
n4+n14
8002
Cellular Mobile Telephone Identifier
n4+X..20
8003
Global Returnable Asset Identifier (GRAI)
n4+n14+X..16
8004
Global Individual Asset Identifier (GIAI)
n4+X..30
8005
Price Per Unit of Measure
n4+n6
Application
4.1 Program
SIMATIC MV500
42 Operating Manual, 06/2018, C79000-G8976-C495-01
AI
Data Content
Format*
8006
Identification of the Components of a Trade Item
n4+n14+n2+n2
8007 International Bank Account Number (IBAN) n4+X..30
8008
Date and Time of Production
n4+n8+n..4
8018 Global Service Relation Number (GSRN) n4+n18
8020
Payment Slip Reference Number
n4+X..25
8100
GS1-128 Coupon Extended Code
n4+n6
8101
GS1-128 Coupon Extended Code
n4+n1+n5+n4
8102
GS1-128 Coupon Extended Code
n4+n1+n1
90
Information Mutually Agreed Between Trading Partners
n2+X..30
91 to 99
Company Internal Information
n2+X..30
Note
Explanation of the GS1 application identifier list
(*) The 1st number defines the length (number of digits) of the application identifier. The
following digits relate to the format of the data content.
(**) If only year and month are available, "DD" must contain two zeros.
(***) The 4th digit of this "GS1 application identifier" defines the position of an implicit
decimal point. The decimal point is inserted at this position during output (refer to the
following example).
Example
:
Read code =
]d2
01
12345678901234
3232
012555
Filter ID = GTIN: \\01 Length: \\323
The output is: GTIN: 12345678901234; Length: 0125.55
"Format text" and "Multicode format text" parameters
Table 4- 26 "Format text" and "Multicode format text" parameters
Parameter
Possible values
Default
Description
Format text see "Format text"
input box
%s With this input box, you can specify the content and the format
of the string to be output.
Multicode
format text
like "Format text"
input box
%s You specify how the overall result of a read of multiple codes
is formatted.
The formatting instruction "%s" (filtered result string) refers to
the already formatted individual results in this case.
Note
The multicode format text is used only when the "Number of
codes" check box in the "Multicode" group is selected.
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 43
"Format text" input box
A string can be a maximum of 100 bytes long and consists of any combination of the
following elements:
Characters whose ASCII equivalent is between "01H" and "FFH"
Formatting instructions for the output of variables, similar to the print function of the C
programming language.
You can enter characters in the following ways:
By entering the ASCII equivalent: \mn where "m = 0, ... 9, a, ... f" and "n = 0, ... 9, a, ... f"
with the following exception: "\00" is not possible.
By typing them in on the keyboard: Here, you can enter all the characters with an ASCII
equivalent between "20H" and "7EH". Exception: If you want to output a percentage
character, you need to enter "%%" here.
Entering selected control characters:
Table 4- 27 Control characters and their meaning
Control character
Meaning
\r
carriage return
\n line feed
\t
tabulator
Note
Representation of printable characters
After entering a printable character in the "Format text" input box, this is displayed explicitly
on the screen.
Example: After entering "
\41", "A" is displayed on the screen.
A formatting instruction has the following structure:
% [number of places] variable {selection of variables} <variable interval>
Square brackets
= This is an optional input.
Curly brackets
= Exactly one value must be selected from within the curly brackets.
Angle brackets
= Exactly one value must be selected from within the specified interval.
Remember that you do not enter the brackets. They are simply used for representation.
Application
4.1 Program
SIMATIC MV500
44 Operating Manual, 06/2018, C79000-G8976-C495-01
Table 4- 28 Possible formatting instructions
Formatting instruction
Meaning
%s[M-N] Filtered result string
Mth to Nth character of the filtered result string.
If the result string is shorter than N characters, it is filled with spaces, so that
N minus M characters are always output.
If M > N, the characters are output backwards.
%q<0 ... 35>
%Q<0 ... 33>
(depending on verification
standard)
Formatting instructions with lowercase "q" represent the quality values, uppercase "Q" the
quality grades. For some verification standards, there are quality values without an assigned
grade, and there are also grades without a numerical value. Grade and value formatting
instructions not used in the active verification standard cause format errors. Quality grades
are output with one digit, quality values with four digits.
If a verification error occurs and if the decoder option "Evaluate 'Poor' evaluation as 'N_OK'"
is disabled, the letter 'E' is output instead of the quality grades and the four-digit error code
(47xx) is output instead of the quality values. You will find a description of the verification
error messages in the operating instructions in the section "Read and verification error mes-
sages".
Only for verification according to ISO/IEC 15416
With the exception of the overall quality, width, height, aspect ratio 1 to 3 and angle, all val-
ues and grades are output ten times, once per scan line. All quality formatting instructions
specified in an uninterrupted sequence are sorted according to the scan line and semicolons
are inserted between the grades (or values). A \r (carriage return) is added before and after
each scan line.
Example:
Formatting instruction: "%Q0#%Q1%Q25#%Q24"
Output: "Overall quality#\rSymbol contrast1;Edge determination1;\rSymbol con-
trast2;Edge determination2;\r[...]Symbol contrast10;Edge determination10;\r#\rScan
line1;\rScan line2;\r[…]Scan line10;\r"
%Qt Verification type Verification type (exposure
settings not conforming to
standards or uncalibrated veri-
fication)
ISO/IEC 29158
1
B
ISO/IEC 15415 2 C
AS9132 A
3
D
ISO/IEC 16022
4
E
Siemens DPM
5
F
ISO/IEC 15416
6
G
%Qs Quality evaluation:
1: Poor
2: Fair
3: Good
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 45
Formatting instruction
Meaning
% [{03|04|B}] p{0|1|2} Integer position of the center point of the code relative to the center point of the image:
0: x coordinate
1: y coordinate
2: Roll angle in °, whereby a turn in the counterclockwise direction counts as positive.
03: Three-digit display
Position value or roll angle are usually represented in three digits (e.g. 017, 230, -90). If
the result requires 4 digits, for example negative values such as at -312, this is increased
to four.
04: Four-digit display
Position value or roll angle are always represented in four digits (e.g. 0087, -543). With-
out this formatting instruction, the output variable (7, 98, -15, 135, -240) is shown.
B: Floating-point number in binary representation (big endian S7 format).
Note:
The coordinates are standardized to the image sizes 800 x 600, 1280 x 1024, 1920 x 1200
or 2592 x 2048.
%[{04|05}]c The time used for the step in ms.
04: Four-digit display
05: Five-digit display
If you have selected the four-digit display or have not specified a number of digits, and the
time used is greater than 9999 ms, 9999 is displayed.
If you have selected the five-digit display and the time used is greater than 99999 ms, 99999
is displayed.
Note: The time required for the processing of the entire program is longer than the total of
the processing time of the individual steps. This is due, for example, to the image acquisition
time.
%u Least significant byte of the sum of all characters of the result string.
Note:
This binary value can have a value that does not correspond to any printable character, for
example, 0H.
%U Sum of all characters of the result string divided by the number of characters of the result
string.
%l Number of characters in the result string.
This binary value has a length of 2 bytes (little endian).
%V Standard verification report with all valid grades and evaluations that is automatically
adapted to the calibration referenced in the program. All field values (grades and evalua-
tions) are separated by a semicolon. You will find an overview of the fields included in each
verification standard in the table below and in the operating instructions in the section "Veri-
fication result".
%R Verification report defined in the relevant standard for ISO/IEC 29158, ISO/IEC 15415 or
ISO/IEC 15416. For all other verification standards, the formatting instruction is skipped.
%v Output of the verification settings. You will find an overview of the contained fields in the
operating instructions in the section "Verification settings".
%E Textual description of the verification error. If no verification error has occurred, the format-
ting instruction is skipped.
Application
4.1 Program
SIMATIC MV500
46 Operating Manual, 06/2018, C79000-G8976-C495-01
Formatting instruction
Meaning
%t
Code type:
Data matrix 10
QR code
11
PDF417 13
DotCode
14
Code 128
20
Code 93
21
Code 39
22
Code 39 with checksum
23
Interleaved 2 of 5
24
Interleaved 2 of 5 with
checksum
25
Codabar
26
EAN 13
27
EAN 8
28
UPC-A
29
UPC-E
30
Postnet
32
PHARMACODE
33
PHARMACODE 180°
39
GS1 DataBar Omnidi-
rectional
34
GS1 DataBar Limited 35
GS1 DataBar Expand-
ed
36
GS1 DataBar Stacked 37
Code 32
38
%i
Current trigger ID. This binary value has a length of 2 bytes (little endian).
%x[<1 ... 150>]
Match string of the specified code or the match strings of all codes one after the other.
%[B]z Number of codes found. Output as text or when using "%Bz" as a binary value with a length
of 1 byte.
Note:
This formatting instruction always has the value 1 in the format text.
The following tables contain the code type-specific quality classes. If the formatting
instructions include uppercase letters, the result is output as grade or quality level. If the
formatting instructions include lowercase letters, the result is output as numerical value.
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 47
Table 4- 29 Quality classes: Uncalibrated, ID Genius decoder (0)
Formatting instruc-
tion
Description
%Q0
Overall quality (O__)
%Q1
%q1
Symbol contrast (SC_)
Integer: 0 ... 100
%Q2
%q2
Axial non-uniformity (AN_)
Fixed point: 0.00 ... 1.00
%Q4
%q4
Unused error correction (UEC)
Fixed point: 0.00 ... 1.00
%Q9
%q9
Print growth (PG_)
Integer: -999 ... 999
Table 4- 30 Quality classes: ISO/IEC 29158 (1/B)
Formatting instruc-
tion
Description
%Q0 Overall quality (O__)
(grade only)
%Q1
Cell contrast (SC_)
%q1
Integer 0 ... 100
%Q2
Axial non-uniformity (AN_)
%q2
Fixed point 0.00 ... 1.00
%Q3
Grid deviation (GN_)
%q3
Fixed point 0.00 ... 1.00
%Q4
Unused error correction (UEC)
%q4
Fixed point 0.00 ... 1.00
%Q5 L/F border violation (FPD)
(grade only)
%Q6 Cell modulation (MOD)
(grade only)
%Q7 Reference decoding (RD_)
(grade only)
%Q8
Minimum reflectance (RMI)
%q8
Integer 0 ... 100
%Q9 Print growth X/Y
(PGX/PGY) (unevaluated)
%q9 2x integer
2x-100 ... 100
%Q10
Cell size (CS_) (unevaluated)
%q10 Fixed point 0.0 ... 99.9
Current average gray scale value (unevaluated)
Application
4.1 Program
SIMATIC MV500
48 Operating Manual, 06/2018, C79000-G8976-C495-01
Formatting instruc-
tion
Description
%q11 Integer 0 ... 255
Aperture (unevaluated)
%q12 Integer 0 ... 999
Percentage aperture value (unevaluated)
%q13 Integer 0, 50, 80
ECC level (unevaluated)
%q14 Integer 200
Height (unevaluated)
%q15 Fixed point 0.00 ... 9.99
Width (unevaluated)
%q16 Fixed point 0.00 ... 9.99
Angle (unevaluated)
%q17
Integer 0 ... 360
%q34 Cell size in mm
Fixed point 0.01 ... 9.99
%q35 Cell size in pixels
Fixed point 1.0 ... 99.9
Table 4- 31 Quality classes: ISO 15415 (2/C)
Formatting instruc-
tion
Description
%Q0
Overall quality (O__)
%Q1
%q1
Symbol contrast (SC_)
Integer: 0 ... 100
%Q2
%q2
Axial non-uniformity (AN_)
Fixed point: 0.00 ... 1.00
%Q3
%q3
Grid deviation (GN_)
Fixed point: 0.00 ... 1.00
%Q4
%q4
Unused error correction (UEC)
Fixed point: 0.00 ... 1.00
%Q5
L/F border violation (FPD)
%Q6
Cell modulation (MOD)
%Q7
Reference decoding (RD_)
%Q9
%q9
Print growth X/Y; (PGX/PGY) (unevaluated)
2x integer
2x -100 ... 100
%Q10
%q10
Cell size (CS_) (unevaluated)
Fixed point: 0.0 ... 99.9
%q12 Aperture (unevaluated)
Integer: 3, 4 ... 20
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 49
Formatting instruc-
tion
Description
%q14 ECC level (unevaluated)
Integer: 200
%q15 Height (unevaluated)
Fixed point: 0.00 ... 9.99
%q16 Width (unevaluated)
Fixed point: 0.00 ... 9.99
%q17 Angle (unevaluated)
Integer: 0 ... 360
%q34 Cell size in mm
Fixed point: 0.01 ... 9.99
%q35 Cell size in pixels
Fixed point: 1.0 ... 99.9
Table 4- 32 Quality classes: AS9132 (A3/D)
Formatting instruc-
tion
Description
%Q0
Overall quality (O__)
%Q1
%q1
Contrast (SC_) (unevaluated)
Integer: 0 ... 100
%Q9
%q9
Module fill X/Y (MFX/MFY) (unevaluated)
2x integer
2x 0 ... 200
%Q10
%q10
Nominal module size (NMS) (unevaluated)
Fixed point: 0.0 ... 99.9
%q14 ECC level (unevaluated)
Integer: 0, 50, 80, 100, 140, 200
%q15 Height (unevaluated)
Fixed point: 0.00 ... 9.99
%q16 Width (unevaluated)
Fixed point: 0.00 ... 9.99
%q17 Angle (unevaluated)
Integer 0 ... 360
%Q19
%q19
Module center offset 1/2 (CO1/CO2)
2x integer
2x 0 ... 99.9
%Q20
%q20
Module size offset 1/2 (SO1/SO2)
2x fixed point
2x 0 ... 99.9
%Q22
%q22
Angle of distortion (AOD)
Fixed point: -45 ... 45
Application
4.1 Program
SIMATIC MV500
50 Operating Manual, 06/2018, C79000-G8976-C495-01
Formatting instruc-
tion
Description
%Q23
%q23
Ovality (OV_)
Fixed point: 0.00 ... 99.9
%q34 Cell size in mm
Fixed point: 0.01 ... 9.99
%q35 Cell size in pixels
Fixed point: 1.0 ... 99.9
Table 4- 33 Quality classes: AIM (ISO 16022) (4/E)
Formatting instruc-
tion
Description
%Q0
Overall quality (O__)
%Q1
%q1
Contrast (SC_)
Integer: 0 ... 100
%Q2
%q2
Axial non-uniformity (AN_)
Fixed point: 0.00 ... 1.00
%Q4
%q4
Unused error correction (UEC)
Fixed point: 0.00 ... 1.00
%Q9
%q9
Print growth X/Y (PGX/PGY)
2x integer
2x -100 ... 100
%Q10
%q10
Cell size (CS_) (unevaluated)
Fixed point: 0.0 ... 99.9
%q14 ECC level (unevaluated)
Integer: 0, 50, 80, 100, 140, 200
%q15 Height (unevaluated)
Fixed point: 0.00 ... 9.99
%q16 Width (unevaluated)
Fixed point: 0.00 ... 9.99
%q17 Angle (unevaluated)
Integer: 0 ... 360
%q34 Cell size in mm
Fixed point: 0.01 ... 9.99
%q35 Cell size in pixels
Fixed point: 1.0 ... 99.9
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 51
Table 4- 34 Quality classes: Siemens DPM (5/F)
Formatting instruc-
tion
Description
%Q0
Overall quality (O__)
%Q1
%q1
Contrast (SC_)
Integer: 0 ... 100
%Q2
%q2
Axial non-uniformity (AN_)
Fixed point: 0.00 ... 1.00
%Q4
%q4
Unused error correction (UEC)
Fixed point: 0.00 ... 1.00
%Q6
%q6
Cell modulation 1/2 (CM1/CM2)
2x integer
2x 0 ... 100
%Q9
%q9
Print growth X/Y (PGX/PGY)
2x integer
2x 0 ... 200
%Q10
%q10
Cell size (CS_)
Fixed point: 0.0 ... 99.9
%q14 ECC level (unevaluated)
Integer: 0, 50, 80, 100, 140, 200
%q15 Height (unevaluated)
Fixed point: 0.00 ... 9.99
%q16 Width (unevaluated)
Fixed point: 0.00 ... 9.99
%q17 Angle (unevaluated)
Integer: 0 ... 360
%Q19
%q19
Center offset (CO_)
Integer
0 ... 99.9
%Q20
%q20
Size offset (SO_)
Fixed point: 0.00 ... 99.9
%Q21
%q21
Border match (BM_)
Integer: 0 ... 100
%Q22
%q22
Angle of distortion (AOD)
Fixed point: -45 ... 45
%q34 Cell size in mm
Fixed point: 0.01 ... 9.99
%q35 Cell size in pixels
Fixed point: 1.0 ... 99.9
Application
4.1 Program
SIMATIC MV500
52 Operating Manual, 06/2018, C79000-G8976-C495-01
Table 4- 35 Quality classes: 1D barcodes (ISO 15416) (6/G)
Formatting instruc-
tion
Description
%Q0
%q0
Overall quality (O__)
Fixed point 0.00 ... 4.00
%Q1
%q1
Symbol contrast (SC_)
Integer: 0 ... 100
%Q6
%q6
Modulation (MOD)
Fixed point: 0.00 ... 1.00
%Q7 Reference decoding (RD_)
(grade only)
%Q8
%q8
Minimum reflectance (RMI)
Integer: 0 ... 100
%Q10
%q10
Module size (NMS) (unevaluated)
Fixed point: 0.0 ... 99.9
%q15 Height (unevaluated)
Fixed point: 0.00 ... 9.99
%q16 Width (unevaluated)
Fixed point: 0.00 ... 9.99
%q17 Angle (unevaluated)
Integer: 0 ... 360
%q18 Maximum reflectance (RMA) (unevaluated)
Integer: 0 ... 100
%Q24
Overall scan line (SL_)
%Q25
Edge determination (ED_)
%Q26
%q26
Minimum edge contrast (MEC)
Integer: 0 ... 100
%Q27
%q27
Defects (DEF)
Fixed point: 0.00 ... 1.00
%Q28
%q28
Decodability (DEC)
Fixed point: 0.00 ... 1.00
%q29 Start quiet zone (QZ1)
(unevaluated)
Integer 0 ... 10
%q30 Stop quiet zone (QZ2) (unevaluated)
Integer: 0 ... 10
%q31 Aspect ratio 1 (WR1) (unevaluated)
Fixed point: 1.0 ... 5.0
%q32 Aspect ratio 2 (only multi-width barcodes) (WR2) (unevaluated)
Fixed point: 1.0 ... 5.0
%q33 Aspect ratio 3 (only multi-width barcodes) (WR3) (unevaluated)
Fixed point: 1.0 ... 5.0
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 53
Formatting instruc-
tion
Description
%q34 Cell size in mm
Fixed point: 0.01 ... 9.99
%q35 Cell size in pixels
Fixed point: 1.0 ... 99.9
Table 4- 36 Format text examples
Format text
Description
String output: %s\r\n Filtered result string with prefixed "String output: " text and fol-
lowed by CR and LF.
%q4 Numerical value of the quality characteristic "Unused error cor-
rection".
%Q4 Quality grade of the quality characteristic "Unused error correc-
tion"
%Q9 %Q2 %s Quality grade of the quality characteristic "Print growth", quality
grade of the quality characteristic "Axial non-uniformity", filtered
result string
%p1 Integer y coordinate of the center point of the code relative to the
center point of the image.
4.1.4.4
Decoding order
You set the code types to be decoded. All code types that occur must be entered in the
decoding order.
Note
Code type not specified in the selected verification standard
If there are code types in the decoding order for which the selected verification standard is
not specified, no grades are calculated for these types.
Application
4.1 Program
SIMATIC MV500
54 Operating Manual, 06/2018, C79000-G8976-C495-01
Table 4- 37 Decoding order
Menu command
or parameter
Possible values
Default
Description
Decoding order
2D codes
DMC
DotCode
PDF417
QR
1D codes
CodaBar
Code 32
Code 39 (no checksum)
Code 39+CS (with check-
sum)
Code 93
Code 128
EAN 8
EAN 13
GS1 DataBar Expanded
GS1 DataBar Limited
GS1 DataBar Omnidirec-
tional
GS1 DataBar Stacked
Int. 2/5 (no checksum)
Int. 2/5+CS (with checksum)
Pharmacode (0°)
Pharmacode (180°)
Postnet
UPC-A
UPC-E
DMC Select and sort the code types required in your
application.
You can use the buttons to add new code types or
remove them:
"Add code type"
Opens a shortcut menu where you select a
code type. The code type is inserted in the list
below the currently selected position.
"Remove selected code type"
Removes the respective code type from the
list.
You can change the order of the codes with 'drag-
and-drop'.
Code type Saved
Dynamic
Saved If the code type is known in your application and
does not change, select the "Saved" option in the
drop-down list.
If the code type can change during operation,
select "Dynamic".
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 55
Table 4- 38 Relationships and dependencies of the parameters
Menu command or
parameter
Dependency
Description
Decoding order Multicode, code types PDF417, QR, DotCode can only be selected when
"Multicode" is not active.
Code 39 and Interleaved 2/5 can be included in the
decoding order either only with checksum ("+CR") or
without checksum.
Table 4- 39 Overview of available verification standards for code types
Verification standard
Code type
ISO/IEC 16022
ISO/IEC 15415
AS9132 A
ISO/IEC 29158
Siemens DPM
ISO/IEC 15416
ISO/IEC 15416
QR
DMC
PDF417
GS1 DataBar
Stacked
GS1 DataBar
Limited
GS1 DataBar
Expanded
GS1 DataBar
Omnidirectional
Pharmacode
Postnet
UPC E
UPC A
EAN 13
EAN 8
Code 32
Code 39
Code 39 with
checksum
Code 128
Code 93
Codabar
Interleaved 2/5
Interleaved 2/5
with checksum
Application
4.1 Program
SIMATIC MV500
56 Operating Manual, 06/2018, C79000-G8976-C495-01
Note
Pharmacodes
To read pharmacodes reliably, the "Module width" parameter ("Decoder options 1D" group)
must be set to "Saved" due to the code properties.
An upside down pharmacode cannot be detected automatically.
Note
Code39 and Int2/5
As these code types have variable code length, partial readings may occur with poor print
quality. You can increase the reliability of the reading by setting the code length in your
application to a fixed value.
To do so, set the "Number of bars" parameter
in the "Decoder options (1D)" group to
"Saved".
Note
GS1 DataBar Stacked
The selection of "GS1 Databar Stacked" includes the code type "GS1 Databar 14 Stacked"
but not the "GS1 Databar Expanded Stacked" code type.
4.1.4.5
Decoder
Table 4- 40 Decoder
Menu command or
parameter
Possible values
Default
Description
Decoder type Standard
ID Genius
Standard You specify which decoding method is used for
reading data matrix codes.
You will find additional information in the operating
instructions "SIMATIC MV500 Optical Reading Sys-
tems" in the "Image processing" section.
The ID Genius decoder reads data matrix codes
even under the most difficult conditions. The stand-
ard decoder is suitable for fast reading, code verifi-
cation and for reading several codes in one image.
Note
If a verification reference is selected, only the
"standard" decoding process is used, regardless of
the selection made here.
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 57
4.1.4.6
Multicode
Table 4- 41 Multicode
Menu command or
parameter
Possible values
Default
Description
Number of codes
Enabled
1 ... 50
(SIMATIC MV500 U/X
: 1 … 150)
Disabled
Disabled You specify how many codes are read per image.
Disabled: Only one code is searched for in the
ROI. If multiple codes exist in the ROI, only one
code is read.
Enabled: The specified number of codes is
searched for. If more than the specified number
of codes are visible in the ROI, the excess codes
are ignored. The multicode function requires the
standard decoder; not available with ID Genius.
Application
4.1 Program
SIMATIC MV500
58 Operating Manual, 06/2018, C79000-G8976-C495-01
Menu command or
parameter
Possible values
Default
Description
'N_OK' for codes
read <> 'Number
of codes'
Enabled
Disabled
Enabled Enabled:
If the same number of codes per code type is not
read in the image in processing mode when the
program is saved:
The string defined in "Program" > "Result" for
"Read error" is output as result and the output
signal "N_OK" is set.
Note
Using multiple code types
If the data matrix code type and at least one
barcode type is present in the decoding or-
der, the specified number of data matrix
codes and barcodes is searched for when the
program is saved.
If more than the specified number of codes is
found in total, an "N_OK" result is generated.
If the save operation was successful, the pro-
gram will search in processing mode for the
exact number of codes found for each code
type that it saved.
To precisely specify the number of codes to be
read per code type for multiple code types, con-
figure your own "Read code" step with the corre-
sponding number for each code type.
Disabled:
If the same number of codes per code type is not
read in the image in processing mode when the
program is saved, no read error is output.
This is the case:
When fewer codes are actually visible.
When the cycle time or decoding time limit
was reached before all codes could be de-
coded.
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 59
4.1.4.7
Evaluation
If you wish to assess the code quality (marking quality), you define the quality evaluation and
the criteria in this step.
You specify the quality criteria you require for the code quality.
Table 4- 42 Evaluation
Menu command or
parameter
Possible values
Default
Description
Overall quality Each overall quality grade
4 ... 0 or A-F (without E,
depending on the setting
in "Settings > Options >
Extras") can be assigned
a Quality evaluation of
"Good", "Fair" or "Poor".
-- 1) Color coding:
"Good" = green
"Fair" = yellow
"Poor" = red
If you click on the colored box, you
can adapt the assignment.
Note
The code qualities measured during
adjustment and processing are then
colored according to the evaluation set
here.
Individual qualities Center offset
Size offset
Cell modulation
Border match
Axial non-uniformity
Print growth
Unused error correc-
tion
Angle of distortion
Symbol contrast
Cell size
-- 1) Can only be set for Siemens DPM, only
with verification license.
First use the arrow keys to select the
qualities you require for the evaluation.
When you select a used quality by
clicking on the quality grade 4 ... 0,
you can then adapt the evaluation
(quality evaluation of "good", "fair",
"poor"). The lowest individual quality
evaluation determines the overall
evaluation of a processing procedure.
For color coding, see "Overall quali-
ty".
1) Depending on the determined code quality
Application
4.1 Program
SIMATIC MV500
60 Operating Manual, 06/2018, C79000-G8976-C495-01
4.1.4.8
MATCH
Table 4- 43 MATCH
Menu command or
parameter
Possible values
Default
Description
Match Off
All
Position
ID
GS1
Tobacco
Off You set the match options to compare the
content of a read code with a saved code
or a received match string.
Off
No match is performed.
All
All the characters of the read code are
compared with all the characters of
the saved code.
Position
The string resulting from the settings
in the "Length" and "Start position" in-
put boxes is compared with the corre-
sponding string of the saved code.
ID
The string resulting from the settings
in the "Separators" and "ID" input
boxes is compared with the corre-
sponding string of the saved code.
GS1
The content of the specified "GS1 ap-
plication identifier" is compared.
Tobacco
It is checked whether the found code
is of "DotCode" type and whether the
decoded string consists only of 12
characters and exclusively of digits
and uppercase letters. If this is not the
case, a match error and in contrast
to all other match options an
"N_OK" result is generated.
Different input boxes are displayed, de-
pending on the set value. These are
described below.
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 61
"MATCH" parameter
Different input boxes are displayed, depending on the set value. These are described below.
"Match = Position": "Start position" and "Length" input boxes
You specify the reference string as follows:
Start position
1st character of the reference string; default: 1
Value range: 1 ... 3000
Length
Length of the reference string; default: 1
Value range: 1 ... 735
Example:
Saved code = 1PABCDEF, Start position = 3, Length = 2
The read codes are checked to determine whether "A" is located at the 3rd position and "B"
at the 4th position.
"Match = ID": "Separators" and "ID" input boxes
If you select the value "ID" in the "Match" drop-down list, these input boxes are enabled.
For information about selecting "GS1", refer to the "ID" input box.
You specify the reference string according to the following rules:
The substring start is identified by the ID.
The ID can be at the beginning of the read code or immediately following one of the
separators in the "Separators" box.
If no separator from "Separators" follows, the substring extends up to the 1st separator
found in "Separators" or to the end of the code.
The default for separators is "+". A maximum of 4 separator characters are supported.
If the two strings match, the result string is output.
If the two strings do not match, the configured match error is output.
Example
:
Saved code = A-1P01234+B, separators = +-, ID = 1P, read code = A-1P01235-B
Substring of the read code: 01235, substring of the saved code: 01234
Application
4.1 Program
SIMATIC MV500
62 Operating Manual, 06/2018, C79000-G8976-C495-01
"Match = GS 1": "ID" input box
If you select the value "GS1" in the "Match" drop-down list, this input box is enabled.
For information about selecting "ID", refer to ""Separators" and "ID" input boxes".
You specify the "GS1 application identifier" to be matched.
If you enter "*", the contents of all application identifiers in the saved or transferred match
string are matched to the read code.
By specifying numbers separated by commas, only the contents of the application
identifiers specified by the numbers are compared. For a complete overview of the
available application identifiers: see "Full list of GS1 application identifiers in numerical
order".
Example:
Saved code =
]d2
01
12345678901234
20
11
13
101224
ID = 1, 20
Read code =
]d2
01
12345678901234
20
11
13
110101
Match: OK
Read code =
]d2
01
12345678911234
20
11
13
110101
Match: N_OK
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 63
4.1.4.9
N_OK
Table 4- 44 N_OK
Menu command or
parameter
Possible values
Default
Meaning
Evaluate 'Bad' evalua-
tion as 'N_OK'
Enabled
Disabled
Disabled When this option is enabled, codes that are given the
overall quality evaluation "Poor" are marked as
"N_OK".
Likewise, when this option is enabled, codes for which
a verification error occurred are marked as "N_OK".
You will find an overview of the verification error mes-
sages in the operating instructions in the section
"Alarm, error and system messages".
Notes
This check box cannot be selected without Veri-
Genius license (Demo mode).
When the option is enabled, "N_OK" is also gener-
ated in the case of a verification error.
Generates program
N_OK
Enabled
Disabled
Enabled Enabled
When the result of this processing step is "N_OK",
the overall result of the program is always "N_OK",
regardless of other results.
Disabled
An "N_OK" result of this step does not lead to an
"N_OK" overall result of the program.
An output according to the format texts is generat-
ed also for "N_OK" results.
Note
Saving a program without code in the image: only one
code type supported.
If you save a program with a decoder step on an image
when there is no code in the ROI of the decoder step
and the program "N_OK" is not enabled:
Only the first code type entered in the decoding order
can be read in processing mode.
Time limit Enabled
Input box: 1 ...
100000 ms
Disabled
Disabled Max. duration of the step in ms.
The step is terminated after the specified duration. In
this case, the step generates an "N_OK". When the
check box "Generates program N_OK" is cleared,
processing continues with the next step immediately
after the termination of this step, provided the next step
is available. By specifying a time limit, you can prevent
a single step from using up the cycle time available for
the entire program.
The program cycle time and the time limit of the step
currently being processed are monitored separately
from each other.
Application
4.1 Program
SIMATIC MV500
64 Operating Manual, 06/2018, C79000-G8976-C495-01
4.1.4.10
Decoder options (standard)
The following parameters apply for reading and verification of DMC with the standard
decoder.
Table 4- 45 Standard
Parameter
Possible values
Default
Description
Polarity Saved
Dynamic
Dynamic Polarity
Saved: If dark code is saved on light back-
ground, the reader can read dark code on light
background faster. The same is true for in-
verse polarity, that is, light codes on dark
background.
Dynamic: Any code polarity is read, regardless
of whether the saved code was dark on light
background or light on dark background.
Dimension Saved
Dynamic
Dynamic Number of rows and columns:
Saved: The reader decodes the data matrix
faster only if a data matrix has the same num-
ber of rows and columns as the saved code.
Dynamic: The reader can decode a data ma-
trix if the number of rows and columns differs
from the saved code.
Size Saved
Dynamic
Dynamic Height and width of the code in the image:
Saved: The reader decodes the data matrix
faster if a data matrix has a size similar to that
of the saved code.
Dynamic: The reader can decode the data
matrix if a data matrix is considerably larger or
smaller than the saved code.
Aspect ratio Saved
Dynamic
Dynamic Ratio of width to height of the code in the image.
This is used only if "Dynamic" is set for the size.
Saved: The reader decodes faster a data
matrix with the same "aspect ratio" as the
saved code.
Dynamic: The reader can decode a data ma-
trix with a different "aspect ratio" from the
saved code.
Orientation Saved
Dynamic
Dynamic Turning the code in the image:
Saved: The reader decodes a data matrix with
a roll angle similar to the saved code faster.
Dynamic: The roll angle is not limited. The
reader can decode a data matrix regardless of
the turning.
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 65
Parameter
Possible values
Default
Description
ECC level Saved
Dynamic
Dynamic Error correction level in data matrix:
Saved:
ECC200 code: If an ECC200 code is
saved, only codes based on ECC200
codes can be detected in processing
mode.
For ECC ECC200: If a code is saved
with ECC ECC200, afterwards only
codes that are not ECC200-encoded can
be read.
ECC levels 000, 050, 080, 100, 120, 140
and 200 are supported.
Dynamic: The reader can decode a data ma-
trix with any standardized ECC level (000,
050, 080, 100, 140 or 200).
Sample direction Criss-cross
Hor. (at all
points)/Vert.
Vert./Hor.
Hor. only
Vert. only
Criss-cross Code search method:
Criss-cross: The search begins at the center
point of the viewing field and continues alter-
nating between the horizontal and vertical di-
rection until the correct number of codes has
been decoded or the viewing field has been
searched through completely.
Hor. (at all points)/Vert.:
The reader begins at the center point of the
viewing field or the image and searches the
entire viewing field first in a horizontal and
then, where necessary, in a vertical direction.
Vert./Hor.: The reader begins at the center
point of the viewing field or the image and
searches the entire viewing field first in a ver-
tical and then, where necessary, in a horizon-
tal direction.
Hor. only: The reader begins at the center
point of the viewing field and searches
through the entire viewing field horizontally.
Vert. only: The reader begins at the center
point of the viewing field and searches
through the entire viewing field vertically.
Sample threshold
offset
-5 ... 0 0 The search sample threshold value is specified
following "Save program". You can lower the
sample threshold value by selecting a negative
offset to make sure that a code with a slightly
weaker contrast than that of the saved code can
nevertheless be decoded.
Allow quiet zone
clutter
Enabled
Disabled
Enabled If "Allow quiet zone clutter" is enabled, the reader
can decode a code with interfering patterns in the
quiet zone. However, this may take longer. If the
quiet zone does not have any disturbances, you
can speed up decoding by disabling this option.
Application
4.1 Program
SIMATIC MV500
66 Operating Manual, 06/2018, C79000-G8976-C495-01
Parameter
Possible values
Default
Description
Allow varying
brightness
Enabled
Disabled
Disabled If the data matrix shows unusual differences in
brightness in the code area (for example when
one side is much brighter than the other), ena-
bling this option allows the reader to read the
code. However, this may take longer.
Allow severe dam-
age
Enabled
Disabled
Disabled If the border is severely damaged, enabling this
option allows the reader to read the code. How-
ever, this may take longer.
Ignore single lines Enabled
Disabled
Disabled If the image has single lines, enabling this option
may help to speed up decoding.
Allow large viewing
angle
Enabled
Disabled
Disabled With image acquisition at an angle < 60 degrees,
enabling this option can make reading more relia-
ble.
4.1.4.11
Decoder options (ID Genius)
The following parameters apply for reading, QR, PDF417, DotCode and DMC with the ID-
Genius decoder.
Table 4- 46 ID Genius
Parameter
Possible values
Default
Description
Polarity Saved
Dynamic
Dynamic Polarity (only data matrix codes):
Saved: If dark code is saved on light back-
ground, the reader can read dark code on light
background faster. The same is true for in-
verse polarity, that is, light codes on dark
background.
Dynamic: Any code polarity is read, regardless
of whether the saved code was dark on light
background or light on dark background.
Dimension Saved
Dynamic
Dynamic
Number of rows and columns:
Saved: The reader decodes the data matrix
code faster if a data matrix code contains the
same number of rows and columns as the
saved code.
Dynamic: The reader can decode a data ma-
trix if the number of rows and columns differs
from the saved code.
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 67
Parameter
Possible values
Default
Description
View Saved
Dynamic
Dynamic Mirroring (only for data matrix codes):
Saved: If the code to be read is mirrored com-
pared with the saved code, the reader
does
not decode the
code to be read.
Dynamic: The reader also decodes codes that
are mirrored compared with the saved code.
Filter Saved
Dynamic
Saved Saved: The reader does not use all the image
enhancement filters and therefore achieves a
faster read result (including "NOK").
Dynamic: This setting improves the read relia-
bility with particularly poor code qualities, for
example on metal surfaces.
This parameter has no effect on PDF417 codes.
4.1.4.12
Decoder options (1D)
The following parameters apply for reading and verifying barcodes.
Table 4- 47 1D
Parameter
Possible values
Default
Description
Height Saved
Dynamic
Dynamic
Height of the barcode in pixels:
Saved: The reader decodes barcodes with a
height similar to that of the saved code faster.
Dynamic: The reader decodes a barcode
regardless of its height.
Length Saved
Dynamic
Dynamic
Length of the barcode in pixels:
Saved: The reader decodes barcodes with a
length similar to that of the saved code faster.
Dynamic: The reader decodes a barcode
regardless of its length.
Number of bars Saved
Dynamic
Dynamic
Number of bars in the barcode.
Saved: The reader decodes only barcodes
that have the exact same number of bars as
the code used to save the program.
Dynamic: The reader can decode a barcode
regardless of the number of bars.
Min. quiet zone
length
Saved
Dynamic
Dynamic
Length of the quiet zone.
Saved: The reader adapts itself to the length
of the quiet zone of the saved code to provide
faster and more reliable decoding.
Dynamic: The reader uses the default value
for the minimum quiet zone length.
Application
4.1 Program
SIMATIC MV500
68 Operating Manual, 06/2018, C79000-G8976-C495-01
Parameter
Possible values
Default
Description
Sample spacing Saved
Dynamic
Dynamic
Distance between the samples being searched
for.
Saved: The reader optimizes the spacing of
the saved code to provide faster and more re-
liable decoding.
Dynamic: The reader uses the default value
for the barcode.
Security 0
20
40
60
80
100
0 This value can only be specified for Code 39, I 2
of 5 and Codabar if no checksum is used. Speci-
fying a higher security value lowers the average
decoding at the cost of lower decoding flexibility.
Sample threshold
offset
-5 ... 0 0 The search sample threshold value is specified
following "Save program". You can lower the
sample threshold value by selecting a negative
offset to make sure that a barcode with a slightly
weaker contrast than that of the saved code can
nevertheless be decoded.
Sample direction Hor./Vert.
Vert./Hor.
Hor. only
Vert. only
Hor./Vert. Bar code search method:
Hor./Vert.: The reader begins at the center
point of the viewing field or the image and
searches the entire viewing field first in a hori-
zontal and then, where necessary, in a vertical
direction.
Vert./Hor.: The reader begins at the center
point of the viewing field or the image and
searches the entire viewing field first in a ver-
tical and then, where necessary, in a horizon-
tal direction.
Hor. only: The reader begins at the center
point of the viewing field and searches through
the entire viewing field horizontally.
Vert. only: The reader begins at the center
point of the viewing field and searches through
the entire viewing field vertically.
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 69
Parameter
Possible values
Default
Description
Read codes with
very low height
Disabled
Enabled
Disabled Enabled: Enables the reading of codes with a
very low code height compared to the bar width.
The following conditions can be seen as a guide-
line:
1. Bar height must be > 20 pixels.
2. Bar height must be > 2 times minimum bar
width (single width).
3. The orientation must be parallel to the axis:
Tolerance < ± 5°.
4. The print quality must be extremely good.
5. The minimum quiet zone must be > 5.5 times
minimum bar width (single width).
Note
Activation may result in decreased reading relia-
bility with codes printed according to standard.
Ignore checksum
with EAN codes
Disabled
Enabled
Disabled Disabled: Only EAN-8 and EAN-13 codes with
correct checksum are read.
Enabled: The checksum of EAN-8 and EAN-
13 codes is ignored. Codes with incorrect
checksum are read.
Note
The checksum serves as a security feature to
avoid incorrect readings. Activation poses a risk
that codes with wrong contents are read or that
incorrect readings occur, e.g. as a result of poor
print quality.
Ignore bar spacing
with pharmacodes
Disabled
Enabled
Disabled Disabled: Only pharmacodes complying with
the requirements as to bar width/gap width ra-
tio defined in the standard are read.
Valid range: 1x bar/gap width; value between
¼ and 2/3.
Enabled: The check is deactivated. Pharma-
codes not complying with the standard are al-
so read.
Note
Upon activation, there is a risk that invalid codes
with wrong contents are read. Improve the print
process to adhere to the standard.
Application
4.1 Program
SIMATIC MV500
70 Operating Manual, 06/2018, C79000-G8976-C495-01
4.1.5
"Result" program step
You define the following in this program step:
The format in which the read result is output.
The criteria by which the comparison with a specification was successful.
4.1.5.1
Program format text
In this group, you specify which results and partial results of the existing program steps are
to be output.
Table 4- 48 "Format text" and "Multicode format text" parameters
Parameter
Possible values
Default
Description
Format text see "Format text"
input box
%s With this input box, you can specify the content and the format
of the string to be output.
"Format text" input box
A string can be a maximum of 100 bytes long and consists of any combination of the
following elements:
Characters whose ASCII equivalent is between "01H" and "FFH"
Formatting instructions for the output of variables, similar to the print function of the C
programming language.
You can enter characters in the following ways:
By entering the ASCII equivalent: \mn where "m = 0, ... 9, a, ... f" and "n = 0, ... 9, a, ... f"
with the following exception: "\00" is not possible.
By typing them in on the keyboard: Here, you can enter all the characters with an ASCII
equivalent between "20H" and "7EH". Exception: If you want to output a percentage
character, you need to enter "%%" here.
Entering selected control characters:
Table 4- 49 Control characters and their meaning
Control character
Meaning
\r
carriage return
\n
line feed
\t
tabulator
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 71
Note
Representation of printable characters
After entering a printable character in the "Format text" input box, this is displayed explicitly
on the screen.
Example: After entering "
\41", "A" is displayed on the screen.
A formatting instruction has the following structure:
% [number of places] variable {selection of variables} <variable interval>
Square brackets
= This is an optional input.
Curly brackets
= Exactly one value must be selected from within the curly brackets.
Angle brackets
= Exactly one value must be selected from within the specified interval.
Remember that you do not enter the brackets. They are simply used for representation.
Application
4.1 Program
SIMATIC MV500
72 Operating Manual, 06/2018, C79000-G8976-C495-01
Table 4- 50 Possible formatting instructions
Formatting instruction
Meaning
%g Unique ID of the image consisting of 24 uppercase/lowercase letters, numbers, underscore
or dots.
The same unique ID is transmitted by MMI where it can be used as part of the file name of
the saved images.
%s[M-N] Filtered result string
Mth to Nth character of the filtered result string.
If the result string is shorter than N characters, it is filled with spaces, so that
N minus M characters are always output.
If M > N, the characters are output backwards.
%q<0 ... 35>
%Q<0 ... 33>
(depending on verification
standard)
Formatting instructions with lowercase "q" represent the quality values, uppercase "Q" the
quality grades. For some verification standards, there are quality values without an assigned
grade, and there are also grades without a numerical value. Grade and value formatting
instructions not used in the active verification standard cause format errors. Quality grades
are output with one digit, quality values with four digits.
If a verification error occurs and if the decoder option "Evaluate 'Poor' evaluation as 'N_OK'"
is disabled, the letter 'E' is output instead of the quality grades and the four-digit error code
(47xx) is output instead of the quality values. You will find a description of the verification
error messages in the operating instructions in the section "Read and verification error mes-
sages".
Only for verification according to ISO/IEC 15416
With the exception of the overall quality, width, height, aspect ratio 1 to 3 and angle, all val-
ues and grades are output ten times, once per scan line. All quality formatting instructions
specified in an uninterrupted sequence are sorted according to the scan line and semicolons
are inserted between the grades (or values). A \r (carriage return) is added before and after
each scan line.
Example:
Formatting instruction: "%Q0#%Q1%Q25#%Q24"
Output: "Overall quality#\rSymbol contrast1;Edge determination1;\rSymbol con-
trast2;Edge determination2;\r[...]Symbol contrast10;Edge determination10;\r#\rScan
line1;\rScan line2;\r[…]Scan line10;\r"
%Qt Verification type Verification type (exposure settings not
conforming to standards or uncalibrated
verification)
ISO/IEC 29158
1
B
ISO/IEC 15415
2
C
AS9132 A
3
D
ISO/IEC 16022
4
E
Siemens DPM
5
F
ISO/IEC 15416
6
G
%Qs Quality evaluation:
1: Poor
2: Fair
3: Good
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 73
Formatting instruction
Meaning
% [{03|04|B}] p{0|1|2} Integer position of the center point of the code relative to the center point of the image:
0: x coordinate
1: y coordinate
2: Roll angle in °, whereby a turn in the counterclockwise direction counts as positive.
03: Three-digit display
Position value or roll angle are usually represented in three digits (e.g. 017, 230, -90). If
the result requires 4 digits, for example negative values such as at -312, this is increased
to four.
04: Four-digit display
Position value or roll angle are always represented in four digits (e.g. 0087, -543). With-
out this formatting instruction, the output variable (7, 98, -15, 135, -240) is shown.
B: Floating-point number in binary representation (big endian S7 format).
Note:
The coordinates are standardized to the image sizes 800 x 600, 1280 x 1024, 1920 x 1200
or 2592 x 2048.
%[{04|05}]c The time used for the step in ms.
04: Four-digit display
05: Five-digit display
If you have selected the four-digit display or have not specified a number of digits, and the
time used is greater than 9999 ms, 9999 is displayed.
If you have selected the five-digit display and the time used is greater than 99999 ms, 99999
is displayed.
Note: The time required for the processing of the entire program is longer than the total of
the processing time of the individual steps. This is due, for example, to the image acquisition
time.
%u Least significant byte of the sum of all characters of the result string.
Note:
This binary value can have a value that does not correspond to any printable character, for
example, 0H.
%U[<1..12>] Least significant byte of the sum of all characters of the result of the specified step divided
by the number of characters of the step. If no step is specified, the least significant byte of
the sum of all characters of all steps divided by the number of characters of all steps.
%L Length of result string for all steps added up.
This binary value has a length of 2 bytes (little endian).
%l[<1..12>] Number of characters in the result string of the specified step.
If no step index is specified, the length of the overall result is used.
This binary value has a length of 2 bytes (little endian).
Application
4.1 Program
SIMATIC MV500
74 Operating Manual, 06/2018, C79000-G8976-C495-01
Formatting instruction
Meaning
%b Binary result of read procedure:
Byte in which the bits "IN_OP", "TRD", "RDY", "READ", "MATCH", "N_OK" are coded ac-
cording to the status byte. The assignment is as follows:
Bit position
Assignment
7
Reserved
6
Current status of the trigger input
5
N_OK
4
MATCH
3
READ
2
RDY
1
TRD
0
IN_OP
This binary value can have a value that does not correspond to any printable character, for
example, 0H.
Note
The formatting instruction "%b" must only be used once in the program format text. If the
instruction is specified more than once, the correct value is output only at the position of the
last occurrence.
%V Standard verification report with all valid grades and evaluations that is automatically
adapted to the calibration referenced in the program. All field values (grades and evalua-
tions) are separated by a semicolon. You will find an overview of the fields included in each
verification standard in the table below and in the operating instructions in the section "Veri-
fication result".
%R Verification report defined in the relevant standard for ISO/IEC 29158, ISO/IEC 15415 or
ISO/IEC 15416. For all other verification standards, the formatting instruction is skipped.
%v Output of the verification settings. You will find an overview of the contained fields in the
operating instructions in the section "Verification settings".
%E Textual description of the verification error. If no verification error has occurred, the format-
ting instruction is skipped.
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 75
Formatting instruction
Meaning
%t[<1..12>] Code type of the specified step (only decoder) or the code types of all decoder steps in suc-
cession:
Data matrix 10
QR code
11
PDF417 13
DotCode
14
Code 128
20
Code 93
21
Code 39
22
Code 39 with checksum
23
Interleaved 2 of 5
24
Interleaved 2 of 5 with
checksum
25
Codabar
26
EAN 13
27
EAN 8
28
UPC-A
29
UPC-E
30
Postnet
32
PHARMACODE
33
PHARMACODE 180°
39
GS1 DataBar Omnidi-
rectional
34
GS1 DataBar Limited 35
GS1 DataBar Expand-
ed
36
GS1 DataBar Stacked
37
Code 32
38
%i
Current trigger ID. This binary value has a length of 2 bytes (little endian).
%x[<1..12>]
[:<1 ... 150>]
Match string of the specified code of the specified step.
If the first index is omitted (%x[:<1..150>]), the match strings (that are available and
match the second index) of all steps are output.
If the second index is omitted (%x[<1..12>]), all match strings belonging to the corre-
sponding step are output. The second index is only useful for code read steps that oper-
ate in multicode mode.
Examples
%x: All match strings from all steps
%x3: All match strings from the 3rd step
%x2:2 The match string of the 2nd code in the 2nd step
%x:3 The match string of the 3rd code from each step.
Note
If (one of) the referenced match strings is/are not configured (for example, no match config-
ured in the corresponding step), no format error is triggered.
%d
Device ID
Application
4.1 Program
SIMATIC MV500
76 Operating Manual, 06/2018, C79000-G8976-C495-01
Formatting instruction
Meaning
%n{0|1|2|3} Statistical values
n0: Number of processing procedures completed
n1: Number of OK processing procedures
n2: Number of N_OK processing procedures
n3: Number of successfully matched processing procedures
Each of these binary values has a length of 4 bytes (little endian).
%[B]z Number of codes found. Output as text or when using "%Bz" as a binary value with a length
of 1 byte.
Note
This formatting instruction always has the value 1 in the format text.
The following tables contain the code type-specific quality classes. If the formatting
instructions include uppercase letters, the result is output as grade or quality level. If the
formatting instructions include lowercase letters, the result is output as numerical value.
Table 4- 51 Quality classes: Uncalibrated, ID Genius decoder (0)
Formatting instruc-
tion
Description
%Q0
Overall quality (O__)
%Q1
%q1
Symbol contrast (SC_)
Integer: 0 ... 100
%Q2
%q2
Axial non-uniformity (AN_)
Fixed point: 0.00 ... 1.00
%Q4
%q4
Unused error correction (UEC)
Fixed point: 0.00 ... 1.00
%Q9
%q9
Print growth (PG_)
Integer: -999 ... 999
Table 4- 52 Quality classes: ISO/IEC 29158 (1/B)
Formatting instruc-
tion
Description
%Q0
Overall quality (O__)
%Q1
%q1
Cell contrast (SC_)
Integer: 0 ... 100
%Q2
%q2
Axial non-uniformity (AN_)
Fixed point: 0.00 ... 1.00
%Q3
%q3
Grid deviation (GN_)
Fixed point: 0.00 ... 1.00
%Q4
%q4
Unused error correction (UEC)
Fixed point: 0.00 ... 1.00
%Q5
L/F border violation (FPD)
%Q6
Cell modulation (MOD)
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 77
Formatting instruc-
tion
Description
%Q7
Reference decoding (RD_)
%Q8
%q8
Minimum reflectance (RMI)
Integer: 0 ... 100
%Q9
%q9
Print growth X/Y; (PGX/PGY) (unevaluated)
2x integer / 2x -100 ... 100
%Q10
%q10
Cell size (CS_) (unevaluated)
Fixed point: 0.0 ... 99.9
%q11
Current average gray scale value (unevaluated)
Integer: 0 ... 255
%q12 Aperture (unevaluated)
Integer: 0 ... 999
%q13 Percentage aperture value (unevaluated)
Integer: 0, 50, 80
%q14 ECC level (unevaluated)
Integer: 200
%q15 Height (unevaluated)
Fixed point: 0.00 ... 9.99
%q16 Width (unevaluated)
Fixed point: 0.00 ... 9.99
%q17 Angle (unevaluated)
Integer: 0 ... 360
%q34 Cell size in mm
Fixed point: 0.01 ... 9.99
%q35 Cell size in pixels
Fixed point: 1.0 ... 99.9
Table 4- 53 Quality classes: ISO 15415 (2/C)
Formatting instruc-
tion
Description
%Q0
Overall quality (O__)
%Q1
%q1
Symbol contrast (SC_)
Integer: 0 ... 100
%Q2
%q2
Axial non-uniformity (AN_)
Fixed point: 0.00 ... 1.00
%Q3
%q3
Grid deviation (GN_)
Fixed point: 0.00 ... 1.00
%Q4
%q4
Unused error correction (UEC)
Fixed point: 0.00 ... 1.00
%Q5
L/F border violation (FPD)
%Q6
Cell modulation (MOD)
Application
4.1 Program
SIMATIC MV500
78 Operating Manual, 06/2018, C79000-G8976-C495-01
Formatting instruc-
tion
Description
%Q7
Reference decoding (RD_)
%Q9
%q9
Print growth X/Y; (PGX/PGY) (unevaluated)
2x integer
2x -100 ... 100
%Q10
%q10
Cell size (CS_) (unevaluated)
Fixed point: 0.0 ... 99.9
%q12 Aperture (unevaluated)
Integer: 3, 4 ... 20
%q14 ECC level (unevaluated)
Integer: 200
%q15 Height (unevaluated)
Fixed point: 0.00 ... 9.99
%q16 Width (unevaluated)
Fixed point: 0.00 ... 9.99
%q17 Angle (unevaluated)
Integer: 0 ... 360
%q34 Cell size in mm
Fixed point: 0.01 ... 9.99
%q35 Cell size in pixels
Fixed point: 1.0 ... 99.9
Table 4- 54 Quality classes: AS9132 (A3/D)
Formatting instruc-
tion
Description
%Q0
Overall quality (O__)
%Q1
%q1
Contrast (SC_) (unevaluated)
Integer: 0 ... 100
%Q9
%q9
Module fill X/Y (MFX/MFY) (unevaluated)
2x integer
2x 0 ... 200
%Q10
%q10
Nominal module size (NMS) (unevaluated)
Fixed point: 0.0 ... 99.9
%q14 ECC level (unevaluated)
Integer: 0, 50, 80, 100, 140, 200
%q15 Height (unevaluated)
Fixed point: 0.00 ... 9.99
%q16 Width (unevaluated)
Fixed point: 0.00 ... 9.99
%q17 Angle (unevaluated)
Integer 0 ... 360
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 79
Formatting instruc-
tion
Description
%Q19
%q19
Module center offset 1/2 (CO1/CO2)
2x integer
2x 0 ... 99.9
%Q20
%q20
Module size offset 1/2 (SO1/SO2)
2x fixed point
2x 0 ... 99.9
%Q22
%q22
Angle of distortion (AOD)
Fixed point: -45 ... 45
%Q23
%q23
Ovality (OV_)
Fixed point: 0.00 ... 99.9
%q34 Cell size in mm
Fixed point: 0.01 ... 9.99
%q35 Cell size in pixels
Fixed point: 1.0 ... 99.9
Table 4- 55 Quality classes: AIM (ISO 16022) (4/E)
Formatting instruc-
tion
Description
%Q0
Overall quality (O__)
%Q1
%q1
Contrast (SC_)
Integer: 0 ... 100
%Q2
%q2
Axial non-uniformity (AN_)
Fixed point: 0.00 ... 1.00
%Q4
%q4
Unused error correction (UEC)
Fixed point: 0.00 ... 1.00
%Q9
%q9
Print growth X/Y (PGX/PGY)
2x integer
2x -100 ... 100
%Q10
%q10
Cell size (CS_) (unevaluated)
Fixed point: 0.0 ... 99.9
%q14 ECC level (unevaluated)
Integer: 0, 50, 80, 100, 140, 200
%q15 Height (unevaluated)
Fixed point: 0.00 ... 9.99
%q16 Width (unevaluated)
Fixed point: 0.00 ... 9.99
%q17 Angle (unevaluated)
Integer: 0 ... 360
Application
4.1 Program
SIMATIC MV500
80 Operating Manual, 06/2018, C79000-G8976-C495-01
Formatting instruc-
tion
Description
%q34 Cell size in mm
Fixed point: 0.01 ... 9.99
%q35 Cell size in pixels
Fixed point: 1.0 ... 99.9
Table 4- 56 Quality classes: Siemens DPM (5/F)
Formatting instruc-
tion
Description
%Q0
Overall quality (O__)
%Q1
%q1
Contrast (SC_)
Integer: 0 ... 100
%Q2
%q2
Axial non-uniformity (AN_)
Fixed point: 0.00 ... 1.00
%Q4
%q4
Unused error correction (UEC)
Fixed point: 0.00 ... 1.00
%Q6
%q6
Cell modulation 1/2 (CM1/CM2)
2x integer
2x 0 ... 100
%Q9
%q9
Print growth X/Y (PGX/PGY)
2x integer
2x 0 ... 200
%Q10
%q10
Cell size (CS_)
Fixed point: 0.0 ... 99.9
%q14 ECC level (unevaluated)
Integer: 0, 50, 80, 100, 140, 200
%q15 Height (unevaluated)
Fixed point: 0.00 ... 9.99
%q16 Width (unevaluated)
Fixed point: 0.00 ... 9.99
%q17 Angle (unevaluated)
Integer: 0 ... 360
%Q19
%q19
Center offset (CO_)
Integer
0 ... 99.9
%Q20
%q20
Size offset (SO_)
Fixed point: 0.00 ... 99.9
%Q21
%q21
Border match (BM_)
Integer: 0 ... 100
%Q22
%q22
Angle of distortion (AOD)
Fixed point: -45 ... 45
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 81
Formatting instruc-
tion
Description
%q34 Cell size in mm
Fixed point: 0.01 ... 9.99
%q35 Cell size in pixels
Fixed point: 1.0 ... 99.9
Table 4- 57 Quality classes: 1D barcodes (ISO 15416) (6/G)
Formatting instruc-
tion
Description
%Q0
%q0
Overall quality (O__)
Fixed point 0.00 ... 4.00
%Q1
%q1
Symbol contrast (SC_)
Integer: 0 ... 100
%Q6
%q6
Modulation (MOD)
Fixed point: 0.00 ... 1.00
%Q7 Reference decoding (RD_)
(grade only)
%Q8
%q8
Minimum reflectance (RMI)
Integer: 0 ... 100
%Q10
%q10
Module size (unevaluated)
Fixed point: 0.0 ... 99.9
%q15 Height (unevaluated)
Fixed point: 0.00 ... 9.99
%q16 Width (unevaluated)
Fixed point: 0.00 ... 9.99
%q17 Angle (unevaluated)
Integer: 0 ... 360
%q18 Maximum reflectance (RMA) (unevaluated)
Integer: 0 ... 100
%Q24 Overall scan line (SL_)
%Q25
Edge determination (ED_)
%Q26
%q26
Minimum edge contrast (MEC)
Integer: 0 ... 100
%Q27
%q27
Defects (DEF)
Fixed point: 0.00 ... 1.00
%Q28
%q28
Decodability (DEC)
Fixed point: 0.00 ... 1.00
%q29 Start quiet zone (QZ1)
(unevaluated)
Integer 0 ... 10
%q30 Stop quiet zone (QZ2) (unevaluated)
Integer: 0 ... 10
Application
4.1 Program
SIMATIC MV500
82 Operating Manual, 06/2018, C79000-G8976-C495-01
Formatting instruc-
tion
Description
%q31 Aspect ratio 1 (WR1) (unevaluated)
Fixed point: 1.0 ... 5.0
%q32 Aspect ratio 2 (only multi-width barcodes) (WR2) (unevaluated)
Fixed point: 1.0 ... 5.0
%q33 Aspect ratio 3 (only multi-width barcodes) (WR3) (unevaluated)
Fixed point: 1.0 ... 5.0
%q34 Cell size in mm
Fixed point: 0.01 ... 9.99
%q35 Cell size in pixels
Fixed point: 1.0 ... 99.9
Table 4- 58 Format text examples
Format text
Description
String output: %s\r\n Filtered result string with prefixed "String output: " text and fol-
lowed by CR and LF.
%q4 Numerical value of the quality characteristic "Unused error cor-
rection".
%Q4 Quality grade of the quality characteristic "Unused error correc-
tion"
%Q9 %Q2 %s Quality grade of the quality characteristic "Print growth", quality
grade of the quality characteristic "Axial non-uniformity", filtered
result string
%p1 Integer y coordinate of the center point of the code relative to the
center point of the image.
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 83
4.1.5.2
Error messages
In this group, you define which text is displayed for the respective error in the WBM and is
output via the text interface.
You enter the individual characters of each error text just as you enter the characters in the
"Format text" input box with the following exception: If you want to display a percentage
character, enter "%%" here.
Table 4- 59 Error messages
Menu command or
parameter
Possible values
Default
Description
Read error See "Description"
column
Read Error(%s) Content and format of the string to be output in the
event of read errors.
The string can be a maximum of 100 bytes long. The
string consists of any combination of the following
elements:
Characters whose ASCII equivalent is between
"01H" and "FFH" ("%%" causes a percentage
character to be output)
Formatting instructions for output of variables
The following formatting instructions are possible:
%s
%c
%b
%i
"%s" stands for the textual description of the proba-
ble cause of the error in English.
"%c" stands for a decimal digit with the same infor-
mation content.
%b stands for the error message of the binary result
of a read.
%i stands for the trigger ID.
Filter error See "Description"
column
Filter Error(%s) Content and format of the string to be output in the
event of read errors.
The string can be a maximum of 100 characters
long. The string consists of any combination of the
following elements:
Characters whose ASCII equivalent is between
"01H" and "FFH" ("%%" causes a percentage
character to be output)
Formatting instructions for output of variables
The following formatting instruction is possible:
%s
"%s" stands for the textual description of the proba-
ble cause of the error in English.
Application
4.1 Program
SIMATIC MV500
84 Operating Manual, 06/2018, C79000-G8976-C495-01
Menu command or
parameter
Possible values
Default
Description
Match error See "Description"
column
Match Error(%s !
%x)
Content and format of the string to be output in the
event of a match error.
The string can be a maximum of 100 bytes long. The
string consists of any combination of the following
elements:
Characters whose ASCII equivalent is between
"01H" and "FFH" ("%%" causes a percentage
character to be output)
Formatting instruction for output of variables
The following formatting instructions are possible:
%s[<1..12>]
%b
%x[<1..12>][:<1 ... 150>]
%e
%i
"%s" stands for the result string of the specified step.
If no step index is specified, the result string of the
step in which the match error occurred is output.
"%b" stands for the binary result.
"%s[<1..12>]" stands for the result string of the spec-
ified step or for the result strings of all steps in suc-
cession.
"%x[<1..12>][:<1 ... 150>]" stands for the match
string of the specified code of the specified step. If
the first index is omitted (%x[:<1..150]), the match
string of the step in which the match error occurred
is output. If the second index is omitted, all match
strings belonging to the step are output.
"%e" stands for a binary match error code (see table
"Match error code").
"%i" stands for the trigger ID.
Format error Freely selectable
character string
Format Error(%s) Text for error in the "Format text" input box. The
string consists of any combination of the following
elements:
Characters whose ASCII equivalent is between
"01H" and "FFH" ("%%" causes a percentage
character to be output)
Formatting instruction for output of variables
The following formatting instructions are possible:
%s
%s stands for the output of the formatting instruction
in the "Format text" input box which generated the
error.
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 85
Match error code
Note
Display of the match error code
The match error code is only supported for compatibility reasons.
A correct interpretation according to the table below is only possible if the "Read code" task
is executed in the first step.
The match error code ("%e" in the match error text) consists of 37 bytes that are transferred
in order of ascending significance (little endian). The match error code has the following
meaning:
Table 4- 60 Match error code
Byte
Error number
Description
Byte 0
01
Match error
02 Reference error
A match was attempted with a match string that
cannot be processed with the selected compari-
son option (read code) (overwrites match error).
03 Match string missing
(overwrites match and reference errors).
Bytes 1...32
00
One bit per code
00: Code OK
01: An error has occurred in this code.
01
Bytes 33...36
00
One bit per ROI
00: ROI OK
01: An error has occurred in this step.
01
Application
4.1 Program
SIMATIC MV500
86 Operating Manual, 06/2018, C79000-G8976-C495-01
Probable causes of a read error
Note
Causes of error 4700 to 4722
The causes of error 4700 to 4722 are also output in the verification report if there is a
verification error.
All verification grades are output in the report as "E". The verification values correspond to
the error code.
Note
Evaluating verification errors as read errors
If the "Evaluate 'Poor' evaluation as 'N_OK'" check box has been selected in the decoding
settings, a verification error will also be evaluated as "N_OK".
Error code
(%c)
Message
(%s)
Description
0001
No 1D/2D code found in step n
No code was found in step #n.
0002 Cycletime too short Processing was not completed within the cycle time
limit.
0003
Trigger too fast
Processing was interrupted by a trigger signal.
0004 Non ECC200 Code in step n A data matrix code was found in step #n that does not
correspond to ECC200.
Note
The check for ECC200 is performed only in adjust-
ment mode and during "Save program".
0005 Step n: Structured Append DMC not supported A "Structured Append" DMC type was found in step
#n. This DMC type is not supported.
0006 Step n: Reader Programming DMC not supported A "Reader Programming Code" DMC type was found
in step #n. This DMC type is not supported.
0007 Step n: QR ECI encoding not supported A QR code with "ECI encoding" was found in step #n.
This QR type is not supported.
0008 Step n: QR Byte encoding not supported A QR code with "Byte encoding" was found in step #n.
This QR type is not supported.
0009 Step n: QR Kanji encoding not supported A QR code with "Kanji encoding" was found in
step #n. This QR type is not supported.
0010 Step n: Structured Append QR code not support-
ed
A "Structured Append" QR type was found in step #n.
This QR type is not supported.
0011 Step n: QR FNC1 encoding not supported A QR code with "FNC1 encoding" was found in
step #n. This QR type is not supported.
0012 Code quality is poor in step n A code with "poor" quality evaluation was read in
step #n during verification.
0013 Nothing found In "Scan" or "Auto-trigger" (edge-triggered) mode: All
image acquisitions were decoded without result.
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 87
Error code
(%c)
Message
(%s)
Description
0014 Found m instead of the expected number of
1D/2D codes in step n
Only "m" codes instead of the expected number of
codes were found in step # n during multicode decod-
ing.
0015 Maximum number of codes per image (m) was
exceeded in step n
More than the maximum number of codes per image
was found with multicode decoding (50, MV500 U/X:
150).
0016 The maximum amount of data which can be de-
coded was exceeded in code m of step n
A maximum of 3001 bytes can be decoded per step.
This length was exceeded in step #n for code #m.
0017 Trigger during image acquisition The trigger signal was applied during image acquisi-
tion. In this case, no (further) image acquisition is
started. Instead, image acquisition and processing are
being continued and an N_OK result is generated
immediately upon completion.
0018
Step timeout reached in step n
In step #n, the defined time limit was reached.
4700
Verification failed in step n
The read code could not be verified.
4701 Verification for code type found in step n not sup-
ported
The selected verification method is not supported for
the code type found in step #n.
4707 Mean light outside of range in step n: Maximum
exposure time reached
The average brightness needed for ISO/IEC 29158 is
outside the valid range (see also error code 4709).
The specified maximum value for the exposure time
was reached during automatic exposure control.
To resolve this error:
1. Use brighter lighting or enlarge the aperture of the
lens (lower aperture number).
2. Perform a new calibration.
4708 Mean light outside of range in step n: Cycle time
limit of the automatic exposure control reached
The average brightness needed for ISO/IEC 29158 is
outside the valid range (see also error code 4709).
The automatic exposure control was unsuccessful
because the necessary decodings could not be com-
pleted within the time limit.
To resolve this error:
Reduce the exposure ROI of the program.
Change the resolution to half-image or increase
the time limit of the exposure control.
Also ensure that the code is completely within the
exposure ROI until conclusion of the image acqui-
sition process.
4709 Mean light outside of range in step n The average brightness needed for ISO/IEC 29158 is
outside the valid range (70% to 86%) in step #n.
4710 Verification failed in step n: Data Matrix ECC200
required
Verification requires a data matrix code according to
ECC200 specification (only for verification according
to ISO/IEC 15415 or ISO/IEC 29158).
4711 Verification failed in step n: Aperture too small The cell size of the data matrix code in step #n is too
large for the configured aperture (only for verification
according to ISO/IEC 15415).
Application
4.1 Program
SIMATIC MV500
88 Operating Manual, 06/2018, C79000-G8976-C495-01
Error code
(%c)
Message
(%s)
Description
4712 Verification failed in step n: Aperture too large The cell size of the data matrix code in step #n is too
small for the configured aperture (only for verification
according to ISO/IEC 15415).
4713 Verification failed in step n: Not enough space
around the Data Matrix
The quiet zone around the data matrix contained in
the image is too small. For verification, a quiet zone of
at least the size of two cells is required (only for verifi-
cation according to ISO/IEC 15415 or ISO/IEC
29158).
4714 Verification failed in step n: RDA could not find
the horizontal timing pattern
The reference decoding according to
ISO/IEC 16022:2006 signals an error when searching
for the horizontal timing pattern (only for verification
according to ISO/IEC 15415 or ISO/IEC 29158).
4715 Verification failed in step n: RDA could not find
the vertical timing pattern
The reference decoding according to
ISO/IEC 16022:2006 signals an error when searching
for the vertical timing pattern (only for verification
according to ISO/IEC 15415 or ISO/IEC 29158).
4716 Verification failed in step n: RDA found an incor-
rect number of rows and columns
The reference decoding according to
ISO/IEC 16022:2006 signals an error when determin-
ing the number of rows or columns (only for verifica-
tion according to ISO/IEC 15415 or ISO/IEC 29158).
4717 Verification failed in step n: RDA could not locate
the finder pattern
The reference decoding according to
ISO/IEC 16022:2006 signals an error when searching
for the finder pattern (only for verification according to
ISO/IEC 15415 or ISO/IEC 29158).
4719 Verification failed in step n: RDA error correction
failed
The reference decoding according to
ISO/IEC 16022:2006 signals an error when determin-
ing the error correction (only for verification according
to ISO/IEC 15415 or ISO/IEC 29158).
4720 Verification failed in step n: Number of Data Ma-
trix rows/columns is too high
The maximum supported code size for verification
according to ISO/IEC 15415 or ISO/IEC 29158 is
104x104 cells.
4721 Verification failed in step n: Cell size is smaller
than the specified Min.X Dim.
During verification, a cell size was measured that is
less than the minimum X-dimension setting (only for
verification according to ISO/IEC 29158).
4722 Verification failed in step n: Cell size is larger than
the specified Max.X Dim.
During verification, a cell size was measured that is
greater than the maximum X-dimension setting (only
for verification according to ISO/IEC 29158).
5000 Not enough resources to process step n Step #n could not be executed due to a lack of re-
sources (memory).
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 89
4.1.6
Image and result display
Image
This group displays the current image.
Exposure ROI with verification according to ISO/IEC 29158
When using a verification reference with ISO/IEC 29158, the exposure ROI must be set in
such a way that the code to be verified is approximately in the center of the ROI. In addition
to this, the code to be verified needs to be fully inside the exposure ROI during the image
acquisition. For the following reasons, it is advisable to keep the exposure ROI as small as
possible, while taking into consideration the flexibility required for the application:
Optimizing the speed:
The smaller the exposure ROI, the faster the exposure control will work.
Disruptions in the image:
If the acquired images contain disturbances similar to code, the exposure control can fail
completely because the time available for the exposure control is limited. In this case, the
mean light value required in the standard might not be reached. The same applies to
codes that are difficult to read.
Multiple codes in the image:
If there are or can be several codes in the image field, the exposure ROI needs to be set
up in such a way that it only contains the code to be verified. If there are several codes to
be verified, the exposure ROI should only include the code closest to the center. The
verification of more than one code in one step does not, however, correspond to the
stipulations of the standard.
Filmstrip
The images saved last are shown below the currently displayed image.
Moving an ROI with the mouse or keyboard
You can position the ROIs in which the image is shown and change their size by dragging
and shifting them with the mouse.
This possibility is also available with the keyboard:
Shift:
Using the arrow keys: larger increments (10 pixels)
Ctrl + arrow keys: Shift pixel by pixel
Pressing the shift key at the same time activates ROI size change with the arrow keys:
Shift + arrow keys: Changes the size in larger increments.
Shift + Ctrl + arrow keys: Changes the size pixel by pixel.
Application
4.1 Program
SIMATIC MV500
90 Operating Manual, 06/2018, C79000-G8976-C495-01
Result
The results of the last sample processing procedures/read attempts are shown in this group.
Note
Representation of non-printable characters
Non
-printable characters are displayed in the format "\xx". "xx" corresponds to the ASCII
value.
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 91
4.1.7
Image and result view
Image view
You specify the settings for the image display in this group.
Table 4- 61 Image view
Menu command or
parameter
Requirements/
restrictions
Description
Source
--
Selection of image source
Show live image
(continuously)
Not in "Start", "Stop"
status
Shows the live image continuously in the image display.
Show trigger im-
age
(triggered)
Not in "Stop" status Shows acquired images activated by a trigger in the image display.
The reader acquires images only if this is activated by the trigger source,
for example, a light barrier.
Fire trigger
"Show trigger image" Manual triggering of an image acquisition.
Show archive
image
-- Shows archive images of the images saved on the reader in the image
display.
Overlay
-- Enables/disables the superimposed view of live image and archive im-
age. This view can be used to match two acquired images, for example,
to restore the orientation of the reader
Archive -- Selection of archive image source
The images stored in the selected source are shown as filmstrip below
the image display. Click on these images to show them in the image
display.
Load image
Only in the "Edit" sta-
tus
Loading a saved image to the optical reader.
Save image
Not in "Stop" status Saves the currently displayed image on your PC.
Application
4.1 Program
SIMATIC MV500
92 Operating Manual, 06/2018, C79000-G8976-C495-01
Menu command or
parameter
Requirements/
restrictions
Description
Image focus
-- Enables the display for evaluating the focus setting.
Zoom
--
You can scale the image display using the zoom bar.
Result view
This group shows the setting options with which you display the processing results.
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 93
The "Refresh display" button provides a preview of the results of your settings in the program
steps of the "Program" menu.
Table 4- 62 Result view
Menu command or
parameter
Requirements/
restrictions
Description
Formation of result
--
Selection of formation of result view
Enable/disable
formation of result
/
-- Activate/deactivate formation of result in the image display.
When formation of result is enabled, processing of the current program
step is conducted for each new acquired image. For continuous live im-
age display, the next image is not triggered until the processing of the
current image is completed.
Update result
Only in the "Edit"
status and with "Ena-
ble formation of re-
sult"
Updates the result view in the image display.
To do so, the current image is processed once again.
Details -- You can use the Details operator controls to define which information and
results are shown in the image display and which are hidden.
Regions -- Enabling/disabling the ROI view
Clicking the buttons enables or disables the different views. We distin-
guish between search ROIs that limit the search range and result ROIs.
By clicking the dots next to the buttons, you can select the display op-
tions.
The following result details are available, depending on the selected task
and the active settings:
Search ROIs:
Search ROI (fixed default)
Name of search ROI
Result ROIs:
Name of result ROI
Result text
Decoder -- Filter selection
The following filters are available depending on the selected task and the
active settings:
Filter image:
Filtering
Features:
Grid
Cells
Application
4.1 Program
SIMATIC MV500
94 Operating Manual, 06/2018, C79000-G8976-C495-01
Quality values
The "Quality values" group is shown as soon as a program is started.
The current values of the quality features are displayed in the form of a bar according to the
selected verification standard. To obtain the details of the quality features, move the mouse
over the quality abbreviation (for example, SC) and a tooltip with more information will open.
Table 4- 63 Quality values
Color
Length
Meaning
Green
Long
Quality grade is "Good"
Yellow Medium Quality grade is "Fair"
Red
Short
Quality grade is "Poor"
Black -- The value is only for information and is not used to decide the
overall quality
Info statistics
The "Info statistics" group is shown automatically as soon as a program is started.
The statistical information on the relevant number of processing procedures and reads is
provided as percentage (%).
Table 4- 64 Info statistics
Menu command or
parameter
Description
Read Absolute number of successful image processing procedures
Relative number of successful image processing procedures
NOK Absolute number of unsuccessful image processing procedures
Relative number of unsuccessful image processing procedures
Match (only when
Match = Use)
Absolute number of reads with a positive match result
Relative number of reads with a positive match result
Total counter
Absolute number of total processing procedures
Temporary error Number of temporary errors that have occurred or number of invalid trigger sig-
nals.
The trigger signals are valid only when the last image acquisition or the set
number of image acquisitions in the "Scan" mode is completed.
Note:
Temporary errors can be deleted by going to the page "Info > Diagnostics >
Reset data records".
Quality evaluation The statistical distribution of the overall quality evaluation of the past processing
procedures is displayed. The evaluations are "Good", "Fair" and "Poor".
Good evaluation Absolute and relative number of image processing procedures in which the
quality evaluation was "Good". To decode with the quality "Good", the code does
not need to be completely in the ROI.
Fair evaluation Absolute and relative number of image processing procedures in which the
quality evaluation was "Fair".
Application
4.1 Program
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 95
Menu command or
parameter
Description
Poor evaluation Absolute and relative number of image processing procedures in which the
quality evaluation was "Poor" or in which a verification error occurred.
Trigger too fast Absolute and relative number of image processing procedures during which the
next trigger signal came too fast.
Trigger interval Time interval between two trigger pulses (format: hh:mm:ss.ms)
Min.: Minimum of the trigger intervals since the last startup (format:
hh:mm:ss.ms)
Max.: Maximum of the trigger intervals since the last startup (format:
hh:mm:ss.ms)
Average: Average of the trigger intervals since the last startup (format:
hh:mm:ss.ms)
Cycle time The processing time required for the code currently being read.
For the program currently being output:
the time from the internal trigger to the end of processing minus the time in
which the image is buffered.
If the size of the image buffer is > 1, images are buffered during scanning,
program sequence and individual trigger.
Min.: Minimum of the processing times of all the codes read since the last
startup
Max.: Maximum of the processing times of all the codes read since the last
startup
Average: Average of the processing times of all the codes read since the last
startup
Too short: Absolute and relative number of image processing procedures in
which the set high limit of the cycle time was exceeded.
X position X position of the center point of the first result relative to the center of the image.
Normalized to the full resolution for the current image.
Y position Y position of the center point of the first result relative to the center of the image.
Normalized to the full resolution for the current image.
Roll angle Roll angle of the center point of the first result for the current image corresponds
to a counterclockwise rotation.
Viewing angle (ID-
Genius decoder
for DMC only)
Angle between the sensor axis and the surface of the code field for the current
image. Ideally, this angle is 90°.
Smallest cell spac-
ing (ID-Genius
decoder for DMC
only)
Smallest cell spacing in pixels for the current image.
Distance to border
(ID-Genius de-
coder for DMC
only)
Minimum distance from a code boundary to the image border for the current
image in pixels.
Application
4.1 Program
SIMATIC MV500
96 Operating Manual, 06/2018, C79000-G8976-C495-01
Resetting the statistical information
Note
Program change results in reset of statistical information
Note that a program change results in a reset of the statistical information.
Use the "Reset statistics" button to reset all statistical information.
Note that this button is enabled only if the logged-on user has administrator rights (see
"Settings > Security").
Accuracy of the geometric measured values
The values "Smallest cell spacing", "X position", "Y position" and "Roll angle" can normally
be calculated with a high degree of accuracy. The calculation of the "Viewing angle" is less
accurate: Assuming that there was no distortion when the code was printed, the measuring
inaccuracy can be up to 10. This can occur particularly when the reader is almost vertical
over the surface of the code field (viewing angle 75° to 90°). Curved surfaces in general
have a negative influence on the measured viewing angle.
Since these measured values are only a side product of a successful read attempt, no
measured values are calculated or output if the read is "N_OK".
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 97
Settings
5
5.1
Communication
5.1.1
Interfaces
In this group, you specify the communication interfaces and the parameters for the
interfaces.
Ethernet
In this group, you set the parameters for the Ethernet interface.
Table 5- 1 Ethernet
Menu command or
parameter
Possible values
Default
Meaning
IP mode DHCP
Manual
PROFINET
(FB79)
PROFINET (Ident
profile)
DHCP Assignment of the IP address to the reader in the net-
work:
DHCP: Automatic (DHCP = Dynamic Host Configura-
tion Protocol)
Manual: Manual
PROFINET (FB79) / PROFINET (Ident profile):
Automatically by the I/O controller
IP address
(only when IP
mode = manual or
DHCP server)
xxx.xxx.xxx.xxx 0.0.0.0 IP address of the reader
(an IP address consists of four numbers separated by
periods with each number being in a range from 0 to
255.)
Subnet mask 255.xxx.yyy.zzz 255.255.255.0 Subnet mask
The subnet mask indicates which part of the IP address
specifies the network and which part specifies the reader:
If a bit is set in the binary representation of the subnet
mask, the corresponding bit of the IP address belongs to
the network address. If no bit is set, the bit belongs to the
address of the reader.
In binary terms, xxx.yyy.zzz requires that the left part be
made up of ones without a gap and the right part be
made up of zeros without a gap. Example:
11111111.10100000 is not permitted.
Note also: zzz 254
Settings
5.1 Communication
SIMATIC MV500
98 Operating Manual, 06/2018, C79000-G8976-C495-01
Menu command or
parameter
Possible values
Default
Meaning
Gateway xxx.xxx.xxx.xxx 0.0.0.0 Gateway IP address
IP address of the network node that can establish con-
nections from within the current subnet.
This is always required when there are devices in more
than one subnet. In this case, you can only establish
connections from the reader to other devices over the
gateway (for example, to the (S)NTP server).
To find out whether all the devices are in the same sub-
net, you should normally ask your network administrator.
Notes
If the (S)NTP server is not addressed by the reader,
the gateway IP address is not required.
If a broadcast address is configured as the gateway
IP address, the reader cannot be configured using the
Primary Setup Tool (PST) or with the "Edit Ethernet
node..." functionality of the SIMATIC Manager. In this
case, it is also not possible to read out the configura-
tion of the reader using these programs.
Host name String in which the
following characters
are permitted:
digits, letters as well
as "." and "-".
The string must
match the conven-
tions of the "Domain
Name System"
(DNS).
-- Name of the device in the network. This is also used for
"PROFINET device name".
Note
If "IP mode" is not set to "PROFINET (FB79)" or
"PROFINET (Ident profile)", "Host name" can be edited.
Settings
5.1 Communication
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 99
PROFINET IO
Note
Changes during PROFINET IO operation
During PROFINET
IO operation, the IP address and device name of the reader must not be
modified manually.
In this group, you set the parameters for the PROFINET IO interface. If you select
"PROFINET (FB79)" or "PROFINET (Ident profile)" in the "IP mode" drop-down list, the input
boxes are enabled.
Table 5- 2 PROFINET IO
Menu command or
parameter
Possible values
Default
Meaning
Device name String in which the
following characters
are permitted: Digits
and letters as well as
"." and "-".
The string must
match the conven-
tions of the "Domain
Name System"
(DNS).
-- Name of the device on PROFINET. This is also used for
"Ethernet host name".
Note
If "IP mode" is set to "PROFINET (FB79)" or
"PROFINET (Ident profile)", "Device name" can be edit-
ed.
Time limit 100 ... 2000 500 Only relevant if the "IP mode" is set to "PROFINET
(FB79)".
Handshake monitoring time in ms.
Pulse time 5 ... 999 30 Only relevant if the "IP mode" is set to "PROFINET
(FB79)".
Pulse time of the digital outputs "READ, MATCH, N_OK"
in ms with control via PROFINET.
Note:
For the pulse time, select a higher value than for the
update time of the PROFINET IO system in the TIA Por-
tal.
Swap S7
None
S7 Only relevant if the "IP mode" is set to "PROFINET
(FB79)", and the position and quality values can be read
using the instance DB of FB79. Position and quality val-
ues in the formatted result string are not affected by this.
Specifies the byte order for data types with a width of 16
bits or more:
S7: Big endian (for a data type with a width of 16 bits,
the low byte is at the most significant byte position.)
None: Little endian (for a data type with a width of 16
bits, the low byte is at the least significant byte posi-
tion.)
Settings
5.1 Communication
SIMATIC MV500
100 Operating Manual, 06/2018, C79000-G8976-C495-01
CM
In this group, you set the transfer speed for the communication module.
Table 5- 3 CM
Menu command or
parameter
Possible values
Default
Meaning
Transfer speed 19200
57600
115200
115200 Transfer speed of the RS422 interface in [bps]
TCP
In this group, you set the parameters for communication using TCP/IP.
Table 5- 4 TCP
Menu command or
parameter
Possible values
Default
Meaning
IP address xxx.xxx.xxx.xxx 192.168.0.43 Available only in "Client" mode.
IP address of the TCP/IP communication partner (server)
with which the reader (client) is to set up a TCP/IP con-
nection. For SIMATIC controllers, "active connection
establishment" must be disabled.
Port Device-specific 8000 "Client" mode: Port of the TCP server.
"Server" mode: Port on which the reader waits for an
incoming connection from a TCP client.
Time limit 0 ... 3600 0 0: There is no transfer of cyclic monitoring frames to
test the connection to the TCP/IP connection partner.
Otherwise: Time in seconds after which a monitoring
frame is sent to check the connection to the TCP/IP
connection partner. The check is implemented by
sending the "Idling string" to the recipient at the con-
figured interval. If the test fails, an error is output (only
when the reader is in "Start" or "Save program" mode)
and the connection is reestablished.
Settings
5.1 Communication
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 101
Menu command or
parameter
Possible values
Default
Meaning
Idling string Characters whose
ASCII equivalent is
between 01H and
FFH or the format-
ting instruction %b
for generating the
binary result.
\r\n (carriage re-
turn, line feed)
Binary result of read procedure:
Byte in which the bits "IN_OP", "TRD", "RDY", "READ",
"MATCH", "N_OK" are coded according to the status
byte. The assignment is as follows:
Bit position
Assignment
7
Reserved
6 Current status of the trigger
input
5
N_OK
4
MATCH
3
READ
2
RDY
1
TRD
0
IN_OP
This binary value can have a value that does not corre-
spond to any printable character, for example, 0
H
.
RS232
In this group, you set the parameters for the integrated RS232 interface.
Table 5- 5 RS232
Menu command or
parameter
Possible values
Default
Meaning
Transfer speed 9600
19200
38400
57600
115200
57600 Defines the transfer speed with which the reader com-
municates via the integrated RS232 interface in [bps]
Parity Odd
Even
None
Odd Sets the parity of the RS232 interface
Stop bits 1
2
1 Defines the number of stop bits used
Settings
5.1 Communication
SIMATIC MV500
102 Operating Manual, 06/2018, C79000-G8976-C495-01
Menu command or
parameter
Possible values
Default
Meaning
Time limit 0 ... 3600 0 0: There is no transfer of cyclic monitoring frames to
test the connection.
Otherwise: Time in seconds after which a monitoring
frame is sent to check the connection. The check is
implemented by sending the "Idling string" to the re-
cipient at the configured interval. This mechanism can
be used by the recipient to set up connection monitor-
ing.
Idling string Characters whose
ASCII equivalent is
between 01H and
FFH or the format-
ting instruction %b
for generating the
binary result.
\r\n (carriage re-
turn, line feed)
Binary result of read procedure:
Byte in which the bits "IN_OP", "TRD", "RDY", "READ",
"MATCH", "N_OK" are coded according to the status
byte. The assignment is as follows:
Bit position
Assignment
7
Reserved
6 Current status of the trigger
input
5
N_OK
4
MATCH
3
READ
2
RDY
1
TRD
0
IN_OP
This binary value can have a value that does not corre-
spond to any printable character, for example, 0H.
Settings
5.1 Communication
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 103
Archiving/MMI (MMI: Man Machine Interface)
In this group, you set the address of a server to which you may send images and/or data
records for diagnostics.
Table 5- 6 Archiving/MMI
Menu command or
parameter
Possible values
Default
Meaning
IP address
xxx.xxx.xxx.xxx
192.168.0.45
IP address of the server for diagnostic information
Port Device-specific 8765 Corresponding port of this server
Time limit 0 ... 3600 10 0: There is no transfer of cyclic monitoring frames to
check the connection between the reader and server.
Otherwise: Time in seconds after which a monitoring
frame is sent to check the connection between reader
and server. If the server does not respond to this
frame within the monitoring time, an error is output
(only when the reader is in RUN or "Save program"
mode) and the connection is reestablished.
Remote client xxx.xxx.xxx.xxx 0.0.0.0 IP address of the HTTP client that is permitted to
execute remote functions such as the remote XML
command.
To deactivate the remote functions through this con-
nection, enter "0.0.0.0".
SNMP
SNMP V1
In this section, you can enable/disable the SNMP V1 functionality.
If the "SNMP V1" function is disabled, no SNMP functionality is offered.
Community string read
You specify the string that is to be used as password for an SNMP transfer and allows read
access. The default setting for this community string is "public".
Allow write access
The input of a string is only permitted when this check box is selected. If the check box is not
selected, write access is not permitted and the "Community string write" field appears grayed
out.
Community string write
You specify the string that is to be used as password for an SNMP transfer and allows write
access. The default setting for this community string is "private".
Settings
5.1 Communication
SIMATIC MV500
104 Operating Manual, 06/2018, C79000-G8976-C495-01
Note
Supported SNMP versions
Note that only SNMP Version 1 is supported.
Supported MIBs:
LLDP-MIB
(OID: .1.0.8802.1.1.2)
Standard MIB II (according to RFC1213)
"System" group (OID: .1.3.6.1.2.1.1)
"Interfaces" group (OID: .1.3.6.1.2.1.2)
Write access is permitted only for the following MIB objects of the system group:
sysContact (OID: .1.3.6.1.2.1.1.4.0)
sysLocation (OID: .1.3.6.1.2.1.1.5.0)
sysName (OID: .1.3.6.1.2.1.1.6.0)
CustomGUI
In this group, you set the access rights of a CustomGUI for the Web API interface.
Dyn. IP address
Access is granted to the first CustomGUI that establishes a connection to the reader via the
Web API.
Access is denied to other CustomGUIs (with different IP address) until the first CustomGUI
terminates the connection.
Fixed IP address
Only the IP address set at this point is in a position to communicate with the Web API.
Access denied
Web API interface is disabled. No access by CustomGUI possible, except for monitoring
functions.
Settings
5.1 Communication
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 105
Relationships and dependencies of the parameters
Table 5- 7 Relationships and dependencies of the parameters
Menu command or
parameter
Dependency
Description
PROFINET IO IP mode The parameters of the "PROFINET IO" group are only
active when the "PROFINET (FB79)" or
"PROFINET (Ident profile)" IP mode is selected.
Host name PROFINET IO device name Only if IP mode "PROFINET (FB79)" or
"PROFINET (Ident profile)" is selected does the host
name correspond to the "PROFINET IO device name".
PROFINET IO
device name
Host name Only if IP mode "Manual" is selected does the
"PROFINET IO device name" correspond to the "Host
name".
Note
If the IP mode "PROFINET (FB79)" or "PROFINET
(Ident profile)" is not set, the "Device name" corresponds
to the "Host name".
Settings
5.1 Communication
SIMATIC MV500
106 Operating Manual, 06/2018, C79000-G8976-C495-01
5.1.2
Use
In this group, you specify the signal and communication paths. For example:
How the signals reach the reader.
The communication path that is used to output a modified result string, if any.
Connection
In this group, you set the parameters for the connection interfaces.
Table 5- 8 Connection
Menu command or
parameter
Possible values
Default
Meaning
Source DI/DO
CM
RS232
TCP
PROFINET IO
PROFINET IO +
DI/DO
DI/DO Specify the interface over which the trigger signal is sent
to the reader:
DI/DO / PROFINET IO: Enables optional triggering via
DI/DO or PROFINET IO. Depending on the "IP mode"
input box in the "Communication > Interfaces" menu.
CM: Trigger signal comes from a connected commu-
nication module
RS232 and TCP: If the string you specified in the
"Trigger text" input box is sent over the RS232 inter-
face or a TCP/IP connection, the reader generates a
trigger signal.
PROFINET IO; depending on the "IP mode" input box
in the "Communication > Interfaces" menu
Debouncing 8 ... 9999 8 You enter the value for debouncing.
Helpful with very fast trigger sources, for example, whose
signal is not stable.
Text None
CM
RS232
TCP
PROFINET IO
None Specify the interface over which the result text is output.
None: The result string is not output.
CM: Result string is output over the CM interface.
Note
The result string can only be output over CM if you
have selected the value "CM" in the "Control" drop-
down list (see below).
RS232 or TCP: The result string is output via a TCP
connection or via the RS-232 interface.
PROFINET IO: via PROFINET IO;
depending on the "IP mode" input box in the "Com-
munication > Interfaces" menu
Note
The result string can only be output over
PROFINET IO if you have selected the value
"PROFINET IO" in the "Control" drop-down list (see
below).
Settings
5.1 Communication
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 107
Menu command or
parameter
Possible values
Default
Meaning
Result None
CM
DI/DO
PROFINET IO
DI/DO Specify the interface over which the result bits READ,
MATCH, and N_OK are output.
None: The result bits READ, MATCH and N_OK are
not output.
CM: Result bits are output over the CM interface.
Note
In order to obtain a result, you must set the result bits
in the program format text (%b) for the "CM" function.
Simply selecting "CM" at this point does not provide a
result.
DI/DO: Result bits are output over the DI/DO inter-
face.
PROFINET IO: Result bits are output over the
PROFINET IO interface.
Note
In order to obtain a result, set the result bits in the
program format text (%b) in "PROFINET IO (Ident
profile)" IP mode. Simply selecting "PROFINET IO" at
this point does not provide a result
Settings
5.1 Communication
SIMATIC MV500
108 Operating Manual, 06/2018, C79000-G8976-C495-01
Menu command or
parameter
Possible values
Default
Meaning
Control DI/DO
CM
RS232
TCP
PROFINET IO
DI/DO Specify the interface over which the signals (DISA, SEL0,
SEL1, SEL2, SEL3, TRN, RES, IN_OP, TRD, RDY) and
the tasks (such as write match string, model change,
read job) are transferred over the RS232, TCP, CM and
PROFINET interface (Ident profile).
DI/DO: DI/DO interface (possible only when "Text" =
"PROFINET IO" or "CM")
CM: over CM interface
Note
Control through the CM interface is possible only if
you have set the value "CM" in the "Text" drop-down
list.
RS232: Control through the RS232 interface
For an overview of the commands, see the operating
instructions "SIMATIC MV500" in the section "Control
through TCP/IP and RS232".
TCP: Control through the TCP interface
For an overview of the commands, see the operating
instructions "SIMATIC MV500" in the section "Control
through TCP/IP and RS232".
PROFINET IO; depending on the "IP mode" input box
in the "Communication > Interfaces" menu
Source program New
1
2
...
15
New Selection of the source program that the controller ac-
cesses as template. The controller creates new programs
based on the selected source program.
Note
Maximum length of the result string
The maximum length of the result string is limited depending o
n the selected interface:
TCP, RS232, CM: 16,383 characters
PROFINET IO: 6858 characters
Only when "IP mode = PROFINET (FB79)" is set. Otherwise, 16383 characters.
Settings
5.1 Communication
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 109
Diagnostics transfer
In this group, you specify the parameters for transfer of diagnostics data.
Note
Transfer of images or data records
If you have set "Stack" as the buffer type under "Settings > Opti
ons > Diagnostics &
monitoring > Report", images and data records are only transferred until the stack is full.
Table 5- 9 Diagnostics transfer
Menu command or
parameter
Possible values
Default
Meaning
Transfer images None
Archiving/MMI
None You specify whether the relevant data record is trans-
ferred to a server if one of the causes selected under
"Settings > Options > Diagnostics & monitoring" in "Im-
age" occurs.
None: No transfer
Archiving/MMI: With enabled transfer monitoring, the
images are transferred to the server
Transfer data
records
None
Archiving/MMI
None You specify whether the relevant data record is trans-
ferred to a server if one of the causes selected under
"Settings > Options > Diagnostics & monitoring" in "Im-
age" occurs.
None: No transfer
Archiving/MMI: With enabled transfer monitoring, the
data records are transferred to the server
With transfer moni-
toring
On
Off
Off Select the check box to enable transfer monitoring. If the
check box is not selected, transfer is not monitored.
When transfer monitoring is enabled, SIMATIC MV500
checks the complete transfer of all occurring diagnostics
images and data records to make sure there are no
omissions. If the data cannot be transferred to the con-
nected server in the available time, SIMATIC MV500
changes to Stop with a transmit error. In this mode, you
should therefore make sure that the Ethernet connection
has adequate bandwidth and SIMATIC MV500 has
enough time in reserve to send the data to the server.
Settings
5.1 Communication
SIMATIC MV500
110 Operating Manual, 06/2018, C79000-G8976-C495-01
Relationships and dependencies of the parameters
Table 5- 10 Relationships and dependencies of the parameters
Menu command
or parameter
Dependency
Description
Trigger, text Source The Trigger text input box is only available
when the trigger source is selected as
"RS232" or "TCP".
Text, control Connections
Options > Extras
For permitted combinations, refer to the
table below.
Trigger, source Text If "CM" is selected as the trigger source,
"CM" must also be selected for the text.
Trigger source,
text, result,
control
Ethernet > IP mode If the IP mode is "PROFINET IO", "CM"
cannot be selected as trigger source, text,
result and control.
Permitted combinations for text and controller settings
Table 5- 11 Permitted combinations for text and controller settings
Control
DI/DO
Control
PROFINET IO
(FB79)
Control
PROFINET IO
(Ident profile)
Control
CM
Control
TCP
Control
RS232
String "None"
Text "PROFINET IO"
(FB79)
String "PROFINET IO"
(Ident profile)
Text "CM"
Text "TCP"
Text "RS232"
Settings
5.1 Communication
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 111
5.1.3
Digital I/O
In this group, you specify the assignments of the digital inputs and outputs as well as for the
signal levels.
DI/DO signals
The reader has digital inputs and outputs, some of which can be freely assigned. In this
group, you assign the DI/DO signals to the digital inputs and outputs.
The signals "EXT_1", "EXT_2", "EXT_3", "EXT_4" are only available as output and can only
be set through the TCP, RS232 and CM interfaces.
Table 5- 12 DI/DO signals
Pin / Menu
command
Possible values
Default
Meaning
DI
K TRG TRG Trigger input
You use the level to
specify what activates
the trigger.
DO
D IN_OP, RDY, READ, MATCH,
N_OK
Output only:
EXT_1, EXT_2, EXT_3, EXT_4
RDY Freely selectable output
J STROBE STROBE Flash output for con-
necting external flashes
L IN_OP, RDY, READ, MATCH,
N_OK
Output only:
EXT_1, EXT_2, EXT_3, EXT_4
READ Freely selectable output
Pulse time 5 ... 999 30 Pulse time of the digital
outputs READ,
MATCH, N_OK, and
EXT_1 ... EXT_4 in [ms]
Settings
5.1 Communication
SIMATIC MV500
112 Operating Manual, 06/2018, C79000-G8976-C495-01
Level of unused digital inputs
You can set the level for unused digital inputs. You can find additional information in the
section "Relationships and dependencies of the parameters".
The table below shows you what happens when the level of an unused digital input is set to
"High".
Table 5- 13 Level of unused digital inputs
Signal
Meaning
DISA
Configuration using the WBM is blocked. Status displays continue to be displayed.
RES Resetting an error
Relationships and dependencies of the parameters
Table 5- 14 Relationships and dependencies of the parameters
Menu command
or parameter
Dependency
Description
DISA Settings > Security
Settings > Communication >
Integration
If you select control through DI/DO, the DISA
input signal can only be set permanently to
"High" if at least one user has the "Take con-
trol" right.
Note
Delayed updating of the LED status displays with high loads
If the reader is under a heavy load, the updating of the LED status displays may be delayed.
This means that the display is no longer synchronized with the current status of the
inputs/outputs.
Settings
5.2 Options
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 113
5.2
Options
5.2.1
Lighting
In this group, you specify which internal and/or external lighting will be used. For lamps with
which the reader is unfamiliar, you define which properties the connected lamps have.
NOTICE
An incorrectly selected lamp can cause an overload
Select the lamp being used under "Settings > Options > Lighting".
Only in this way can the internal overload protection ensure that the limit values for duty
cycle and maximum flash duration are adhered to.
An incorrectly selected lamp can lead to its overload and destruction in the long term.
Internal lamp / External lamp
Note
Changes to the connected lamp/connecting a different lamp:
Programs and calibrations no longer executable
Note that when you subsequently change the parameters of a selected lamp or connect and
select a different lamp,
all programs and calibrations that use these lamps (internally or
externally) are marked as non
-executable.
In order to use a non-executable program again, you must check the exposure settings
and save the program again.
In order to use a non-executable calibration again, you must repeat the calibration
process and save the calibration again.
If you reconnect the lamp used for the calibration without changing the parameters and
select it in the lighting options, the calibr
ation will be executable again.
Settings
5.2 Options
SIMATIC MV500
114 Operating Manual, 06/2018, C79000-G8976-C495-01
Table 5- 15 Internal lamp / External lamp
Menu command or
parameter
Possible values
Default
Description
Lamp Auto (<article num-
ber>)
Other
None
Auto (<article num-
ber>)
Choose the lamp with which you want to work.
Note
Select "Other" to describe and select a lamp
not included in the list.
Select "None" if you do not want to use an
internal or external lamp.
Select "Auto" to detect the internal lamp auto-
matically when the reader starts up. This set-
ting ensures that subsequent parameters are
read and specified automatically.
None
Other
<Article number>
external lamp
None
Product name -- -- In this input box, you can assign a name to the
lamp.
Possible values: Letters, numbers and ASCII
special characters. Maximum of 255 characters.
Flash Enabled
Disabled
-- 1) The displayed parameters depend on the selected
lamp.
If the value "Auto" was selected in the "Lamp"
parameter, these parameters show the func-
tions of the selected lamp.
If the value "Other" was selected in the "Lamp"
parameter, you must use these parameters to
inform the reader which function the selected
lamp supports.
Permanent light Enabled
Disabled
-- 1)
Polarized Enabled
Disabled
-- 1)
Unpolarized Enabled
Disabled
-- 1)
Main beam Enabled
Disabled
-- 1)
Flash delay 0 ... 5000 μs 1) 0 1) The flash delay specifies the time between the
application of a flash signal and the start of the
flash. The image acquisition is delayed by the set
value. This value is known and fixed for supported
lamps. For "Other" lamps, you enter the value in
μs here.
Note: Delayed start of flash for lamps with 12/24 V
strobe input
Due to the high trigger level and the rate of volt-
age rise, a higher value for the flash delay may be
necessary.
If a value that is too low is entered, the auto-
exposure function can malfunction, for example.
Settings
5.2 Options
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 115
Menu command or
parameter
Possible values
Default
Description
Max. flash duration 1 ... 20000 μs 1) 10000 1) The maximum flash duration specifies the maxi-
mum time that a flash signal may last before the
lamp becomes damaged. This value is preset for
supported lamps. For "Other" lamps, you enter the
value in μs here.
The monitoring integrated in the reader ensures
that the lamp never flashes longer than specified
here.
Max. duty cycle 0.1 ... 99.9% 1) 80.0 1) The duty cycle is the ratio of flash duration to
cycle duration. It indicates how much load a lamp
can accept. A duty cycle of 5% means that, on
average, the lamp may be on for a maximum of
5% of the time and must be off for 95% of the
time.
Based on this value, the internal lamp monitoring
ensures that the connected lamp is not overload-
ed.
Wavelength 2 ... 2000 nm 1) 630 1) The wavelength information is required for docu-
mentation for verification tasks and is specified
here. If you have selected "Other" lamps, enter
the wavelength of the lamp you are using here.
Color -- 1) -- 1) The light color is required for documentation for
verification tasks and is specified here. If you
have selected "Other" lamps, enter the color of
the light of the lamp you are using here.
1) Depending on the ring light used
Relationships and dependencies of the parameters
Table 5- 16 Relationships and dependencies of the parameters
Menu command or
parameter
Dependency
Description
All parameters on
this page
Program
Verification > Calibration
Run
In case of changes on this page, note:
As a result of this operation, programs and
calibrations that use this lamp (internally or
externally) are marked as non-executable.
In order to use a non-executable program
again, you must check the exposure set-
tings and save the program again.
In order to use a non-executable calibra-
tion again, you must repeat the calibration
process and save the calibration again.
If you reconnect the lamp used for the calibra-
tion without changing the parameters and
select it in the lighting options, the calibration
will be executable again.
Settings
5.2 Options
SIMATIC MV500
116 Operating Manual, 06/2018, C79000-G8976-C495-01
5.2.2
Diagnostics & monitoring
In this group, you specify which information is to be saved for diagnostic purposes.
Logging
In this group, you specify the images to be stored in the reader and their form. Including:
Saving images in the reader
Saving diagnostic events in the reader
Note
Saving diagnostic data
Save your diagnostic data before you change the reader to adjustment mode.
If you have set the buffer type "Ring" for logging pictures, pictures acquired in adjustment
mode can overwrite pictures you have already recorded.
Table 5- 17 Logging
Menu command or
parameter
Possible values
Default
Description
Image
Buffer type Ring
Stack
Ring Type of buffer:
Ring: When the buffer contains 50 entries
(SIMATIC MV500 U/X: 30 entries), entries 1, 2 ...
are overwritten.
Stack: When the buffer contains 50 entries
(SIMATIC MV500 U/X: 30 entries), no further en-
tries are made.
Settings
5.2 Options
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 117
Menu command or
parameter
Possible values
Default
Description
Cause Trigger
Read OK
Read NOK
Read OK (all)
Read NOK (all)
Match OK
Match NOK
Save program
Quality evaluation
good
Quality evaluation
fair
Quality evaluation
poor
Read NOK
Save program
You specify what causes an image to be saved.
The addition of "(All)" means that all acquired images
are entered in the diagnostic buffer. If "Scan" is ena-
bled, this also includes images for which no read
result is output.
Activation of "Scan" under "Program > Image acqui-
sition > Control".
Example
"Scan" with 10 acquired images is set as the image
acquisition mode.
If the code to be read is only fully visible in the 5th
acquired image:
With "Read OK (all)", the four previous images
are also stored in the diagnostic buffer.
With "Read OK", only the 5th image is stored.
"Poor quality evaluation" also includes images in
which a verification error occurred.
Record Image
± 1 image
Image Image: If one or more of the causes selected
above occurs, the current image is saved.
± 1 image: Not only the current image but also
the previous and next image are saved.
Buffer size SIMATIC
MV500 S/H: 150
SIMATIC
MV500 U/X: 130
5 Defines the number of images that are to be buffered
in the diagnostic memory.
Report
Buffer type: Ring
Stack
Ring Type of buffer:
Ring: When the buffer contains 15,000 entries,
entries 1, 2, ... are overwritten.
Stack: When the buffer contains 15,000 entries,
no further entries are made.
Match string frames Enabled
Disabled
Enabled With the "Write match string" or "Write string trigger
synchronized" command, received frames are output
in the diagnostics report.
Settings
5.2 Options
SIMATIC MV500
118 Operating Manual, 06/2018, C79000-G8976-C495-01
Time basis
In this group, you specify the source for the time stamp of the diagnostics events.
Table 5- 18 Time basis
Menu command or
parameter
Possible values
Default
Description
Source PC
SNTP
PC PC: The PC provides the time stamp.
SNTP: An SNTP server (SNTP = simple network
time protocol) in the network provides the time
stamp.
IP address xxx.xxx.xxx.xxx 192.168.0.44 IP address of the SNTP server (enabled only when
Source = SNTP)
Monitoring
In this group, you specify whether live images are displayed in processing mode.
Table 5- 19 Monitoring
Menu command or
parameter
Possible values
Default
Description
During processing Auto
Off
On
Auto Here, you specify whether a live image is displayed
in processing mode on the "Run" page:
Off: No live image
On: Live image is displayed
Auto: Live image is displayed load-dependent
Persistence (persistent data storage)
In this group, you specify which diagnostic information you want to store permanently on the
EPROM.
Table 5- 20 Persistence
Parameter or button
Possible values
Default
Description
Save next error image Enabled
Disabled
Disabled The image belonging to the next NOK signal is
saved in the EPROM. If an image is already stored
there, it is overwritten when this function is selected.
Save next data rec-
ords
Enabled
Disabled
Disabled As soon as the function is enabled, as many diag-
nostics entries as you specify in the following input
box are saved in the EPROM. Existing entries are
deleted when you switch over to On. If the diagnos-
tics buffer in the EPROM reaches the number of
permanently storable diagnostic data records, no
further entries are made.
Note
Deleting takes several seconds.
Settings
5.2 Options
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 119
Parameter or button
Possible values
Default
Description
Number of data rec-
ords
10 ... 2 000 2 000 See "Save next data records" parameter.
Note
This input box is active only when you enable the
"Save next data records" check box.
Delete image -- -- When you click on this button, you delete an image
stored in the EPROM.
Note
This button is enabled only when there is already an
image in the EPROM.
Delete entries -- -- When you click on this button, you delete all diag-
nostics entries stored in the EPROM.
Note
This button is enabled only when there are diagnos-
tics entries in the EPROM.
Persistent storage of a bad image
While a bad image is being stored in the EPROM, it remains possible to operate the reader
and to control it from an automation system. This is, however, delayed since the storage of
image data in read-only memory can take a relatively long time.
Persistent storage of diagnostics entries
The following restrictions apply to storing diagnostics entries in the EPROM:
The processing time of the currently acquired code increases by the time required to
store the diagnostics entries. The time required to store a diagnostics entry in the
EPROM is as follows:
At an ambient temperature of 25 ºC approximately 1 ms.
At an ambient temperature of 50 ºC approximately 32 ms.
Operating the reader and controlling it from an automation system are possible, however
input is delayed.
Note
Ethernet or PROFINET connection: longer history,
The storage times shown above apply only when there is no connection over Ethernet or
PROFINET. If there is such a connection, the specified time increases and increases
more the higher the network load.
Settings
5.2 Options
SIMATIC MV500
120 Operating Manual, 06/2018, C79000-G8976-C495-01
5.2.3
Extras
In this group, you specify the additional functions you want to use for image processing.
Link up to five programs to a processing sequence
Specify special verification settings
Make CONNECT and READ settings
Program sequence
A program sequence links one to five programs to a processing sequence. You hereby have
some degree of freedom in adapting this function optimally to your application.
Note
Restriction for combination of "Program sequence" and "Multicode"
Please note the following restriction with the combination of "Program sequence" and
"Multicode" ("Program > Decoder > Multicode"): The processing of program sequences is
terminated after the first successfully processed
program. You cannot differentiate between
two programs with a different number of 1D/2D codes of the same code type.
Example
Program 1: Saved with two codes of the type "DMC"
Program 2: Saved with four codes of the type "DMC"
Program sequence 1: Contains program 1 and 2
Acquired image contains four codes of the type "DMC". Processing begins with
program 1 which has an OK result because it was possible to decode two codes.
Processing is stopped and the result output.
Settings
5.2 Options
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 121
Table 5- 21 Program sequence
Parameter
Possible values
Default
Description
Use Enabled
Disabled
Disabled Enabled: Operating mode in which attempts
are made to process one to five of the saved
programs at each trigger. You use the follow-
ing parameters to specify how images are ac-
quired and with which saved programs they
will be processed.
Disabled: Mode in which processing is per-
formed with only one saved program at each
trigger.
Result output First read result
Best read result
All read results
First read result First read result:
The programs contained in the program se-
quence are processed one after the other. Fol-
lowing the first successful processing
procedure, processing is stopped and the re-
sult is output.
Best read result:
The programs contained in the program se-
quence are processed one after the other. All
successful processing procedures are com-
pared with each other. Once all processing
procedures are completed, the best read re-
sult is output.
All read results:
All programs contained in the program se-
quence are processed one after the other. The
result is output for each program.
Quality criterion Overall quality
Symbol contrast
Axial non-uniformity
Unused error cor-
rection
L/F border violation
Minimum reflec-
tance
Overall quality When selecting result output: "Best read result",
set the comparison criterion. The "Quality" of a
result is evaluated based on the comparison crite-
rion.
Note
Only the selection "Overall quality" is valid for all
code types and verification standards.
If you want to use a different quality criterion,
make sure that this criterion is calculated with the
selected settings. You can find the supported
qualities according to verification standard at
Program format text (Page 70). If a result is com-
pared in processing mode that does not provide
the selected quality, the setting changes to the
overall quality, which can lead to unexpected
results.
Settings
5.2 Options
SIMATIC MV500
122 Operating Manual, 06/2018, C79000-G8976-C495-01
Relationships and dependencies of the parameters
Table 5- 22 Relationships and dependencies of the parameters
Menu command or
parameter
Dependency
Description
Program sequence Image acquisition > Mode If you enable program sequence "Use", the image ac-
quisition control in the template is set to "Individual trig-
ger". Programs that have been saved already and are
marked as "non-executable" or that do not use "Individ-
ual trigger" as the image acquisition control are deleted
following a prompt for confirmation.
Program sequence Image acquisition > Image buffer During activation of the "Use" program sequence, the
program with the lowest program number determines the
number of used image buffers. This number is used for
each program in the sequence. Before processing starts,
check if the number of available image buffers is suffi-
cient.
Example:
Three programs in the sequence; first program uses 10
image buffers. 3 × 10 image buffers are therefore re-
quired. The number of image buffers available for the
processing can be increased, if necessary, by reducing
the buffer size of the diagnostic image memory ("Options
> Diagnostics & monitoring > Logging > Image > Buffer
size").
Program sequence with result output "First read result" or "Best read result"
To obtain reproducible results, the programs contained in the program sequence must have
the same structure. If the programs contain a different number of decoder steps or codes for
Multicode, for example, you will get different read results. You cannot assign these different
read results.
Example
Program 1:
One decoder step, Multicode, two codes of type DMC are to be read.
Program 2:
One decoder step, Multicode, four codes of type DMC.
Program sequence 1:
Contains program 1 and 2; "First read result" or "Best read result" is to be output.
Settings
5.2 Options
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 123
In the case of result output "First read result":
Acquired image contains four codes of the type DMC. Processing begins with program 1
which has an OK result because it was possible to decode two codes. Processing is
stopped and the result output.
In the case of result output "Best read result":
Acquired image contains four codes of the type DMC. If program 1 delivers the higher
quality, a result with two DMCs is output, even though four DMCs were in the image and
were read.
Verification
In this group, you can make the settings for the quality classes and verification details.
Table 5- 23 Verification
Parameter
Possible values
Default
Description
Code quality clas-
ses
4,3,2,1,0
A,B,C,D,F
4,3,2,1,0 You set the type of representation of the quality
grades you prefer. The setting relates both to the
display in the WBM as well as to output via the
interfaces.
Verification details On
Off
On Only for data matrix verification:
On: Verification details such as cell position and
grid lines are calculated and can be displayed.
Off: No details for displaying the verification result
are calculated. This details cannot be displayed.
Note
Assignment of the code quality classes
For information on assigning the code quality classes to the quality evaluation "Good", "Fair",
and "Poor", refer to "Settings > Options > Extras".
The "A, B, C, D, F" representation is available for reasons of compatibility. The "4, 3, 2, 1, 0"
representation is normal. The selected representation has no influence whatsoever on the
result of the verification.
Settings
5.2 Options
SIMATIC MV500
124 Operating Manual, 06/2018, C79000-G8976-C495-01
Operation on device
In this group, you specify whether the buttons on the reader are enabled and which functions
are covered by the READ button.
Table 5- 24 Operation on device
Parameter
Possible values
Default
Description
CONNECT -- -- In this parameter group, you specify the functions
for the "CONNECT" button.
Allow use of
CONNECT
function
Off
On
On On: Allows starting of a fast connection to the
reader by pressing the "CONNECT" button on the
reader. As soon as the connection has been es-
tablished, this is indicated by a permanently lit
green "CONNECT" LED.
Note: If this function is executed, a DHCP server
and a DNS server are started on the reader. Both
services can result in disturbances in an existing
network and therefore must only be used in the
case of a direct connection to a programming
device/PC.
Note that the "CONNECT" function is automatical-
ly disabled (value = off) when the IP address of
the reader is changed.
Off: The "CONNECT" function is disabled as long
as an Ethernet connection exists. When pressing
the "CONNECT" button, this is signaled by the
"CONNECT" LED flashing red.
If the Ethernet connection has been terminated,
the "CONNECT" button can be pressed to estab-
lish a fast connection to the reader. To do so,
connect the reader to the PC over the Ethernet
interface after pressing the "CONNECT" button.
The connection is established immediately. As
soon as the connection has been established, this
is indicated by a permanently lit green
"CONNECT" LED.
READ -- -- In this parameter group, you specify the functions
for the "READ" button.
Allow use of
READ function
Never
Not in processing
mode
Always
Not in processing
mode
Never: The "READ" function is disabled.
Not in processing mode: The "READ" function is
only possible when the reader is not in processing
mode.
Always: The "READ" function can be executed at
any time even during processing mode.
Activate target-
ing on 1st but-
ton press
Off
On
On On: An "Orientation" LED is switched on by press-
ing the "READ" button.
You can optimally align the reader to its target
range with the help of the LED. By pressing the
button again, you stop the step and move on to
the next one.
Off: The "Orientation" LED is not switched on.
This step is skipped.
Settings
5.2 Options
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 125
Parameter
Possible values
Default
Description
Source program New
1
2
...
15
New Selection of the source program that the optical
reader normally accesses as template. With
"New", a new program with the basic settings is
used as template.
Exposure Off
On
On On: The exposure is optimized automatically. The
customized settings are saved.
Off: Exposure is not optimized. The settings
saved in the source program are applied instead.
Switch lamp
segment
Off
On
On On: When using an installed ring light, multiple
exposure scenarios are automatically run; differ-
ent LEDs are switched on/off in the process. This
may reduce reflections on shiny objects.
Off: The exposure scenarios are not run. The LED
segments set in the source program are used
instead.
Focus Off
On
On On: When using an EF lens, the focus setting is
automatically determined again.
Off: The focus is not adjusted. The focus setting
of the source program is applied instead.
Decoder Off
On
On On: Code type detection is performed automati-
cally, if there are decoder steps in the source
program.
Off: No code type detection is performed. The
decoder settings in the source program are ap-
plied instead.
Fast code type
detection
Off
On
On On: Code type detection is performed automati-
cally for the code types "DMC" and "1D codes", if
there are decoder steps in the source program.
Off: A complete code type detection is run for all
code types per decoder step.
Target program Next free program
Current program
1
2
...
15
Next free program Selection of the optical reader target program that
is overwritten by default when pressing the
"READ" button.
Settings
5.2 Options
SIMATIC MV500
126 Operating Manual, 06/2018, C79000-G8976-C495-01
Automatic data backup
In this group, you specify the settings for saving the device configuration on the micro SD
card.
Table 5- 25 Automatic data backup
Parameter
Possible values
Default
Description
Back up to a local micro SD card
After every
successful save
of a program
Enabled
Disabled
Disabled When this option is enabled, the WBM runs a
complete backup of the device configuration each
time a program is successfully saved.
Requirements: Sufficient free storage space is
available on the micro SD card. This parameter
depends on the "Memory size" parameter.
On start of
processing
mode
Enabled
Disabled
Disabled When this option is selected, the WBM runs a
complete backup of the device configuration each
time before the reader status change "Stop
Start".
Requirements: Sufficient free storage space is
available on the micro SD card. This parameter
depends on the "Memory size" parameter.
Memory space to be kept free on the micro SD card
Memory size 250 ... 1 000 000 MB 250 Specifies the memory space to be kept free on
the micro SD card.
The free memory space on the micro SD card is
checked after each backup and old data backups
may be deleted.
Settings
5.3 Security
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 127
5.3
Security
Specify a user with the "Administrator" authorization in the "Security" menu to specify rights
for the different user roles (Standard, Service, User1).
Assignment of rights
Users with the "Administrator" authorization are the only users who can assign rights. Rights
are assigned by selecting the appropriate check box in the table for the relevant role. This
defines the tasks that can be performed by users with the particular role.
Table 5- 26 Possible tasks
Parameter / Action
Description
Take control
Override the DISA signal.
Program Creating or changing programs in the "Program" menu.
Libraries
Creating or changing library elements in the "Libraries" menu.
Communication Settings in the "Communication" menu
Options
Settings in the "Options" menu
System Settings in the "System" menu and resetting all statistical information
in processing mode or in the "Diagnostics" menu
Note
Locked tasks are indicated by a padlock
If one or more tasks are disabled for a user, this is indicated on the relevant pages by a
"padlock" icon.
Note
Meaning of "Take control"
"Take control" means that the logged
-on user takes over control of the reader. Functions
requiring the DISA bit ("Change program" and "Save program") are then no longer possible
over an automation system.
If the reader is not controlled by an automation system, all other tasks (adjustment,
processing, information and stop) can always be selected. In this case, DISA is not set.
Advanced access
Advanced diagnostics and service functions can be activated for Siemens Support by
selecting the "Allow advanced access" check box. This access can only be enabled by a
logged-on user with the "Administrator" authorization and is disabled in the factory settings.
Settings
5.4 User management
SIMATIC MV500
128 Operating Manual, 06/2018, C79000-G8976-C495-01
5.4
User management
In the "User management" menu, you can switch user management on or off. If user
management is switched on, all users must log on in the login area of the WBM to be able to
make changes in the WBM.
Depending on your own user role and whether your user profile has been granted
administrator rights, you can manage "User profiles" in this menu.
User management
Click the "Switch on user management" button to activate user management. After user
management has been activated, each user must log on to the WBM in the login area.
Depending on your own user role, this dialog offers various options:
Table 5- 27 Role-related rights in the "User profiles" dialog
Role
Rights
Administrator Adding users
Deleting users (limited)
Changing the role of a user
Assigning/revoking administrator rights
Changing own password
Service, User1, Standard Changing own password
Automatic logoff
Enable the "Automatic logoff" function to ensure that a user is logged off after a specified
period of inactivity. This ensures that no one has unauthorized access to the WBM.
You can specify the time interval until automatic logoff yourself. You will be reminded about
the pending logoff in a dialog window a few seconds prior to automatic logoff.
Settings
5.4 User management
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 129
User profiles
Depending on your own user role, this dialog allows the following actions for user
management:
Table 5- 28 Actions in the "User profiles" dialog
Actions
Description
Add new user This selection allows an administrator to create new user IDs. A max-
imum total of 16 user IDs are possible. You must set the following
parameters when creating a new user:
Name
Maximum of 9 characters. The name must be unique.
Password
At least 8, maximum of 16 characters. Must contain at least one
number.
Delete This selection allows an administrator to delete existing user profiles.
Their own user profile cannot be deleted.
Edit This selection allows an administrator to edit existing user profiles.
You can assign a different role and administrator rights to user pro-
files.
Default user profiles
The following user profiles are default profiles:
WEB (role: Standard)
General user who can perform tasks without explicitly logging on.
Service (role: Service)
User1 (role: User1)
Admin (role: Standard)
Only users with administrator rights can create new users and assign rights.
Edit / change password
Note
Changing the default passwords
For security reasons, make sure that you change the original factory
-set passwords.
Use only secure passwords.
To make sure that you have access to user management and the security settings in the
future, keep the passwords in a safe place.
Settings
5.4 User management
SIMATIC MV500
130 Operating Manual, 06/2018, C79000-G8976-C495-01
The following table shows the defaults for the passwords.
Table 5- 29 Defaults for the passwords
User
Default password
WEB
WEB
Service Service
User1
User1
Admin
Admin
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 131
Device
6
6.1
Diagnostics
In the "Diagnostics" menu, you can display, delete and save diagnostic images and
diagnostic reports.
Images
In this group, you receive diagnostics information on the stored images.
Color-coded identification of the background
Images that belong to the same sequence:
The background of the "Sequence ID"/"Image ID" box is always shown in the same color.
When the read result is output, the background of the corresponding image is color-coded
in the entire row.
The following information is displayed:
A sequence ID and an image ID. In individual trigger mode, the sequence ID is
incremented with each start in processing mode, otherwise at each external trigger. The
image ID is incremented for each image and reset at the start of a new sequence.
Image acquisition time and date
Shutter Speed and Brightness
The attributes set for the image
The program sequence and the program with which the processing was performed.
The image
Table 6- 1 Images
Parameter / Action
Description
Number You can see the number of images currently in the image buffer with-
out a persistently stored image.
Open Clicking the "Open" button opens a website with all images of the
image buffer (including the one persistently stored image if you have
enabled the "with persistent" check box). Clicking on an image enlarg-
es it.
Save If you click the "Save" button, a window opens in which you can speci-
fy the format of the images of the image buffer to be saved on your
computer. If you have enabled the "with persistent" check box, the one
image stored persistently on the reader will be stored on your comput-
er.
Reset Clicking the "Reset" button deletes all images in the image buffer. A
persistently stored image is retained.
Device
6.1 Diagnostics
SIMATIC MV500
132 Operating Manual, 06/2018, C79000-G8976-C495-01
Data records
In this group, you receive diagnostics information on the data records.
Table 6- 2 Data records
Parameter / Action
Description
Number You can see the number of diagnostics events currently in the event
buffer without those stored persistently.
Contents With the following check boxes, you select the information you want to
display about the diagnostics events in the buffer:
Error: Information on the occurrence and acknowledgment (manu-
al or automatic) of errors
Note
When the "Error" check box is selected and you have selected the
"Ring" buffer type, all buffer entries are retained.
When the buffer is completely full, no further entries can be made.
To delete the buffer, you must click the "Reset" button in this case.
Results: Processing result
Image: Information on the image acquisition, for example exposure
time, brightness
States: Mode change (change to RUN, ADJUST, Self-test, etc.)
Control Change of control of the reader (control via WEB, from
CPU)
Diagnostics: Changes that affect diagnostics, for example, chang-
ing the diagnostics options or fetching a time stamp from an SNTP
server.
Open & Save Clicking the "Open & Save" button opens a website with the events of
the event buffer selected under "Contents". You can save this website
on your PC.
If you select the "with persistent" check box, the data records stored
permanently on the reader are displayed and stored on your PC.
Save as CSV When you click on the "Save as CSV" button, a dialog opens in which
you can store the events currently selected under "Contents" as a
CSV file.
If you select the "with persistent" check box, the data records stored
permanently on the reader are also entered in the CSV file.
Reset By clicking the "Reset" button, you delete all the entries in the event
buffer, including the entries relating to temporary errors. Data records
stored permanently on the reader are retained.
Device
6.1 Diagnostics
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 133
System image
In this group, you can save a complete system image in a diagnostics package.
Save diagnostics package
This button is used to save a complete system image in a diagnostics package. In addition to
diagnostics data, this diagnostics package also contains the device parameter assignment
and can be used by Support for error analysis.
Note
Do not operate reader during saving
Saving the diagnostics package can take several minutes. To ensure that the diagnostics
package is saved error
-free, do not operate the reader during saving.
Wait until the save operation of the diagnostics package has been fully completed.
If saving is terminated with the corresponding browser function, this has no influence on
the reader transfer operation: You must wait until the reader has fully transferred the
diagnostics package.
Persistent data records
In this group, you can display all diagnostics entries saved permanently on the reader and
save them.
Table 6- 3 Persistent data records
Parameter / Action
Description
Open & Save Clicking the "Open & Save" button opens a website with all the diag-
nostics entries saved permanently on the reader. You can save this
website on your PC.
Save as CSV If you click the "Save as CSV" button, a dialog opens in which you can
save the diagnostics entries saved permanently on the reader as a
CSV file.
Post-editing a CSV file with Microsoft Excel
Problem
When you open a CSV file with Microsoft Excel, depending on the Excel version you are
using, you may find that all values are displayed in a single column next to each other.
Solution
To change the data to the correct format, follow these steps:
1. Select the entire column by clicking on the column header.
2. Start the conversion wizard by selecting "Data > Text to columns ...".
3. Select the "Delimited" option button and click "Next".
Device
6.2 System
SIMATIC MV500
134 Operating Manual, 06/2018, C79000-G8976-C495-01
4. Specify the character to be used as the delimiter (for example semicolon) and the
character to be used as text qualifier (for example ").
A data preview shows you the result you can expect.
5. If you also want to specify the data format for the individual columns, click "Next" again.
6. Finally, click on the "Finish" button to convert the table to the required format.
6.2
System
In the "System" menu, you can make the following settings:
Saving, restoring and deleting settings, programs and system images
Updating firmware and resetting the reader to the delivery state
Saving and loading CustomGUIs
Note
Saving diagnostic images located in the reader memory
If you use the "Backup/save", "Restore" and "Firmware update" functions, any diagnostics
images in the memory of the reader are deleted.
If required, save the diagnostic images before you use these func
tions.
Full device configuration
Backup/save
Use this function to save all connection settings, options, saved library elements, programs
and the CustomGUI in an MV500 XML parameter file. You can save the data on the micro
SD card or on a connected PC (folder: "Favorites > Downloads").
Store the MV500 XML parameter files in a safe place.
Note
Code verification: Repeat the calibration procedure.
If you use the reader to verify code, you will need to re
-calibrate the reader. The settings for
a standard
-compliant verification cannot be transferred between different readers!
Device
6.2 System
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 135
Load
Use this function to load all connection settings, options, saved library elements, programs
and the CustomGUI from a saved MV500 XML parameter file. In doing so, you can specify
which settings you want to load and whether you want to load the file from the micro SD card
or from a connected PC.
The following table provides an overview of the parameters in the "Settings >
Communication > Interface" menu on which the enabled settings have an effect.
Table 6- 4 Effect of the enabled settings
Enabled settings
Affected parameters
TCP/IP settings Ethernet
IP mode
IP address
Subnet mask
Gateway
TCP
IP address
Port
Time limit
Archiving/MMI
IP address
Port
Time limit
PROFINET IO settings 1) Ethernet
IP mode
Host name
PROFINET IO
Device name
Time limit
Pulse time
Swap
Serial interface settings RS232
Transfer speed
Parity
Stop bits
Time limit
CM
Transfer speed
1) This setting also has an effect on the PROFINET IO I&M data that is written via the controller.
Delete
Use this function to delete existing MV500 XML parameter files stored on the micro SD card.
Device
6.2 System
SIMATIC MV500
136 Operating Manual, 06/2018, C79000-G8976-C495-01
System image
Use this function to transfer a diagnostics package to the connected PC in the event of a
problem (folder: "Favorites > Downloads"). Internal processes of the reader are saved in the
diagnostics package. The diagnostics package is required for service support by Siemens
specialists.
Version
Note
Licenses transferred to the reader with Automation License Manager
Licenses transferred to the reader with Automation License Manager (ALM) are not affected
by any of the possible management actions. The licenses
are retained in all cases and do
not have to be saved beforehand.
Firmware update
You can run a firmware update with this function. To do so, select the desired update file
(.sfw) and then click "Start update".
Note
DISA bit must not be set during the firmware update
You must make sure that the DISA bit is not set during the firmware update. This prevents
an automation system from switching the reader to RUN.
For more detailed information, refer to the HTML page that
opens.
Note
Prior to the firmware update: Saving settings and programs
All settings and programs are lost during the firmware update. Make sure that you save all
settings and programs before running an update.
Followin
g a prompt for confirmation, the reader restarts in the update mode. The reader
retains the IP address that it had when the function was activated. If applicable, the "DHCP"
IP mode is disabled for the duration of the update.
For more detailed information,
refer to the HTML page that opens.
Device
6.2 System
SIMATIC MV500
Operating Manual, 06/2018, C79000-G8976-C495-01 137
Factory settings
You can reset the optical reader to the factory settings with this function. This process will
reset all parameters to their default values. All saved programs as well as the loaded
CustomGUI are deleted and the example CustomGUI is restored.
Table 6- 5 Relationships and dependencies of the parameters
Menu command or
parameter
Dependency
Description
Settings and pro-
grams
Calibrate Remember the following if you use the reader
as a verifier:
The calibration of a reader depends largely
on the lighting used, the lens and the me-
chanical arrangement.
After restoring the settings and programs,
you must repeat the calibration operation
for all restored calibrations.
CustomGUI
Save
You can save the CustomGUI currently used in the reader to a connected PC with this
function (folder: "Favorites > Downloads").
Load
With this function, you can replace the CustomGUI currently used in the reader with a saved
CustomGUI.
Device
6.3 Adapt
SIMATIC MV500
138 Operating Manual, 06/2018, C79000-G8976-C495-01
6.3
Adapt
In the "Adapt" menu, you can display the hidden dialogs once again. Dialogs show you, for
example, that changes were successfully made. In these dialogs, you have the option of not
having the dialogs displayed in the future. You use this menu to reset the settings.
Hidden dialogs
Table 6- 6 Hidden dialogs
Button
Description
All
Click the button to display all hidden dialogs again.
Program Click the button to display all hidden dialogs again in the "Program" menu.
Verification Click the button to display all hidden dialogs again in the "Verification"
menu.
Settings Click the button to display all hidden dialogs again in the "Settings" menu.
6.4
Help
The "Help" menu includes information on the SIMATIC MV500 optical readers and the WBM
as well as links to the relevant documents and the Siemens Industry Online Support.