Home
Black Box PCW22A-R3 User's Manual
Contents
1. 12 3 4 Preparing the A S 2G for Connection to a Synchronous 12 of Data Terminal Keady DIRB DIPDALODIEODS sasiore 12 DURS Sr SE 12 Daud AAA oi E E O 13 3 4 4 Modem Directto L rmmal Connection iio contaras iaa 15 SR i 13 A 13 347 o oe 13 A A oe ee 14 20 PO C 15 4 1 Asynchronous Device to Synchronous Device RA Ea 15 AL ci a o E 15 23 SVC OOS loput Data m 15 ME 15 Ala oo and dan 15 Ue ode cuu o o 16 NT o 16 4 1 7 Presentation of Data from A S 2G to Synchronous Device eese 17 See ol Data Recopa 17 LLO ra AAA ener ee er ere rT 17 PROTOCOL CONVERTER A S 2G 4 2 Synchronous Device to Asynchronous Device avaro Ze E 22 42a AA 22 sn 22 O 22 425 Bon 0 TE PP A Ze DU e508 One gt ern mire re ee rer ere ne 24 Dl Transparency 5 5 54 27 D2 RN PROM prnl 27 27 D Ol E IET ad 29 CCC AAA PA N E 31 Protocol Ports Speed Interfa
2. T CLK or TXCLK 17 Receive Signal Element Timing Clock R CLK or TXCLK 20 Data Terminal Ready DTR 22 Ring Indicator RI RS 232 Interface SIGNAL PIN PIN SIGNAL DESTINATION NUMBER NUMBER DESTINATION 1 PROTECTIVE GROUND 2 TRANSMITTED DATA 3 RECEIVED DATA 4 REQUEST TO SEND 5 CLEAR TO SEND 6 DATA SET READY 7 SIGNAL GROUND COMMON RETURN 8 RECEIVED LINE SIGNAL DETECTOR 9 VOLTAGE 10 VOLTAGE 11 12 SECONDARY RECEIVED LINE SIGNAL DETECTOR 13 SECONDARY CLEAR TO SEND SECONDARY TRANSMITTED DATA 14 DCE TRANSMITTER SIGNAL ELEMENT TIMING 15 SECONDARY RECEIVED DATA 16 RECEIVER SIGNAL ELEMENT TIMING 17 18 SECONDARY REQUEST TO SEND 19 DATA TERMINAL READY 20 SIGNAL QUALITY DETECTOR 21 RING INDICATOR 22 DATA SIGNAL RATE SELECTOR 23 DTE TRANSMITTER SIGNAL ELEMENT TIMING 24 25 Figure 5 1 The RS 232 Interface 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 Abbreviations Dir Direction of Conversion NP No pass no translation in either direction Character Character or ASCII EBCDIC or ASCII EBCDIC Graphic Hex Dir Hex Comments Graphic Hex Dir Hex Comments NUL 00 NP 00 29 SOH 01 01 HS gt 35
3. male RS 232 connector into the A S 2G s female receptacle Sex change adapters connectors and cable are available if you need them PORT B Synchronous BAUD RATE 8 Rate 5 1800 2000 2400 4800 7200 9600 19200 Table 3 2 Port Synchronous Baud Rates 3 4 1 DATA TERMINAL READY DTR SIGNAL OPTIONS The synchronous port DTR option control is a jumper labeled DTR B It is just under U26 on the circuit board See Figure 5 2 on page 28 Placing the jumper over ON maintains a constant high signal on When this jumper is placed over CNT the A S 2G will drop DTR during a reset or after receipt of a DLE EOT sequence from either the synchronous or the asynchronous port For most installations position the jumper over ON 3 4 2 CLEAR TO SEND CTS SIGNAL OPTIONS The synchronous port CTS option control is a jumper labeled CTS B It is located between U21 and U25 on the circuit board See Figure 5 2 on page 28 Placing the jumper over ON maintains a constant high signal on CIS When this jumper is placed over CNT the A S 2G will raise RTS when 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 is configured as DTE the CTS jumper must be placed over the CNT position Place the CTS B jumper over the
4. CNT position when Port B is configured as DCE 3 4 3 BAUD RATE OPTIONS For externally provided synchronous clocking the baud rate for the synchronous communication line is determined by the modem or modem eliminator To select External Clock on Port B all switches for Port B Baud Rate SWI Switches 5 through 5 must be in the OFF position When Transmit and Receive Clock are optioned for INTERNAL set the four switches so that the baud rate of the A S 2G matches the baud rate of the external synchronous device Refer to Table 3 2 Port B Synchronous Baud Rates to determine the position of each switch 5 4 4 MODEM OR DIRECT TO TERMINAL CONNECTION When connecting the A S 2G s synchronous port to a modem or external Synchronous Modem Eliminator the A S 2G should be made to appear as DTE Data Terminal Equipment When connecting the A S 2G s synchronous port directly to a terminal or CPU the A S 2G should be made to appear as DCE Data Communications Equipment To configure this interface correctly place the DIP Shunt which resembles a PROM into the correct socket There are two DIP Shunts one for the asynchronous port and one for the synchronous port Only one of these configurations DTE or DCE may be selected for each port at any given time The DIP Shunt for the synchronous port Port B should go on U29 or U30 Refer to the circuit board layout Figure 5 2 on page 28 To remove or replace a DIP Shunt follow the instructi
5. CONVERSIONS EBCDIC to ASCII Comments ESC A FF ESC M CR Suppress LF for underscore ESCS CRLF TwoCRLF sequences CR LF ESC T CRLF Three CRLF sequences CR LF CRLF Any other ESC CRLF sequence NL CRLF A B F G H J K L M N O Q R 5 T U V W X Y Z EBCDIC underscore ASCII to EBCDIC Comments CR NL This occurs only when SW3 Switch 3 is OFF OTD A NO 1015 Conversions and Connect CHAPTER 5 Q O O m 2 Y 2 gt 5 5 PRINTED CIRCUIT BOARD LAYOUT 1X3 scga og INO 519 d 9 ss INS AWS 699 B B vuvoRa gg 559 O o 193130 691193130 V OOO sen 2991139 qo 99 Zon HHVO LNO NO HHVO IND NO V V SLO IH ausa Figure 5 2 Printed Board Circuit Layout BLACK BOX Copyright 1998 Black Box Corporation All rights reserved 1000 Park Drive Lawrence PA 15055 1018 724 746 5500 Fax 724 746 0746
6. D RATE Rate 1 3 4 Rate EXT Invalid OFF OFF OFF 1800 5 2000 110 2400 134 5 4800 150 OFF OFF 7200 300 OFF ON 9600 600 OFF OFF 19200 1200 OFF ON Table 3 1 Port A Asynchronous Baud Rates 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 The carrier control jumper CARR A in between 18 and Ul9 on the circuit board See Figure 5 2 on page 28 should be set as follows a continuous carrier place the jumper over the ON position b switched carrier equal to the RTS signal from the A S 2G place the jumper over the CNT position If the A S 2G asynchronous port is configured as DCE place a jumper over CAR A ENB and place the CARR A jumper over ON 3 3 6 CABLE REQUIREMENT Use an RS 232 cable which is pinned straight through i e 1 to 1 2 to 2 3 to 3 etc to connect the A S 2G s asynchronous port to the modem terminal or CPU Leads through 8 and 20 are required see Section 5 3 on page 25 3 4 PREPARING THE A S 2G FOR CONNECTION TO A SYNCHRONOUS DEVICE The synchronous port Port B is designed to connect to a synchronous modem modem eliminator or terminal Set the switches shunts and jumpers as described below then plug a
7. F NOTE The 3741 protocol is limited to a block size of 128 characters the block size is also the record size thus a CR must be entered not later than each 128 characters Eg 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 OFF Switch 5 ON OFF sends CR LF Carriage Return Line Feed to asynchronous device immediately after each logical end of block character ETB or is received from the synchronous side Normal operation Variable length blocks This switch causes the records sent by the asynchronous device to be blocked and treated as variable length i e no spaces are used to pad out the block All blocks are treated as fixed length which would require blank spaces if necessary to complete the block size In 2780 multi record blocks an IUS character is inserted after each 80 characters counted The final record is the only one that may be less than the block size specified NOTE It is possible that a block will have only one record if you enter a CR after each record 2780 mode 3780 MODE 2770 2780 3741 MODE When RAM reaches a nearly full state Pin 20 will be lowered When RAM space is available DIR will be raised to permit transmission to resume Port A must be configured as DTE see Section 3 2 5 When CTS from the extern
8. For pass through position the jumper over the center and right posts The DTR double jumper is located just below and slightly to the right of U28 on the circuit board For normal operation A S 2G signal control place the jumper over the center and left posts For pass through position the jumper over the center and right posts The CD double jumper is located between U20 and U24 on the circuit board For normal operation A S 2G signal control place the jumper over the center and upper posts For pass through position the jumper over the center and lower posts 3 2 6 RESET OPTIONS You can configure the A S 2G to reset automat ically on the occurrence of Ring Indicate RI on either port or the loss of Data Set Ready DSR on Port A and or Port B These jumpers are located on the upper left of the circuit board just below U7 Any or all of these jumpers may be selected All of the reset options are disabled as shipped from the factory the jumper is over the center and right posts To enable one of these reset options move the appropriate jumper over the left and center posts 3 3 PREPARING THE A S 2G FOR CONNECTION TO AN ASYNCHRONOUS DEVICE The asynchronous port Port A is designed to connect to an asynchronous modem terminal or CPU Set the switches shunts and jumpers as described below then plug a male RS 232 connector into the A S 2G s female receptacle Sex change adapters connectors and cable are available if you ne
9. IRS EBCDIC SIX 02 02 US IF 03 03 lt lt 2C 04 37 ENQ 05 lt 2D SPACE 20 lt gt 40 ACK 06 2E 41 Required Space BEL 07 gt lt El Numeric Space BS 08 lt 16 21 gt EBCDIC DP x 36 Numeric BS j 2 AP HT 09 lt gt 05 23 gt TB lt 39 Required Tab 24 lt gt 5B LF OA 25 25 gt 60 VT lt amp 26 lt gt 50 FF 0C gt 27 lt gt 7D WP 28 gt 4 Required End 29 lt gt 5 CR OD OD 2 CR gt 15 2B gt CR x 06 Required CR 2 gt 6B CR x 1 20 gt 60 33 Index Return CA SYL Hyphen SO OE gt 2E lt gt 4B 5 OF OF 2F 51 DLE 10 10 0 30 FO DC1 11 lt gt 11 1 E 2 12 12 2 de F2 DC3 13 lt gt 13 3 Jg ES DC4 14 4 34 F4 15 30 5 35 4 SYN 16 NP 32 6 36 gt F6 ETB EOB 17 26 7 df BE CAN 18 gt 18 8 38 F8 EM 19 lt gt 19 9 39 2 F9 SUB 1A lt gt gt ESC 1B lt gt 27 3B gt lt EE 3C 1C 22 3D lt gt FS 1C 16 3E GS 1D gt 10 of Se PROTOCOL CONVERTER A S 2G Character Character or ASCII EBCDIC or ASCII EBCDIC Graphic Hex Dir Hex Comments Graphic Hex Dir Hex Comments O N lt xS lt C 00 1 2 EBCDIC SPECIAL
10. OW CONTROL For the locations of the switches and jumpers see Figure 5 2 on page 28 3 2 1 SW3 Locate the set of 8 asynchronous switches labeled SW3 on the printed circuit board See Figure 5 2 on page 28 These should be set as follows Switch 1 ON echo asynchronous characters echoplex mode OFF don t echo asynchronous characters normal mode Set this switch ON when the asynchronous device expects to receive an echo of its transmitted data NOTE The A S 2G always operates in half duplex mode on the synchronous side so this option applies only to the asynchronous device Switch 2 ON echo EOT character OFF don t echo EOT character The last record received from the asynchronous device must be terminated with a Control D character For this character to echo to the asynchronous device switch 2 must be ON This character is echoed only after the EOT sequence is sent to the synchronous device Its echo appears as a CR LF EOT NOTE An EOT from the bisynchronous device will be displayed in the same way to the asynchronous device with this switch ON Switch 5 ON do not include CR carriage return character in EBCDIC data OFF include CR character in EBCDIC data Each block sent by the asynchronous device except the last one must be terminated with a CR carriage return code If this CR code will be included in the synchronous EBCDIC data as a new line this switch must be OF
11. R LF 4 Send block Echo all but CR LF SO 2 second interval WAK WAK resets ENQ counter EN Sync device buffer space available ACK 1 4 amp Send block ACK 0 339 gt Echo CR LF If data not yet available from asynchronous device If over 2 second interval AA32323232022DFFFF TID NAK DR Line release or turnaround Send block end with EOT Hex 04 gt Echo all but CR LF EOT amp Send block El 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 BCCI BCC2 etc last record 03 BCC2 FF FF IF 3780 JAVA AVA ys ye oe text up to 80 characters with records separated by last record in block 03 BCC2 FF IF 3741 INS a2 32 a2 2 up to 128 characters 03 BCCI BCC2 FF ACK 1 Send EOT AA AA 32 32 32 32 37 FF FF gt Echo CR LF EOT Line is now idle Assumes block size of 80 is selected 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 sourc
12. SC 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 E 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 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 EBCDIC CHARACTERS STRIPPED Character Character NUL ACK SOH DLE STX NAK ETX SYN EOT ETB ENQ Table 4 4 EBCDIC characters stripped PROTOCOL CONVERTER A S 2G Data Flow A S 2G to Asynchronous Device Bisynchronous Device A S 2G Converter Asynchronous Device ENQ Send data block SA ACK 1 Send block A Unformatted mode successive characters including spaces appear one after another as sent Send
13. 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 A 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 05 US 1 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 e 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 representation of the CR with the EBCDIC data 4 1 5 USE OF CARRIAGE RETURN A 2770 2780 MODE Data f
14. UNA A A OUI AUGUST 1998 PCW22A R3 PCW22C R4 BLACK BOX Protocol Converter A S 2G CUSTOMER Order toll free in the U S Call 877 877 BBOX outside U S call 724 746 5500 SUPPORT FREE technical support 24 hours a day 7 days a week Call 724 746 5500 or fax 724 746 0746 RM Mailing address Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 a Web site www blackbox com E mail info blackbox com FEDERAL COMMUNICATIONS COMMISSION AND 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 It has been tested and found to comply with the limits for a Class A computing device in accordance with the specifications in Subpart J of Part 15 of FCC rules which are designed to provide reasonable protection against such interference when the equipment is operated in a commercial environment Operation of this equipment in a residential area is likely to cause interference in which case the user at his own expense will be required to take whatever measures may be necessary to correct the interference Changes or modifications not expressly approved by the party responsible for compliance could void the user s authority to operate the equipment This digital apparatus does not exceed the Clas
15. al asynchronous device is ON the A S 2G can send data When the external device lowers CTS the A S 2G will not send data When RAM reaches a nearly full state an X OFF ASCII DC3 13 Hex will be issued to the asynchronous device to prevent buffer overrun When RAM space 15 available X ON ASCII DCI 11 Hex will be sent to resume transmission Put the CTS A jumper to the on position see Section 3 2 3 2 Stop Bits asynchronous side only 1 Stop Bit asynchronous side only Locate the switch labeled SW2 on the printed circuit board See Figure 5 2 on page 28 Switch 6 ON OFF Switch 7 ON OFF Switch 8 ON OFF 3 2 2 SW2 Switch 1 ON OFF Switch 2 ON OFF Switch 3 ON OFF Space compression on transmit 3780 Mode only Normal operation Pass escape sequences through Convert escape sequences to CR LF or FF per Section 4 2 3 on page 20 No Asynchronous RTS except during bisynchronous receive half duplex on asynchronous side Normal Operation full duplex Ha CHAPTER 3 Installation Switch 4 ON Self Diagnostics Mode OFF Normal Operation Switch 5 6 Block Size Specification 5 6 OFF OFF 80 Characters OFF ON 128 Characters ON OFF 256 Characters ON ON 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 7 8 OFF OFF Space Par
16. ave the BSC Communications package Is machine code EBCDIC Asynchronous Side Is transmission code ASCII Will it operate in TTY format start stop RS 232 7 bit and even odd mark or space parity The A S 2G is equipped with two bidirectional RS 232C ports These ports labeled Port A and Port B transfer data at up to 19 2 Kbps Either or both ports may be connected directly to a terminal CPU or an appropriate modem You configure each port s operational parameters independently by setting DIP shunts DIP switches and jumpers explained in Chapter 3 0 Diagnostic LEDs are mounted on the front of the unit These LEDs are labeled Port A and Port B They are directly associated with the two ports and indicate the status of the A S 2G at the port indicated The reset button on the back panel will cause the A S 2G s Z80A microprocessor to reinitialize reset 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 Lift off the cover With the cover removed visually inspect for components that may have been loosened in shipment Shipping damage is rare but a quick inspection is always good practice Leave the cover off for installation 3 2 DATA FL
17. ce Connectors Flow Control Indicators Approvals Power Size Weight CHAPTER 1 Specifications 1 0 Specifications Asynchronous TTY ASCII Bisynchronous 2770 2780 3741 and 3780 EBCDIC A Asynchronous B Synchronous bisynchronous Up to 19 2 Kbps each port independent RS 232 both ports 2 DB25 female Asynchronous X ON X OFF or DTR CTS interface lead in DTE only Synchronous bisynchronous standard BSC handshaking Unit Power Each Port Port A only Port B only CE PWR IXD RXD RIS CTS DTR DSR CDA CDB TXC RXC Power LED mounted on Port B side Transmit Data Receive Data Ready to Send Clear to Send Data Terminal Ready Data Send Ready Carrier Detect Carrier Detect LED mounted on Port A side Transmit Clock Receive Clock 115 VAC 50 60 Hz 63 watts 230 VAC model available upon request 2 1 H x 11 5 W x 8 8 D 5 3 x 29 2 x 22 4 cm 3 5 Ib 1 6 kg 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 is the line to be used a Bisynchronous line Do you h
18. chronous device must be considered 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 DCI 11 Hex to resume transmission Alternatively if SW3 Switch 7 is ON the A S 2G will lower the DTR Pin 20 when RAM reaches a nearly full state When RAM space is available the A S 2G will again raise DTR to resume transmission 4 1 7 PRESENTATION OF DATA FROM A S 2G TO SYNCHRONOUS DEVICE When an asynchronous device begins transmission to the A S 2G and the A S 2G has enough data for a block the A S 2G bids for the synchronous line and proceeds in standard bisynchronous protocol See the Data Flow Diagrams on pages 15 through 19 NOTE Bracketed sections indicate a selectable option Arrows indicate the direction of data flow 4 1 8 VERIFICATION OF DATA RECEPTION When operating in full duplex mode from the asynchronous side SW3 Switches 1 and 2 permit visual assurance of accurate and complete transmission When SW3 Switch 1 is ON the A S 2G will immediately echo back all the data it receives from the asynchronous device When SW3 Switch 2 is ON the A S 2G will send a CR LF and EOT to the asynchronous device after a complete transmission and a line turn around have successfully been
19. completed 4 1 9 LINE TURNAROUND The final record transmitted from the asynchronous side must be terminated with a Control ASCII 04 Hex character This notifies the A S 2G that the asynchronous device has completed its entry and is relinquishing the line After all data is sent the A S 2G will send an EOT sequence to the synchronous side Data Flow A S 2G to Synchronous Device Bisynchronous Device A S 2G Converter Asynchronous Device Characters up to maximum BSC Block size 2770 2780 3780 or one 128 character record 3741 terminated by CR 0D Hex Block A of data received in start stop format Echo all but CR LF ENQ Line Bid AA AA 32 32 32 32 2D FF FF ACK 0 Positive Acknowledgment 2 70 FF FF 24 Send block A A PROTOCOL CONVERTER A S 2G Data Flow A S 2G to Synchronous Device Bisynchronous Device IF 2270 2780 AA Bye Gye Gy text up to 80 characters IF BCCI BCC2 etc last record 26 BCC2 IF 3780 AAAA CODE text up to 80 characters with records separated by last record in block 26 BCC2 FF IF 3741 AA AA 32 32 32 32 02 up to 128 characters 26 BCCI BCC2 FF ACK 1 Positive Acknowledgment Odd AA AA 32 32 32 32 10 61 FF FF 2 Send block ACK 0 Assumes block size of 80 is
20. data block B y 2 second interval a 2 second interval E WAK Send block B gt ENQ gt WAK resets ENQ counter with respect to ENQ time out when buffer available Send data block C gt 1 Send block C CHAPTER 4 Operation Data Flow A S 2G to Asynchronous Device Bisynchronous Device A S 2G Converter Asynchronous Device Send data block D gt NK Send data block D gt n ACK 0 when available Send block D 5 If data not properly received by A S 2G Send data block E _ Retransmit block E SL 1 when correctly received ma Send block E If data not yet available from synchronous device while synchronous line to A S 2G is engaged 2 second interval from previous ACK TTD 1 2 second interval TID e NAK Continues until data available Data Flow A S 2G to Asynchronous Device Bisynchronous Device A S 2G Converter Asynchronous Device Line release or turnaround Send data block F gt last block ACK 0 Send block EOT 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 CHAPTER 5 Conv
21. e 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 CRLF EE or 27 ESC ESC S CR LF CR LF ESC T CR LF CR LF CR LF ESC A FF E
22. ed over ON 3 3 3 BAUD RATE OPTIONS SW1 switches 1 through 4 See Figure 5 2 on page 28 control the Port A Baud Rate Set these four switches so that the baud rate of the A S 2G matches the baud rate of the modem terminal or CPU that you will be connecting to the asynchronous port Refer to Table 3 1 Port A Asynchronous Baud Rate to determine the position of each switch NOTE The baud rate of the asynchronous port Port A cannot be set externally Do not use the EXT setting for Port A 3 3 4 MODEM OR DIRECT TO TERMINAL CONNECTION When connecting the A S 2G s asynchronous port to a modem or external Asynchronous Modem Eliminator the A S 2G should be made to appear as DTE Data Terminal Equipment When connecting the A S 2G s asynchronous port directly to a terminal or CPU the A S 2G should be made to appear as DCE Data Communications Equipment To configure this interface correctly place the DIP Shunt which resembles a PROM into the correct socket There are two DIP Shunts one for the asynchronous port and one for the synchronous port Only one of these configurations DTE or DCE may be selected for each port at any given time The DIP Shunt for the asynchronous port Port A should go on U27 or U28 Refer to the printed circuit board layout Figure 5 2 on page 28 remove or replace a DIP Shunt follow the instructions for installing and replacing PROMs Section 5 2 on page 24 PORT A Asynchronous BAU
23. ed them 3 3 1 DATA TERMINAL READY DTR SIGNAL OPTIONS The asynchronous port DTR option control is a jumper labeled DTR A It is located between U23 and U24 on the circuit board See Figure 5 2 on page 28 Placing the jumper over ON maintains a constant high signal on DTR Placing this jumper to CNT allows the A S 2G to control data flow based on the position of SW3 Switch 7 lu 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 If SW3 Switch 7 is OFF the A S 2G does not use DTR to control the buffer Instead the A S 2G will issue either an X ON or X OFF to control data flow 3 3 2 CLEAR TO SEND CTS SIGNAL OPTIONS The asynchronous port CTS option control is a jumper labeled CTS A It is located between U18 and U22 on the circuit board See Figure 5 2 on page 28 Placing the jumper over ON maintains a constant high signal on CTS Placing this jumper to CNT allows the A S 2G to control data flow When CTS is dropped by the device connected to the A S 2G s asynchronous port the A S 2G will hold whatever it has in its buffer and stop transmission until CTS is raised again When the asynchronous port is configured as DCE see Section 3 3 4 it is best to have the CTS A jumper position
24. equipo no sea usado por un largo periodo de tiempo Cuidado debe ser tomado de tal manera que objectos liquidos no sean derramados sobre la cubierta u orificios de ventilaci n Servicio por personal calificado deber ser provisto cuando A El cable de poder o el contacto ha sido da ado Objectos han ca do o l quido ha sido derramado dentro del aparato o El aparato ha sido expuesto a la lluvia o El aparato parece no operar normalmente o muestra un cambio en su desempeno O SR OY El aparato ha sido tirado o su cubierta ha sido da ada Table of Contents IR 5 20 rana an ree o In 6 AO SAN ener ener er ee eee LEER 7 Sl Unpacking and az Controles sa A eye reer eee ee re ree 7 o N o y 7 8 m2 9 E ON m 9 320 cto te O DOS aleron ere tr cor 10 DunD REO O pei 10 3 3 Preparing A S 2G for Connection to an Asynchronous DeVI CC sins cie 10 oo Data Terminal Ready DTR Signal Options senos tia 10 send CITS bienal 11 Ia D EST 11 3 3 4 Modem or Dircctto Lerminal Connection ci 11 err NU 12 Soo
25. ersions 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 In transparent mode no character translations are performed in either direction allowing transmission of binary file such as raw data or program object files In accordance with IBM specifications each data block is bracketed with a protocol envelope consisting of a DLE STX EBCDIC 10 Hex 02 Hex at the beginning and DLE ETB EBCDIC 10 Hex 26 Hex at the end Should a DLE 10 Hex occur within the data block a second DLE 10 Hex 15 inserted by the sending device to eliminate the possibility of a legal DLE sequence occurring by chance in the data The A S 2G software automatically inserts or strips the extra DLE 10 Hex when necessary Transparency mode always sends fixed length blocks Block size is selected with SW2 Switches 5 and 6 The variable fixed switch only pertains to the last partial block received from the asynchronous port The A S 2G software detects the end of incoming asynchronous data in one of two ways 1 Receipt of an ASCII ESC Control D sequence 1B Hex 04 Hex with no other data following for one second 2 No asynchronous data received for a period of twelve seconds When one of these conditions occurs
26. he CNT position 3 4 7 CABLE REQUIREMENT Use an RS 232 cable which is pinned straight through i e 1 to 1 2 to 2 3 to 3 etc to connect the A S 2G s synchronous port to modem modem eliminator or terminal Leads 1 through 8 15 17 20 and 22 are required see Section 5 3 on page 25 PROTOCOL CONVERTER A S 2G 3 4 8 COMMAND PASS THRU To use the command pass thru feature the command must be preceded amp and terminated by 8 Example amp Command amp Commands consist of character pairs Each pair must represent a valid Hexidecimal value i e zero through 9 or A through F Example To send an escape sequence to an attached ASCII device such as ESC A the following EBCDIC string must be sent to the A S 2G amp 1B41 amp 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 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 wi
27. ity always 0 OFF ON Mark Parity always 1 ON OFF Odd Parity ON ON Even Parity NOTE The A S 2G only recognizes a 7 bit 1 bit parity sequence 8 bit data no parity is the same as 7 bit space parity If you have 8 bit data no parity set SW2 Switches 7 and 8 to the OFF position 3 2 3 SELF DIAGNOSTICS There are two ways to enter the self diagnostic mode The first method requires that you locate SW2 switch 4 and set it to the ON position When you press the reset switch the A S 2G will display diagnostic information see below on a terminal or printer connected to Port A The second method requires a terminal connected to Port A When you type an ampersand amp and then a pound sign the A S 2G will enter Self Diagnostics Reconfigure Switch Menu Press the I key to enter the self diagnostics mode and the A S 2G will display diagnostic information on your terminal This is what the A S 2G does in self diagnostic mode Displays its software version Checks the ROM Checks the RAM Displays the state of SW3 Displays the state of SW2 Displays the state of SW1 Port A Displays the state of SW1 Port B The information for SW3 SW2 and SWI is listed in binary 1 ON and 0 OFF 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 the
28. ll 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 SWI 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 IF followed by 2 block check characters which are subsequently stripped by the EBCDIC device after each 80 characters until a CR is received
29. ons for installing and replacing PROMs Section 5 2 on page 24 3 4 5 EXTERNAL OR INTERNAL CLOCKING OPTION The Receive and Transmit Clock options are controlled by two EXT B jumpers and two SME B jumpers The EXT B jumpers are located near U25 The SME jumpers are located just below U28 Refer to the printed circuit board Figure 5 2 on page 28 The Receive and Transmit Clock jumpers must be selected to agree with the synchronous port DIP Shunt configuration as DTE or DCE When the synchronous port has been configured as DTE Transmit and Receive Clock must be optioned for EXTERNAL Install both EXT jumpers Remove both SME jumpers Port B Baud Rate Switches SW1 Switches 5 to 8 must all be in the OFF position When the synchronous port has been configured as DCE Transmit and Receive Clock must be optioned for INTERNAL Remove both EXT jumpers Install both SME B jumpers Port B Baud Rate switches SW1 Switches 5 to 8 must then be set to match the synchronous baud rate of your external device 3 4 6 CARRIER OPTIONS If the Carrier Detect signal is to be driven by the A S 2G configuration DCE the jumper labeled CAR B ENB must be installed CAR B ENB is located next to U19 Refer to the printed circuit board Figure 5 2 on page 28 The carrier control jumper CARR is located in between U18 and UI9 on the circuit board See Figure 5 2 on page 28 For most applications the jumper should be placed over t
30. rom 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 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 06 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 syn
31. rvicio El usuario no debe intentar dar servicio al equipo el ctrico mas all a lo descrito en las instrucciones de operaci n Todo otro servicio deber ser referido a personal de servicio calificado El aparato el ctrico debe ser situado de tal manera que su posici n no interfiera su uso La colocaci n del aparato el ctrico sobre una cama sof alfombra o superficie similar puede bloquea la ventilaci n no se debe colocar en libreros o gabinetes que impidan el flujo de aire por los orificios de ventilaci n E equipo el ctrico deber ser situado fuera del alcance de fuentes de calor como radiadores registros de calor estufas u otros aparatos incluyendo amplificadores que producen calor El aparato el ctrico deber ser connectado a una fuente de poder s lo del tipo descrito en el instructivo de operaci n o como se indique en el aparato Precauci n debe ser tomada de tal manera que la tierra fisica y la polarizaci n del equipo no sea eliminada Los cables de la fuente de poder deben ser guiados de tal manera que no sean pisados ni pellizcados por objetos colocados sobre o contra ellos poniendo particular atenci n a los contactos y recept culos donde salen del aparato El equipo el ctrico debe ser limpiado nicamente de acuerdo a las recomendaciones del fabricante En caso de existir una antena externa deber ser localizada lejos de las lineas de energia El cable de corriente deber ser desconectado del cuando el
32. s A limits for radio noise emission from digital apparatus set out in the Radio Interference Regulation of Industry Canada Le pr sent appareil num rique n met pas de bruits radio lectriques d passant les limites applicables aux appareils num riques de la classe A prescrites dans le Reglement sur le brouillage radio lectrique publi bar Industrie Canada TRADEMARKS USED IN THIS MANUAL Any trademarks mentioned in this manual are acknowledged to be the property of the trademark owners PROTOCOL CONVERTER A S 2G ot A O N 10 11 12 15 14 15 16 17 18 INSTRUCCIONES DE SEGURIDAD Normas Oficiales Mexicanas Electrical Safety Statement Todas las instrucciones de seguridad y operaci n deber n ser le das antes de que el aparato el ctrico sea operado Las instrucciones de seguridad y operaci n deber n ser guardadas para referencia futura Todas las advertencias en el aparato el ctrico y sus instrucciones de operaci n deben ser respetadas Todas las instrucciones de operaci n y uso deben ser seguidas El aparato el ctrico no deber ser usado cerca del agua por ejemplo cerca de la tina de bano lavabo s tano mojado o cerca de una alberca etc El aparato el ctrico debe ser usado nicamente con carritos o pedestales que sean recomendados por el fabricante El aparato el ctrico debe ser montado a la pared o al techo s lo como sea recomendado por el fabricante Se
33. selected A S 2G Converter Asynchronous Device Echo CR LF 4 Block B of data gt Echo all but CR LF Echo CR LF m Block C of data Echo all but CR LF Block of D of data begins B o 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 4 Send block Frees up buffer space ACK 1 gt Echo CR LF X ON Allow resumption of transmission ASCII 11 Hex orraise x Complete block D If data not properly received by synchronous device or synchronous device has no WAK capability and buffer is full Send block D NAK EM lb lb bn Negative Acknowledgment AAAA 2 32 22 DFE ER lt Resend block D ACK 0 59 If synchronous device has WAK capability and buffer is full 724 Send block E Echo all but CR LF Send block E 2 second interval WAK ES 52 32 52 52 6B FF MA Data Flow A S 2G to Synchronous Device Bisynchronous Device A S 2G Converter Asynchronous Device o gt Echo C
34. the A S 2G will transmit the last block terminated with DLE ETX Upon acknowledgement of this last block an EOT sequence is sent The transparency mode software will accept data blocks of any size assuming no memory overflow and will handle variable length or fixed blocks 5 2 INSTALLING OR REPLACING PROMS 1 Unplug the A S 2G from the AC power 2 Remove the cover of the A S 2G 3 To locate the PROM see Figure 5 2 on page 28 The PROM is located on U11 between U10 and U12 4 Using a PROM extraction tool or a small screwdriver pry the PROM out of the socket until it is loose Then slide the tool or your fingers under the PROM and gently lift up You must lift directly upward to avoid damaging the teeth of the PROM 5 Now insert your new PROM It may require its pins to be pushed in a little If so use a table top to do this This will ensure that the pins stay aligned Caution Note the orientation of the indentation on one of the prom s short ends it must line up with the matching indentation on the socket into which it is inserted EA PROTOCOL CONVERTER A S 2G 5 3 RS 232 CABLE CHART RS 232C pins are defined as follows 1 Chassis or Frame or Protective Ground F GND C GND or P GND 2 Transmit Data TD or TXD 3 Receive Data RD or RXD 4 Request to Send RIS 5 Clear to Send CTS 6 Data Set Ready DSR 7 Signal Ground S GND 8 Carrier Detect CD 15 Transmit Signal Element Timing Clock
35. y 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 When you type an ampersand amp and then a pound sign the A S 2G will enter the Self Diagnostics Reconfigure Switch menu Press the 2 key to enter the Reconfigure Switch Mode The position of SW2 Switch 4 for self diagnostic testing does not affect this operation The setting for SW3 1 SW3 switch 1 will be displayed To select the other option for SW3 l press must be upper case As long as is pressed the A S 2G will toggle between or among your options The option will be chosen when you press enter The next switch will then be displayed After you have entered the last option the A S 2G will return to the main program NOTE If power is interrupted the A S 2G will use the manual configurations of SWI SW2 and SW3 when power is restored The switch options chosen in the Reconfigure Switch Mode must be reentered 3 2 5 RS 232 PASS THROUGH OPTIONS On A S 2G s printed circuit board are three sets of double pass through jumpers DSR and CD You can have any or all of these signals pass thru from one port to the other without being regulated by the 5 2 The DSR double jumper is located just below C7 on the circuit board For normal operation A S 2G signal control place the jumper over the center and left posts
Download Pdf Manuals
Related Search
Related Contents
MTHFR C677T Mutation Real Time PCR Kit User Manual MANUAL DE INSTRUCCIONES REFRIGERADORES Cesar Account Holder User Manual Samsung AR09FSSEDWUX Instrukcja obsługi High Performance Vector Control Inverter Nokia Wireless Plug-in Car Handsfree HF-33W MODE D`EMPLOI Husky H4640 Instructions / Assembly Notice PX 80 i 2009 Nissan GT-R Owner Guide - French Canadian Copyright © All rights reserved.
Failed to retrieve file