The text of a manual · part 17 of 34
MCL-Designer for Phaser Series User's Guide: Chapter 4 Designing Programs, pages 127 to 136
Pages 127 to 136 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 127
Designing Programs
MCL-Link Communications Group Send Packet In the Insert A Process dialog box, click on Grou MCL-Link Comm. and then click on Command Send Packet. Click on to open the Send Packet to Hostdialog box. This dialog box enables you to send a packet of variable values to the host computer.
Figure 4-47. Send Packet To Host Dialog Box Send Packet To Host ID
Selects the host identifier to send the packet to.
Packet Type
Selects a name for the packet.
Fields Sep.
Selects a field separator for the packet.
If Communication Erro Goto Packet Fields
Selects the action if an error occurs during the sending. Selects the variable or fixed data to send. Click on the list box to select a variable or enter a value into the list box. Use scroll bar to view additional packet fields.
4-61
Page 128
MCL-Designer for Phaser Series User’s Guide
!
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
Receive Packet In the Insert A Process dialog box, click on Grou MCL-Link Comm. and then click on Command Receive Packet. Click on to open the Receive Packet dialog box. This dialog box enables you to select a packet with variable values to work with.
Figure 4-48. Receive Packet Dialog Box Receive Packet Fro Host ID
Selects the host identifier to receive the packet from.
Packet Type
Selects a name for the packet.
Fields Sep.
Selects a field separator for the packet.
If Communication Erro Goto
4-62
Selects the action to perform or the screen to go to if an error occurs while receiving the packet.
Page 129
Designing Programs
Packet Fields to Variables
Assigns a variable to each received field. 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. Use scroll bar to view additional packet fields.
!
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
Send File In the Insert A Process dialog box, click on Grou MCL-Link Comm. and then click on Command Send File. Click on to open the Send File dialog box. This dialog box enables you to send an entire file to a scanner.
Figure 4-49. Send File Dialog Box
4-63
Page 130
MCL-Designer for Phaser Series User’s Guide
Send File To Host ID
Selects the host identifier to send the file to.
Local File Name
Selects the local file to send to the host.
Remote File Name
Accepts a new file name for the host application (e.g., FILESEND or C:\DATA\FILESEND).
Options Check Cradle
Sets the scanner to check for a connection to a cradle.
Delete After Send
Sets the scanner to delete the file after it is sent t the host.
Toolbar On Bottom Line
Sets a toolbar to appear on the bottom of the screen when reviewing the file. Not supported on Phaser.
If Communication Erro Goto
Selects the action to perform or the screen to go to if an error occurs while sending a file.
Note: Click to go to the Data File Window. For more information, refer to Working With Files on page 4-87 !
Click or
!
Enter the appropriate information to change the values and click changes.
!
Click to close the dialog box without saving the changes.
4-64 to accept the default setting to apply the
Page 131
Designing Programs
Receive File In the Insert A Process dialog box, click on Grou MCL-Link Comm. and then click on Command Receive File. Click on to open the Receive File dialog box. This dialog box enables you to ask the host to send an entire file to the scanner.
Figure 4-50. Receive File Dialog Box
Receive File From Host ID
Selects the host identifier to receive the file from.
Remote File Name
Accepts the file name for the host application (e.g., FILESEND or C:\USER\FILERCV).
Local File Name
Selects the local file name.
Options Check Cradle
Sets the scanner to check for a connection to a cradle.
Toolbar On Bottom Line
Sets a toolbar to appear on the bottom of the screen when reviewing the file. Not supported on Phaser.
If Communication Erro Goto
Selects the action to perform or the screen to go to if an error occurs while receiving the file.
4-65
Page 132
MCL-Designer for Phaser Series User’s Guide
Note: Click to go to the Data File Window. For more information, refer to Working With Files on page 4-87 !
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
Host Look-up In the Insert A Process dialog box, click on Grou MCL-Link Comm. then click on Command Host Look-Up. Click to open theHost Look-Up dialog box. This dialog box enables you to look at a remote file on the host. (This file must be “text” file in ASCII format.)
Figure 4-51. Host Look-Up Window Host Look-Up Host ID
4-66
Selects the host identifier to look up the file.
Page 133
Designing Programs
File Name
Accepts the file name for the host application (e.g., FILESEND or C:\USER\FILERCV).
Search With
Selects a variable containing the search key.
If Key Not Found Goto
Selects the action to perform or the screen to go to if the key is not found.
If Communication Error Goto
Selects the action to perform or the screen to go to if an error occurs during the communication.
Received Fields
Assigns the variables to store the fields from the remote file. 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.
Fields Sep.
Selects a separator between the fields.
!
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
Note: On the host side, the file must have a structure similar to: “123456789,abcdef,hello world ” as one record with a comma (,) as a separator. The key to search must be the first field:”123456789”. The returned fields are abcdef and hello world.
MCL-Link Start In the Insert A Process dialog box, click on Grou MCL-Link Comm. and then click on Command MCL-Link Start. This command runs the communication program on the scanner in Wait mode. The scanner waits for a command from the host. To exit this mode and continue the program, click on the Cancel key.
4-67
Page 134
MCL-Designer for Phaser Series User’s Guide
Remote File Check In the Insert A Process dialog box, click on Grou MCL-Link Comm. and then click on Command Remote File Check. Click on to open Remote the File Check dialog box. This dialog box enables you to check if a file exists on a remote host and get the file size and file date.
Figure 4-52. Remote File Check Dialog Box
4-68
Host ID
Selects the host identifier to look up the file.
File Name
Accepts the file name for the host application (e.g., FILESEND or C:\USER\FILERCV).
If File Exists Goto
Selects the action to perform or the screen to go to if the file is found.
If File Does Not Exist Goto
Selects the action to perform or the screen to go to if the file is not found.
Page 135
Designing Programs
Store Remote File Info File Size (Bytes)
Selects the variable to store the file size information in. 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 fo information on variables.
File Date+Time
Selects a variable to store the “make” date and time of the file. 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.
If Communication Erro Goto
Selects the action to perform or the screen to go to if an error occurs during the communication.
!
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
Start EXE Program on Host In the Insert A Process dialog box, click on Grou MCL-Link Comm. and then click on Command Start EXE Program On Host. Click on to open the Start EXE Program On Host dialog box. This dialog box enables you to start a program (with extension EXE) on the host.
4-69
Page 136
MCL-Designer for Phaser Series User’s Guide
Figure 4-53. Start EXE Program On Host Dialog Box Host ID
Selects the host identifier to run the executable.
Remote Program Name
Accepts the program name to run
Argument Sep.
Selects a separator to use between the arguments. Example: INVENTORY.EXE 123123123 050 where the arguments are: 123123123 and 050 and the separator is a blank.
If Communication Erro Goto
Selects the action to perform or the screen to go to if an error occurs during the communication.
Program Arguments
Selects the arguments (or variables) to give to the program.
!
Click or
!
Enter the appropriate information to change the values and click changes.
!
Click to close the dialog box without saving the changes.
4-70 to accept the default setting to apply the