The text of a manual · part 12 of 46
Symbol DS6607 Product Reference Guide: SSI Interface, pages 77 to 84
Pages 77 to 84 of 370, from Symbol DS6607 Product Reference Guide
The original document is the PDF (6.7 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 DS-6607
Page 77
Chapter 6 SSI Interface Introduction This chapter describes how to set up the digital scanner with a Simple Serial Interface (SSI) host. When using SSI, program the digital scanner via bar code menu or SSI host commands. Throughout the programming bar code menus, default values are indicated with asterisks (*).
* Indicates Default
*Baud Rate 9600
Feature/Option
(06h) Option Hex Value for programming via SSI command
NOTE
Most computer monitors allow scanning the bar codes directly on the screen. When scanning from the screen, be sure to set the document magnification to a level where the bar code can be seen clearly, and bars and/or spaces are not merging.
Page 78
6-2
Symbol DS6607 Product Reference Guide
Connecting Using Simple Serial Interface Connect the digital scanner to an SSI host.
Interface Cable
Serial Port Connector to Host
Power Supply Cable Figure 6-1 SSI Host Connection 1.
Attach the modular connector of the interface cable to the cable interface port on the digital scanner (see Installing the Interface Cable on page 1-2).
2.
Connect the other end of the interface cable to the serial port on the host.
3.
Connect the power supply to the serial connector end of the interface cable. Plug the power supply into an appropriate outlet.
4.
Scan the appropriate baud rate bar code from Baud Rate on page 6-4 that matches the host’s baud rate setting.
5.
To modify any other parameter options, scan the appropriate bar codes in this chapter.
Page 79
SSI Interface
6-3
Simple Serial Interface Default Parameters Table 6-1 lists the defaults for the SSI host. There are two ways to change the default values:
• Scan the appropriate bar codes in this guide. These new values replace the standard default values in memory. To recall the default parameter values, scan the *Set All Defaults bar code on page 4-4.
• Download data through the device’s serial port using SSI. Hexadecimal parameter numbers are shown in this chapter below the parameter title, and options are shown in parenthesis beneath the accompanying bar codes. See the Simple Serial Interface (SSI) Programmer’s Guide for detailed instructions for changing parameters using this method. NOTE
See Appendix A, Standard Default Parameters for all user preferences, hosts, symbologies, and miscellaneous default parameters.
Table 6-1 SSI Default Table
Parameter
Parameter Number
Default
Page Number
Baud Rate
9Ch
9600
6-4
Parity
9Eh
None
6-6
Check Parity
97h
Enable
6-7
Software Handshaking
9Fh
ACK/NAK
6-7
Host RTS Line State
9Ah
Low
6-8
Decode Data Packet Format
EEh
Send Raw Decode Data
6-8
Stop Bits
9Dh
1
6-9
Host Serial Response Time-out
9Bh
2 sec
6-10
Host Character Time-out
EFh
200 msec
6-11
Multipacket Option
F0h 4Eh
Option 1
6-12
Interpacket Delay
F0h 4Fh
0 ms
6-13
Decode Event
F0h 00h
Disable
6-14
Boot Up Event
F0h 02h
Disable
6-15
Parameter Event
F0h 03h
Disable
6-15
Event Reporting
NOTE
SSI interprets Prefix, Suffix1, and Suffix2 values listed in Table A-1 on page A-1 differently than other interfaces. SSI does not recognize key categories, only the 3-digit decimal value. The default value of 7013 is interpreted as CR only.
Page 80
6-4
Symbol DS6607 Product Reference Guide
SSI Host Parameters Baud Rate Parameter # 9Ch Baud rate is the number of bits of data transmitted per second. Set the digital scanner's baud rate to match the data rate setting of the host device. Otherwise, data may not reach the host or may reach it in distorted form. To enable the SSI host, scan the appropriate baud rate bar code that matches the baud rate setting of the host device.
Baud Rate 600 (02h)
Baud Rate 1200 (03h)
Baud Rate 2400 (04h)
Baud Rate 4800 (05h)
*Baud Rate 9600 (06h)
Baud Rate 19,200 (07h)
Page 81
SSI Interface
Baud Rate (continued)
38,400 (08h)
57,600 (0Ah)
115,200 (0Bh)
230,400 (0Ch)
6-5
Page 82
6-6
Symbol DS6607 Product Reference Guide
Parity Parameter # 9Eh A parity check bit is the most significant bit of each ASCII coded character. Select the parity type according to host device requirements.
• Select Odd parity and the parity bit has a value 0 or 1, based on data, to ensure that an odd number of 1 bits is contained in the coded character.
• Select Even parity and the parity bit has a value 0 or 1, based on data, to ensure that an even number of 1 bits is contained in the coded character.
• If no parity is required, select None.
Odd (00h)
Even |(01h)
*None (04h)
Page 83
SSI Interface
6-7
Check Parity Parameter # 97h Select whether or not to check the parity of received characters. Use the Parity parameter to select the type of parity.
*Check Parity (01h)
Do Not Check Parity (00h)
Software Handshaking Parameter # 9Fh This parameter offers control of the data transmission process in addition to that offered by hardware handshaking. Hardware handshaking is always enabled and cannot be disabled by the user.
• Disable ACK/NAK Handshaking: When this option is selected, the decoder neither generates nor expects ACK/NAK handshaking packets.
• Enable ACK/NAK Handshaking: When this option is selected, after transmitting data, the digital scanner expects either an ACK or NAK response from the host. The digital scanner also ACKs or NAKs messages from the host. The digital scanner waits up to the programmable Host Serial Response Time-out to receive an ACK or NAK. If the digital scanner does not get a response in this time, it resends its data up to two times before discarding the data and declaring a transmit error.
Disable ACK/NAK (00h)
*Enable ACK/NAK (01h)
Page 84
6-8
Symbol DS6607 Product Reference Guide
Host RTS Line State Parameter # 9Ah This parameter sets the expected idle state of the Serial Host RTS line. The SSI Interface is used with host applications which also implement the SSI protocol. However, the digital scanner can be used in a "scan-and-transmit" mode to communicate with any standard serial communication software on a host PC (see Decode Data Packet Format on page 6-8). If transmission errors occur in this mode, the host PC may be asserting hardware handshaking lines which interfere with the SSI protocol. Scan the Host: RTS High bar code to address this problem.
*Host: RTS Low (00h)
Host: RTS High (01h)
Decode Data Packet Format Parameter # EEh This parameter selects whether to transmit decoded data in raw format (unpacketed), or with the packet format defined by the serial protocol. Selecting the raw format disables ACK/NAK handshaking for decode data.
*Send Raw Decode Data (00h)
Send Packeted Decode Data (01h)