Black Box PCW22A-R4, PCW22A-R3 manual Operation, Asynchronous Device to Synchronous Device

Page 16

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.1ASYNCHRONOUS DEVICE TO SYNCHRONOUS DEVICE

4.1.1LINE CONTROL

When the A/S-2G is initially connected to an AC power source or reset, the asynchronous device can transmit data.

When the synchronous side has control of the line, a turnaround cannot occur until an “End of Transmission” character has been entered from the controlling device. This character will be an EOT (EBCDIC 37 Hex) on the synchronous side.

4.1.2 ASYNCHRONOUS INPUT DATA FORMAT

The asynchronous side of the A/S-2G is programmed to accept asynchronous data within the following parameters:

1 start bit

7 data bits

1 parity bit (any parity is accepted, but ignored. Parity is user-selectable by SW2, Switches #7 and #8.)

1 or 2 stop bits (user-selectable with SW3, Switch #8)

Half or full duplex (user-selectable with SW2, Switch #3)

75 to 9600 bps (user-selectable by SW1, Switches #1 through #4)

ASCII code

 

ASCII CHARACTERS TRANSLATED TO EBCDIC

ASCII

to

EBCDIC

Control D

 

EOT (AA AA 32 32 32 32 37 FF)

1B (ASCII Hex)

 

ESC (EBCDIC) (Hex 27)

CR (when SW3, Switch #3 is OFF)

NL (New Line) (EBCDIC 15 Hex)

 

 

 

Table 4-1. ASCII characters translated to EBCDIC.

4.1.3 DATA CONVERSION

The A/S-2G converts Asynchronous ASCII data byte-for-byte to EBCDIC equivalents, blocks it appropriately and wraps it in the applicable protocol envelope. The only characters not converted byte-for-byte are listed in Tables 4-1 and 4-2.

4.1.4 RECORD AND BLOCK SIZE

In preparing asynchronous data for communi-cation to a synchronous device, the A/S-2G groups characters according to the block size selected (SW2, Switches #5 and #6).

In accordance with 2770 and 2780 protocols, the A/S-2G adds an IUS (Hex 1F) followed by 2 block check characters (which are subsequently stripped by the EBCDIC device) after each 80 characters until a CR is received. The CR signifies the end of a block. If SW3, Switch #5 is OFF, the A/S-2G will fill the block with spaces until it reaches the block size specified by SW3, Switches 5 and 6. If SW3, Switch #5 is ON, the block will end immediately after the CR.

15

Image 16
Contents Protocol Converter FCC Statement Protocol Converter A/S-2G Table of Contents Synchronous Device to Asynchronous Device Specifications RXCIntroduction Unpacking and Inspection InstallationData Flow Control 2 SW2 Switch #4 on = SELF-DIAGNOSTICSReconfigure Switch Mode Reset OptionsData Terminal Ready DTR Signal Options 5 RS-232 PASS-THROUGH OptionsBaud Rate Options Clear to Send CTS Signal OptionsModem or DIRECT-TO-TERMINAL Connection Carrier Options Preparing the A/S-2G for Connection to a Synchronous Device Cable Requirement External or Internal Clocking Option Command PASS-THRU Operation Asynchronous Device to Synchronous DeviceUSE of Carriage Return a 2770/2780 Mode Flow ControlVerification of Data Reception Presentation of Data from A/S-2G to Synchronous DeviceLine Turnaround Data Flow A/S-2G to Synchronous Device NAK Echo CR LF Send block F Echo all but CR LF Data Flow A/S-2G to Synchronous Device Synchronous Device to Asynchronous Device Synchronous Input Data FormatEbcdic characters stripped Data Flow A/S-2G to Asynchronous Device Operation EOT Installing or Replacing Proms Transparency Mode of OperationConversions and Connections RS-232 Cable Chart GNDCode Conversions Special Conversions Printed Circuit Board Layout Printed Board Circuit LayoutPark Drive Lawrence, PA