Zebra P370 Users Guide

MCL-Designer
for Phaser Series
User’s Guide
MCL-Designer for Phaser Series
User’s Guide
70-37689-02
Revision B
September 2004
© 2000 by Symbol Technologies, Inc. All rights reserved. No part of this publication may be reproduced or used in any form, or by any electrical or
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
http://www.symbol.com

Contents

About This Guide
Notational Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x
Service Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x
Symbol Support Center . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xi
Chapter 1. Getting Started
Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
About MCL-Designer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Operator Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
MCL-Designer Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Starting MCL Designer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
Setting up a New Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
Scanner Setup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
System Setup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7
Memory Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8
Scanner Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-10
Phaser RS232 Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-17
MCL-Designer Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-21
Chapter 2. Quick Tour
Project Setup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Menu Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
Designing a Program. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10
Saving Your Design. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-20
Simulating and Testing Your Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-20
Editing Your Design. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-23
iii
MCL-Designer for Phaser Series User’s Guide
Chapter 3. Designing a Main Menu
How to Create a Main Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Adding Text to the Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-1
Adding Variables to the Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
Setting Menu Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-6
Chapter 4. Designing Programs
Main Program Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-1
Screen Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-5
Display Text. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6
Display Variable. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-7
Barcode Input Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-13
Working With Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-19
Placing Fields on a Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-19
Editing Fields on a Screen. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-20
Moving Fields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-20
Copying Fields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-21
Working With Screens. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-22
Inserting a Blank Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-22
Copying a Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-23
Moving a Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-24
Deleting a Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-24
Deleting All Screens. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-25
Quick View of All Screens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-25
Working With Processes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-26
Adding a Process. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-28
Process List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-28
Variable Group. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-30
Branch Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-40
Set Label . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-46
Files Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-49
MCL-Link Communications Group. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-61
Remote File Check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-68
Serial Communications Group. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-73
Others Group. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-78
Printing Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-84
Changing the Printer Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-84
Printing a Screen. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-84
Printing Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-84
iv
Working With Files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-87
Files Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-87
Working with Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-92
Global View of Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-93
Chapter 5. Simulating the Designed Project
Testing and Simulating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
Working Items of the Simulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2
Break . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3
Bar Code Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3
Variable List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-4
File Viewer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-5
MCL-Code Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-5
Chapter 6. Downloading A Project
Downloading to a Scanner. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1
Chapter 7. MCL-Code Reference Guide
About MCL-Code. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1
MCL-Code Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1
Typographic Conventions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-3
Overview of the MCL-Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-3
Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-3
Using Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-3
Files and Records . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-5
General. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-5
Structure Of The Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-6
MCL Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-7
Backlight (BL). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-10
Beep (BP). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-11
ComPute CRC (CP CRC). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-13
ComPute XOR (CP XOR). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-15
ComPute ConVert (CP CVT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-16
Display Clear (DC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-19
Display Message (DM). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-20
File Delete (delete record) (FD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-21
File Erase (delete file) (FE). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-22
File checK (FK). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-23
File Open (FO) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-24
File Print (FP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-26
v
MCL-Designer for Phaser Series User’s Guide
File Read (FR). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-28
File Seek (FS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-30
File Update (FU) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-32
File Write (FW). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-33
File Size (FZ). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-34
Input Cash (IC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-36
Input Date (ID). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-38
IF (IF). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-39
Input Hour (IH). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-40
Input Key (IK). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-41
Input List (IL) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-43
Input eXtended (IX) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-45
LaBel (LB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-48
MoDem (MD). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-49
Menu List (ML). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-50
Network Input (NI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-52
Network Output (NO) - P360/P460 Memory Scanner . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-55
Network Output (NO) - P370/P470 RF Scanner . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-57
MCL-Link Start (NS). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-59
Parameterize Input (PI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-60
Parameterize Time (PT). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-62
Parameter eXchange (PX). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-63
Parameterize Scanner (PY). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-64
Quit or eXit (QX) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-66
Run PrograM (RM). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-67
Examples. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-68
Serial Input (SI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-69
SKip (SK). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-72
Serial Output (SO) - P360/P460 Memory Scanner . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-73
Serial Output (SO) - P370/P470 RF Scanner . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-75
Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-76
Skip and Return (SR). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-77
Variable Compare (VC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-78
Variable Extract (VE). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-80
Variable Format (VF). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-81
Variable Justify (VJ). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-84
Variable Length (VL) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-86
Variable Move (VM). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-87
Variable Operation - Arithmetic (VO). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-88
Variable Substring (VS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-90
Variable operation - Arithmetic- eXtended (VX). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-92
WaiT (WT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-94
vi
Programs and File Sizes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-95
MCL-Code Error Messages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-96
System Setup Variables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-98
PY Parameter Numbers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-103
Feedback
vii
MCL-Designer for Phaser Series User’s Guide
viii

About This Guide

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
2.Haus, 5.Stock 1040 Vienna, Austria 1-505-5794 (Inside Austria) +43-1-505-5794 (Outside Austria)
Europe/Mid-East Distributor Operations
Contact your local distributor or call +44 118 945 7360
xi
MCL-Designer for Phaser Series User’s Guide
Finland
Oy Symbol Technologies Kaupintie 8 A 6 FIN-00440 Helsinki, Finland 9 5407 580 (Inside Finland) +358 9 5407 580 (Outside Finland)
Germany
Symbol Technologies GmbH Waldstrasse 68 D-63128 Dietzenbach, Germany 6074-49020 (Inside Germany) +49-6074-49020 (Outside Germany)
Latin America Sales Support
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
Button Name Description
New Start s a new project.
Open Opens an existing project.
Save Saves the current project.
Trash Deletes a project.
Simulate Starts project simulation.
Verification Verifies 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.
Print Enters print definitions. Refer to Chapter 4, Designing
Programs.
Send Sends the project to the scanner. Refer to Chapter 6,
Downloading A Project.
Check Accepts entered information or steps.
Help Opens the On-Line Help file.
Cancel Terminates 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.
Figure 1-2. Phaser Setup - P360/P460 Memory Scanner
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.
Model Sets the Phaser model for which you are designing the
project. Click on the list box to select the available model.
Firmware Sets the firmware version number. Click on the list box
to select the version number.
System Sets 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.
Scanner Sets the default decode parameters. Click on the
Scanner button to open the Scanner Setup dialog box.
RS232 Sets 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 Format Sets the format for the date that is used in the scanner .
Click on the list box to display the available options.
Time Format Sets the format for the time that is used in the scanner .
Click on the list box to display the available options.
Decimal Sets the decimal number format to either a comma or
a period. Click the appropriate radio button to change the setting.
Beeper Volume Sets 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 Time Sets 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 Size Sets 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 Memory Displays the total memory available. Allocated Memory Displays 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 Timeout Sets 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 Level Sets 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 ID Allows 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-A Converts 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 EAN­8 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 Security Sets the UPC security level (0-3). Supplementals Sets 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. Redundancy Sets 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 Settings Sets the format for Code 39 bar codes. Click the
appropriate check box to change the setting.
Check Digit Sets 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.
Trioptic Sets 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 Settings Sets the options for Code 128 bar codes. Click the
appropriate check box to change the settings.
CODABAR Settings Sets 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 Settings Sets 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 Settings Sets 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
Speed Sets 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.
Parity Sets the type of parity (none, odd, even, mark or space).
Click on the list box to display the parity options. None If no parity is required, select NONE. Even If 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. Odd If 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. Mark If you select MARK parity, the parity bit is always 1. Space If you select SPACE parity, the parity bit is always 0.
1-17
MCL-Designer for Phaser Series User’s Guide
Data Bi ts Sets the number of data bits for the RS-232 port. Click
the appropriate radio button to change the setting.
Stop Bits Sets 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.
None When this option is selected, data is transmitted
immediately.
XON/XOFF When 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/NAK When 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 Only When 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. None Select None if no hardware handshaking is desired. Standard Selects standard RTS/CTS hardware handshaking. Option 1 When 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 2 When 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 3 When 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-232 Selects the Host type of the RS-232 port. Click on the list
box to select the Host type.
Beep on Bell Enables 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 Check Enables or disables the Parity Check option. Click the
appropriate radio button to enable or disable parity check.
RTS State Sets the idle state of the Serial Host RTS line to low or
high. Click the appropriate radio button to change the setting.
Intercharacter Delay Sets 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 Timeout Sets 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 Library Select the project library directory. Simulator Station ID Sets the scanner ID in simulation mode. Use the up
and down arrow to set the station ID number.
Data files Directory Select the directory to store the data files during
simulation. Type the directory path in the text box.
Assign Aux Port to This 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-15
MCL-Designer for Phaser Series User’s Guide
Keyboard Input
1. Click to open the Keyboard Input dialog box.
Figure 2-20. Keyboard Input Dialog Box - Input Tab
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 Width Sets the number of characters in the function name to be
displayed on the menu screen. The maximum is 20.
Default Position Sets the default position of the characters to be displayed on the
menu screen (1-8). Up/Down Key Mode Sets the up/down key mode to either scrolling or rolling. Menu Options Sets the menu option names entered. Shortcut Sets 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 Program Sets 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
Button Name Description
New Creates a new program. Corresponds to the New item in the File
menu.
Open Opens an existing program. Corresponds to the Open item in the File
menu.
Save Saves a program. Corresponds to the Save item in the File menu.
Cut Cuts a field (text, variable) from the screen. Corresponds to the Cut
item in the Edit menu.
Copy Copies a field on a screen. Corresponds to the Copy item in the Edit
menu.
Paste Pastes 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)
Button Name Description
Duplicate Field Duplicates a field on the screen. Corresponds to the Duplicate it em in
the Edit menu.
Undo Undoes the last action. Corresponds to the Undo item in the Edit
menu.
Redo Redoes 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.
Insert Inserts a new screen.
Move Moves a screen to another location.
Delete Deletes a screen.
Designing Programs
Variable List Displays a list with all the variables in the project.
View Displays a general view of all the screens.
Simulate Simulates the project design.
Accept Accepts the entered information.
Help Opens the On-Line Help file.
Cancel Cancels the current operation.
4-3
MCL-Designer for Phaser Series User’s Guide
Table 4-1. Button Descriptions (Continued)
Button Name Description
Notes Click this button to type notes about the screens. Refer to Screen
Description on page 4-5.
Display Text Click this button to enter text.
Display Variable Click this button to enter a variable like date, time,...
Input Keyboard Click this button to enter a keyboard variable.
Input Barcode Click this button to enter a barcode variable.
Choice Menu Click this button to edit menu list options.
Choice Input Click this button to edit input list options.
4-4
Process In Click this button to add a process before the current screen.
Process Out Click this button to add a process after the current screen.
First Screen Displays the first screen of the program.
Previous Screen Displays the previous screen.
Next Screen Displays the next screen.
Last Screen Displays 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 Name Enter 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. Notes Allows 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 Text Enter the text that appears on the screen. Normal/Reverse Sets 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 First Sets this text to display first on the screen when the screen appears. After Display Sets 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 Variable Sets the type of variable. Normal/Reverse Sets 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 First Sets this variable to display first on the scanner screen when this
screen appears.
4-7
MCL-Designer for Phaser Series User’s Guide
Format Set s th i s vari ab le to display in its true size or in truncated format. Length on Screen Sets the number of characters in the variable name to be
displayed on the Program screen. The maximum is 40.
After Display Sets 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 Name Enter 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 Type Sets 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 value Sets 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 Length Sets 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 Validation Assigns an action to take place after data input has
occurred. Click on the appropriate radio button to select the action.
End of field When the number of characters entered equals the
maximum length, the program goes to the next step.
Enter Key When the operator presses the Enter key , the program
goes to the next step.
Next Scan Each 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 Field Fills 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 Range This 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 File This 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 Out Sets a time interval when the scanner will go to another screen or exit if
there is no action.
Other Keys Assigns 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 Keys Assigns 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 Name Selects 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 Length Sets 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 Enter Sets the program to continue after each scan without having
Enter Key Sets 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 Preamble Sets 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. Length Fills 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 File Selects 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 Out Sets a time interval to go to another screen or exit if there is no
action.
Other Keys Assigns another function to several keys on the scanner keyboard.
These include Clear, Up, Down, F+Up, F+Dw and Star (*).
Function Keys Assigns 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 Test Enables or disables this test.
IF Selects a variable or value to test. Equal Selects a variable or value to test against the value in the IF list
box.
Goto Selects the action to perform or the screen to go to if the test is
true.
Otherwise Goto Selects 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-and­Branch 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 Fields Placing 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-Paste Using 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 Before Selects the screen that a blank screen will go before.
Click on the list box to select the screen.
Update Screen Link Maintains 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
Button Name Description
Insert Line Inserts a new process line.
Edit Edits a process line.
Delete Deletes a line in the process screen.
4-26
Table 4-3. Process Window Button Descriptions (Continued)
Button Name Description
Copy Copies a process line.
Paste Pastes a process line.
GoTo Opens the Goto dialog box.
Set a Label Opens the Label dialog box.
Test Branch Opens the Test and Branch dialog box.
Key Branch Opens the Key and Branch dialog box.
Designing Programs
Assign a Variable
Arithmetic Opens the Variable Arithmetic dialog box.
Beep Opens the Beep dialog box.
Warning Message
Comment Line Opens the Comment dialog box.
Variable List Opens the project’s Variables list window.
OK Confirms 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)
Button Name Description
Help Opens the On-Line Help file.
Cancel Closes 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
Group Commands
Variable Assign
Combine Format Substring Extract Length
x
+ -
Branch Goto
Key & Branch Test & Branch Case & Branch Control & Branch Set Label Gosub
/ %(Arithmetic)
Table 4-4. Process Groups (Continued)
Group Commands
Files Write a Record
Read a Record Delete a Record Review File Erase File Seek File Check
MCL-Link Communications Send Packet
Receive Packet Send File Receive File Host Look-Up MCL-Link Start Remote File Check Remote File Operation Start EXE Program on Host Modem Command
Designing Programs
Serial Communications String Serial Output
Scanner Serial Output Receive Data Print File
Other Pause
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
Value Enter the value to assign to a variable. Result Variable Name Selects 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/Variable Enter a data string or select a variable from the list box. Extract Selects part of the variable.
Add Key Code Enter a key code or select a key code from the list box. Result Variable Selects 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...