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 9 of 26

Cordless Scanning System, System Manual: SCANTEAM 2070 Base, IMAGETEAM 3870/75 Linear Imager, SCANTEAM 5770 Laser: Communications Menu, pages 73 to 82

Pages 73 to 82 of 232, from Cordless Scanning System, System Manual: SCANTEAM 2070 Base, IMAGETEAM 3870/75 Linear Imager, SCANTEAM 5770 Laser

The original document is the PDF (3.6 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 HHP ST2070, HHP ST3870 and HHP ST5770

Page 73

Auxiliary Port Protocol Default Auxiliary Port Protocol <Default All Auxiliary Port Protocol>

Baud Rate Selection This selection sets the baud rate from 300 bits per second to 38,400 bits per second. Programming baud rate causes the data to be sent at the specified rate. The device connected to the Auxiliary Port must be set up for the same baud rate as the Aux Port to ensure reliable communication.

300

600

1200

2400

4800

9600

19200

*38400

3 - 11

Page 74

Auxiliary Port Protocol Parity Selection This selection provides a means of checking character bit patterns for validity. The Auxiliary Port can be configured to operate under Even, Odd, Mark, None, or Space parity options. The device connected to the Auxiliary Port must be set up for the same parity as the Aux Port to ensure reliable communication.

*None

Space

Mark

Even

Odd

Word Length Data Bits Selection This selection sets the Word Length at seven or eight bits of data per character. If an application requires only ASCII Hex characters 0 through 7F decimal (text, digits, and punctuation), select 7 data bits. For applications requiring use of the full ASCII set, select 8 data bits per character.

7 Data Bits

*8 Data Bits

3 - 12

Page 75

Auxiliary Port Protocol Word Length Stop Bits Selection This selection sets the Word Length at one or two stop bits.

*1 Stop Bits

2 Stop Bits

Hardware Flow Control Selection This selection turns on hardware flow control that checks for a CTS signal before sending data. This option is useful when your application supports the CTS signal.

On

*Off

3 - 13

Page 76

Auxiliary Port Communications Note: The Auxiliary Port receive function will only work properly if RTS/CTS or ACK/NAK flow control is used. If your host system does not support RTS/ CTS or ACK/NAK handshaking, some or all of your data will be lost.

IBM 4683 Async Address Selections If you are going to program the interface for IBM 4683 Async Addresses, you must first program the Terminal ID as 51 (see page 2-6). Then, scan one of the programming codes below for your 4683 Async Address selection. Note: When using any of the IBM 4683 interfaces, the maximum allowable data rate into the base aux port is 9600 baud.

Address $68 (Socket 23: 2A Left) Address $69 (Socket 23: 2B Right) Address $64 (Socket 25: 2A Left)

Address $65 (Socket 25: 2B Right) Aux Port Disable

3 - 14

Page 77

Auxiliary Port Communications Host Commands (IT3875XXX-X2-1 and ST2070-5 only) Most VersaCode script commands can be sent by RS-232 from the host to a scanner via the base unit. When the host sends the VersaCode commands, they are called Host Commands. Host Commands can be used to control every function of the scanner. For example, Host Commands may be used to put a text prompt on the scanner’s display or to get input from the scanner or keypad. Host Commands may be used to notify the operator that scanned data has been accepted or rejected by putting a picture on the scanner’s display or by sounding the beeper and lighting the LEDs. In this way, they are much like Host ACK escape commands ("Host ACK Selection" on page 3-6), only Host Commands are more powerful. The following criteria must be met for Host Commands to work correctly: • The cordless system must be configured for Aux Port RS-232 (Terminal ID = 000). • Both the host terminal and the cordless system must have RTS/CTS handshaking ("Hardware Flow Control Selection" on page 3-5) enabled. • Host Commands are addressed to an individual scanner using a fourcharacter Scanner ID. • The scanner must be expecting the Host Command. This is accomplished using one of three VersaCode commands resident in the scanner: WaitForMultiple Commands, WaitForCommand, or CheckForCommand. For additional information, please refer to the VersaCode Language Reference User’s Guide. • Refer to VersaCode Language Reference User’s Guide to determine which VersaCode commands are available as Host Commands and for the correct syntax of the commands. • The host computer must be capable of sending Host Commands by RS-232 and capable of interpreting the response to each command. Each scanner responds to only one Host Command at a time. The host receives a response from the scanner when the command has been processed.

3 - 15

Page 78

Auxiliary Port Input Communications Protocol Selection This selection programs the Auxiliary Port for the protocol required by the input device to the Auxiliary Port. The protocol is a set of rules concerning the exchange of data between serially communicating devices. The Auxiliary Port supports Record, Burst, and ACK/NAK protocols when receiving data from an RS-232 device. When the Aux Port is being used as an input, data packets can be sent from the peripheral to the Aux Port in two different forms (See "Data Character Selection" on page 3-17). • Record -- a single string of data that is to be sent to the host system. • Block -- several strings of data that are to be appended together within the base and sent to the host system as a single message. The programmer should determine which of the four selections below best meets the requirements of the peripheral. • Record -- used when the transmitting peripheral is sending messages when no confirmation of receipt is required. • Record ACK/NAK -- same as Record, however the base responds to the peripheral upon receipt of the message. The <ACK> (acknowledge) character (ASCII 06 hex) is sent to the peripheral to acknowledge that a <NAK> (non-acknowledge) character (ASCII 15 hex) is sent when the message is not received correctly. • Block ACK/NAK -- same as Record ACK/NAK, but the <ACK> or <NAK> is issued upon completion of the block message. • Burst -- used when XON/XOFF software flow control is required by the transmitting peripheral.

*Record

Burst

Record ACK/NAK

Block ACK/NAK

3 - 16

Page 79

Auxiliary Port Input Communications Data Character Selection This selection selects the serial output data characters that may be sent from the RS-232 device connected to the Auxiliary Port. When the Aux Port is used as an input, it is recommended (although not required) that incoming messages be “framed” by start and stop characters. These framing characters indicate to the base the beginning and end of a message. The use of these characters decreases the possibility of missing or partial messages being sent to the host system. Note: These characters are stripped from the message within the base and are not sent to the host system. The bar codes below are used to configure the base to conform to the specific framing characters sent from the peripheral device. • • • •

SOR -- used to program the starting frame character of a “record” EOR -- used to program the ending frame character of a “record” SOB -- used to program the starting frame character of a “block” EOB -- used to program the ending frame character of a “block”

Default SOR Character = none (NUL: 00). Default EOR Character = Carriage Return (CR: 0D). Default SOB Character = none (NUL: 00). Default EOB Character = End of Text (EOT: 04).

SOR (Start of Record)1

EOR (End of Record)1

SOB (Start of Block)1

EOB (End of Block)1 1. A two-digit number and Save are required after scanning this programming bar code. Refer to the Programming Chart (inside back cover).

3 - 17

Page 80

Auxiliary Port Input Communications Aux Prefix/Suffix Selections Aux Prefix and Suffix Aux Prefix and Suffix characters are data characters you may assign to incoming Auxiliary Port data. Data frame

Prefix

Message

Suffix

Characters for the Prefix and Suffix are selected by their hexadecimal ASCII value, up to 12 characters each. Prefix and Suffix characters may be assigned to all incoming data. Default Prefix (incoming data) = none. Default Suffix (incoming data) = none. Default Prefix (outgoing data) = none. Default Suffix (outgoing data) = Carriage Return (CR).

Programming Steps to Add an Aux Prefix / Suffix to Incoming Data: Step 1. To add a Prefix, scan the Add Aux Prefix programming bar code. To add a Suffix, scan the Add Aux Suffix programming bar code. Step 2. Scan two bar codes for the Hex Value “72” (“r,” which represents the identifier for the Aux Port). Scan the two digits on the Programming Chart (on the inside back cover of this manual). Step 3. Refer to the Hex ASCII Chart(page 3-20) to find the Hex value that represents the ASCII characters you wish to attach to the data. Use the Programming Chart (inside back cover) to scan the alphanumeric combination that represents the ASCII characters. Step 4. To complete Aux Prefix / Suffix programming, scan either: Save - This exits, saving the Prefix / Suffix selections you just assigned. Discard - This exits without changing the Prefix / Suffix. Other Programming Selections: Scanning the Default Prefix or Default Suffix bar code sets the default Prefix or Suffix (shown above). Scanning the Clear All Prefixes or Clear All Suffixes bar code deletes all Prefix or Suffix selections. If you want to turn off the prefix or suffix formatting for a period of time, scan Disable Aux Prefix/Suffix. To turn back on, scan Enable Aux Prefix/Suffix.

3 - 18

Page 81

Auxiliary Port Input Communications Note: Aux Prefix / Suffix programming examples may be found on page 3-19.

Aux Prefix and Suffix Examples Example 1: Add a Prefix To add an HT (tab) Prefix to incoming data: Step 1. Scan the Add Aux Prefix Prefix Selection bar code. Step 2. Scan 7 and 2 on the Programming Chart (inside back cover). Step 3. An “HT” is equivalent to “09” (see the Hex ASCII Chart). Scan 0 and 9 on the Programming Chart. Step 4. Scan Save.

Example 2: Add a Suffix To add a CR (carriage return) Suffix to incoming data: Step 1. Scan the Add Aux Suffix Suffix Selection bar code. Step 2. Scan 7 and 2 on the Programming Chart (inside back cover). Step 3. A “CR” is equivalent to “0D” (see the Hex ASCII Chart). Scan 0 and D on the Programming Chart. Step 4. Scan Save.

3 - 19

Page 82

Auxiliary Port Input Communications Note: If the Aux Port ID is required in conjunction too other prefixes, scan 5 C 8 0. Note: To program a backslash (\), scan 5 C 5 C.

Decimal to Hex to ASCII Conversion Chart Dec.

Hex

ASCII

Dec.

Hex

ASCII

Dec.

Hex

ASCII

Dec.

Hex

ASCII

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F

NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US

32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63

20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F

SP ! “ # $ % & ‘ ( ) * + , . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ?

64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95

40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F

@ A B C D E F G H l J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _

96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127

60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F

‘ a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ DEL

3 - 20