mechanical means, without permission in writing from Symbol. This includes electronic or
mechanical means, such as photocopying, recording, or information storage and retrieval
systems. The material in this manual is subject to change without notice.
The software is provided strictly on an “as is” basis. All software, including firmware,
furnished to the user is on a licensed basis. Symbol grants to the user a non-transferable
and non-exclusive license to use each software or firmware program delivered hereunder
(licensed program). Except as noted below, such license may not be assigned,
sublicensed, or otherwise transferred by the user without prior written co nsent of Symbol.
No right to copy a licensed program in whole or in p art is granted, except as permitted under
copyright law. The user shall not modify, merge, or incorporate any form or portion of a
licensed program with other program material, create a derivative work from a licensed
program, or use a licensed program in a network without wr itten pe rmi ssion fr om Symb ol.
The user agrees to maintain Symbol’ s copyright notice on the licens ed programs delivered
hereunder , and to include the same o n any authorized copies it makes, in whole or in p art.
The user agrees not to decompile, disassemble, decode, or reverse engineer any licensed
program delivered to the user or any portion thereof.
Symbol reserves the right to make changes to any software or product to improve reliability ,
function, or design.
Symbol does not assume any product liability arising out of, or in connection with, the
application or use of any product, circuit, or application described herein.
No license is granted, either expressly or by implication, estoppel, or otherwise under a ny
Symbol Technologies, Inc., intellectual property rights. An implied license only exists for
equipment, circuits, and subsystems contained in Symbol products.
Symbol is a registered trademark of Symbol Technologies, Inc. MCL and MCL-Designer,
are trademarks of Zetes Technologies S.A. Other product names m entioned in this manual
may be trademarks or registered trademarks o f their respective companie s and are hereby
acknowledged.
Symbol Technologies, Inc.
One Symbol Plaza
Holtsville, New York 11742-1300
MCL-Designer® is user-friendly 32-bit Windows software, which allows you to create batch
applications. It is a complete, ready-to-work application development system.
This guide contains all the necessary information requ ire d to work with MC L-Designer:
•Chapter 1, Getting Started
Introduces the design of a project. Learn how to set up the system, memory , RF,
scanner and communication settings.
•Chapter 2, Quick Tour
Teaches the basics of designing with MCL-Designer. Learn how to make a menu
and a small program, to add a process, and modify your design.
•Chapter 3, Designing a Main Menu
Shows how to create a menu depending on the designed programs.
•Chapter 4, Designing Programs
Working methods are explained. Learn how to work with programs, variables, fields
and files.
•Chapter 5, Simulating the Designed Project
Describes how to simulate the project on an integrated scanner simulator.
•Chapter 6, Downloading A Project
Explains how to download the entire project to the scanner, after it has been
created and tested.
•Chapter 7, MCL-Code Reference Guide
Provides a reference guide for MCL-Code commands.
MCL-Designer runs under Windows 95 or Windows NT with at least 16 MB RAM and
20 MB of free hard drive space. A 133 Mhz processor and 16 bit color VGA monitor are
recommended.
ix
MCL-Designer for Phaser Series User’s Guide
Notational Conventions
The following conventions are used in this documen t:
•“Operator” and “User” refer to anyone using the MCL-Designer software.
•“PC” refers to the IBM personal computer or compatible system that you are using
to develop applications.
•“Scanner” refers to various types of Symbol scanners.
•“You” refers to the administrator or person who is using this guide as a reference
aid to install, configure, or operate the software.
•Keystrokes in bold type indicate non-alphanumeric keystrokes. For example:
Select the <F1> key on the scanner to access on-line help.
•Bold type is used to identify menu items and input or text fields on a scanner
screen
•Italics are used:
•for the names of parameters in function prototypes and varia ble names in usage
and syntax descriptions
•to highlight specific items in the general text
•to identify chapters and sections in this and related documents
•Square brackets [ ] in a command line enclose optional comma nd line parameter s.
•The piping symbol (|) has the effect of “or” when it is used to separate inline
parameters on a command line; i.e., it separa tes alternative values for para meters.
•Bullets (
•action items
•lists of alternatives
•lists of required steps that are not necessarily sequential
•Sequential lists (e.g., those that describe step-by-step procedures) appear as
numbered lists.
) indicate:
Service Information
If you have a problem with your software, contact the Symbol Support Center.
x
About This Guide
Call the Support Center from a phone near the de velopment PC so that the service pe rson
can try to talk you through your problem. If the software is found to be working pr operly , the
Support Center may request a sample of your code for analysis at our plant.
Symbol Support Center
For service information, warranty information or technical assistance contact or call the
Symbol Support Center in:
United States
Symbol Technologies, Inc.
One Symbol Plaza
Holtsville, New York 11742-1300
1-800-653-5350
United Kingdom
Symbol Technologies
Symbol Place
Winnersh Triangle, Berkshire RG41 5TP
United Kingdom
0800 328 2424 (Inside UK)
+44 208 945 7529 (Outside UK)
Australia
Symbol Technologies Pty. Ltd.
432 St. Kilda Road
Melbourne, Victoria 3004
1-800-672-906 (Inside Australia)
+61-3-9866-6044 (Outside Australia)
Denmark
Symbol Technologies AS
Gydevang 2,
DK-3450 Allerod, Denmark
7020-1718 (Inside Denmark)
+45-7020-1718 (Outside Denmark)
Canada
Symbol Technologies Canada, Inc.
2540 Matheson Boulevard East
Mississauga, Ontario, Canada L4W 4Z2
905-629-7226
Asia/Pacific
Symbol Technologies Asia, Inc.
230 Victoria Street #04-05
Bugis Junction Office Tower
Singapore 188024
337-6588 (Inside Singapore)
+65-337-6588 (Outside Singapore)
Austria
Symbol Technologies Austria GmbH
Prinz-Eugen Strasse 70
Suite 3
7900 Glades Road
Suite 340
Boca Raton, Florida 33434 USA
1-800-347-0178 (Inside United States)
+1-561-483-1275 (Outside United States)
Netherlands
Symbol Technologies
Kerkplein 2, 7051 CX
Postbus 24 7050 AA
Varsseveld, Netherlands
315-271700 (Inside Netherlands)
+31-315-271700 (Outside Netherlands)
France
Symbol Technologies France
Centre d'Affaire d'Antony
3 Rue de la Renaissance
92184 Antony Cedex, France
01-40-96-52-21 (Inside France)
+33-1-40-96-52-50 (Outside France)
Italy
Symbol Technologies Italia S.R.L.
Via Cristoforo Columbo, 49
20090 Trezzano S/N Navigilo
Milano, Italy
2-484441 (Inside Italy)
+39-02-484441 (Outside Italy)
Mexico
Symbol Technologies Mexico Ltd.
Torre Picasso
Boulevard Manuel Avila Camacho No 88
Lomas de Chapultepec CP 11000
Mexico City, DF, Mexico
5-520-1835 (Inside Mexico)
+52-5-520-1835 (Outside Mexico)
Norway
Symbol Technologies
Trollasveie n 36
Postboks 72
1414 Trollasen, Norway
66810600 (Inside Norway)
+47-66810600 (Outside Norway)
xii
About This Guide
South Africa
Symbol Technologies Africa Inc.
Block B2
Rutherford Estate
1 Scott Street
Waverly 2090 Johannesburg
Republic of South Africa
11-4405668 (In s ide South Africa)
+27-11-4405668 (Outside South Africa)
Sweden
Symbol Technologies AB
Albygatan 109D
Solna
Sweden
84452900 (Inside Sweden)
+46 84452900 (Outside Sweden)
Symbol Technologies S.A.
Edificioi la Piovera Azul
C. Peonias, No. 2 - Sexta Planta
28042 Madrid, Spain
9-1-320-39-09 (Inside Spain)
+34-9-1-320-39-09 (Outside Spain)
Spain
If you purchased your Symbol product from a Symb ol Bus ine ss Par tn er, contact that
Business Partner for service.
xiii
MCL-Designer for Phaser Series User’s Guide
xiv
Chapter 1
Getting Started
Installation
MCL Designer is part of the MCL Collection of software. It can be installed separately or as
part of the whole MCL Collection series. To install MCL Designer:
1. Insert the MCL-Collection CD-ROM disk into the CD-ROM drive.
2. Click the Start button on the task bar.
3. Select Run.
4. Type D:\mcl.exe. and click OK (replace D: with the CD-ROM drive letter).
5. Click Finish when the introductory screen appears.
6. Click Yes to accept the license agreement.
7. Click Next to accept the default directory or click Browse to select a different
directory. Click OK, then Next.
8. Click Next to install all the MCL programs, or select MCL Designer and de-select
all the other options.
9. Click Next to accept the MCL program folder.
10. Setup installs the selected programs onto the hard drive. A screen that monitors
the progress appears. When installation is complete, click Finish.
1-1
MCL-Designer for Phaser Series User’s Guide
About MCL-Designer
Introduction
MCL-Designer is a Windows based development tool that generates MCL-Code programs
that can be downloaded to the scanner and executed by the MCL-Code runtime inst alled
on the scanner.
Operator Usage
The program development can be divided into three steps:
1. designing the program
2. simulating the program on a PC
3. downloading the program to the scanner.
MCL-Designer Features
MCL-Designer offers a number of features, which en ab le yo u to desig n :
•total project designs
•main menu
•eight programs with 32 screens per program
•eight local data files (for capture and look up functions)
•103 variables for temporary data storage
•full data input (keyboard, bar code) control
•generated MCL-Code source file
•full paper report on the project
•full graphic simulator.
1-2
Getting Started
Starting MCL Designer
To start the MCL Designer program, double-click on the MCL Designer icon on the
Windows desktop or:
1. Click on the Start button on the Task bar.
2. Select Programs.
3. Select MCL.
4. Select MCL Designer. The MCL Designer window appears.
Setting up a New Project
Before designing programs, you must create a project. A project can contain a maximum
of eight programs. Refer to Chapter 4, Designing Programs for information on designin g
programs. To set up a project:
1. In the MCL Designer window, click on the Project tab.
Figure 1-1. MCL Designer Window
1-3
MCL-Designer for Phaser Series User’s Guide
Note:If you want to keep notes about the project, click the Notes button.
Table 1-1. Button Bar Descriptions
ButtonNameDescription
NewStart s a new project.
OpenOpens an existing project.
SaveSaves the current project.
TrashDeletes a project.
SimulateStarts project simulation.
VerificationVerifies a project. This process check maintains a coherence
between programs, files and the setup. Clicking this button
gives you an error report on screen and files.
PrintEnters print definitions. Refer to Chapter 4, Designing
Programs.
SendSends the project to the scanner. Refer to Chapter 6,
Downloading A Project.
CheckAccepts entered information or steps.
HelpOpens the On-Line Help file.
CancelTerminates the current operation or closes a dialog box or
window.
2. Choose New from the File menu or click .
3. In the Project Name field, Enter a project name.
4. Click to accept the project name.
1-4
Getting Started
Scanner Setup
T o set up the scanner information, click on in the Project tab. The Phaser Setup
dialog box appears.
The Phaser Setup dialog box allows you to configure:
•the Phaser model
•the version of firmware in the Phaser
•system settings
•the mapping of the data file memory
•the scanner
•the RS232 settings.
1-5
MCL-Designer for Phaser Series User’s Guide
The Phaser Setup dialog box contains fields to change the settings of the scanner.
ModelSets the Phaser model for which you are designing the
project. Click on the list box to select the available
model.
FirmwareSets the firmware version number. Click on the list box
to select the version number.
SystemSets the system settings. Click on the System button to
open the Phaser System Setup dialog box.
Memory (P360/P460
Memory Scanner)
Sets the amount of memory the scanner is configured
with. Click on the Memory button to open the Memory
Mapping dialog box.
ScannerSets the default decode parameters. Click on the
Scanner button to open the Scanner Setup dialog box.
RS232Sets the RS232 settings. Click on the RS232 button to
open the Phaser RS232 Setup dialog box.
•Click to accept the default setting
or
•Enter the appropriate information to change the values and click to apply the
changes.
•Click to close the dialog box without saving the changes.
1-6
Getting Started
System Setup
T o set up the scanner’s system click on the System button. The Phaser System Setup dialog
box allows you to set up the configuration of the system (Figure 1-3).
Figure 1-3. Phaser System Setup Dialog Box
Phaser System Setup dialog box contains fields to change the settings of the system.
Date FormatSets the format for the date that is used in the scanner .
Click on the list box to display the available options.
Time FormatSets the format for the time that is used in the scanner .
Click on the list box to display the available options.
DecimalSets the decimal number format to either a comma or
a period. Click the appropriate radio button to change
the setting.
Beeper VolumeSets the beeper volume to high, medium or low , or to a
keyboard click sound when data is entered. Click on
the appropriate radio button to change the setting.
Power Save TimeSets the amount of time that the scanner is not in use
before the scanner enters the sleep-mode. Use the
arrow buttons to select the time in seconds.
1-7
MCL-Designer for Phaser Series User’s Guide
•Click to accept the default setting
or
•Enter the appropriate information to change the values and click to apply the
changes.
•Click to close the dialog box without saving the changes.
Memory Mapping
To set up the data file memory allocation, click on the Memory button on the Phaser Setup
dialog box (Figure 1-2). The Memory Mapping dialog box appears.
1-8
Figure 1-4. Memory Mapping Dialog Box
Getting Started
Memory SizeSets the amount of memory the scanner is configured
with. Click the appropriate radio button to change the
setting.
Data File Memory
Allocation
Size KB (A - H)Sets the amount of memory to be allocated to ea ch data
file.
Available MemoryDisplays the total memory available.
Allocated MemoryDisplays the total amount of memory allocated to the
data files.
•Click to accept the default sett ing
or
•Enter the appropriate information to change the values and click to apply the
changes.
•Click to close the dialog box without saving the changes.
Note:As a general rule, allocate as much room as possible for each data
capture file. If a project has look-up files and a capture file, first
allocate the necessary amount of memory to the look-up file, and
then allocate all remaining memory availa b le to the ca pt ur e file.
Also, if there are multiple capture files, divide all of the available
memory among the capture files in proportion to their expected
relative sizes. Thus, if one file (e.g., transfer items) is expected to
contain only 10% as much data as another file (e.g., received items),
allocate 10 times more memory to the larger file than to the smaller
file. These steps will help to maximize the life of the flash memory by
minimizing the number of write operations to any given memory
block.
1-9
MCL-Designer for Phaser Series User’s Guide
Scanner Setup
To configure the default decode parameters, click on the Scanner button in the Setup dia log
box. The Scanner Setup dialog box allows you to specify the bar code types and certain
parameters for the scanner.
Figure 1-5. Scanner Setup Window - General Tab
Enable Symbology
Decoder
Laser On TimeoutSets the Laser On Timeout period (1-10 seconds).
1-10
Sets the specific type of Symbology Decoder. Click the
appropriate check box to enable the selected decode
type.
Getting Started
Linear Security LevelSets the Linear Security Level, which determines how
many times a code must be successfully read before
being decoded.
Bi-directional
Redundancy
Enables or disables Bi-directional Redundancy. This
parameter is only valid when a Linear Security Level
has been enabled. When this parameter is enabled, a
bar code must be successfully scanned in both
directions (forward and reverse) before being decoded.
Beep on Good Decode Enables or disables an audible beep when a good
decode is achieved.
Add Code IDAllows adding a Code ID (Symbol or AIM), or no Code ID
(None).
•Click to accept the default sett ing
or
•Enter the appropriate information to change the values and click to apply the
changes.
•Click to close the dialog box without saving the changes.
1-11
MCL-Designer for Phaser Series User’s Guide
UPC/EAN Tab
T o set up the UPC/EAN options, click on the UPC/EAN t ab in the Scanner Setup dialog box.
1-12
Figure 1-6. Scanner Setup Window - UPC/EAN Tab
UPC Settings
Transmit Check
Digit
System Character
Preamble
Country Code
Preamble
Sets which UPC bar codes are transmitted with or
without check digits. Click the appropriate check box to
enable check digits with UPC-A, UPC- E and/or UPC-E1.
Sets which UPC bar codes are deco ded with or without
system character preamble. Click the appropriate check
box to enable system character preamble for UPC-A,
UPC-E and/or UPC-E1.
Sets which UPC bar codes are deco ded with or without
country code preamble. Click the appropriate check box
to enable country code preamble for UPC-A, UPC-E
and/or UPC-E1.
Getting Started
Convert to UPC-AConverts UPC-E and/or UPC-E1 to UPC-A format. Click
the appropriate check box to convert to UPC-A format.
EAN/UPC Settings
EAN-8 Zero Extend Sets EAN-8 Zero Extend option. If this parameter is
enabled, five leading zeros are added to decoded EAN8 symbols to make them compatible in format to EAN-13
symbols. Click on the check box to enable EAN-8 Zero
Extend.
EAN-8 to EAN-13
Type
Enable Bookland
EAN
Enables EAN-8 to EAN-13 option. Click on the check
box to enable EAN-8 to EAN-13 option.
Enables Bookland EAN option. Click on the check box to
enable Bookland EAN.
UPC SecuritySets the UPC security level (0-3).
SupplementalsSets whether the UPC/EAN bar codes are decoded with
or without supplemental characters. If Ignore Supp. is
selected, the UPC/EAN is decoded and the
supplemental characters ignored. If Decode Supp. only
is selected, UPC/EAN symbols without supplemental
characters are not decoded. An autodiscriminate (Auto-
d) option is also available. If this option is selected,
choose an appropriate Redundancy value. A value of 5
or more is recommended.
RedundancySets Redundancy value (2-20). This option adjusts the
number of times a symbol without supplementals is
decoded before transmission.
•Click to accept the default sett ing
or
•Enter the appropriate information to change the values and click to apply the
changes.
•Click to close the dialog box without saving the changes.
1-13
MCL-Designer for Phaser Series User’s Guide
Code 39 Tab
To set up the Code 39 options, click on the Code 39 tab in the Scanner Setup dialog box.
Figure 1-7. Scanner Setup Window - Code 39 Tab
Code 39 SettingsSets the format for Code 39 bar codes. Click the
appropriate check box to change the setting.
Check DigitSets the Check Digit options for Code 39 bar codes.
When enabled, the Verify Code 39 Check Digit
parameter checks the integrity of a Code 39 symbol to
ensure it complies with specified algorithms. When
selected, the Transmit Check Digit selection allows you
to transmit the check digit with the data. Click the
appropriate check box to change the setting.
TriopticSets the Trioptic options for Code 39 ba r codes. T rioptic
Code 39 symbols always contain six characters. Click
the appropriate check box to change the setting.
1-14
Getting Started
Note:Trioptic Code 39 and Code 39 Full ASCII cannot be enabled
simultaneously . If you get an error beep when enabling T rioptic Code
39, disable Code 39 Full ASCII and try again.
•Click to accept the default sett ing
or
•Enter the appropriate information to change the values and click to apply the
changes.
•Click to close the dialog box without saving the changes.
Others Tab
To set up the options of Other types of bar codes, click on the Others tab in the Scanner
Setup dialog box.
Figure 1-8. Scanner Setup Window - Others Tab
1-15
MCL-Designer for Phaser Series User’s Guide
Code 128 SettingsSets the options for Code 128 bar codes. Click the
appropriate check box to change the settings.
CODABAR SettingsSets the options for Codabar bar codes. When CLSI is
enabled, it strips the start and stop characters and
inserts a space after the first, fifth, and tenth characters
of a 14-character Codabar symbol. When Notis is
enabled, it strips the start and stop characters from
decoded Codabar symbol. Click the appropriate check
box to change the settings.
Code 11 SettingsSets the options for Code 11 bar codes. Click the
appropriate check box to change the settings.
Interleaved 2 of 5
settings
Sets the options for Interleaved 2 of 5 bar codes. Click
the appropriate check box to change the settings.
MSI SettingsSets the options for MSI bar codes. Click the appropriate
check box to change the settings.
•Click to accept the default setting
or
•Enter the appropriate information to change the values and click to apply the
changes.
•Click to close the dialog box without saving the changes.
1-16
Getting Started
Phaser RS232 Setup
T o set up the RS232 communication settings, click on the RS232 button in the Phaser Setup
dialog box (Figure 1-2). The Phaser RS232 Setup dialog box will appear.
Figure 1-9. Phaser RS232 Setup Window
SpeedSets the speed (baud rate) of the RS-232 port. Baud rate
is the number of bits of data transmitted per second . The
scanner's baud rate setting should match the data rate
setting of the host device. If not, data may not reach the
host device or may reach it in distorted form. Click on the
list box to select the RS-232 port speed.
ParitySets the type of parity (none, odd, even, mark or space).
Click on the list box to display the parity options.
NoneIf no parity is required, select NONE.
EvenIf you select EVEN p arity, the parity bit has a value 0 or
1, based on data, to ensure than an even number of 1
bits are contained in the coded character.
OddIf you select ODD parity, the parity bit has a value 0 or 1,
based on data, to ensure than an odd number of 1 bits
are contained in the coded character.
MarkIf you select MARK parity, the parity bit is always 1.
SpaceIf you select SPACE parity, the parity bit is always 0.
1-17
MCL-Designer for Phaser Series User’s Guide
Data Bi tsSets the number of data bits for the RS-232 port. Click
the appropriate radio button to change the setting.
Stop BitsSets the number of stop bits for the RS-232 port. The
stop bit(s) at the end of each transmitted character
marks the end of transmission of one character and
prepares the receiving device for the next character in
the serial data stream. Click the appropriate radio button
to change the setting.
Software H.Selects the Software Handshaking type to be asserted.
Click on the list box to select the software handshaking
desired.
NoneWhen this option is selected, data is transmitted
immediately.
XON/XOFFWhen this option is selected, an XOFF character turns
the scanner transmission off until the scanner receives
an XON character. If XOFF is received before the
scanner has data to send, the scanner waits up to 2
seconds for an XON character before transmission. If
the XON character is not received within this time, the
scanner issues an error indication and discards the
data. If XOFF is received during a transmission, data
transmission stops after send ing the current byte. When
the scanner receives an XON character , it sends the rest
of the data message. The scanner waits indefinitely for
the XON character.
ACK/NAKWhen this option is selected, after transmitting data, the
scanner expects either an ACK or NAK response from
the host. Whenever a NAK is received, the scanner
transmits the same data again an d waits for either an
ACK or NAK. After three unsuccessful attempts to send
data when NAKs are received, the scanner issues an
error indication and discards the data.
1-18
The scanner waits up to the programmable Host Serial
Response Timeout to receive an ACK or NAK. If the
scanner does not get a response in this time, it issues
an error indication and discards the data. There are no
retries when a timeout occurs.
Getting Started
ENQ OnlyWhen this option is selected, the scanner waits for an
ENQ character from the host before transmitting data. If
an ENQ is not received within 2 seconds, the scanner
issues an error indication and discards the data. The
host must transmit an ENQ character at least every 2
seconds to prevent transmission errors.
ACK/NAK with ENQ Combines the ACK/NAK and ENQ options.
Hardware H.Selects the Hardware Handshaking type to be asse rted.
Click on the list box to select the hardware handshaking
desired.
NoneSelect None if no hardware handshaking is desired.
StandardSelects standard RTS/CTS hardware handshaking.
Option 1When RTS/CTS Option 1 is selected, the scanner
asserts RTS before transmitting and ignores the state of
CTS. The scanner deasserts RTS when the
transmission is complete.
Option 2When RTS/CTS Option 2 is selected, RTS is always
high or low. However, the scanner waits for CTS to be
asserted before transmitting data. If CTS is not asserted
within 2 seconds (default), the scanner issues an error
indication and discards the data.
Option 3When RTS/CTS Option 3 is selected, the scanner
asserts RTS prior to any data transmission, regardless
of the state of CTS. However , the scanner waits fo r CTS
to be asserted before transmitting data. If CTS is not
asserted within 2 seconds (default), the scanner issues
an error indication and discards the data. The scanner
deasserts RTS when transmission is complete.
Host RS-232Selects the Host type of the RS-232 port. Click on the list
box to select the Host type.
Beep on BellEnables or disables the Beep on Bell option. When
enabled, the scanner issues a beep when a bell
character is detected on the RS-232 line. Click on the
check box to select or deselect the option.
1-19
MCL-Designer for Phaser Series User’s Guide
Parity CheckEnables or disables the Parity Check option. Click the
appropriate radio button to enable or disable parity
check.
RTS StateSets the idle state of the Serial Host RTS line to low or
high. Click the appropriate radio button to change the
setting.
Intercharacter DelaySets the Intercharacter Delay (in 100 msec intervals).
The intercharacter delay gives the host syste m tim e to
service its receiver and perform other tasks between
characters. Click the arrow box to select the desired
delay.
Response TimeoutSets the Response Timeout (in 100 msec intervals).
This parameter specifies how long the scanner waits for
an ACK, NAK or CTS before determining that a
transmission error has occurred.Click the arrow box to
select the desired timeout.
•Click to accept the default setting
or
•Enter the appropriate information to change the values and click to apply the
changes.
•Click to close the dialog box without saving the changes.
1-20
Getting Started
MCL-Designer Setup
To set up the MCL-Designer program, choose Designer Setup from the Tool menu. The
MCL Designer Setup dialog box (Figure 1-10) appears:
Figure 1-10. MCL Designer Setup Window
Project LibrarySelect the project library directory.
Simulator Station IDSets the scanner ID in simulation mode. Use the up
and down arrow to set the station ID number.
Data files DirectorySelect the directory to store the data files during
simulation. Type the directory path in the text box.
Assign Aux Port toThis field allows you to assign the terminal’s auxiliary
port to a PC communication port (COM1 - COM4).
Simulation Startup
Options
Sets the simulation options at start-up. Click the
appropriate check box to:
• Delete capture files when starting the simulator.
• Start the simulation in step by step mode.
•Click to accept the default sett ing
or
•Enter the appropriate information to change the values and click to apply the
changes.
•Click to close the dialog box without saving the changes.
1-21
MCL-Designer for Phaser Series User’s Guide
1-22
Chapter 2
Quick Tour
Quick Tour takes you through the step s req uired to design a simple project u sing the MCL
Designer program. The steps include:
•setting up the project
•creating a menu
•creating a small program
•saving the project
•simulating the project
•editing the project design.
Project Setup
Before designing a new project, you must first set up the project: To set up a project:
1. Click on the Project tab in the MCL Designer window.
2. Click to create a new project.
3. In the Project text box, enter: QTOUR.
4. Click to accept the proje ct name.
2-1
MCL-Designer for Phaser Series User’s Guide
Figure 2-1. MCL Designer Window - Project Tab
5. Click to add information about the project. The Notes window appears:
Figure 2-2. Notes Window
6. In the Author text box, type: My Name.
7. In the Notes text box, type: Quick Tour.
8. Click to accept the infor ma tio n.
2-2
Quick Tour
9. In the MCL Designer window, click to specify the settings for the
scanner.
10. Click on the Phaser Model list box to select the scanner type. Select P360/P460
Memory Scanner.
11. Select the firmware version. Select MCL Ver 2.xx.
Figure 2-3. Phaser Setup Screen
12. Click to accept the infor ma tio n.
2-3
MCL-Designer for Phaser Series User’s Guide
Menu Setup
To create a short menu for your designed project:
1. In the MCL Designer window, click on the Main tab. The Main Tab window appears.
Figure 2-4. MCL Designer Window - Main Tab
2. Click on the Main Program button. The Program Designer QTOUR/MAIN screen
appears.
Figure 2-5. Program Designer Window - QTOUR / MAIN
2-4
Quick Tour
3. Click to display the Display Text dialog box.
4. In the Display Text box, type: QTOUR MAIN MENU.
5. Choose the Normal radio button to display black text on a white background.
6. Click on the desired check boxes for beep options.
Figure 2-6. Display Text Dialog Box
7. Click to accept the information.
8. A cursor with pages attached appea rs on the screen. Position the cursor on the first
line in screen 1.
9. Click the left mouse button to place the text box on the screen.
10. To edit text in the Main User Menu screen, double-click on the text. The Display
Text dialog box appears with the selected text. The text can then be edited.
2-5
MCL-Designer for Phaser Series User’s Guide
Display Variable
1. Click to display the Display Variable dialog box.
Figure 2-7. Display Variable Dialog Box (Date)
2. Click on the Display Variable list box and select System Date.
3. Click on the desired check boxes for beep options.
4. Click to accept the information.
5. A cursor, with pages attached, appears on the Menu Screen. Position the cursor
over the second line in screen 1, to the extreme left.
6. Click the left mouse button to place the text box on the screen.
7. Click to display the Display Variable dialog box again.
8. Click on the Display Variable list box and select Time HH:MM.
9. Select the desired format, length on screen and beep options.
2-6
Quick Tour
Figure 2-8. Display Variable Dialog Box (Time)
1. Click to accept the information.
2. A cursor , with pages attached, appears on the Menu Scr een. Position the cursor to
the right of the date.
3. Click the left mouse button to place the text box on the screen.
Display Text
1. Click to switch to Screen 2.
2. Click to display the Display Text dialog box.
2-7
MCL-Designer for Phaser Series User’s Guide
3. In the Display Text box, type: F1. SCAN DATA.
Figure 2-9. Display Text Window
4. Click to accept the information.
5. A cursor, with pages attached, appears on the Menu Screen. Position the cursor
over the first line in screen 2.
6. Click the left mouse button to place the text box on the screen. Figure 2-10
illustrates screen 1 of the Menu Screen at this time.
2-8
Figure 2-10. Menu Screen
Quick Tour
Menu Options
1. Click to set the scanner menu keys. The Menu List dialog box (Figure 2-11)
appears.
Figure 2-11. Menu List Window
2. In the Menu Options area, type SCAN DATA.
3. In the Shortcut area, click on the list box and select F1.
4. In the Goto Program area, click on the list box and select S02 - SCREEN 2. This
enables the SCAN DATA program to run when the F1 key is pressed.
5. Click to accept the information.
6. The Menu design is complete and a program can now be designed.
2-9
MCL-Designer for Phaser Series User’s Guide
Designing a Program
This section provides the steps required to cr eate a small program. This program allows the
operator to enter a barcode and input keyboard data.
1. In the MCL Designer window, click the Main tab.
Figure 2-12. MCL Designer - Main Tab
2. Click on the Main Program button for the first Program (1). The Program Designer
window (Figure 2-13) appears.
2-10
Quick Tour
Figure 2-13. Program Designer Window
Display Text - Screen 1
1. In the Program Designer window, click to display the Display Text dialog box
(Figure 2-14).
2. In the Display Text box, type: SCAN BARCODE.
Figure 2-14. Display Text Dialog Box
2-11
MCL-Designer for Phaser Series User’s Guide
3. Click to accept the information.
4. A cursor, with pages attached, appears on the Menu Screen. Position the cursor
over the first line.
5. Click the left mouse button to place the text box on the screen.
Display Text - Screen 2
1. Click to switch to Screen 2.
2. Click to display the Display Text dialog box.
3. In the Display Text box, type: Code:.
Figure 2-15. Display Text Dialog Box
4. Click to accept the information.
5. A cursor, with pages attached, appears on the Menu Screen. Position the cursor
over the left side of the first line in Screen 2.
6. Click the left mouse button to place the text box on the screen.
2-12
Barcode Input
1. Click to open the Barcode In put dialog box.
Quick Tour
Figure 2-16. Barcode Input Dialog Box - Input Tab
2. In the Input tab, click on to open the Variables dialog box.
Figure 2-17. Variables Dialog Box
3. Click on the A0 cell and in the Variable Name column, type: CODE.
2-13
MCL-Designer for Phaser Series User’s Guide
4. Click to accept the information.
5. In the Select Entry Type(s)area, click on the UPC -A, UPC-E0, UPC-E1, EAN 13, EAN 8, PDF 417 and Keyboard check boxes.
6. In the Input Length area, select 1 for Minimum and 13 for Maximum
7. In the Option area, click on the Numeric only check box.
8. In the Validation area, click on the Auto Enter radio b utton to allow barcode in put s
without clicking the Enter key.
Hot Keys
1. In the Barcode Input dialog box, choose the Hot Keys tab.
Figure 2-18. Barcode Input Dialog Box - Hot Keys Tab
2. In the Other Keys area, click on the Clear list box and select Exit.
3. Click to accept the information.
4. A cursor, with pages attached, appears on the screen. Position the cursor to the
right of the word CODE in the first line in Screen 2.
5. Click the left mouse button to place the text box on the screen.
2-14
Display Text - Screen 3
1. Click to switch to Screen 3.
2. Click to display the Display Text dialog box.
Figure 2-19. Display Text Dialog Box
Quick Tour
3. In the Display Text box, type: Qty:.
4. Click to accept the information.
5. A cursor , with pages attached, app ears on the screen. Position the cursor over the
left side of the first line in Screen 3.
6. Click the left mouse button to place the text box on the screen.
2. In the Input tab, click to open the Variables dialog box.
Figure 2-21. Variables Window
3. Click on the A1 cell and in the Variable Name column, type: QTY.
4. Click to accept the information.
5. In the Input Type area, click on the Numeric radio button.
6. In the Default Value area, type: 1.
2-16
Quick Tour
7. In the Input Length area, select 1 for Minimum and 5 for Maximum.
8. In the Field Validation area, click on the Enter Key radio button to allow the next
input only after pressing the Enter key.
9. Click to accept the information.
10. A cursor, with pages attached, appears on the screen. Position the cursor to the
right of the word QTY: in the first line in Screen 3.
11. Click the left mouse button to place the text box on the screen.
Adding a Process
1. Click (Process Out) to add a process. The Process Designer dialog box appears.
Figure 2-22. Process Designer Dialog Box
2. Click to insert a goto line. The Goto dialog box appears.
Figure 2-23. Goto Dialog Box
3. In the Go To list box, select Current Screen.
4. Click to accept the information.
5. The Goto Process appears in the first line on the Proces s Out dialo g bo x.
6. Click to accept the information.
2-17
MCL-Designer for Phaser Series User’s Guide
Screen Description
1. To insert a description of the screen, click to display the Screen Description
dialog box.
Figure 2-24. Screen Description Dialog Box.
2. In the Screen Name text box, type: SCAN BARCODE.
3. Click to accept the information.
Figure 2-25 shows Screen 1 of the program that was just designed.
2-18
Figure 2-25. Program Designer Window - Screen 1
Figure 2-26 shows Screen 2 of the program that was just designed.
Figure 2-26. Program Designer Window - Screen 2
Figure 2-27 shows Screen 3 of the program that was just designed.
Quick Tour
Figure 2-27. Program Designer Window - Screen 3
2-19
MCL-Designer for Phaser Series User’s Guide
Saving Your Design
After creating the program design, it must be saved. To save your design, choose Save, or
Save As from the File menu, or click .
Simulating and Testing Your Design
After the program is designed and saved, it can be tested using the simulator. To test the
program:
1. In the MCL Designer window or the Program Designer window , click to display
the Simulator window. This window displays the first Menu screen that was
designed with Quick Tour.
2-20
Figure 2-28. Simulator Window
Quick Tour
2. In the Simulator window, click the FUNC and th e 1 keys with the left mouse button,
or press the F1 key on the computer to start the program simulation.
Figure 2-29. Simulator Window - Code Screen
3. Using the computer keyboard, enter the code and press ENTER. The next
simulator window appears (Figure 2-30).
2-21
MCL-Designer for Phaser Series User’s Guide
Figure 2-30. Simulator Window - Quantity Screen
4. Using the computer keyboard, enter the quantity and press ENTER.
Now that the simulation of the program was successful, it can be downloaded to the
scanner. Refer to Chap ter 6, Downloading A Project for pro cedures on how to download a
program to a scanner.
2-22
Quick Tour
Editing Your Design
Here are some additional items to work with to edit your design.
•If you want to open a project, choose Open from the File menu or .
•If you want to delete an entire project, click and confirm.
•To delete or modify the menu:
•To delete a field, click on the field and press the delete key on the keyboard.
•To modify a field, double-click on the field and type its value.
•To delete, rename, copy or import a program, click on th e Program Tab. Then click
with your left mouse button on a specific progra m name. A menu pop s up with the
options to:
•Edit, which has the same function as .
•Remove, to place the program temporarily away.
•Copy, to copy the program to another place.
•Rename, to give the program another name.
•Import, to insert a saved program into a selected program slot.
•To modify a designed screen:
•To delete a field, click on the field and press the delete key on the keyboard.
•To modify a field, double-click on the field and type its value.
These are only a few basics to modify your design . If you need to know more about editing
and modifying, refer to Chapter 4, Designing Programs.
2-23
MCL-Designer for Phaser Series User’s Guide
2-24
Chapter 3
Designing a Main Menu
How to Create a Main Menu
A menu is like a table of contents for programs designed within your project. The operator
can select a program to work with from this menu screen. Designing a menu consists of
placing text and variables on the screen and setting up scanner keys to activate stored
programs.
Adding Text to the Menu
To place text on the menu screen:
1. In the MCL Designer window, click on the Main t ab. The Main tab win dow appears.
3-1
MCL®-Designer for Phaser Series User’s Guide
Figure 3-1. MCL Designer - Main Tab
2. Click on the Main Program button. The Program Designer SAMPLE / MAIN screen
appears.
Figure 3-2. Program Designer Window - SAMPLE / MAIN
3-2
Designing a Main Menu
3. Click to add text. The Display Text dialog box appears.
Figure 3-3. Display Text Dialog Box
4. In the Display Text field, type in some text (e.g., Main Menu).
5. Click on the Normal radio button if you want black text on a white screen, or on the
Reverse radio button if you want white text on a black screen. For this example
click on Normal.
Note:To add spaces in reverse mode, use the underscore character.
Example: _Main Menu_
6. Click on the desired check boxes to select beep options.
7. Click to accept the information.
8. A cursor, with pages attached, appears on the screen. Position the cursor in the
extreme left side of the first row in screen 1.
9. Click the left mouse button to place the text box on the screen.
10. Repeat steps 3 through 7, to enter the text “F1. Program 1” in normal mode.
11. Position the cursor in the extreme left side of the second row in screen 1.
3-3
MCL®-Designer for Phaser Series User’s Guide
12. Click the left mouse button to place the text box on the screen.
Figure 3-4. Placing Text on the Screen
Adding Variables to the Menu
To insert variables, such as a date, a time, etc. in the menu screen:
1. Click to add a variable. The Display Variable dialog box appea rs.
3-4
Figure 3-5. Display Variable Window
Designing a Main Menu
2. Click on the Display Variable list box and select: System Date.
3. Click on the Normal radio button to set black text on a white background.
4. Click to accept the information.
5. A cursor, with pages attached, appears on the screen.
6. Position the cursor in the first row, next to the words MAIN MENU.
7. Click the left mouse button to place the text box on the screen.
Figure 3-6. Variable Placed on the Screen
3-5
MCL®-Designer for Phaser Series User’s Guide
Setting Menu Options
Special keys on the scanner can be specified when working with the Menu. To set these
keys, click on the MCL Designer screen. The Menu List dialog box appears:
Figure 3-7. Menu List Screen
Column WidthSets the number of characters in the function name to be
displayed on the menu screen. The maximum is 20.
Default PositionSets the default position of the characters to be displayed on the
menu screen (1-8).
Up/Down Key ModeSets the up/down key mode to either scrolling or rolling.
Menu OptionsSets the menu option names entered.
ShortcutSets the programs to start either with the Function Keys
(F1,F2,...) or Numeric Keys (1,2,...). F1 or 1 start s Program 1, F2
or 2 starts Program 2, etc.
Goto ProgramSets the action to be performed, or program screen to be started.
•Click to accept the default setting
or
•Enter the appropriate information to change the values and click to apply the
changes.
•Click to close the dialog box without saving the changes.
3-6
Chapter 4
Designing Programs
Each project can contain up to eight programs. Programs are designed using the Program
Designer window. In each program you create a set of screens, variables and processes
that perform specific functions on your scanner.
Main Program Window
The Program Designer window is the workplace for designing programs. To start the
Program Designer, click on the Programs tab in the MCL Designer window.
Figure 4-1. MCL Designer Window - Programs Tab
4-1
MCL-Designer for Phaser Series User’s Guide
Click on next to one of the programs. The Program Designer window opens (Figure 4-
2). Table 4-1 lists the buttons available and a description of each.
Figure 4-2. Program Designer Window
Table 4-1. Button Descriptions
ButtonNameDescription
NewCreates a new program. Corresponds to the New item in the File
menu.
OpenOpens an existing program. Corresponds to the Open item in the File
menu.
SaveSaves a program. Corresponds to the Save item in the File menu.
CutCuts a field (text, variable) from the screen. Corresponds to the Cut
item in the Edit menu.
CopyCopies a field on a screen. Corresponds to the Copy item in the Edit
menu.
PastePastes what was cut or copied onto the screen. Corresponds to the
Paste item in the Edit menu.
4-2
Table 4-1. Button Descriptions (Continued)
ButtonNameDescription
Duplicate FieldDuplicates a field on the screen. Corresponds to the Duplicate it em in
the Edit menu.
UndoUndoes the last action. Corresponds to the Undo item in the Edit
menu.
RedoRedoes an undone action. Corresponds to the Repeat item in the Edit
menu.
Duplicate Screen Copies a screen of the program to the same or another program.
InsertInserts a new screen.
MoveMoves a screen to another location.
DeleteDeletes a screen.
Designing Programs
Variable ListDisplays a list with all the variables in the project.
ViewDisplays a general view of all the screens.
SimulateSimulates the project design.
AcceptAccepts the entered information.
HelpOpens the On-Line Help file.
CancelCancels the current operation.
4-3
MCL-Designer for Phaser Series User’s Guide
Table 4-1. Button Descriptions (Continued)
ButtonNameDescription
NotesClick this button to type notes about the screens. Refer to Screen
Description on page 4-5.
Display TextClick this button to enter text.
Display VariableClick this button to enter a variable like date, time,...
Input KeyboardClick this button to enter a keyboard variable.
Input BarcodeClick this button to enter a barcode variable.
Choice MenuClick this button to edit menu list options.
Choice InputClick this button to edit input list options.
4-4
Process InClick this button to add a process before the current screen.
Process OutClick this button to add a process after the current screen.
First ScreenDisplays the first screen of the program.
Previous Screen Displays the previous screen.
Next ScreenDisplays the next screen.
Last ScreenDisplays the last screen of the program.
Designing Programs
Screen Description
Each screen can have a descriptive name associated with it. To assign a name to a screen,
click to display the Screen Description dialog box (Figure 4-3).
Figure 4-3. Screen Description Dialog Box
The Screen Description dialog box displays and sets the screen description. These settings
are contained in two text boxes and two check boxes.
Screen NameEnter a description of the current screen. This name appears above the
main screen in the Program Designer window.
Start With Clear
Screen
Start With Beep If selected, enables the scanner to emit a beep when entering the screen.
NotesAllows the user to write comments about the program being designed.
Determines if the previous screen remains or if the screen becomes blank.
If Clear Screen check box is selected, the screen becomes blank. If the
Clear Screen check box is de-selected, the previous screen will remain.
This allows an overlap between screens.
•Click to accept the default setting
or
•Enter the appropriate information to change the values and click to apply the
changes.
•Click to close the dialog box without saving the changes.
4-5
MCL-Designer for Phaser Series User’s Guide
Display Text
T o insert text onto the screen use the Display Text dialog box. Click to open the Display
Text dialog box (Figure 4-4).
Figure 4-4. Display Text Dialog Box
Display TextEnter the text that appears on the screen.
Normal/ReverseSets the text and background colors. Click on the Normal radio button
to display the text in black on a white background or click on the
Reverse radio button to display the text in white on a black
background.
Display FirstSets this text to display first on the screen when the screen appears.
After DisplaySets a beep to sound on the scanner after the text displays. Click on
the list box to select a short, medium, or long beep (or combination of
beeps), and the number of beeps. Click to test the beep options.
Click the Pause check box to insert a pause after the text displays, and
select the number of seconds of the pause. Click the Enter to Continue
check box to make the operator press the Enter key before continuing.
4-6
Designing Programs
•Enter the appropriate information to change the values and click to accept the
information. A cursor with pages attached appears on the screen. Position the
cursor to the desired location on the screen and click the lef t mouse button to place
the text on the screen.
•Click to close the dialog box without saving the changes.
Display Variable
The Display Variable dialog box enables you to insert a variable on the screen. This
variable can be a date format, a time format, scanner ID, or a va riable that has already been
created. Click to insert a variable. The Display Variable dialog box appears.
Figure 4-5. Display Variable Dialog Box
Display VariableSets the type of variable.
Normal/ReverseSets the text and background colors. Click on the Normal radio
button to display the variable in black on a white background or
click on the Reverse radio button to display the variable in white
on a black background.
Display FirstSets this variable to display first on the scanner screen when this
screen appears.
4-7
MCL-Designer for Phaser Series User’s Guide
FormatSet s th i s vari ab le to display in its true size or in truncated format.
Length on ScreenSets the number of characters in the variable name to be
displayed on the Program screen. The maximum is 40.
After DisplaySets a beep to sound on the scanner after the text displays. Click
on the appropriate radio button to select a short, medium, or long
beep (or combination of beeps), and the number of beeps. Click
to test the beep options. Click the Pause check box to insert
a pause after the text displays and select the number of seconds
of the pause. Click the Enter to Continue check box to make the
operator press the Enter key before continuing.
•Enter the appropriate information to chan ge the values and click to accept the
information. A cursor with pages attached appears on the screen. Position the
cursor to the desired location on the screen and click the lef t mouse button to place
the text on the screen.
•Click to close the dialog box without saving the changes.
Keyboard Input
The Keyboard Input dialog box enables you to insert a keyboard variable (enter the data
into a variable using the keyboard). Click to open the Keyboard Input dialog box. The
Keyboard Input dialog box contains:
•Input tab
•Advanced tab
•Hot Keys tab.
4-8
Designing Programs
Input Tab
The Input tab (Figure 4-6) enables you to insert a keyboard variable (enter the dat a variable
using the keyboard).
Figure 4-6. Keyboard Input - Input Tab
Input Variable NameEnter or select a variable where th e input data will be
stored. Click on to open the Variable dialog box to
create a new variable or select an existing variable.
Refer to Working with Variables on page 4-92 for
information on variables.
Input TypeSets the keyboard input variable type. Click on the
appropriate radio button to set the variable type. The
Secret radio button indicates a secret code, like a
password.
Default valueSets a default value that always appears in the variable
field. This is a variable that is used regularly.
4-9
MCL-Designer for Phaser Series User’s Guide
Input LengthSets the length of the keyboard input. The length can
be either an interval or a fixed length
(minimum=maximum). Use the up and down arrows to
select the lengths.
Field ValidationAssigns an action to take place after data input has
occurred. Click on the appropriate radio button to
select the action.
End of fieldWhen the number of characters entered equals the
maximum length, the program goes to the next step.
Enter KeyWhen the operator presses the Enter key , the program
goes to the next step.
Next ScanEach barcode input is scanned without having to press
the Enter key.
•Click to accept the default settin g
or
•Enter the appropriate information to change the values and click to apply the
changes.
•Click to close the dialog box without saving the changes.
4-10
Designing Programs
Advanced Tab
The Advanced tab contains fields that set extra options for the data input.
Figure 4-7. Keyboard Input - Advanced Tab
Format FieldFills the input field with zeroes or blanks on the left or right side. This
is used when the input data is smaller than the required input.
Check RangeThis option makes it possible to make a selection in the data input. If
the input corresponds with the range, it will be read. Otherwise, the
input will be ignored.
Check FileThis part of the window makes it possible to select tha t the entered
data is or is not in the local data (capture or look up) file. The first field
of the file must be the data to check.
•Click to accept the default settin g
or
•Enter the appropriate information to change the values and click to apply the
changes.
•Click to close the dialog box without saving the changes.
4-11
MCL-Designer for Phaser Series User’s Guide
Hot Keys Tab
The Hot Keys tab configures some of the keys on the scanner keyboard.
Figure 4-8. Keyboard Input - Hot Keys Tab
Time OutSets a time interval when the scanner will go to another screen or exit if
there is no action.
Other KeysAssigns another function to several keys on the scanner keyboard.
These keys include Clear, Up, Down, F+Up, F+Dw and Star (*). When
the key is pressed, the selected action occurs.
Function KeysAssigns another function to the scanner’s function keys. When the key
is pressed, the selected action occurs.
•Click to accept the default settin g
or
•Enter the appropriate information to change the values and click to apply the
changes.
•Click to close the dialog box without saving the changes.
4-12
Designing Programs
Barcode Input Dialog Box
The Barcode Input dialog box enables you to insert a barcode variable (enter data from a
scanner). There are four tab windows:
•Input Tab
•Advanced Tab
•Hot Keys Tab
•Branch Tab.
Input Tab
The Input tab (Figure 4-9) enables you to insert a bar code variable (enter the data into a
variable using the keyboard).
Figure 4-9. Barcode Input - Input Tab
4-13
MCL-Designer for Phaser Series User’s Guide
Input Variable NameSelects the variable that the input barcode data gets stored
into. Click on to open the Variable dialog box to create a
new variable or select an existing variable. Refer to Working
with Variables on page 4-92 for information on variables.
Select Entry Type(s)Selects one or more bar code symbologies. The Keyboard
check box allows the operator the opportunity to enter bar
code data on the keyboard.
Input LengthSets the length of the bar code input. You can set an interval
or a fixed length (minimum=maximum) for the input.
Option
Numeric Only
Validation
Auto EnterSets the program to continue after each scan without having
Enter KeySets the program to continue after the operator presses the
Enter only numeric characters for the barcode variable.
to enter a keystroke.
Enter key.
•Click to accept the default settin g
or
•Enter the appropriate information to change the values and click to apply the
changes.
•Click to close the dialog box without saving the changes.
4-14
Advanced Tab
The Advanced tab sets extra options for the input bar code.
Figure 4-10. Barcode Input - Advanced Tab
Designing Programs
Check PreambleSets a preamble. These preamble characters are compared with
the first characters of the input barcode. The data input is rejected
if the preamble does not match the data introduction. If the data is
not rejected, you can choose to remove these characters.
Fill On Max. LengthFills the input field with zeroes or blanks on the left or right side.
This is used when the input data length is smaller than the required
input.
Propose Default
Value
Check FileSelects if the entered data is or is not in the local data file (capture
Selects a default input value. The default value can be a fixed value
or a variable, and can be overwritten at the time of input.
or look up).
Note: The first field of the file must be the data to check.
4-15
MCL-Designer for Phaser Series User’s Guide
Store Barcode
Descriptor
Selects the variable that the barcode descriptor gets stored into.
The barcode descriptor is an internal variable which is required to
output barcode data to certain host systems (especially RS232
variants and Synapse cables). Click on to open the Variable
dialog box to create a new variable or select an existing variable.
•Click to accept the default settin g
or
•Enter the appropriate information to change the values and click to apply the
changes.
•Click to close the dialog box without saving the changes.
Hot Key Tab
The Hot Keys tab configures some of the keys on the scanner keyboard.
4-16
Figure 4-11. Barcode Input - Hot Keys Tab
Designing Programs
Time OutSets a time interval to go to another screen or exit if there is no
action.
Other KeysAssigns another function to several keys on the scanner keyboard.
These include Clear, Up, Down, F+Up, F+Dw and Star (*).
Function KeysAssigns another function to the scanner’s function keys.
•Click to accept the default settin g
or
•Enter the appropriate information to change the values and click to apply the
changes.
•Click to close the dialog box without saving the changes.
Branch Tab
The Branch tab enables the user to set up a case with the bar code type, bar code length
or bar code value.
Figure 4-12. Barcode Input - Branch Tab
4-17
MCL-Designer for Phaser Series User’s Guide
Enable TestEnables or disables this test.
IFSelects a variable or value to test.
EqualSelects a variable or value to test against the value in the IF list
box.
GotoSelects the action to perform or the screen to go to if the test is
true.
Otherwise GotoSelects the action that occurs if the test is false.
•Click to accept the default setting
or
•Enter the appropriate information to change the values and click to apply the
changes.
•Click to close the dialog box without saving the changes.
Note:The values of system variables, in addition to user-defined variables,
can be specified using the ampersand (“&”) character plus the name
of the system variable to be used. (These system variables are listed
in MCL-Code Reference Guide.) For example, system variable 33
(“power source”) indicates whether the scanner is operating off
battery power (value=0), in a cradle (val u e= 1) , or co nn ec te d to a
host (value=2). This variable can thus be used in a Case-andBranch to switch automatically between different applications,
depending on which of these operating modes the scanner is in.
4-18
Designing Programs
Working With Fields
Fields are variables, text boxes, or lines that are placed on the screen. The following
paragraphs provide information on how to edit these fields.
Placing Fields on a Screen
To place fields (display fields or input fields) on the screen:
1. In the Program Designer window, click on one of the buttons listed in Table 4-2.
Table 4-2. Field Buttons
Placing Display FieldsPlacing Input Fields
to enter text to enter keyboard input
to enter a variable to enter barcode input
2. Set the appropriate settings for that field.
3. Click to accept the information.
A cursor, with pages attached, appears on the screen (Figure 4-13).
Figure 4-13. Place a Field on the Screen
4-19
MCL-Designer for Phaser Series User’s Guide
4. Position the cursor over a box on the screen.
5. Click the left mouse button to place the field on the screen.
Editing Fields on a Screen
To edit a field on the screen:
1. Position the cursor over a field.
2. Double-click on the field. The appropriate dialog box appears.
3. Change or edit the settings.
4. Click to accept the new settings. The field is updated on the screen.
Moving Fields
To move a field on the same screen:
1. Position the cursor over a field.
2. Drag the left mouse button.
3. Move the cursor to a new position.
4. Release the mouse button.
4-20
Designing Programs
Copying Fields
To copy a field to the same screen or another screen:
Using Cut-and-PasteUsing Duplicate Button
1. Select the field to copy.1. Select the field to copy.
2. Click (copy).2. Click (duplicate).
3. Click (paste).3. Move the field to the new position.
4. Place the text on the screen by dragging the
mouse.
5. Click on the left mouse button.
4. Click on the left mouse button.
4-21
MCL-Designer for Phaser Series User’s Guide
Working With Screens
Each program in a project can contain up to 32 screens. All screens do n ot have to be used
in a program. When the program goes to a screen, the execution process is as follows:
a. execute Process In processes
b. clear screen (optional)
c. beep (optional)
d. display screen content
e. process input fields as they are encountered
f. execute Process Out processes.
Screen execution begins in the top left corner and continues line by line until the lower right
hand corner is reached.
TOP
DOWN
Inserting a Blank Screen
To insert a blank screen choose Insert A Blank Screen from the Edit menu or click to
display the Insert dialog box.
Figure 4-14. Insert Dialog Box
4-22
Designing Programs
Insert Blank Screen BeforeSelects the screen that a blank screen will go before.
Click on the list box to select the screen.
Update Screen LinkMaintains the previous links (goto) for the next screen.
•Click to accept the default sett ing
or
•Enter the appropriate information to change the values and click to apply the
changes.
•Click to close the dialog box without saving the changes.
Copying a Screen
To copy the current screen to a new screen, click . The Copy dialog box appears.
Figure 4-15. Copy Dialog Box
1. Click on the Copy Screen To list box and select the screen that the current screen
will be copied to.
Note:When a screen is copied, it over-writes the selected screen.
2. Click one or all of the check boxes to select the parts of the screen to copy:
•Copy Process In check box to copy the proces s bef or e th e scr ee n
•Copy Screen check box to copy the screen with the fields
•Copy Process Out check box to copy the process after the screen.
3. Click to copy the screen.
4-23
MCL-Designer for Phaser Series User’s Guide
Moving a Screen
To move the current screen to a new screen, click . The Move dialog box appears.
Figure 4-16. Move Dialog Box
1. Click on the Move Screen To list box and select the screen that the current screen
will be moved to.
Note:When a screen is moved, it over-writes the selected screen.
2. Click the Update Screen Links check box to maintain the previous links for the next
screen.
3. Click to move the screen.
Deleting a Screen
To delete a screen, choose Erase a screen from the Edit menu or click . The Delete
dialog box appears.
Figure 4-17. Delete Dialog Box
4-24
Designing Programs
1. Click on the Delete Screen list box and select the screen that you want to delete.
2. Click the Update Screen Links check box to maintain the previous links for the next
screen.
3. Click to delete the screen.
Deleting All Screens
To delete all screens, choose Erase all screens from the Edit menu. A Confirm dialog box
appears.
Figure 4-18. Confirmation Dialog Box
Note:If you erase all the screens, all data will be permanently lost.
Click Yes to confirm or No to Cancel.
Quick View of All Screens
To display a Quick View of all screens, click . The Quick View window appears.
Figure 4-19. Quick View Window
Use the arrow button on the bottom of the screen to scroll between screens.
4-25
MCL-Designer for Phaser Series User’s Guide
Working With Processes
A process is a sequence of operations that perform before and/or after a screen. Figure 4-
20 illustrates the process sequence.
Figure 4-20. Process Operation
The processes are executed sequentially, unless a specific goto function is defined in the
process. The Process (In or Out) window (Figure 4-21) lists the process number, the
process, and a description for each process. Table 4-3 lists and describes the buttons in the Process window.
Figure 4-21. Process (In or Out) Window
Table 4-3. Process Window Button Descriptions
ButtonNameDescription
Insert LineInserts a new process line.
EditEdits a process line.
DeleteDeletes a line in the process screen.
4-26
Table 4-3. Process Window Button Descriptions (Continued)
ButtonNameDescription
CopyCopies a process line.
PastePastes a process line.
GoToOpens the Goto dialog box.
Set a LabelOpens the Label dialog box.
Test BranchOpens the Test and Branch dialog box.
Key BranchOpens the Key and Branch dialog box.
Designing Programs
Assign a
Variable
ArithmeticOpens the Variable Arithmetic dialog box.
BeepOpens the Beep dialog box.
Warning
Message
Comment LineOpens the Comment dialog box.
Variable ListOpens the project’s Variables list window.
OKConfirms a selection.
Opens the Variable Assign dialog box.
Opens the Warning Message dialog box.
4-27
MCL-Designer for Phaser Series User’s Guide
Table 4-3. Process Window Button Descriptions (Continued)
ButtonNameDescription
HelpOpens the On-Line Help file.
CancelCloses the Process Designer window.
Adding a Process
T o a dd or edit a process click (Process In) or click (Process Out), depending upon
where to add the process. The Process (In or Out) window appears (Figure 4-21 on page
4-26).
Process List
Processes are divided into six groups with each group cont aining a number of commands.
Table 4-4 lists the process groups and their associated commands.
Table 4-4. Proces s Gro ups
4-28
GroupCommands
VariableAssign
Combine
Format
Substring
Extract
Length
x
+ -
BranchGoto
Key & Branch
Test & Branch
Case & Branch
Control & Branch
Set Label
Gosub
/ %(Arithmetic)
Table 4-4. Process Groups (Continued)
GroupCommands
FilesWrite a Record
Read a Record
Delete a Record
Review File
Erase File
Seek
File Check
Beep
Display Data
Warning Message
Clear Screen
MCL Code
Comment
4-29
MCL-Designer for Phaser Series User’s Guide
To insert a process, click to edit a process line or click to insert a new process line.
The Insert A Process dialog box appears.
Figure 4-22. Insert Process Dialog Box
Click on a Group in the Group list. The Command list then displays the commands for the
selected group. Double-click on a command or click to insert the process.
Variable Group
Note:The resulting variable can be one of the input variables for the
following examples.
Assign Variable
In the Insert A Process dialog box, click on Group Variable and then on Command Assign.
Click on the to open the Variable Assign dialog box. This dialog box enables you to
assign a value to a variable.
Figure 4-23. Variable Assign Dialog Box
4-30
Designing Programs
ValueEnter the value to assign to a variable.
Result Variable NameSelects the variable that the value is assigned to. Click on the
to open the Variable dialog box to create a new variable.
Refer to Working with Variables on page 4-92 for information
on variables.
•Click to accept the default setting
or
•Enter the appropriate information to change the values and click to apply the
changes.
•Click to close the dialog box without saving the changes.
Combine
In the Insert A Process dialog box, click on Group Variable and then on Command
Combine. Click on the to open the Variable Combine dialog box. This dialog box
enables you to combine all or part of variables into a new variable.
Figure 4-24. Variable Combine Dialog Box
4-31
MCL-Designer for Phaser Series User’s Guide
Data/VariableEnter a data string or select a variable from the list box.
ExtractSelects part of the variable.
Add Key CodeEnter a key code or select a key code from the list box.
Result VariableSelects the variable that the value is assigned to. Click on the to
open the Variable dialog box to select a variable. Refer to Working with
Variables on page 4-92 for information on variables.
•Click to accept the default setting
or
•Enter the appropriate information to change the values and click to apply the
changes.
•Click to close the dialog box without saving the changes.
To combine variables:
1. Click on the Data Stri ng list box to select a variable to combine (e.g., V_PROD).
Note:This data string can also be a fixed value entered directly in the field
(e.g., 134).
2. Click the Extract check box if only a portion of this variable is required.
3. If so, choose the position of the characters to extract using the From and To
counters (e.g., 1 to 6).
4. Repeat steps 1 through 3 for the next variable (e.g., V_LOCAT).
5. Do not select Extract check box if all of the variable is to be used.
6. Click to select the variable that contains the combined variables.
4-32
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.