Black Box PCW22A-R3 Synchronous Device to Asynchronous Device, Synchronous Input Data Format

Page 23

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” character has been entered from the controlling device. This character will be a “Control D” (ASCII 04 Hex) on the asynchronous side.

4.2.2 SYNCHRONOUS INPUT DATA FORMAT

The synchronous side of the A/S-2G is programmed to receive data whose format is completely specified by the protocol in use (2770, 2780, 3741, or 3780). It will be in EBCDIC code at a data rate of up to 9600 bps.

4.2.3 DATA CONVERSION

The A/S-2G converts all synchronous EBCDIC data characters byte-for-byte to ASCII characters. The A/S-2G strips synchronization and protocol characters and adds asynchronous start and stop bits. The only exceptions in translating EBCDIC characters to ASCII Characters are listed in Tables 4-3 and 4-4 below.

4.2.4 FLOW CONTROL

The input buffer (RAM) is capable of storing up to a maximum of 1720 characters. The synchronous device can continuously send data to the A/S-2G so long as RAM is available. When a nearly-full state is reached (as determined by the selected block size), the A/S-2G will send a WAK (Wait Acknowledgement) to halt synchronous transmission until memory is available.

 

EBCDIC CHARACTERS TRANSLATED TO ASCII

 

EBCDIC

to

ASCII

NL (New Line) (Hex 15)

CR LF

EE or 27

 

ESC

ESC S

 

CR LF CR LF

ESC T

 

CR LF CR LF CR LF

ESC A

 

FF

ESC M

 

CR, Suppress LF

all other escapes

 

CR LF

 

 

 

Table 4-3. EBCDIC characters translated to ASCII.

4.2.5 VERIFICATION OF DATA RECEPTION

The A/S-2G uses the standard synchronous pro-tocol, ensuring data receipt and integrity through the standard ACK (Positive Acknowledgement), NAK (Negative Acknowledgement), and CRC-16 (cyclic redundancy check 16th degree polynominal structures).

4.2.6 LINE TURNAROUND

The final transmission from the synchronous side will be the EOT sequence (EBCDIC Hex 37). This releases the line and allows the A/S-2G to enter an idle mode wherein it will accept a line bid from either side.

22

Image 23
Contents Protocol Converter FCC Statement Protocol Converter A/S-2G Table of Contents Synchronous Device to Asynchronous Device RXC SpecificationsIntroduction Data Flow Control InstallationUnpacking and Inspection 2 SW2 SELF-DIAGNOSTICS Switch #4 on =5 RS-232 PASS-THROUGH Options Reconfigure Switch ModeReset Options Data Terminal Ready DTR Signal OptionsModem or DIRECT-TO-TERMINAL Connection Clear to Send CTS Signal OptionsBaud Rate Options Cable Requirement Preparing the A/S-2G for Connection to a Synchronous DeviceCarrier Options External or Internal Clocking Option Command PASS-THRU Asynchronous Device to Synchronous Device OperationFlow Control USE of Carriage Return a 2770/2780 ModeLine Turnaround Presentation of Data from A/S-2G to Synchronous DeviceVerification of Data Reception 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 Input Data Format Synchronous Device to Asynchronous DeviceEbcdic characters stripped Data Flow A/S-2G to Asynchronous Device Operation EOT Conversions and Connections Transparency Mode of OperationInstalling or Replacing Proms GND RS-232 Cable ChartCode Conversions Special Conversions Printed Board Circuit Layout Printed Circuit Board LayoutPark Drive Lawrence, PA