Black Box PCW22A-R3, PCW22A-R4 manual USE of Carriage Return a 2770/2780 Mode, Flow Control

Page 17

PROTOCOL CONVERTER A/S-2G

ASCII CHARACTERS NOT TRANSLATED TO EBCDIC

CR (Carriage Return) when SW3, Switch #3 is ON, LF (Line Feed), Control characters are not passed.

Character

Hex

Character

Hex

NUL

00

ACK

06

SOH

01

DLE

10

STX

02

NAK

15

ETX

03

SYN

16

EOT

04

ETB

17

ENQ

05

US

1F

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 . If SW3, Switch #5 is ON, the block will end immediately after CR.

NOTE:

If SW3, Switch #3 is OFF, then one character of the total count must be allotted to the CR. The CR will be translated into EBCDIC as a NL (New Line). Thus, if block size is specified as 80 characters, 79 characters plus the CR would make a full 80 character record. Entering 80-characters and a CR would cause 2 records to be sent: one with the 80 characters; the second with the NL character and, if SW3, Switch #5 is OFF, 79 spaces.

When SW3, Switch #3 is ON, the A/S-2G will delete CR from the character count and send no representation of the CR with the EBCDIC data.

4.1.5USE OF CARRIAGE RETURN (A) 2770/2780 MODE

Data from the asynchronous device is buffered (stored in RAM) until a CR (ASCII 0D Hex) is entered. If the A/S-2G receives asynchronous characters up to the selected block size without receiving a CR character, the A/S-2G will add an IUS character and a 2-byte CRC sequence to the block.

When the A/S-2G receives a CR, the A/S-2G sends any buffered data to the synchronous device with an ETB (EBCDIC Hex 26).

The last block of asynchronous data must end with a “Control D” (ASCII Hex 04). The A/S-2G will send the block, adding with an ETX (EBCDIC Hex 03). After receiving a positive acknowledgement, the A/S-2G sends an EOT.

(B) 3741/3780 MODE

Data from the asynchronous device is buffered until a CR (ASCII 0D Hex) is entered. When the A/S-2G receives a CR, the A/S-2G inserts an IRS (EBCDIC 1E Hex). Data will continue to accumulate until the selected block size is exceeded. At this point, the A/S-2G sends the full block of data.

The last block of asynchronous data must end with a “Control D” (ASCII Hex 04). The A/S-2G will send the block, adding with an ETX (EBCDIC Hex 03). After receiving a positive acknowledgement, the A/S-2G sends an EOT.

4.1.6 FLOW CONTROL

The input buffer (RAM) is capable of storing up to 1720 characters. The asynchronous device can continuously send data to the A/S-2G if RAM is available and the character string contains a CR code before the buffer fills. (However, the maximum block size that is acceptable to the synchronous device must be considered.)

16

Image 17
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 =Reset Options Reconfigure Switch ModeData Terminal Ready DTR Signal Options 5 RS-232 PASS-THROUGH 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