background image

SERIES IOS-521 I/O SERVER MODULE                            EIA/TIA-422B SERIAL COMMUNICATION MODULE 
__________________________________________________________________________________________

 

- 16 - 

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 IOS-
521 BLOCK DIAGRAM 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 RS422/RS485 INTERFACE DIAGRAM).  However, for true 
half-duplex EIA-485 operation, please see the Acromag Model 
IOS-502. 

 
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 brea

k 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 

Summary of Contents for IOS-521 Series

Page 1: ...G INCORPORATED Tel 248 295 0310 30765 South Wixom Road Fax 248 624 9234 P O BOX 437 Wixom MI 48393 7037 U S A solutions acromag com Copyright 2009 2011 Acromag Inc Printed in the USA Data and specific...

Page 2: ...pecially important where economic property loss or human life is involved It is important that the user employ satisfactory overall system design It is agreed between the Buyer and Acromag that this i...

Page 3: ...ver Modules installed on Acromag Industrial I O Server systems This software Model IOSSW DEV WIN consists of a low level driver and Windows 32 Dynamic Link Libraries DLLS that are compatible with a nu...

Page 4: ...nd which is typically common to safety chassis ground when mounted on a carrier board and inserted in a backplane As such be careful not to attach signal ground to safety ground via any device connect...

Page 5: ...1 R W Xoff 2 High Byte BF Hex 0E 11 1F Not Driven1 Port B Registers Organized as Port A3 10 1E 21 2F Not Driven1 Port C Registers Organized as Port A3 20 2E 31 3F Not Driven1 Port D Registers Organize...

Page 6: ...lag in the LSR register will be set to a logic 1 when at least one FIFO location is available DLL DLM Divisor Latch Registers Ports A H R W The Divisor Latch Registers form the divisor used by the int...

Page 7: ...ansitions from a logic 0 to a logic 1 RTS is not output by this module Instead RTS is used to enable the transmitter of the port This interrupt should always be disabled 71 0 Disable CTS Interrupt 1 E...

Page 8: ...register control the format of the data character as follows Line Control Register LCR Bit FUNCTION PROGRAMMING 1 0 Word Length Sel 0 0 5 Data Bits 0 1 6 Data Bits 1 0 7 Data Bits 1 1 8 Data Bits 2 S...

Page 9: ...ne The crystal frequency is unchanged 1 Divide by four After the crystal frequency is divided by 16 it is further divided by 4 see Table 3 2 Notes Modem Control Register 1 MCR Bit 4 provides a local l...

Page 10: ...f the FIFO Line Status Register continued LSR Bit FUNCTION PROGRAMMING 4 Break Interrupt BI 0 No Break 1 Break the received data input has been held in the space logic 0 state for more then a full wor...

Page 11: ...1 IOS 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 provi...

Page 12: ...nformation includes unique information required for the module The IOS 521 ID Space does not contain any variable e g unique calibration information ID Space bytes are addressed using only the even ad...

Page 13: ...ive FIFO s simply hold characters and the Line Status Register must be read to determine the channel status FIFO Polled Mode Resetting all Interrupt Enable Register IER bits to 0 with FIFO Control Reg...

Page 14: ...H then port A in a last serviced last out fashion Priority continues to shift in the same fashion if Port B or Port C was the last interrupt serviced This is useful in preventing continuous interrupt...

Page 15: ...s the first step to enable the receiver line status interrupt Note bit 3 of the MCR must also be set to logic 1 to enable interrupts The line status interrupt is used to signal error cases such as par...

Page 16: ...gic 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...

Page 17: ...serted An Asterisk is used to indicate an active low signal IOS 521 OPERATION Connection to each serial port is provided through connector P2 refer to Table 2 1 These pins are tied to the inputs and o...

Page 18: ...ake adequate measures UART EXAR XR16C654 RS422 RS485 PORTS Channel Configuration Eight independent non isolated EIA TIA 422B serial ports with a common signal return connection Data Rate 921 6K bits s...

Page 19: ...COMMON GND IOS 521 BLOCK DIAGRAM T T T B R R R R I O RS 422B INTERFACE RxD RS 422 485 DRIVERS RECEIVERS RxD TxD PORT I O CONTROL BUS ADDRESS BUS 5V CONTROL LOGIC SUPPLY FILTERING NOTE TERMINATION RES...

Page 20: ...TE OF THE TxD RxD DATA PAIRS ARE HIGH ON TxD RxD THIS CORRESPONDS TO A MARK 1 ON THE DATA LINE NOTES CONCERNING RESISTOR PLACEMENT AND REMOVAL FOR RT AND RB 4 THE TxD LINE SOURCED FROMA PORT CAN BE PE...

Page 21: ...PORT C RxD H TERMINATION TxD C TERMINATION RxD C TERMINATION 120 OHM 120 OHM 120 OHM PORT E TxD E TERMINATION PORT H PORT E RxD E TERMINATION TxD H TERMINATION 120 OHM 120 OHM 120 OHM PORT B RxD B TER...

Reviews: