The text of a manual · part 19 of 34
MCL-Designer for Phaser Series User's Guide: Chapter 4 Designing Programs, pages 147 to 156
Pages 147 to 156 of 288, from MCL-Designer for Phaser Series User's Guide
The original document is the PDF (3.0 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Symbol P360 and Symbol P460
Page 147
Designing Programs
Warning Message In the Insert A Process dialog box, click on Grou Other and then click on Command Warning Message. Click on to open the Warning Message dialog box. This dialog box enables you to insert a 2-line message without using a full screen.
Figure 4-62. Warning Message Dialog Box Warning Message Line 1/2
Enter the text that displays as a warning.
Beep
Sets a beep to sound when the warning screen displays. Click on the arrow box to select the combination of beeps desired. Click to test the beep option selected.
Pause
Sets a pause to occur when the warning screen display.Set Enter to Continue check box to enable to operator t continue after the Enter key is pressed.
Note: The current screen is cleared before displaying the message. !
Click or to accept the default setting
!
Enter the appropriate information to change the values and click changes.
!
Click to close the dialog box without saving the changes.
to apply the
4-81
Page 148
MCL-Designer for Phaser Series User’s Guide
Clear Screen In the Insert A Process dialog box, click on Group Other and then click on Command Clear Screen. Click on to open the Clear Screen dialog box. This dialog box enables you to clear the whole screen or just selected lines of the screen.
Figure 4-63. Clear Screen Dialog Box Line(s) To Clear Line 1 Line 2
Sets the specific line to clear.
!
Click or
!
Enter the appropriate information to change the values and click changes.
!
Click to close the dialog box without saving the changes.
4-82 to accept the default setting to apply the
Page 149
Designing Programs
MCL-Code In the Insert A Process dialog box, click on Group Other and then click on Command MCL to open the MCL Code dialog box. This dialog box enables you to insert Code. Click on a process line directly coded in MCL code. Refer to Chapter 7 for more information on MCLCode.
Figure 4-64. MCL-Code Dialog Box
Note:Click to go to the Variables window. For more information, refer to Global View of Variables on page 4-93.
Comment In the Insert A Process dialog box, click on Grou Other and then click on Command Comment. Click on to open the Comment dialog box. This dialog box enables you to insert a comment.
Figure 4-65. Comment Dialog Box 4-83
Page 150
MCL-Designer for Phaser Series User’s Guide
Printing Reports Changing the Printer Setup To change the printer setup: 1. Choose Print Setu from the File menu in the MCL Designer window to display the standard Windows printer setup window. 2. Change the settings. 3. Click to accept the changes.
Printing a Screen To print the design: 1. Choose Print from the File menu. 2. The current screen is sent to a printer connected to your computer.
Printing Options To specify the parts of a project to print, click to open the Print dialog box.
Figure 4-66. Print Dialog Box
4-84
Page 151
Designing Programs
Project Info
Sets the print report to print the current project.
Project Description
Enables the print report to contain a description of the project.
Phaser Setup
Enables the print report to contain the Phaser setup information.
Programs Info
Sets the print report to print program information.
Programs
Enables all of the programs or one of the programs to be included in the print report.
Screen Pictures
Enables pictures of each screen to be included in the print report.
Program Details
Enables program details to be included in the print report.
Variables List
Enables the variable list to be included in the print report.
MCL Code
Enables the MCL Code to be included in the print report.
Print To
Selects where to print to. Click on the Screen radio button to print the project to the screen. A window appears and the project display on the computer’s screen. Click the Printer radio button to print to a printer connected to the computer. The Printer button opens the standard Windows printer setup dialog box for changing the printer or setting for the printer
Data Files Info
Sets the print report to print data file information.
Data Files
Enables all of the data files or one of the data files of the project to be printed.
File Structure
Enables the print report to contain the structure of the data file.
File Content
Enables the print report to contain the contents of the data file.
4-85
Page 152
MCL-Designer for Phaser Series User’s Guide
!
Click or
!
Enter the appropriate information to change the values and click changes.
!
Click to close the dialog box without saving the changes.
4-86 to accept the default setting to apply the
Page 153
Designing Programs
Working With Files Files store the input data on a permanent basis in the scanner. Due to the interaction between the files and programs through processes, MCL-Designer enables you to read, write, update and delete the data in a file. You can define a maximum of 8 files in the scanner. Each program of the project can access any of these data files. Data files are fixed record lengths except for the Print file. Up to 16 fields can be stored in a record. The maximum record length is 255 bytes, the maximum field length is 128 bytes and the maximum file size depends on the memory of the scanner (up t 3.2 MB). The default field separator is the pipe (|) (124 decimal). Refer to System Setup on page 1-7.
Files Window In the MCL Designer window, click on the Files tab.
Figure 4-67. MCL Designer Files Tab 1. Click next to the file number. Up to eight files can be created for a project.
2. If this is a new file, the Create Data File dialog box appears. 3. Enter a file name in the Data File Name field. 4. Click to accept the file name. The Data File Description dialog box appears.
4-87
Page 154
MCL-Designer for Phaser Series User’s Guide
Figure 4-68. Data File Description Dialog Box File Name
Shows the name of the current file.
Type of File
Selects the type of file. Capture: Creates the file and fills it by the scanner using the Write a Record command. Refer to Write a Record on page 4-49. This file is used to store data captured on the scanner. Look up: Use the file for search and verification. It is normally a read-only file coming from the host, but it ca also be created locally on the scanner. Print: This is typical a read-only file with no specific field organization. It is a variable record length file.
Sort on
Selects the type of sort. None: Each record is opened at the end of the file (typical capture file). Field 1: The file will be sorted on the first field in ascending order. This option is used for a fast search on field1.
4-88
Page 155
Designing Programs
Fields 1+2: This option makes it possible to sort on the first field and the second field in ascending order. Thi option is used for a fast search on both fields. Note: The search function is not allowed on field 2. Allocated Memory
Shows the amount of memory allocated to the data files and how many records exist.
Fields Description Field Name
Shows and accepts the name of the field.
Length
Shows and accepts the length of the field.
!
Click or to accept the default setting
!
Enter the appropriate information to change the values and click changes.
!
Click to close the dialog box without saving the changes.
to apply the to go to the Memory Mapping dialog box. For more Note: Click information, refer to Memory Mapping on page 1-8. The Look up file with sorting on field 1 or field 1+2 is used for a fast read-only search operation. The Capture file, sorted or non-sorted, is used to store input data and usually consists of small files (<1000 records). A search function in a sorted file is faster, but a write function is slower. A write function in a non-sorted file is faster, but a search function is slower. Note: A look up file defined as “sorted” must be sorted on the host prior to being sent to the scanner.
4-89
Page 156
MCL-Designer for Phaser Series User’s Guide
1. Click to open the
File View dialog box.
Figure 4-69. File View Dialog Box This window shows the contents of the file on the hard disk. In this case, Field 1, Field 2, and Field 3 are the 3 field names of the records, and the numbers i parenthesis are the lengths. Table 4-5. Button Descriptions Button
4-90
Name
Description
Add
Adds a new record.
Cut
Deletes a record.
Copy
Copies a record.
Paste
Pastes a copied record.
Duplicate
Duplicates a selected record.
Sort
Sorts the records