Zebra P370 Handheld Scanner MCL Designer for Phaser Series Users Guide English

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
Loading...
+ 262 hidden pages