Black Box PCW22A-R3 User Manual
Black Box PCW22A-R3 User Manual

Black Box PCW22A-R3 User Manual

Protocol converter a/s-2g

Advertisement

Quick Links

Protocol Converter
CUSTOMER
Order toll-free in the U.S.: Call 877-877-BBOX (outside U.S. call 724-746-5500)
FREE technical support 24 hours a day, 7 days a week: Call 724-746-5500 or fax 724-746-0746
SUPPORT
Mailing address: Black Box Corporation, 1000 Park Drive, Lawrence, PA 15055-1018
INFORMATION
Web site: www.blackbox.com • E-mail: info@blackbox.com
A/S-2G
A
P O R T
D S R
D T R
C T S
R T S
R X D
T X D
C T S
R T S
R X D
T X D
C D B
C D A
AUGUST 1998
PCW22A-R3
PCW22C-R4
G
A / S - 2
P W R
R X C
B
P O R T
T X C
D S R
D T R

Advertisement

Table of Contents
loading

Summary of Contents for Black Box PCW22A-R3

  • Page 1 Order toll-free in the U.S.: Call 877-877-BBOX (outside U.S. call 724-746-5500) FREE technical support 24 hours a day, 7 days a week: Call 724-746-5500 or fax 724-746-0746 SUPPORT Mailing address: Black Box Corporation, 1000 Park Drive, Lawrence, PA 15055-1018 INFORMATION Web site: www.blackbox.com • E-mail: info@blackbox.com...
  • Page 2 FCC STATEMENT FEDERAL COMMUNICATIONS COMMISSION INDUSTRY CANADA RADIO FREQUENCY INTERFERENCE STATEMENTS This equipment generates, uses, and can radiate radio frequency energy and if not installed and used properly, that is, in strict accordance with the manufacturer’s instructions, may cause interference to radio communication.
  • Page 3 PROTOCOL CONVERTER A/S-2G INSTRUCCIONES DE SEGURIDAD (Normas Oficiales Mexicanas Electrical Safety Statement) 1. Todas las instrucciones de seguridad y operación deberán ser leídas antes de que el aparato eléctrico sea operado. 2. Las instrucciones de seguridad y operación deberán ser guardadas para referencia futura. 3.
  • Page 4: Table Of Contents

    TABLE OF CONTENTS Table of Contents Specifications ............................5 Introduction............................6 Installation ............................7 Unpacking and Inspection ......................7 Data Flow Control ........................7 3.2.1 SW3 ..........................7 3.2.2 SW2 ..........................8 3.2.3 Self-Diagnostics......................9 3.2.4 Reconfigure Switch Mode....................9 3.2.5 RS-232 Pass-through Options ..................10 3.2.6 Reset Options ......................10 Preparing A/S-2G for Connection to an Asynchronous Device..........10 3.3.1 Data Terminal Ready (DTR) Signal Options ............10...
  • Page 5 PROTOCOL CONVERTER A/S-2G Synchronous Device to Asynchronous Device................22 4.2.1 Line Control .......................22 4.2.2 Synchronous Input Data Format................22 4.2.3 Data Conversion ......................22 4.2.4 Flow Control .......................22 4.2.5 Verification of Data Reception ..................22 4.2.6 Line Turnaround .......................22 Conversions and Connections ......................27 Transparency Mode of Operation...................27 Installing or Replacing PROMs ....................27 RS-232 Cable Chart ........................27 Code Conversions........................29...
  • Page 6: Specifications

    CHAPTER 1: Specifications 1.0 Specifications Protocol — Asynchronous: TTY (ASCII) Bisynchronous: 2770, 2780, 3741, and 3780 (EBCDIC) Ports — A: Asynchronous B: Synchronous/bisynchronous Speed — Up to 19.2 Kbps (each port independent) Interface — RS-232 (both ports) Connectors — (2) DB25 (female) Flow Control —...
  • Page 7: Introduction

    PROTOCOL CONVERTER A/S-2G 2.0 Introduction The Model A/S-2G provides compatibility between an asynchronous, ASCII coded device and a synchronous, EBCDIC coded device. It is desirable, prior to installation, to review the following checklist to ensure the appropriateness of all the devices in the system for the planned application. Synchronous (Bisynchronous) Side - Which Protocol is being used? (2770, 2780, 3741, or 3780) If IBM...
  • Page 8: Installation

    CHAPTER 3: Installation 3.0 Installation 3.1 UNPACKING AND INSPECTION After unpacking the A/S-2G, inspect it for shipping damage. Should there be any noticeable damage, save the cartons and contact the carrier who delivered the box to place a freight damage claim. To open the A/S-2G, take out the four screws from the bottom.
  • Page 9: Sw2

    PROTOCOL CONVERTER A/S-2G Block size for the 2770/2780 is normally limited to 160, but block size is 400 if the 2770/2780 has the Multiple Record Transmission. Block size for the 3780 is 512. Switch #4 ON = sends CR LF (Carriage Return, Line Feed) to asynchronous device immediately after each logical end of block character (ETB, or ETX) is received from the synchronous side.
  • Page 10: Self-Diagnostics

    CHAPTER 3: Installation Switch #4 ON = Self-Diagnostics Mode. OFF = Normal Operation. Switch #5, #6—Block Size Specification. 80 Characters 128 Characters 256 Characters 512 Characters NOTE For 3741, set SW3, Switch #5: OFF (Fixed length)SW2, Switch #5: OFF, and Switch #6: OFF (128 character block) Switch #7, #8—Asynchronous Parity Specification.
  • Page 11: Rs-232 Pass-Through Options

    PROTOCOL CONVERTER A/S-2G NOTE Self-diagnostics will normally display the switches as they are set on the printed circuit board. If the switches were reconfigured (see Section 3.2.4), the switches will be displayed as they are set in the software. 3.2.4 RECONFIGURE SWITCH MODE To enter the Reconfigure Switch Mode, a terminal must be connected to Port A.
  • Page 12: Clear To Send (Cts) Signal Options

    CHAPTER 3: Installation If SW3, Switch #7 is ON, the A/S-2G will drop DTR when only 32 character spaces remain in the buffer. The A/S-2G will reassert DTR as soon as there are at least 33 character spaces available. For most applications, it is best to configure SW3, Switch #7 ON.
  • Page 13: Carrier Options

    PROTOCOL CONVERTER A/S-2G 3.3.5 CARRIER OPTIONS If the carrier detect signal is to be driven by the A/S-2G configuration (DCE), the jumper labeled CAR A ENB must be installed. CAR A ENB is located below U20. Refer to the printed circuit board, Figure 5-2, on page 28.
  • Page 14: Baud Rate Options

    CHAPTER 3: Installation there is data to be transmitted. Once the A/S-2G receives CTS from the attached device, it will transmit the data. When the synchronous port (Port B) is configured as DTE, the CTS B jumper must be placed over the CNT position.
  • Page 15: Command Pass-Thru

    PROTOCOL CONVERTER A/S-2G 3.4.8 COMMAND PASS-THRU To use the command pass-thru feature, the command must be preceded by &% and terminated by &%. Example: &%-Command-&% Commands consist of character pairs. Each pair must represent a valid Hexidecimal value (i.e. zero through 9 or A through F).
  • Page 16: Operation

    CHAPTER 4: Operation 4.0 Operation By its nature, a protocol converter must operate differently in each direction, since it is communicating with separate devices. Therefore, its operation will be discussed separately for asynchronous to synchronous operation and for synchronous to asynchronous. 4.1 ASYNCHRONOUS DEVICE TO SYNCHRONOUS DEVICE 4.1.1 LINE CONTROL When the A/S-2G is initially connected to an AC power source or reset, the asynchronous device can...
  • Page 17: Use Of Carriage Return

    PROTOCOL CONVERTER A/S-2G ASCII EBCDIC CHARACTERS NOT TRANSLATED TO CR (Carriage Return) when SW3, Switch #3 is ON, LF (Line Feed), Control characters are not passed. Character Character Table 4-2. ASCII characters not translated to EBCDIC. In 3741 protocol, each block contains only one record. If SW3, Switch #5 is OFF, the A/S-2G will fill the block with spaces until it reaches 128 characters .
  • Page 18: Presentation Of Data From A/S-2G To Synchronous Device

    CHAPTER 4: Operation If SW3, Switch #7 is OFF, the A/S-2G will send an X-OFF (ASCII DC3, 13 Hex) to the asynchronous device when RAM reaches a nearly-full state. This prevents data from being lost due to a buffer overrun. When RAM space is available, the A/S-2G will send an X-ON (ASCII DC1, 11 Hex) to resume transmission.
  • Page 19 PROTOCOL CONVERTER A/S-2G Data Flow — A/S-2G to Synchronous Device Bisynchronous Device A/S-2G Converter Asynchronous Device IF 2270 - 2780 AA AA 32 32 32 32 02 (text up to 80 characters), IF, BCC1, BCC2; etc. (last record 26, BCC1, BCC2, FF IF 3780 AA AA 32 32 32 32 02 (text up to 80* characters...
  • Page 20 CHAPTER 4: Operation Data Flow — A/S-2G to Synchronous Device Bisynchronous Device A/S-2G Converter Asynchronous Device If A/S-2G buffer is nearly full when asynchronous device is transmitting: X-OFF Holds up transmission while buffer clears DC3 (ASCII 13 Hex) or drop DTR CTS or user-specified lead Send block C Frees up buffer space.
  • Page 21 PROTOCOL CONVERTER A/S-2G Data Flow — A/S-2G to Synchronous Device Bisynchronous Device A/S-2G Converter Asynchronous Device (Echo CR LF) Send block F (Echo all but CR LF) 2-second interval WAK resets ENQ counter Sync device buffer space available ACK 1 Send block F ACK 0 (Echo CR LF)
  • Page 22 CHAPTER 4: Operation Data Flow — A/S-2G to Synchronous Device Bisynchronous Device A/S-2G Converter Asynchronous Device IF 2270 - 2780 AA AA 32 32 32 32 02 (text up to 80 characters), IF, BCC1, BCC2; etc. (last record 03, BCC1, BCC2, FF IF 3780 AA AA 32 32 32 32 02 (text up to 80* characters...
  • Page 23: Synchronous Device To Asynchronous Device

    PROTOCOL CONVERTER A/S-2G 4.2 SYNCHRONOUS DEVICE TO ASYNCHRONOUS DEVICE 4.2.1 LINE CONTROL When the A/S-2G is initially connected to an AC power source or reset, the synchronous device can gain control of the line by sending an ENQ. When the asynchronous side has control of the line, a turnaround cannot occur until an “End of Transmission”...
  • Page 24 CHAPTER 4: Operation Should the A/S-2G receive a DLE EOT (disconnect), the A/S-2G will cycle the synchro-nous DTR lead off for 2 seconds. This action will disconnect a phone line if the DTR B jumper is set for CNT. NOTE The A/S-2G will cycle the synchronous DTR lead off for 2 seconds whether the DLE EOT sequence comes from the synchronous or asynchronous side.
  • Page 25 PROTOCOL CONVERTER A/S-2G Data Flow — A/S-2G to Asynchronous Device Bisynchronous Device A/S-2G Converter Asynchronous Device ACK 0 Send data block A ACK 1 Send block A Unformatted mode— successive characters (including spaces) appear one after another as sent If A/S-2G buffer is nearly full when synchronous device is transmitting: Send data block B 2-second interval 2-second interval...
  • Page 26 CHAPTER 4: Operation Data Flow — A/S-2G to Asynchronous Device Bisynchronous Device A/S-2G Converter Asynchronous Device Send data block D Send data block D ACK 0 when available Send block D If data not properly received by A/S-2G: Send data block E Retransmit block E ACK 1 (when correctly...
  • Page 27 PROTOCOL CONVERTER A/S-2G Data Flow — A/S-2G to Asynchronous Device Bisynchronous Device A/S-2G Converter Asynchronous Device Line release or turnaround Send data block F (last block) ACK 0 Send block F Send C R LF EOT to asynchronous device if SW3, switch #2 is ON Line can now be turned around or A/S-2G in idle mode...
  • Page 28: Conversions And Connections

    CHAPTER 5: Conversions and Connections 5.0 Conversions and Connections 5.1 TRANSPARENCY MODE OF OPERATION With a special transparency PROM installed, the A/S-2G will communicate with a host system in IBM binary synchronous transparent mode. To special-order the transparency PROM, please call technical support.
  • Page 29: Rs-232 Cable Chart

    PROTOCOL CONVERTER A/S-2G 5.3 RS-232 CABLE CHART RS-232C pins are defined as follows: Chassis (or Frame or Protective) Ground F-GND, C-GND, or P-GND Transmit Data TD or TXD Receive Data RD or RXD Request to Send Clear to Send Data Set Ready Signal Ground S-GND Carrier Detect...
  • Page 30: Code Conversions

    CHAPTER 5: Conversions and Connections 5.4 CODE CONVERSIONS The conversions used in the standard 2770, 2780, 3741, and 3780 PROMs are shown in the following charts. Your PROM can be customized. Please call Technical Support if you have particular translation requirements.
  • Page 31 PROTOCOL CONVERTER A/S-2G Character Character ASCII EBCDIC ASCII EBCDIC Graphic Dir. Comments Graphic Dir. Comments 1/2 EBCDIC SPECIAL CONVERSIONS EBCDIC ASCII Comments ESC A ESC M Suppress LF for underscore ESC S CR LF Two CR LF sequences CR LF - EBCDIC ESC T CR LF...
  • Page 32: Printed Circuit Board Layout

    CHAPTER 5: Conversions and Connections UNASSIGNED EBCDIC CODE 5.5 PRINTED CIRCUIT BOARD LAYOUT EPROM Figure 5-2. Printed Board Circuit Layout.
  • Page 33 © Copyright 1998. Black Box Corporation. All rights reserved. 1000 Park Drive • Lawrence, PA 15055-1018 • 724-746-5500 • Fax 724-746-0746...

This manual is also suitable for:

Pcw22c-r4

Table of Contents