+ All Categories
Home > Documents > RS-232 INTERFACE DATA FLOW DIAGRAMchiclassiccomp.org/docs/content/computing/Centronics/RS...The...

RS-232 INTERFACE DATA FLOW DIAGRAMchiclassiccomp.org/docs/content/computing/Centronics/RS...The...

Date post: 12-May-2020
Category:
Upload: others
View: 4 times
Download: 0 times
Share this document with a friend
2
' ., . . '\ :.· - \" .. . . . . . ' . .. The Centronics RS-232 interface is designe{j to interface a type 202 Dataphone or equivalent directly to any Centronics printer. Th!.s interface uses a single character parity check with.a choice of even , odd , or no parity. Reverse chan- nel is used to contr-01 the interaction bet w een . the printer and the Dati;phone . The intertace:i.s supplied wit h a connecting cable .. that :is uro:.t:2'r I '•V .. ,I_ 'pin compatible with a type 202 Datapho'fle ., 'B.aud rates for the Centronics RS-232 be ·sel ected from a range of 1.1 O to 9600 . bps :; ; ;_ ·· , ,l A '• Transmitting Sequence .. ; , . Once the c;;tll has been established, eithecman- ually or with the automatic calling dnit , th-e trans- , ' , mitter starts the data transmission with-a_ ,Staft _ ·. the status of the printer, prohib its data transmis- of Message ( SOM ) code . An SOM must prec€cte sion whenever the printer is not ab£€ to·accept every line of data or every command that is new data. The absence of a reverse channel transmitted. Next. the data is transmr fted serially response to a data transmission ind icates that a using one start bit , seven data bits, one parity · parity error was detected in the data. bit . and one or more stop bits. If the data is to be Programming Notes printed, the line is termi nated with a carriage: < When the RS-232 interface is used. any trans- return (CR ). After the carriage return or contro t mitted control character which could cause a function is transmitted, an End of Message '. . busy condition (e.g ., LF . FF , CR, etc .) must be (E:OM } code is transmitted .. The transmitter must · ,. immec:liately followed by an EOM . The · reason then wait for the reverse channel to go high in-: for this is a BUSY signal fr.om the pri(l. ter does dicating an acknowledge from the printer.Jf,the. · not activate Reverse Channel, but only extends acknowledge level is not received by . · Reverse Channel, if it was previouslyacti_vated. · . · .. · ·· · transmitted, a parity error may be assumed a'fio· · ...... , ... ; · Without a Reverse Channel res.p · 1;ii'lS'e ; the data· · the line 6r function may be retr'ansmitte.d,'. i t'. rh.e. ' .. ; ·: · ·· set receives n.o · indication that . . , . .. acknowledge level is received. the · gone busy and furt h er data transmissions cou ld waits until the reverse cha , nnel line gc)e ·sJ -Ow and result in a loss of data. . ,. ' ·then transmits the next line of data. An EOM (y,iith no parity errors in lhe pre . ceding ' Receiving Sequence The interface accepts serial input data tror:n the data set, assembles the received dafa rnto 8-bit characters (seven data bits and one paritY bit ),. checks the parity of the received data and frahs- fers the assembled character in parallel to the printer . Signal levels between the interface and the data set conform to RS-232 standards. Sig- nal levels between the interface and printer are TIL compatible . A reverse channel indication to the data set, controlled by the received data (EOM code) and message) will activate Reverse Channel. In the model 102A printer , a busy condition can also be caused by an Elongated Character code ( octal 016), because the carriage musrreturn to the left margin before printing elongated char- acters. As a result, in a 102A with a RS-232 in- . ' terface, each octal 016 code must also be followed by an EOM .
Transcript
Page 1: RS-232 INTERFACE DATA FLOW DIAGRAMchiclassiccomp.org/docs/content/computing/Centronics/RS...The Centronics RS-232 interface is designe{j to interface a type 202 Dataphone or equivalent

' .,

. . '\ :.· ;~

-\" .. •

. . . . . ' .

..

The Centronics RS-232 interface is designe{j to interface a type 202 Dataphone or equivalent directly to any Centronics printer. Th!.s interface uses a single character parity check with.a choice of even, odd, or no parity. Reverse chan­nel is used to contr-01 the interaction between . the printer and the Dati;phone . The intertace:i.s supplied with a connecting cable .. that:is uro:.t:2'r

I '•V .. ,I_

'p in compatible with a type 202 Datapho'fle., 'B.aud rates for the Centronics RS-232 interface. ca~ be·selected from a range of 1.1 O to 9600.bps:; ; ;_ ··

• , ,l A

'• Transmitting Sequence .. ; , . Once the c;;tll has been established, eithecman­ually or with the automatic calling dnit, th-e trans-

,

'

• •

• •

, mitter starts the data transmission with-a_,Staft _ ·. the status of the printer, prohibits data transmis-of Message (SOM) code. An SOM must prec€cte sion whenever the printer is not ab£€ to·accept every line of data or every command that is • new data. The absence of a reverse channel transmitted. Next. the data is transmrfted serially response to a data transmission indicates that a using one start bit, seven data bits, one parity · parity error was detected in the recei~ed data. bit. and one or more stop bits. If the data is to be • Programming Notes printed, the line is terminated with a carriage: < When the RS-232 interface is used. any trans-return (CR). After the carriage return or controt mitted control character which could cause a function is transmitted, an End of Message'. . busy condition (e.g., LF. FF, CR, etc.) must be (E:OM} code is transmitted .. The transmitter must · ,. immec:liately followed by an EOM. The· reason then wait for the reverse channel to go high in-: for this is a BUSY signal fr.om the pri(l.ter does dicating an acknowledge from the printer.Jf,the. · not activate Reverse Channel, but only extends acknowledge level is not received by th~ tr~$,~ ',. . · Reverse Channel , if it was previouslyacti_vated. mitter , withinfourseoondsafterEOMhastiee'n "~.,.~. · . · .. ~." · ·· · transmitted, a parity error may be assumed a'fio· · ...... , ... ; · Without a Reverse Channel res.p·1;ii'lS'e; the data·

·the line 6r function may be retr'ansmitte.d,'. i t'.rh.e. ' .. ; ~ ·: · ·· set receives n.o ·indication that th.~.?·riijt~ria~ . . , . .. acknowledge level is received. the trans.m.itt~r . · · gone busy and further data transmissions could

waits until the reverse cha,nnel line gc)e·sJ-Ow and result in a loss of data. . ,.

'

·then transmits the next line of data. An EOM (y,iith no parity errors in lhe pre.ceding ' Receiving Sequence

The interface accepts serial input data tror:n the data set, assembles the received dafa rnto 8-bit characters (seven data bits and one paritY bit),. checks the parity of the received data and frahs­fers the assembled character in parallel to the printer. Signal levels between the interface and the data set conform to RS-232 standards. Sig­nal levels between the interface and printer are TIL compatible .

A reverse channel indication to the data set, controlled by the received data (EOM code) and

message) will activate Reverse Channel.

In the model 102A printer, a busy condition can also be caused by an Elongated Character code (octal 016), because the carriage musrreturn to the left margin before printing elongated char­acters. As a result, in a 102A with a RS-232 in-

. '

terface, each octal 016 code must also be followed by an EOM .

Page 2: RS-232 INTERFACE DATA FLOW DIAGRAMchiclassiccomp.org/docs/content/computing/Centronics/RS...The Centronics RS-232 interface is designe{j to interface a type 202 Dataphone or equivalent

• •

RS-232 interface •

BAUD STROBE RS-232 INTERFACE DATA FLOW DIAGRAM osc

0.2 OR 1.0 MHz COUNTER

- ' ••

(Bl!) RECE 1ve DAT A

(CC) OATA ~'!;T AEAOY

(CF) CAAR)ER DETECT

,. '

+5V ~

'

~M/EOM DECODE

EOM& NO ·PARtTY '

CENTAONICS PAINTER

... ~A~C~T~IV~A~T~E~R~E~V;,.;:E;,;.R;.;;S~E~C~H~A~N~NE.:;.L~·~~~· :.,;;;.-,....1 ERROR 'EXTEND RIOVE

(CA) .,_....-.;R.;;.EQ.;;.U.:;.E;:;;S;,.;:T_T;,.;:D:;,..;$:.::E;,;.N;.;;O:;,..;_o()I

activated by a new EOM for another 200 mi(ll-. seconds. i:his delay is generated on the interface

' -board. As-a result, riew data show Id not .b.e trans-, - <l

mitted fe5ratleast2QO millisecondsatterReverse Channer go'es inactive. ' · Physical Description· TheRS-232 interface consists of a single printed circuit board and cable assembly contained in the printer enctosure. The printed circuit board plugs into the interface slot at the rear of the printer. The cabl_e ~ssembly consists of a 1J!-foot cable with a small etched card (fingerboard}

• .. . •

• •

' E·CHANNEL BUSV

. '

• • . -•

connect-er at one end and a 25-pin connector at theotl'lere.nd. The fingerboard plµgsintoacon-

. nectar.on the right side of the ~nter.f<rce card, -- '

and the 25-pin connector plugs into the data set. A connector plate and strain relief bushing is also included which allows the cable to-attach to the speaker bracket at the rear of the printer.

-NOTE: When ordering a Centronics RS-232 interface, specify baud rate and odd. even or no parity. A_ny baud rate from 11 O to 9600 is available .• . ~ ' '

. '

,

1 •

• I ,

SpecificatronssubJect t-0 change without notice. Patents pending in U.S.t\- and other countries. Printed in U.S.A. 8/ 73 ,•


Recommended