background image

SERIES IP521 INDUSTRIAL I/O PACK                                EIA/TIA-422B SERIAL COMMUNICATION MODULE
___________________________________________________________________________________________

- 17 -

4.0  THEORY OF OPERATION

This section contains information regarding theTIA/EIA-422B

serial data interface.  A description of the basic functionality of the
circuitry used on the board is also provided.  Refer to the Block
Diagram shown in Drawing 4501-713 as you review this material.

EIA/TIA-422B SERIAL INTERFACE

The Electronic Industries Association (EIA) in conjunction with

the Telecommunication Industries Association (TIA) introduced
TIA/EIA-422B as a balanced (differential) serial data transmission
interface standard between Data Terminal Equipment (DTE) and
Data Communication Equipment (DCE).  By definition, DTE is
commonly used to represent the data source, data sink, or both.
DCE is used to represent the devices used to establish, maintain,
and terminate a connection, and to code/decode the signals between
the DTE and the transmission channel.  Most computers are
considered DTE devices, while modems are DCE devices.

The EIA/TIA-422B interface is the second revision of this

standard and specifies a balanced driver with balanced receivers.
Balanced data transmission refers to the fact that only two
conductors are switched per signal and the logical state of the data
is referenced by the difference in potential between the two
conductors, not with respect to signal ground.  The differential
method of data transmission makes EIA-422B ideal for noisy
environments since it minimizes the effects of coupled noise and
ground potential differences.  That is, since these effects are seen
as common-mode voltages (common to both lines), not differential,
they are rejected by the receivers.  Additionally, balanced drivers
have generally faster transition times and allow operation at higher
data rates over longer distances.

The EIA/TIA-422B standard defines a unidirectional, terminated,

single driver and multiple receiver configuration.  By providing a
separate data path for transmit and receive, full-duplex operation is
accomplished.  The maximum data transmission cable length is
generally limited to 4000 feet without a signal repeater installed.

EIA/TIA-422B is electrically similar to EIA-485, except that EIA-

485 supports multiple driver operation.  Consequently, this board
may be used to implement a full-duplex EIA-485 interface (see
Drawing 4501-714).  However, for true half-duplex EIA-485
operation, please see the Acromag Model IP502.

With respect to EIA/TIA-422B, logic states are represented by

differential voltages from 2V to 10V.  The polarity of the differential
voltage determines the logical state.  A logic 0 (the ‘space’ or OFF
state) is represented by a positive differential voltage between the
terminals (measured A to B, or + to -).  A logic 1 (the ‘mark’ or ON
state) is represented by a negative differential voltage between the
terminals (measured A to B, or + to -).  Note that at the interface, a
logic ‘0’ is represented by a positive voltage, and a logic ‘1’ by a
negative voltage.  The line receivers convert these signals to the
conventional TTL level associations.

EIA/TIA-422B

BINARY 0

(SPACE/OFF)

BINARY 1

(MARK/ON)

SIGNAL

A to B

(+) to (-)

Positive

Differential Voltage

Negative

Differential Voltage

Start and stop bits are used to synchronize the DCE to the

asynchronous serial data of the DTE.  The transmit data line is
normally held in the mark state (logical 1).  The transmission of a
data byte requires that a start bit (a logical 0 or a transition from
mark to space) be sent first.  This tells the receiver that the next bit
is a data bit.  The data bits are followed by a stop bit (a logical 1 or a
return to the mark state).  The stop bit tells the receiver that a
complete byte has been received.  Thus, 10 bits make up a data byte
if the data character is 8 bits long (and no parity is assumed).  Nine
bits are required if only standard ASCII data is being transmitted
(1 start bit + 7 data bits + 1 stop bit).  The character size for this
module is programmable between 5 and 8 bits.

Parity is a method of judging the integrity of the data.  Odd,

even, or no parity may be configured for this module.  If parity is
selected, then the parity bit precedes transmission of the stop bit.
The parity bit is a 0 or 1 bit appended to the data to make the total
number of 1 bits in a byte even or odd.  Parity is not normally used
with 8-bit data.  Even parity specifies that an even number of logical
1’s be transmitted.  Thus, if the data byte has an odd number of 1’s,
then the parity bit is set to 1 to make the parity of the entire character
even.  Likewise, if the transmitted data has an even number of 1’s,
then the parity bit is set to 0 to maintain even parity.  Odd parity
works the same way using an odd number of logical 1’s.

Thus, both the DTE & DCE must have the same parity.  If a byte is
received that has the wrong parity, an error is assumed and the
sending system is typically requested to retransmit the byte.  Two
other parity formats not supported by this module are mark and
space parity.  Mark parity specifies that the parity bit will always be a
logical 1, space parity requires that the parity bit will always be 0.

The most common asynchronous serial data format is 1 start bit,

8 data bits, and 1 stop bit, with no parity.  The following table
summarizes the available data formats:

START BIT

Binary 0 (a shift from “Mark” to “Space”)

DATA BITS

5,6,7, or 8 Bits

PARITY

Odd, Even, Stick, or None

STOP BIT

Binary 1 (1, 1-1/2, or 2 Bit times)

With start, stop, and parity in mind, for an asynchronous data

byte, note that at least one bit will be a 1 (the stop bit).  This defines
the break signal (all 0 bits with a 1 stop bit lasting longer than one
character).  A break signal is a transfer from “mark” to “space” that
lasts longer than the time it takes to transfer one character.
Because the break signal doesn’t contain any logical 1’s, it cannot be
mistaken for data.  Typically, whenever a break signal is detected,
the receiver will interpret whatever follows as a command rather than
data.  The break signal is used whenever normal signal processing
must be interrupted.  In the case of a modem, it will usually precede
a modem control command.  Do not confuse the break signal with
the ASCII Null character, since a break signal is longer than one
character time.  That is, it is any “space” condition on the line that
lasts longer than a single character (including its framing bits) and is
usually 1-1/2 to 2 character times long.

Содержание IP521-64 Series

Страница 1: ...ion Module USER S MANUAL ACROMAG INCORPORATED 30765 South Wixom Road P O BOX 437 Wixom MI 48393 7037 U S A Tel 248 624 1541 Fax 248 624 9234 Copyright 1998 Acromag Inc Printed in the USA Data and spec...

Страница 2: ...L 5025 552 20 TRANSITION MODULE MODEL TRANS GP 20 DRAWINGS Page 4501 434 IP MECHANICAL ASSEMBLY 21 4501 713 IP521 BLOCK DIAGRAM 22 4501 714 RS422 RS485 INTERFACE DIAGRAM 23 4501 715 RESISTOR SOCKET LO...

Страница 3: ...hen the chip is not being used Extended Temperature Performance Option Model IP521 E units support operation from 40 C to 85 C INDUSTRIAL I O PACK INTERFACE FEATURES High density Single size industry...

Страница 4: ...e contents of the carton are damaged keep the carton and packing material for the agent s inspection For repairs to a product damaged in shipment refer to the Acromag Service Policy to obtain return i...

Страница 5: ...tions without isolation to avoid noise pickup and ground loops caused by multiple ground connections The signal ground connection at the communication ports are common to the IP interface ground which...

Страница 6: ...Register DLL Divisor Latch LSB DLM Divisor Latch MSB IER Interrupt Enable Register SCR Scratch Pad Interrupt Vector Register EFR Enhanced Feature Register XON 1 XON 1 Low Byte XON 2 XON 2 High Byte XO...

Страница 7: ...ize programmed in the Line Control Register LCR bits 0 1 If less than 8 bits are transmitted then data is right justified to the LSB If parity is used then LCR bit 3 parity enable and LCR bit 4 type o...

Страница 8: ...me as possible To better understand the asynchronous timing used by this device note that the receive data line RxD is monitored for a high to low transition start bit When the start bit is detected a...

Страница 9: ...Status Register 5 010000 Received Xoff signal special character 6 100000 CTS RTS change of state Note that ISR bit 0 can be used to indicate whether an interrupt is pending bit 0 low when interrupt i...

Страница 10: ...uffer Register RBR the Transmitter Holding Register THR or the Interrupt Enable Register IER A power up or system reset sets all LCR bits to 0 A detailed discussion of word length stop bits parity and...

Страница 11: ...he received character does not have a valid stop bit stop bit following last data bit or parity bit detected as a zero space bit This bit is reset low when the CPU reads the contents of the LSR In FIF...

Страница 12: ...IP module The EXAR UART maintains compatibility with the industry standard 16C554 654 and 68C554 654 UARTs and provides new features to enhance serial communication operation The new features provide...

Страница 13: ...21 ID Space does not contain any variable e g unique calibration information ID Space bytes are addressed using only the odd addresses in a 64 byte block on the Big Endian VMEbus Even addresses are us...

Страница 14: ...rial I O Pack Software Library diskette The functions provided are written in the C programming language and can be linked into your application Refer to the README TXT file in the root directory and...

Страница 15: ...cted serial channel Further modem status interrupt generation is controlled manually in loopback mode by controlling the state of CTS internally Interrupt Generation This model provides individual con...

Страница 16: ...0 baud i e 9600 14 7456MHz 16 96 3 Write 0BH to the Line Control Register LCR This first turns off the Divisor Latch Access bit to cause accesses to the Receiver and Transmit buffers and the Interrupt...

Страница 17: ...ciations EIA TIA 422B BINARY 0 SPACE OFF BINARY 1 MARK ON SIGNAL A to B to Positive Differential Voltage Negative Differential Voltage Start and stop bits are used to synchronize the DCE to the asynch...

Страница 18: ...nsmitter The line drivers convert the UART TTL levels to the EIA TIA 422B voltage levels The UART provides the necessary conversion from serial to parallel receive and parallel to serial transmit for...

Страница 19: ...lass A product In a domestic environment this product may cause radio interference in which the user may be required to take adequate measures UART EXAR XR16C654 RS422 RS485 PORTS Channel Configuratio...

Страница 20: ...0 3U 6U APC8610 or APC8620 non intelligent carrier boards field connectors only via a flat ribbon cable Model 5025 551 x The A D connectors on the carrier board connect the field I O signals to the P2...

Страница 21: ...SERIES IP521 INDUSTRIAL I O PACK EIA TIA 422B SERIAL COMMUNICATION MODULE ___________________________________________________________________________________________ 21...

Страница 22: ...BIAS RESISTOR RB SIPS ARE MOUNTED IN SOCKETS AND MAY BE REMOVED IF REQUIRED P O R T A B R RxD RxD TxD TxD R T R T R B 5V R RxD RxD PORTS B to G TxD R B T R B R TxD T 5V P O R T H ADDRESS BUS DATA BUS...

Страница 23: ...TS ARE TRANSMITTING 2 ALL RS422 RS485 TRANSMITTING AND RECEIVING CHANNELS MAY HAVE TERMINATING RESISTORS RT AT BOTH ENDS OF THE NETWORK THE IP521 HAS THESE RESISTORS 120 OHM INSTALLED IN SOCKETS AND T...

Страница 24: ...VIDED AS SHOWN 1 P2 A R25 A R25 B R25 C R25 D R24 D R26 A SIP R23 A R23 B R23 C R23 D R24 A R24 B R24 C VALUE 120 OHM 120 OHM 120 OHM 120 OHM 120 OHM 120 OHM 120 OHM 120 OHM 120 OHM 120 OHM 120 OHM 12...

Страница 25: ...SERIES IP521 INDUSTRIAL I O PACK EIA TIA 422B SERIAL COMMUNICATION MODULE ___________________________________________________________________________________________ 25...

Страница 26: ...SERIES IP521 INDUSTRIAL I O PACK EIA TIA 422B SERIAL COMMUNICATION MODULE ___________________________________________________________________________________________ 26...

Страница 27: ...SERIES IP521 INDUSTRIAL I O PACK EIA TIA 422B SERIAL COMMUNICATION MODULE ___________________________________________________________________________________________ 27...

Страница 28: ...SERIES IP521 INDUSTRIAL I O PACK EIA TIA 422B SERIAL COMMUNICATION MODULE ___________________________________________________________________________________________ 28...

Отзывы: