Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 13 of 34

MCL-Designer for Phaser Series User's Guide: Chapter 4 Designing Programs, pages 87 to 96

Pages 87 to 96 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 87

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.

4. Click on the left mouse button.

5. Click on the left mouse button.

4-21

Page 88

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 not 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 encountere 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 clic display the Insert dialog box.

Figure 4-14. Insert Dialog Box

4-22 to

Page 89

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.

to accept the default setting

!

Click or

!

Enter the appropriate information to change the values and click changes.

!

Click to close the dialog box without saving the changes.

to apply the

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 process before the screen

"

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

Page 90

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 T 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 box appear .

Figure 4-17. Delete Dialog Box

4-24

. The Delete dialog

Page 91

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 bo appears.

Figure 4-18. Confirmation Dialog Box Note: If you erase all the screens, all data will be permanently lost. Click Yes to confirm o 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

Page 92

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 Proces window.

Figure 4-21. Process (In or Out) Window Table 4-3. Process Window Button Descriptions Button

4-26

Name

Description

Insert Line

Inserts a new process line.

Edit

Edits a process line.

Delete

Deletes a line in the process screen.

Page 93

Designing Programs

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.

Assign a Variable

Opens the Variable Assig dialog box.

Arithmetic

Opens the Variable Arithmetic dialog box.

Beep

Opens the Bee dialog box.

Warning Message

Opens the Warning Message dialog box.

Comment Line Opens the Comment dialog box. Variable List

Opens the project’ Variables list window.

OK

Confirms a selection.

4-27

Page 94

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 To add 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 426).

Process List Processes are divided into six groups with each group containing a number of commands. Table 4-4 lists the process groups and their associated commands. Table 4-4. Process Gro u p Group

4-28

Commands

Variable

Assig Combine Format Substring Extract Length + - x / %(Arithmetic)

Branch

Goto Key & Branch Test & Branch Case & Branch Control & Branch Set Label Gosub

Page 95

Designing Programs

Table 4-4. Process Groups (Continued) Group

Commands

Files

Write a Record Read a Recor 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

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

Page 96

MCL-Designer for Phaser Series User’s Guide

To insert a process, click to edit a process line or click The Insert A Process dialog box appears.

to insert a new process line.

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 Grou Variable and then on Command Assign. Click on the to open the Variable Assig dialog box. This dialog box enables you to assig a value to a variable.

Figure 4-23. Variable Assign Dialog Box 4-30