The text of a manual · part 11 of 34
MCL-Designer for Phaser Series User's Guide: Chapter 4 Designing Programs, pages 67 to 76
Pages 67 to 76 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 67
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
Page 68
MCL-Designer for Phaser Series User’s Guide
Click on next to one of the programs. The Program Designer window opens (Figure 42). Table 4-1 lists the buttons available and a description of each.
Figure 4-2. Program Designer Window Table 4-1. Button Description s Button
4-2
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.
Page 69
Designing Programs
Table 4-1. Button Descriptions (Continued) Button
Name
Description
Duplicate Field
Duplicates a field on the screen. Corresponds to the Duplicate item 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.
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
Page 70
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.
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 Scree
Displays the first screen of the program.
Previous Screen Displays the previous screen.
4-4
Next Screen
Displays the next screen.
Last Screen
Displays the last screen of the program.
Page 71
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
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 previou screen will remain. This allows an overlap between screens.
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.
!
Click or to accept the default setting
!
Enter the appropriate information to change the values and click changes.
to apply the
4-5
Page 72
MCL-Designer for Phaser Series User’s Guide
!
Click to close the dialog box without saving the changes.
Display Text To insert text onto the screen use the Display Text dialog box. Click Text dialog box (Figure 4-4).
to open the Display
Figure 4-4. DisplayText 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.
4-6
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.
Page 73
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 curso to the desired location on the screen and click the left 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 variable 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
Page 74
MCL-Designer for Phaser Series User’s Guide
Format
Sets this variable to display in its true size or in truncated format.
Length on Scree
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 change the values and click to accept the information. A cursor with pages attached appears on the screen. Position the curso to the desired location on the screen and click the left 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
Page 75
Designing Programs
InputTab The Input tab (Figure 4-6) enables you to insert a keyboard variable (enter the data variable using the keyboard).
Figure 4-6. Keyboard Input - Input Tab Input Variable Name
Enter or select a variable where the 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
Page 76
MCL-Designer for Phaser Series User’s Guide
Input Lengt
Sets the length of the keyboard input. The length can be either an interval or a fixed lengt (minimum=maximum). Use the up and down arrows to select the lengths.
Field Validation
Assigns an action to take place after data input ha 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 or
!
Enter the appropriate information to change the values and click changes.
!
Click to close the dialog box without saving the changes.
4-10 to accept the default setting to apply the