The text of a manual · part 3 of 18
Multi-Purpose Bar Code Workstation Series B (Catalog Number 2755-DH1) User Manual: 3 - Host Computers and Display Terminals
Pages 14 to 20 of 132, from Multi-Purpose Bar Code Workstation Series B (Catalog Number 2755-DH1) User Manual
The original document is the PDF (1.2 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 Allen-Bradley 2755-DH1
Page 14
Chapter
A–B
3
Host Computers and Display Terminals Chapter Objectives
This chapter discusses communications between a decoder, host computer, and display terminal.
Communications Ports
The decoder has two independent communications ports, the Host Computer port and Display Terminal port. The Host Computer port supports both RS-232-C and RS-422 communications. The Display Terminal port only supports RS-232-C. All communication parameters, such as baud rate, parity, stop bits, etc. are common to both ports. The Host Computer port is used by the:
• Decoder to send decoded bar code data to the host for processing • Host computer to display the configuration screen • Host computer to send messages to the display terminal • Host computer to download commands (escape sequences) to the decoder. These commands customize the operating parameters. The Display Terminal port provides a convenient connection point for a local terminal or serial printer. If the bar code symbol is illegible, the terminal can be used to manually enter and transmit bar code data to the host. You cannot enter data into this port when the decoder is scanning. A display terminal can receive decoded bar code data:
• Directly from the decoder • As an echo from the host The Display Terminal port can be enabled or disabled, as described on pages 3-2 and 3-3.
3–1
Page 15
Chapter 3 Host Computers and Display Terminals
Display Terminal Port Disabled
The decoder’s ability to transmit decoded bar code data to a display terminal can be enabled or disabled. If your host computer echoes all received data, you should disable the Display Terminal port using the Disable Terminal Port configuration bar code symbol. If you do not disable the Display Terminal port you will receive duplicate messages, one from the host and the other from the decoder. This function’s default setting is Display Terminal Port Enabled. When the decoder decodes a bar code symbol, it will transmit the decoded data to the host. When the host receives the data, it may echo the data through the decoder’s Display Terminal port, to the attached display terminal. Refer to Figure 3.1. Figure 3.1 Display Terminal Port Disabled Decoder
Decoded Bar code data Echo of decoded Bar code data Echo of decoded Bar code data Configuration Commands
Bar code data entered on keyboard
Display Terminal
Host Computer Transmit
Receive
Host
Decoder and Display Terminal
Display Terminal
Host
Decoder
Host
Use this mode if your host computer does echo all data transmissions to local terminals.
Note: With the Display Terminal port disabled, all escape sequences sent to the decoder will also be sent to any local terminal connected to the decoder. Make sure these escape sequences will not affect your terminal’s operation. Note: If the decoder receives a Show Configuration command, the configuration display screen will be sent only to the Host Computer port. 3–2
Page 16
Chapter 3 Host Computers and Display Terminals
Display Terminal Port Enabled
The decoder’s ability to transmit decoded bar code data to a display terminal can be enabled or disabled. If your host computer does not echo data, you can enable the Display Terminal port using the Enable Terminal Port configuration bar code symbol. When the decoder decodes a bar code symbol, it will be transmitted simultaneously to the Host Computer and Display Terminal ports. Refer to Figure 3.2. Figure 3.2 Display Terminal Port Enabled Decoder
Decoded Bar code data
Decoded Bar code data
Configuration Commands
Bar code data entered on keyboard
Display Terminal
Host Computer Transmits
Receives
Host
Decoder
Display Terminal
Host
Decoder
Host and Display Terminal
Use this mode if your host computer does not echo data transmissions to local terminals.
Note: If the decoder receives a Show Configuration command, the configuration display screen will be sent to the host and local display terminal simultaneously.
3–3
Page 17
Chapter 3 Host Computers and Display Terminals
Host Computer Port Pinout
The Host Computer port is configured as a Data Terminal Equipment (DTE) device. Table 3.A defines which pins of the 25 pin (female) D-shell connector are used to provide RS-232-C and RS-422 communications.
Pin
Function
Abb.
What This Pin Does
1
Protective Ground
GND
Electrically bonded to the chassis and to the metal shell of the 25-pin connector. When plastic shell (non-shielded) connectors are used on the communications cable, the cable shield drain wire should be connected to this pin.
2
RS-232-C Transmitted Data (Output)
TxD
Serial output from the decoder.
3
RS-232-C Received Data (Input)
RxD
Serial input data from the host computer. Escape sequence commands for programming and control are sent to this pin.
4
RS-232-C Request To Send
RTS
Indicates to the host computer that the decoder is on-line. When RTS/CTS handshaking is enabled, RTS will go high when the terminal or decoder wishes to transmit.
5
RS-232-C Clear To Send
CTS
The CTS input must be driven greater than +3 VDC or left unconnected to allow the decoder to output decoded label information. When CTS is less than -3 VDC, transmission from the decoder will cease within 1-character transmission time. When the host is receiving input from the local display terminal, CTS is driven low.
6
RS-232-C Data Set Ready
DSR
Internally connected to Pin 20 to provide loopback of DTR signal.
7
Signal Common
COM
This is the signal reference common which must be connected to signal common on the host computer. Pins 1, 7, and 25 are tied together in the decoder and tied to chassis ground.
14
RS-422 Transmitted Data (output)
TxB+
This RS-422 line is used to send data from the decoder to the host.
15
RS-422 Transmitted Data (output)
TxA-
This RS-422 line is used to send data from the decoder to the host.
16
RS-422 Receive Data (input)
RxA’-
This RS-422 line is used to receive data from the host.
17
RS-422 Receive Data (input)
RxB’+
This RS-422 line is used to receive data from the host.
20
RS-232-C Data Terminal Ready
DTR
Internally connected to pin 6 to provide loopback of DSR Signal.
25
Signal Common
COM
See comments for Pin 7.
Note: When RTS/CTS Handshaking is enabled, both the Host and Display Terminal ports must either support the RTS/CTS Handshaking protocol, or the Display Terminal port’s RTS/CTS lines must be unconnected.
3–4
Page 18
Chapter 3 Host Computers and Display Terminals
RS-232-C Host Computer Interface
Figure 3.3 shows how to connect the decoder to your host computer using RS-232-C. We recommend using Belden (or equivalent) type 9363, 9533, 9535, or 9537 cable. Figure 3.3 Connecting A Host Computer Via RS-232-C Host Computer Port on decoder① Shield②
Host RS-232-C Port
GND
1
RS-232-C TxD③
2
RxD
RS-232-C RxD③
3
TxD
RS-232-C RTS
4
CTS
RS-232-C CTS
5
RTS
RS-232-C DSR
6
DTR
COM③
7
COM
RS-232-C DTR 20
DSR
COM 25
① DTE = Data Terminal Equipment ② When non-metallic connector shells are used. (If cable has a metal connector shell, connect shield to the shell.) ③ Pins 2, 3 and 7 are the minimum connections that can be used. All unused pins should be left open.
When the host computer wishes to receive data from the local display terminal, it must set Pin 5 (CTS) on the host computer port to OFF (less than -3 V). This prevents the decoder from transmitting and insures a clear channel for communications between the host computer and the local display terminal. If the decoder receives data from a scanning device, it will force RTS low preventing communications between the host and display terminal.
3–5
Page 19
Chapter 3 Host Computers and Display Terminals
RS-422 Host Computer Interface Figure 3.4 shows how to connect the decoder to your host computer using RS-422. We recommend using Belden (or equivalent) type 9512 cable. Figure 3.4 Connecting A Host Computer Via RS-422 Host Computer Port on Decoder
Host RS-422 Port
Shield① GND 1 RS-422 TxB+ 14
RxB’+
RS-422 TxA- 15
RxA’+
RS-422 RxA’- 16
TxA-
RS-422 RxB’+ 17
TxB+
COM 7
COM
COM 25 ① When non-metallic connector shells are used. (If cable has a metal connector shell, connect shield to the shell.)
Display erminal Port Pinout
The Display Terminal port is configured as Data Communication Equipment (DCE). Table 3.B defines which pins of the 25-pin (female) D-shell connector are used.
Pin
Function
Abb.
Additional Information
1
Protective Ground
GND
This pin is electrically bonded to the chassis and to the metal shell of the 25-pin connector. When plastic shell (non-shielded) connectors are used on the communications cable, the cable shield drain wire should be connected to this pin.
2
Received Data
RxD
Serial input data from the display terminal is received on this pin.
3
Transmitted Data
TxD
Serial output data from the decoder is passed to the display terminal on this pin.
4
Request To Send
RTS
RTS is an input to the decoder. It may be used to notify the host of a forthcoming transmission.
5
Clear To Send
CTS
CTS is an output from the decoder. It is driven to less than -3 VDC whenever the decoder transmits.
7
Signal Common
COM
This must be connected to signal common on the display terminal, Pins 1, 7, and 25 are tied together in the decoder.
25
Signal Common
COM
See comments for Pin 7.
3–6
Page 20
Chapter 3 Host Computers and Display Terminals
RS-232-C Display Terminal Port Interface
Figure 3.5 shows how to connect the decoder to the display terminal. RS-232-C is the only supported interface for display terminals. We recommend using Belden (or equivalent) type 9363, 9533, or 9535 cable. Figure 3.5 Connecting the Display Terminal Via RS-232-C Decoder’s Display Terminal port DCE ②
Display Terminal
Shield① RS-232-C GND 1 RS-232-C RxD 2
TxD
RS-232-C TxD 3
RxD
RS-232-C RTS 4
CTS
RS-232-C CTS 5
RTS
COM 7
COM
COM 25
①
When non-metallic connector shells are used. (If cable has a metal connector shell, connect shield to the shell.)
②
DCE = Data Communication Equipment
3–7