CA1227575A - Universal realtime transparent asynchronous serial/echoplex converter - Google Patents

Universal realtime transparent asynchronous serial/echoplex converter

Info

Publication number
CA1227575A
CA1227575A CA000458047A CA458047A CA1227575A CA 1227575 A CA1227575 A CA 1227575A CA 000458047 A CA000458047 A CA 000458047A CA 458047 A CA458047 A CA 458047A CA 1227575 A CA1227575 A CA 1227575A
Authority
CA
Canada
Prior art keywords
echoplex
data
microprocessor
message
parallel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
CA000458047A
Other languages
French (fr)
Inventor
Edward C. Duwel
John H. Soderberg
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Pitney Bowes Inc
Original Assignee
Pitney Bowes Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Pitney Bowes Inc filed Critical Pitney Bowes Inc
Application granted granted Critical
Publication of CA1227575A publication Critical patent/CA1227575A/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B17/00Franking apparatus
    • G07B17/00733Cryptography or similar special procedures in a franking system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4204Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
    • G06F13/4221Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus
    • G06F13/4226Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus with asynchronous protocol
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B17/00Franking apparatus
    • G07B17/00016Relations between apparatus, e.g. franking machine at customer or apparatus at post office, in a franking system
    • G07B17/0008Communication details outside or between apparatus
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B17/00Franking apparatus
    • G07B17/00185Details internally of apparatus in a franking system, e.g. franking machine at customer or apparatus at post office
    • G07B17/00314Communication within apparatus, personal computer [PC] system, or server, e.g. between printhead and central unit in a franking machine
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B17/00Franking apparatus
    • G07B17/00016Relations between apparatus, e.g. franking machine at customer or apparatus at post office, in a franking system
    • G07B17/0008Communication details outside or between apparatus
    • G07B2017/00137In a LAN
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B17/00Franking apparatus
    • G07B17/00185Details internally of apparatus in a franking system, e.g. franking machine at customer or apparatus at post office
    • G07B17/00314Communication within apparatus, personal computer [PC] system, or server, e.g. between printhead and central unit in a franking machine
    • G07B2017/00322Communication between components/modules/parts, e.g. printer, printhead, keyboard, conveyor or central unit
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B17/00Franking apparatus
    • G07B17/00185Details internally of apparatus in a franking system, e.g. franking machine at customer or apparatus at post office
    • G07B17/00314Communication within apparatus, personal computer [PC] system, or server, e.g. between printhead and central unit in a franking machine
    • G07B2017/00338Error detection or handling

Abstract

ABSTRACT OF THE DISCLOSURE
Interface apparatus allows a serial communicating device to communicate with an echoplex communicating device. A first microprocessor coupled to the serial device converts serial data to a parallel format. The parallel formatted data is transferred to a second microprocessor which is coupled to the echoplex device.
The second microprocessor converts the parallel data from the first microprocessor into echoplex data for transmission to the echoplex device. When data is to be transferred from the echoplex device to the serial device, the second microprocessor converts the echoplex data to a parallel format. The parallel formatted data is transferred to the first microprocessor, for conversion into a serial form and transmission to the serial device. If both the serial and echoplex devices wish to transmit at the same time, priority is awarded to the echoplex device. The interface operates asynchronously on real time basis, and is transparent.

Description

PB-145 12Z757~

UNIVERSAL REAL TIME TRANSPARENT ASYNCHRONOUS
SERIAL/ECHOPLEX CONVERTER

BACKGROUND OF THE INVENTION

The present invention relates to an interface for allowing a computer to communicate with a peripheral device. More particularly, the invention relates to apparatus which enables a host computer, which inputs and outputs data in a serial format, to communicate with an external machine, such as a postage meter, which receives and transmits data in an echoplex format.
In using computers to control processes or other machinery, it is necessary to provide some way to enable the computer to communicate with the apparatus to be controlled. Apparatus ; which is used to effect such communication is generally referred to as an interface. The interface must handle data transferred to and from the computer in the manner in which the computer outputs the data or expects to receive the data. Similarly, the apparatus being controlled by the computer will output data and expect to receive data in a particular format. The interface must provide for the desired communication between the computer and external apparatus, and if necessary must convert the data prom the computer so that it will be understood by the external apparatus, and convert data from the external apparatus so that it will be understood by the computer.

I' ~'qi`,~:~

~227~7~i Often, the external apparatus controlled by one computer (the host computern) will be another computer, or a machine which lncorporates its own computer. Where the host computer and the external apparatus use different communication schemes, an interface is required to convert data from one so that it is intelligible to the other, and vice versa.
One type of communication scheme often used by host computers is known as serial data communication. In serial communication, data is transmitted and/or received one bit at a time over a single wire pair. Sometimes, one wire is used to transmit serial data and another wire is used to receive serial data.
Another communication scheme sometimes used by computers is known as parallel communication. In parallel communication, a plurality of data bits are transmitted simultaneously along as many wires as there are bits to be communicated.
Typically, data will be transmitted in 8-bit "bytes", in which case eight separate iines are utilized for the parallel communication of each of the 8 bits simultaneously.
2Q Another type of communication, which has been used in ; electronic postage meters, is known as echoplex communication.
Echoplex communication is a form of serial communication, wherein serial méssages are asynchronously transmitted and received. The format of the messages, and the timing of the bits in different units is precisely set, however, to ensure that messages may be sent and received without the necessity for synchronizing each communicating computer. In addition, .'
-2-
3~Z2~7S~S

in echoplex communication, upon receipt ox the first bits of a message from a transmitting unit, the received bits are retransmitted by the receiver back to the transmitter for comparison This comparison enables the transmitter to 5 determine if any errors have occurred in its transmission, or the receiver's reception, of data. Thus, with echoplex communication, the correctness of each message sent and received is verified within a minimum period of time following the complete message transmission.
The theory of echoplex communication, and in particular, its application to an electronic postage meter, is disclosed in US. Patent 4,301,507, entitled "Electronic Postage Meter Having Plural Computing Systems", Issued November 17, 1981, and assigned to the assignee of the present invention. As discussed in that patent, it is sometimes desirable to control the functions of an electronic postage meter from a remote location. In order to accomplish such control, an interface connector is provided in the electronic postage meter, for connection to the remote controller. Thus, for example, connection of an external device, such as an electronic scale, to the postage meter can be made to more fully automate the mailing process.
In order to provide additional opportunities for the remote control of electronic postage meters, an interface is required which will enable the remote controller (e.g., a host computer) to communicate with the postage meter to be controlled. Since the host computer will generally transmit and expect to receive data in a standard serial format, ~2;275~

whereas the postage meter will transmit and expect to receive data in an echoplex serial format, the interface will have to provide for the conversion from one form of serial data to echoplex data, and vice versa. Such an interface should operate in real time, such that data from the postage meter is received as it is transmitted, and data from the host computer is received by the postage meter as it is transmitted.
Further, it would be advantageous if such an interface were transparent to both the postage meter and the host computer. When an interface is referred to as transparent, it operates such that the apparatus which the interface couples together does not realize that the interface is present. In other words, a postage meter connected to host computer through a transparent interface will think that it is communicating directly with the host computer, and the host computer will think that it is communicating directly with the postage meter.
The present invention relates to such a universal real time transparent asynchronous serial/echoplex converter.
-4-SUMMARY OF THE INVENTION
Various aspects of the invention are as follows:
Apparatus for interfacing an electronic postage meter utilizing echoplex data communication to a serial communication host computer to provide real time data communication between said postage meter and host computer, said apparatus comprising:
a microprocessor having a serial data transmission terminal, a serial data receiving terminal, a first parallel data port, and non-volatile memory containing a control program;
a programmable peripheral interface processor having an echoplex data transmission terminal, an echoplex data receiving terminal, a second parallel data port, and non-volatile memory containing a control program;
a first stable clock coupled to said microprocessor for establishing the operating frequency of the microprocessor;
a second stable clock coupled to said programmable peripheral interface processor for establishing the operating frequency of the peripheral interface processor;
a parallel communication path coupling said first and second parallel data ports;
first means responsive to the control program in said peripheral interface processor for detecting the presence of an echoplex message to be received from said postage meter, and in the event such message is detected, for inputting the message into said peripheral interface processor;

;, "I

`` 312;27575 second means responsive to the control program in said peripheral interface processor for converting each echoplex message received from said postage meter into a parallel format; and for transmitting the parallel formatted message across said parallel communication path to said microprocessor;
third means responsive to the control program in said peripheral interface processor for detecting the be presence of a message to'received from said microprocessor, and in the event such message i5 detected, for receiving same across said parallel communication path and outputting the same in an echoplex format to said postage meter;
means for prioritizing the operations performed by said first, second and third means by awarding first, second and third priority to said first, second and third means respectively;
fourth means responsive to the control program in said microprocessor for detecting the presence of a message to be received from said peripheral interface processor, ~0 and in the event such message is detected, for inputting the message into said microprocessor;
fifth means responsive to the control program in said microprocessor for detecting the presence of a message waiting in said microprocessor to be outputted to said peripheral interface processor, and in the event such ; message is detected, for outputting the message across said parallel communication path to said peripheral interface processor;

6 a 3LZZ7~i75 sixth means responsive to the control program in said microprocessor for detecting the presence of a message waiting in said microprocessor to be transmitted to said host computer, and in the event such message is detected, for transmitting the message to said host computer in a serial format;
seventh means responsive to the control program in said microprocessor for detecting the presence of a message to be received from said host computer, and in the event such a message is detected, for receiving the message in a serial format into the microprocessor; and means for prioritizing the operations performed by said fourth, fifth, sixth and seventh means by awarding first, secondl third, and fourth priority to said fourth, flfth, sixth and seventh means respectively.
Transparent interface apparatus for providing real time data communication between a first device utilizing serial communication and a second device utilizing : echoplex communication comprising:
a first microprocessor having a serial data port and a first parallel data port;
a second microprocessor having a second parallel : data port and an echoplex data port;
a parallel communication path coupling said first and second parallel data ports;
means within said first microprocessor for converting seria]. data from said serial data port into a parallel format and for transerring this parallel formatted data to said second parallel data port from said first parallel data port across said parallel : communication path;

~2~75~

5eco~cl means within said mlcroprocessor for converting parallel data from said second parallel data port into an echoplex format and for outputting said echoplex formatted data from said echoplex data port;
means within said second microprocessor for converting echoplex data from said echoplex data port into a parallel format and for transferring this parallel formatted data to said first parallel data port from said second parallel data port across said parallel communication path;
means within said first microprocessor for converting parallel data from said first parallel data port into a serial format and for outputting this serial formatted data from said serial data port; and means for prioritizing data transfer between said first and second microprocessors, said prioritizing means awarding first priority to echoplex data to be transferred from said echoplex port for output from said serial data port and second priority to serial data to be transferred Erom said serial port for output from said echoplex data port.
By providing a first clock apparatus operating the first microprocessor at one frequency, and second clock apparatus operating the second microprocessor at a different frequency, the first and second microprocessors operate asynchronously. apparatus is also provlded for determining the time elapsed during data transfers between the serial data port and the echoplex data port. Such information is useful when the internal operation of the communicating devices is being studied.
In any communication scheme, it is important to insure the integrity of the communicaticn by providing means for detecting errors. The present apparatus includes signalling when an error in communication has arisen.

, .
, , .

~L~27S7~

GRIEF DESCRIPTION OF THE DRAWINGS

Figure 1 is a block diagram of a real time, transparent, asynchronous, serial/echoplex converter in accordance with the present invention;
Figure 2 is detailed schematic diagram of a preferred embodiment of the present invention; and Figure 3 is a timing diagram illustrating the echoplex communication scheme utilized in accordance with the present invention.

7~;75 DETAlLED DESCRIPTION OF A PREFERRED EMBODIMENT

The present invention proYides a transparent interface between a first device utilizing serial communication and a second device utilzing echoplex communication. The interface enables real time data communication, on an asynchronous basis, between the first device, which can be, fvr example, a host computer, and the second device, which can, for example, be a postage meter.
As shown in Figure 1l an interface 10 is provided for coupling host computer 12 to postage meter 14. Serial data from host computer 12 is transferred to a microprocessor 20 via serial driver circuitry 16, through a serial data port 17. Microprocessor 20 includes a control program designated by a dashed box 21, which program is stored in non-volatile memory. The microprocessor may, for example, comprise the 8751 microcomputer from Intel Corporation, Santa Clara, California. This microcomputer includes read only memory (ROM) into which control program 21 can be stored. A first clock 18 is coupled to microprocessor 20 to establish the operating frequency of microprocessor 20. First clock 18 is a stable clock, preferably crystal controlled, which, for ; example, may operate at a frequency of 6 megahertz. A baud rate selector may be provided, which is coupled to microprocessor 20 in order to provide a user selectable baud xate for the transmission of data through interface 10.

~Z275~

icroprocessor 20 includes a first parallel data port 27 which is coupled, by way of a parallel communication path 30, to a second parallel data port 29 of peripheral interface processor 22. Peripheral interface processor 22 is a specialized microprocessor which includes a control program in non-volatile memory, designated by reference numeral 23. Peripheral interface processor 22 may, for example, be the universal peripheral controller manufactured by Intel Corporation and designated as the 8741 microcomputer. A second clock 24 is coupled to peripheral interface processor 22 to set the operating frequency thereof. Second clock 24 may, for example, operate at a frequency of about 3.5 megahertz.
A postage meter 14 is coupled to peripheral interface processor 22 through echoplex driver circuitry 28. An echoplex data port 31 of peripheral interface processor 22 is coupled to echoplex driver circuitry 28.
In operation, serial data from host computer 12 is converted by microprocessor 20 into parallel data, which travels across parallel communication path 30 to peripheral interface processor 22. The parallel data from microprocessor 20 is converted to echoplex data by peripheral interface processor 22, an output from echoplex data port 31 thereof.
In the other direction, echoplex data from postage meter 14 is converted by peripheral interface processor 22 into parallel data. The converted echoplex data is transferred, in parallel formati across communication path 30 to microprocessor 20.
Microprocessor 20 converts the parallel data from peripheral interface processor 22 into a serial format, which is then _g_ gl~2~7575 output to host computer 12 through serial driver circuitry 16.
Interface 10 operates asynchronously, is transparent, and provides real time data communication between host computer 12 (serial data) and postage meter 14 (echoplex data).
Echoplex communication is particularly suitable for communication to devices in which security must be maintained.
An example of such a device is a postage meter. In providing secure communication, it is imperative that electromagnetic radiation and susceptibility be kept to a minimum. This requirement, in turn, is best satisfied by minimizing the number of electrical conductors which the communication link depends on to effect data communication. Thus, serial communication is an attractive approach.
Echoplex transmission is a special serial communication scheme which provides error free transmission. In providing secure communication, the data transmission must be error free, and it is also desirable to control the communication as much as possible through software rather than hardware.
Further, it is desirable that such communication be fast, so that the individual computer processors which are communicating do not become in~ut/output bound. Echoplex communication satisfies each of these reguirements.
In implementing echoplex communication, two one-way ("simplexn) circuits are used with the ability to present either a low logic level (0 volts) or a high logic level (5 volts on each circuit. One implex circuit is used for the transmission of data from a device, and the other is used for reception of information by the device.

~27~7S

In echoplex transmission, data is communicated between units on a message basis, serially over the first simplex circuit, end by echoing back (hence echoplex) the transmitted signal over the second simplex circuit on a bit-by-bit basis.
A comparison is made at the transmitter Jo determine, in real time, if the signal sent by the transmitter is the same as the signal received by transmitter. If the signals are the same, the transmitter sends a no-error pulse to the receiver. Data transfer rate is slowed only by the time required for the no-error pulse.
Echoplex communication is serial, bit synchronous, word asynchronous, start/stop communication, for example at 9600 baud. The communication is solely on the basis of messages, i.e., separate control lines are not provided between the communicating units for control of the communications. Each byte is 10 bits, beginning with a start bit followed by an 8 bit word, or byte, and concluding with a stop bit. The last stop bit of a message has a sense opposite to that of all other stop bits of the message, in order to indicate the end of the message. A logical zero is indicative of a start bit, an end of message stop bit, and typically is a zero data bit. A logical one can represent a request to send, a clear to send, an end of byte stop bit, a one data bit, and also the presence of a no-error pulse, which typically is a high.
If the messages have more than one word the second word of the message may contain a format byte, consisting of two nibbles, i.e., four-bit groups. The first nibble tells the number of nibbles of data ln the message, and the second nibble gives the number of digits Jo the right of the decimal ~Lr~5~

point of the data, or corresponds to a hexadecimal F if there is no explicit decimal point.
When a message is ready to be sent by a unit, the receive line of the unit is first tested. If it is low then the transmitting device raises its send line to a high, and again tests the receive line. If it is still low, the unit is free to transmit, otherwise, it must become a receiver.
This avoids contention between two units.
The timing of the messges constitutes the crux of the communication system whereby the messages may be asynchronous.
Typical timing is illustrated in Figure 3, which illustrates the relative timing of the lines of the transmitter for sending a glven message, and the lines of a receiver for receiving the same message. Since the transmitter output line is the same as the receiver input line, it will be evident that these two signal lines are identical. The same is true, of course, with respect to the transmitter input line and the receiver output line.
In a successful transmission system of this type, the transmitter tests its input line at time tl and, if a low is detected, raises its output line to a high within 50 microseconds, as shown at t2. ,The transmitter then again tests its input line at time t3 within 50-100 microseconds. If the input line is still at a low then the transmitter can start to sent its message at time ts following a minimum wait of 120 microseconds, by the lowering of this output line to form the start bit of the message In the meantime, at time t4, the receiver has raised its output line Jo a high level in a ~757~;

minimum of 100 microseconds indicating it is ready to receive data. This indicates a "clear to send condition. The timing between the succeeding bytes of a multibyte message, as indicated by the time interval between t5 and t5', is 1134.375 microseconds minimum, in order to insure that the receiver has been enabled to effect proper reception and storage of the signals.
The time from the beginning t5' of the last message byte and the transmission of a no error pulse at time t7 is set at 1031.25 to 1157.291 microseconds, and the no-error pulse has a width from 309.375 microseconds to 368.228 microseconds.
The receiver must test for the occurrence of a no-error pulse at time to from 1187.291 to 1340.625 microseconds following the initiation of the start pulse of the last byte 15~ of the message. The transmitter bit transitions must be in accordance with Table 1, below, and the receiver sampling of the data and stop bits must be in accordance with the timing illustrated in Table II.

.
n KIT MINIMUM MAXIMUM
... ............... . .

2 DATA 1 103.125 105.208 3 DATA 2 206.25 210.417 4 DATA 3 309.375 315.625 DATA 4 412.500 420.833 6 DATA 5 515.625 526.042 7 DATA 6 618.750 631.250 8 DATA 7 721.875 736.458 9 DATA 8 825.000 841.667 STOP 928.I25 946.875 ~Z7~5 TABLE II

n BIT MINIMUM

2 l 115.208 3 D2 220.416 4 D3 325.624 D4 430.832 6 ~5 536.040 7 D6 641.248 8 D7 746.456 9 D8 851.664 STOP 956.872 With the above timing, asynchronous transmission is thereby feasible so that control leads for this purpose between the units are unnecessary.
Further, in order to insure that the information is correctly received by the receiver without error, the data is sequentially returned to the transmitter on the receiver output line. The times for the retransmission of the data, from the beginning of the instruction loop detecting a start bit, are given in table III, and the times for sampling this data on the input line to the transmitter are given in table IV.
If, and only if the received data at the transmitter is the same as the sent data, will the no-error pulse be transmitted at the end of the message.

:~

~2~75i~75 As a further control over the message communication, the transmitter will wait for a minimum 3.5 milliseconds for a clear to send signal from the receiver after presenting a request to send transmission, and similarly, the receiver will wait for about 3.5 milliseconds maximum for the start of a message after presenting the clear to send message.
Contention between units is further minimized by setting determined periods that must be existent between adjacent transmitter activity of a unit, us well as between adjacent 10receiversO

TABLE III

--n BITMINIMUM MAXIMUM*
_ 1 STAT 32.083 73.125 2 Dl 137.292 176.250 3 D2 242.500 279.375 4 D3 347.708 382.500 D4 452.~17 485.625 6 D5 558.125 588.75 7 D6 663.333 691.875 8 D7 768.542 795.000 9 D8 873.750 898.125 STOP 978.958 1001.250 * Allows 10 usec for program loop uncertainty in detection start pulse. If uncertainty is greater than 10 usec the excess should be subtracted from each maximum value.

TABLE IV

n BIT MINIMUM MAXIMUM

1 START103.125 135.208 2 Dl 206.250 240.416 3 D2 309.375 345.625 4 D3 412.500 450.833 D4 515.625 556.041 6 D5 618.750 661.250 7 D6 721.875 766.45B
8 D7 825.000 871.667 9 D8 928.125 976.875 STOP1031.250 1082.083
5~5 All functions of an electronic postage meter, except purely local manual functions such as power on and date change, are controllable electrically from a remote location by a host computer coupled to the postage meter through the interface of the present invention. Within the electronic postage meter, a software routine will scan for the presence of an external control device, and permit subrogation of control to such external device upon recognition of its validity. A new value of postage, and where it is to be set, is one example of a function which can be acheived remotely by the host computer. The host computer can also monitor the current register values of the postage meter.
The external device coupled to the postage meter through the interface of the present invention does not have to be a host computer. It can, or example, include a plurality of operating devices, such as a scale, remote display, or other type of device which normally interfaces with electronic postage meters.
When the interface of the present invention is used to couple an external device to an electronic postage meter, information flows in two directions, either inbound towards the meter or outbound towards the external device. Control signals and requests, defined generally as controls, flow inbound towards the meter. Informational data flows outbound.
The presence of an external device is determined by the ~L2;;~75~

postage meter by detecting a response to a clear to send signal. the present invention thereby renders a standard electronic postage meter capable of interfacing directly with external devices, which has heretofore been difficult to accomplish.
Turning now to a preferred embodiment of the present invention, Figure 2 shows a schematic diagram of the interface circuitry. An external device, such as a host computer, is coupled to the interface through terminals 40, 42, 44, and 46. Data to be received from an external device travels from terminals 40, 42 through an opto-coupler 48 and associated driver circuitry 16 along path 50 to microprocessor 20.
Data to be transmitted to the external device travels from microprocessor 20 along path 52, through driver circuitry 16 to an opto-coupler 54. Opto-coupler 54 is, in turn, coupled to the external device through terminals 44 and 46. Opto-couplers 48 and 54 prevent damage to the interface and the devices coupled thereto from electric surges applied accidentally or intentionally, and also serve to eliminate electrical noise induced via groundloops.
Information flow to and from the device being controlled, e.g. a postage meter, travels from the interface to the device through a connector 56 which may be a standard nine pin connector. Echoplex data from the device being controlled travels through echoplex drlver circuitry 28 on path 58.
Information flow to the device under control flows through echoplex driver circuitry 28 on path 60.

~LZ27~7~i A baud rate selector 26 can be provided, which is coupled through input port 62 to microprocessor 20. A different baud rate will result depending upon which of inputs Pl . O
through Pl.7 is grounded. Provision is made for the baud rate selection in the control program stored in the non-volatile memory of microprocessor 20.
Microprocessor 20 and peripheral interface processor 22 are initialized upon power up through their respective reset inputs. The operating frequency of microprocessor 20 is established by crystal controlled clock 18. Similarly, the operating frequency of peripheral interface processor 22 is established by crystal controlled clock 24.
The operation of microprocessor 20 and peripheral interface controllor 22 is controlled by software stored in the non-volatile memory thereof. When echoplex data from an externaldevice is present at pin 3 of connector 56, such data is input via path i8 and echoplex data port 31 into peripheral interface processor 22. rrhe inputted echoplex data is then converted to a parallel format and outputted from second parallel data port 29 of peripheral interface processor 22, across parallel communication path 30, to first parallel data port 27 of microprocessor 20. The data is then converted by microprocessor 20 to a standard serial format and transmi.ted from serial data port 17 across path 52, opto-coupler 54, and serial driver circuitry 16 to the device te.9., host computer) connected to terminals 44 and 46.

~L2~75~S

When serial data is present at terminals 40 and 42 for transmission to the device under control (e.g. postage meter) coupled to connector 56, the serial data from terminals 40 and 42 is transmitted across optocoupler 48, driver circuitry 16, and path 50 to serial data port 17 of microprocessor 20.
The serial data received through serial data port 17 is converted by microprocessor 20 into a parallel format, and transmitted from first parallel data port 27, across parallel communication path 30, to second parallel data port 29 of peripheral interface processor 22. Peripheral interface processor 22 then converts the parallel data to an echoplex format, and transmits it to the device under control from echoplex data port 31, across path 60, to pin 4 of connector 56.
As noted above, echoplex transmission overcomes contention problems by establishing a priority for receiving and transmitting data. If both ends of the interface, i.e. the serial device and the echoplex device, wish to transmit at the same time, priority is awarded to the echoplex device. Within microprocessor 20 and peripheral interface processor 22, communication is further prioritized by the software. Within peripheral interface processor 22, fir6t means is provided for detecting the presence of an echoplex message to be received from the external device (e.g. postage meter) coupled thereto. In the event such a message is detected, the message is inputted to peripheral interface processor 22 as described above.
Second means converts each echoplex message received from ~7~7~

the external device into a parallel format, and transmits the parallel formatted message to microprocessor 20. Third means in the peripheral interface processor 22 detects the presence of a message to be received from microprocessor 20, and in the event such a message is detected, receives the message and outputs it in echoplex format to the external : device coupled Jo peripheral interface processor 22. Through software control, the operation performed by the firs, second and third means are prioritized by awarding first, second and third priority to the first, second and third means respectively.
In microprocessor 20 there are four levels of priority.
First priority in microprocessor 20 is awarded to the detection of the presence of a message to be received from peripheral interface processor 22, and in the event such a message is ; detected, for inputting the message into microprocessor 20.
Second priority is awarded to the detection of the presence of a message waiting in microprocessor 20 to be outputted to peripheral interface processor 22, and in the event such a message is detected, for outputting the message to peripheral interface processor 22. Third priority within microprocessor 20 is awarded to the detection of the presence of a message waiting in microprocessor 20 be transmitted to the external device (e.g. host computer) coupled to microprocessor 20, and in the event such a message is detected, for transmitting the message to the external device in a serial format. Fourth :~ priority in microprocessor 20 is awarded to the detection of ~27~

the presence of a message to be received from the external device (e.g. host computer) coupled to microprocessor 20, and in the event such a message is detected, for receiving the message in a serial format into microprocessor 20.
Through software control, error identification can be provided in the interface of the present invention. One error which may be identified is the rejection of a command from the external device coupled to microprocessor 20. Another error which may be identified is the loss of an echoplex message outputted from the echoplex data port of peripheral interface processor 22 to the external device (e.g. postage meter) coupled to peripheral interface processor 22. A
third error which may be identified is the loss of an echoplex message to be received from the external device coupled to peripheral interface processor 22.
The interface of the present invention can be used for diagnostic purposes and for real time analysis of the operation of an external unit coupled to peripheral interface processor 22. By providing means, through software control, for determining the time elapsed during data transfers between the external device coupled to microprocessor 20 (e.g. host computer) and the external devlce coupled to peripheral interface processor 22 (erg. postage meter), communication between the external devices coupled by the interface can be studied.
Appendix A attached hereto is a detailed printout of each of the programs contained in microprocessor 20 for the control of the various functions thereof. Appendix B attached hereto is a detailed printout of each of the programs stored in peripheral interface processor 22 for the control of each of the operations performed thereby.
While this invention has been disclosed and described with reference to a single embodiment thereof, it will be apparent that variations and modifications may be made therein, and it is intended in the following claims to cover such variation and modification as falls within the true spirit and scope of the invention.

~~2

Claims (10)

THE EMBODIMENTS OF THE INVENTION IN WHICH AN EXCLUSIVE
PROPERTY OR PRIVILEGE IS CLAIMED ARE DEFINED AS FOLLOWS:
1. Transparent interface apparatus for providing real time data communication between a first device utilizing serial communication and a second device utilizing echoplex communication comprising:
a first microprocessor having a serial data port and a first parallel data port;
a second microprocessor having a second parallel data port and an echoplex data port;
a parallel communication path coupling said first and second parallel data ports;
means within said first microprocessor for converting serial data from said serial data port into a parallel format and for transferring this parallel formatted data to said second parallel data port from said first parallel data port across said parallel communication path;
means within said second microprocessor for converting parallel data from said second parallel data port into an echoplex format and for outputting said echoplex formatted data from said echoplex data port;
means within said second microprocessor for converting echoplex data from said echoplex data port into a parallel format and for transferring this parallel formatted data to said first parallel data port from said second parallel data port across said parallel communication path;
means within said first microprocessor for converting parallel data from said first parallel data port into a serial format and for outputting this serial formatted data from said serial data port; and means for prioritizing data transfer between said first and second microprocessors, said prioritizing means awarding first priority to echoplex data to be transferred from said echoplex port for output from said serial data port and second priority to serial data to be transferred from said serial port for output from said echoplex data port.
2. The apparatus of claim 1 further comprising first clock means for operating said first microprocessor at one frequency, and second clock means for operating said second microprocessor at a different frequency, whereby said first and second microprocessors operate asynchronously.
3. The apparatus of claim 1 further comprising means for determining the time elapsed during data transfers between said serial data port and said echoplex data port.
4. The apparatus of claim 1 further comprising means for coupling said serial data port to a host computer and means for coupling said echoplex data port to a peripheral unit.
5. The apparatus of claim 1 further comprising first error identification means for signaling said host computer when a command from the host computer has been rejected, second error identification means for signalling said host computer when an echoplex message outputted from said echoplex data port to said peripheral unit has been lost, and third error identification means for signalling said host computer when an echoplex message to be received from said peripheral unit has been lost.
6. The apparatus of claim 5 wherein said peripheral unit is an electronic postage meter.
7. Apparatus for interfacing an electronic postage meter utilizing echoplex data communication to a serial communication host computer to provide real time data communication between said postage meter and host computer, said apparatus comprising:
a microprocessor having a serial data transmission terminal, a serial data receiving terminal, a first parallel data port, and non-volatile memory containing a control program;
a programmable peripheral interface processor having an echoplex data transmission terminal, an echoplex data receiving terminal, a second parallel data port, and non-volatile memory containing a control program;
a first stable clock coupled to said microprocessor for establishing the operating frequency of the microprocessor;

a second stable clock coupled to said programmable peripheral interface processor for establishing the operating frequency of the peripheral interface processor;
a parallel communication path coupling said first and second parallel data ports;
first means responsive to the control program in said peripheral interface processor for detecting the presence of an echoplex message to be received from said postage meter, and in the event such message is detected, for inputting the message into said peripheral interface processor;
second means responsive to the control program in said peripheral interface processor for converting each echoplex message received from said postage meter into a parallel format; and for transmitting the parallel formatted message across said parallel communication path to said microprocessor;
third means responsive to the control program in said peripheral interface processor for detecting the presence of a message to be received from said microprocessor, and in the event such message is detected, for receiving same across said parallel communication path and outputting the same in an echoplex format to said postage meter;
means for prioritizing the operations performed by said first, second and third means by awarding first, second and third priority to said first, second and third means respectively;

fourth means responsive to the control program in said microprocessor for detecting the presence of a message to be received from said peripheral interface processor, and in the event such message is detected, for inputting the message into said microprocessor;
fifth means responsive to the control program in said microprocessor for detecting the presence of a message waiting in said microprocessor to be outputted to said peripheral interface processor, and in the event such message is detected, for outputting the message across said parallel communication path to said peripheral interface processor;
sixth means responsive to the control program in said microprocessor for detecting the presence of a message waiting in said microprocessor to be transmitted to said host computer, and in the event such message is detected, for transmitting the message to said host computer in a serial format;
seventh means responsive to the control program in said microprocessor for detecting the presence of a message to be received from said host computer, and in the event such a message is detected, for receiving the message in a serial format into the microprocessor; and means for prioritizing the operations performed by said fourth, fifth, sixth and seventh means by awarding first, second, third, and fourth priority to said fourth, fifth, sixth and seventh means respectively.
8. The apparatus of claim 7 further comprising first error identification means for signaling said host computer when a command from the host computer has been rejected, second error identification means for signalling said host computer when an echoplex message outputted from said echoplex data port to said postage meter has been lost, and third error identification means for signalling said host computer when an echoplex message to be received from said postage meter has been lost.
9. The apparatus of claim 7 further comprising means for determining the time elapsed during data transfers between said host computer and said postage meter.
10. The apparatus of claim 7 wherein said first and second clocks run at different frequencies, whereby said microprocessor and said peripheral interface processor operate asynchronously.
CA000458047A 1983-07-05 1984-07-04 Universal realtime transparent asynchronous serial/echoplex converter Expired CA1227575A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US510,792 1983-07-05
US06/510,792 US4535421A (en) 1983-07-05 1983-07-05 Universal real time transparent asynchronous serial/echoplex converter

Publications (1)

Publication Number Publication Date
CA1227575A true CA1227575A (en) 1987-09-29

Family

ID=24032210

Family Applications (1)

Application Number Title Priority Date Filing Date
CA000458047A Expired CA1227575A (en) 1983-07-05 1984-07-04 Universal realtime transparent asynchronous serial/echoplex converter

Country Status (5)

Country Link
US (1) US4535421A (en)
EP (1) EP0130628B1 (en)
JP (1) JPS6041846A (en)
CA (1) CA1227575A (en)
DE (2) DE3483596D1 (en)

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4878168A (en) * 1984-03-30 1989-10-31 International Business Machines Corporation Bidirectional serial test bus device adapted for control processing unit using parallel information transfer bus
JPS62155645A (en) * 1984-12-17 1987-07-10 Takeshi Nakano Line converter
US5230071A (en) * 1987-08-13 1993-07-20 Digital Equipment Corporation Method for controlling the variable baud rate of peripheral devices
US5331538A (en) * 1989-10-23 1994-07-19 Pitney Bowes Inc. Mail processing system controller
US5309363A (en) * 1992-03-05 1994-05-03 Frank M. Graves Remotely rechargeable postage meter
US5455923A (en) * 1992-07-30 1995-10-03 Kaplinsky; Cecil H. Memory system for loading peripherals on power up
JP3670303B2 (en) * 1993-09-01 2005-07-13 富士通株式会社 Data conversion method and data conversion apparatus
JP3197160B2 (en) * 1994-03-01 2001-08-13 有限会社日本アトゥー Medium container
US5666292A (en) * 1994-12-13 1997-09-09 Pitney Bowes Inc. External interface unit having message routing and protocol conversion
US6233063B1 (en) 1995-06-29 2001-05-15 Agfa Corporation Two lens converging device in a dual plane flat-bed scanning system
US6076081A (en) * 1997-08-13 2000-06-13 Pitney Bowes Inc. Protocol converter with peripheral machine trip capability
US7734852B1 (en) * 1998-08-06 2010-06-08 Ahern Frank W Modular computer system
US6378012B1 (en) * 1998-10-29 2002-04-23 Edward R. Bass Interface with data transmission mode from weighing scale to one or more peripheral devices and mailing machine tripping mode determined by individual peripheral device protocol
CA2285834A1 (en) 1998-10-29 2000-04-29 Pitney Bowes Inc. A method and system for selectively replenishing a postage meter on an inserter system
US6334119B1 (en) 1998-11-13 2001-12-25 Pitney Bowes Inc. Method and system for selectively interacting with a postage meter provided on an inserter system
DE19926006A1 (en) * 1999-06-08 2000-12-14 Moeller Gmbh Data transmission device
US6594719B1 (en) 2000-04-19 2003-07-15 Mobility Electronics Inc. Extended cardbus/pc card controller with split-bridge ™technology
US7457311B2 (en) * 2004-08-31 2008-11-25 Honeywell International Inc. Portable communication interface device
US8615409B1 (en) 2005-04-15 2013-12-24 Recovery Data-Connect, L.L.C. System and method for identification, perfection, collection, and valuation of third-party claims including subrogation claims
US20080104575A1 (en) * 2006-10-31 2008-05-01 Motorola, Inc. Agent for implementing automated compatibility test
DE102011084280A1 (en) * 2011-10-11 2013-04-11 Siemens Aktiengesellschaft Computer system and method

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2242910A5 (en) * 1973-09-03 1975-03-28 Honeywell Bull Soc Ind
US4174536A (en) * 1977-01-21 1979-11-13 Massachusetts Institute Of Technology Digital communications controller with firmware control
US4143418A (en) * 1977-09-21 1979-03-06 Sperry Rand Corporation Control device and method for reading a data character from a computer at a fast rate and transmitting the character at a slow rate on a communication line
US4133042A (en) * 1977-12-19 1979-01-02 Wallace Ben W Automatic pinsetter controller system
US4301507A (en) * 1979-10-30 1981-11-17 Pitney Bowes Inc. Electronic postage meter having plural computing systems
US4410961A (en) * 1981-02-17 1983-10-18 Pitney Bowes Inc. Interface between a processor system and peripheral devices used in a mailing system
US4410962A (en) * 1981-02-17 1983-10-18 Pitney Bowes Inc. Mailing system interface interconnecting incompatible communication systems
US4395756A (en) * 1981-02-17 1983-07-26 Pitney Bowes Inc. Processor implemented communications interface having external clock actuated disabling control
US4466079A (en) * 1981-02-17 1984-08-14 Pitney Bowes Inc. Mailing system peripheral interface with communications formatting memory
JPS5810942A (en) * 1981-07-14 1983-01-21 Toshiba Corp Data transmitter

Also Published As

Publication number Publication date
US4535421A (en) 1985-08-13
DE3483596D1 (en) 1990-12-20
JPS6041846A (en) 1985-03-05
EP0130628A2 (en) 1985-01-09
EP0130628B1 (en) 1990-11-14
JPH0469466B2 (en) 1992-11-06
DE130628T1 (en) 1988-05-19
EP0130628A3 (en) 1987-12-23

Similar Documents

Publication Publication Date Title
CA1227575A (en) Universal realtime transparent asynchronous serial/echoplex converter
CA1178686A (en) Line protocol for communication system
US4264954A (en) Distributed function communication system for remote devices
US4724435A (en) Bi-directional data telemetry system
CA1287905C (en) Method and apparatus for detecting a rate of data transmission
US4688171A (en) Serial bus for master/slave computer system
EP0117677A2 (en) Data communication systems
KR830008232A (en) Communication Multiplexer with Variable Priority Scheme Using ROM
US5132987A (en) Bidirectional communication line buffer apparatus
US4811277A (en) Communication interface
US6149058A (en) Chip card reader with fast transmission protocol
EP0434083B1 (en) Data transfer system and method of transferring data
EP0425839B1 (en) Data processing system channel
US5128666A (en) Protocol and apparatus for a control link between a control unit and several devices
US5379327A (en) Synchronous-to-asynchronous converter
US5157599A (en) Serial data communication system and apparatus
US4872006A (en) Data transmission system
CA1123962A (en) Computer communication network adapter
EP0213804A2 (en) Inter-bus system
JPS5922999B2 (en) Conveyance control method using phase pulse signals
JP2623816B2 (en) Signal transmission method
SU1295403A1 (en) Device for exchanging data between serial and parallel interfaces
Gallacher Processor-processor communication
KR910005621A (en) Test and Maintenance Device
JPH0231828B2 (en)

Legal Events

Date Code Title Description
MKEX Expiry