Acromag IP511 Series User Manual Download Page 18

SERIES IP511 INDUSTRIAL I/O PACK                ISOLATED QUAD EIA/TIA-422B COMMUNICATION MODULE
___________________________________________________________________________________________

- 18 -

2.   Write 00H to the Divisor Latch MSB (DLM).  Write 34H to the

Divisor Latch LSB (DLL).

This sets the divisor to 52 for 9600 baud (i.e. 9600 = 8MHz 

÷

[16*52] ).

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 Enable
Register.  It also sets the word length to 8 bits, the number of stop
bits to one, and enables odd-parity.

4.   (OPTIONAL) Write xxH to the Scratch Pad Register.

This has no effect on the operation, but is suggested to illustrate
that this register can be used as a 1-byte memory cell.  Alternately,
the interrupt vector for the port may be written to this register and a
read will be performed on this register in response to an interrupt
select cycle.

5.   Write 07H to the Interrupt Enable Register (IER).

This enables the receiver line status interrupts.  Support for the
modem status interrupt is not available since no handshake lines
are present for this model.  The line status interrupt is used to
signal unexpected error cases, such as parity or overrun errors.
The received data available and transmit holding buffer empty
interrupts have also been enabled to aid control by the host CPU in
moving data back and forth.

6.   Write C7H to the FIFO Control Register (FCR).

This enables and initializes the transmit and receive FIFO’s, and
sets the trigger level of the receive FIFO interrupt to 14 bytes.

7.   Read C1H from the Interrupt Identification Register (IIR).

This is done to check that the device has been programmed
correctly.  The upper nibble “C” indicates that the FIFO’s have been
enabled and the lower nibble “1” indicates that no interrupts are
pending.

8.   The host CPU may begin loading data into the transmit buffer by

writing data repeatedly to the Transmitter Holding Register.

This loads the transmit FIFO and initiates transmission of serial
data by the transceiver.  The first serial byte will take about 100us
to transmit, so it is likely that the transmit FIFO will fill before the
first byte has actually been sent.

Depending on the protocol, the receiving side may have to
acknowledge receipt of the data stream before more data may be
sent.  In this case, the host CPU would have to pause sending data
and wait for an acknowledgement on the receiving side that data
had been received properly.

9.   Assuming that data has also been received, read data repeatedly

from the Receiver Buffer Register.

After 14 bytes have been received (or fewer bytes with a timeout),
an interrupt will be generated if the host CPU has not already
unloaded the receive FIFO.

4.0  THEORY OF OPERATION

This section contains information regarding the EIA/TIA-422B

serial data interface.  A description of the basic functionality of the
circuitry used on the board is also included.  Refer to the Block Diagram
(Drawing 4501-583), Interface Diagram (Drawing 4501-581), and
Interface Level Diagram (Drawing 4501-584), as you review this
material.

EIA/TIA-422B SERIAL INTERFACE

To understand the application of this particular interface as

opposed to the EIA-485 interface of the IP512, you must first
understand what is meant by the terms half-duplex and full-duplex.
Duplex refers to the way information is exchanged on a transmission
line and the number of lines used.  

Full-duplex

 means that data can be

sent in both directions at the same time, like a two-lane highway with
cars moving in each direction at the same time.  However, 

half-duplex

means that data can only be sent in one direction at a time, like a single
lane road where cars must take turns going in opposite directions.  The
Model IP511 implements full-duplex EIA/TIA-422B using separate line
pairs for transmit and receive.

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 the interconnection of a balanced driver with multiple
balanced receivers.  Balanced data transmission refers to the fact that
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 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 (multiple networked drivers and
receivers sharing the same data path).  Consequently, this board may
be used to implement a full-duplex EIA-485 interface (see Drawing
4501-581).  However, for true half-duplex EIA-485 operation, please
see the Acromag Models IP502 & IP512.

Summary of Contents for IP511 Series

Page 1: ...tion 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 1996 Acromag Inc Printed in the USA Data and spe...

Page 2: ...ystem This is especially 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 Acr...

Page 3: ...er Acromag IP modules are also available to serve your signal conditioning and interface needs Note Since all connections to field signals are made through the carrier board which passes them to the i...

Page 4: ...ive data paths This SIP can be easily removed or replaced if required see Drawing 4501 581 4501 582 Network Termination Bias Resistor Placement You need to consider your network application carefully...

Page 5: ...h To the communication network master this line pair is used as the transmit data path To the communication network slave this line pair comprises the receive data path Because a separate pair of line...

Page 6: ...ides excellent connection integrity and utilizes gold plating in the mating area Threaded metric M2 screws and spacers are supplied with the IP module to provide additional stability for harsh environ...

Page 7: ...Port A Line Control Register 07 08 Not Driven1 R W MCR Port A Modem Control Register 09 0A Not Driven1 R W LSR Port A Line Status Register 0B 0C Not Driven1 R W MSR Port A Modem Status Register 0D 0E...

Page 8: ...R W SCR Port C Scratch Pad Interrupt Vector Register 2F Shaded register entries apply to Model IP511 64 only and are accessible after writing BF to the Line Control Register LCR Table 3 1 IP511 I O Sp...

Page 9: ...g an invalid data character due to a low going noise spike on RxD If the data on RxD is a symmetrical square wave the center of the data cells will occur within 3 125 of the actual center providing an...

Page 10: ...extended register functionality of IER bits 4 7 IIR bits 4 5 FCR bits 4 5 and MCR bits 5 7 It is also used to program software flow control Note that bits 6 7 are used for hardware flow control but th...

Page 11: ...7 NO FUNCTION FOR MODEL IP511 0 Disable the CTS interrupt 1 Enable the generation of the CTS interrupt when CTS changes from a low to high state The IP511 does not implement the CTS line and this bit...

Page 12: ...FO TRIGGER LEVEL 00 01 Bytes 08 Bytes for IP511 64 Models 01 04 Bytes 16 Bytes for IP511 64 Models 10 08 Bytes 56 Bytes for IP511 64 Models 11 14 Bytes 60 Bytes for IP511 64 Models LCR Line Control Re...

Page 13: ...the selected serial channel In Loopback Mode interrupts are generated by controlling the state of the four lower order MCR bits internally instead of by the external hardware paths However no interru...

Page 14: ...errupt a priority 1 interrupt in the IIR register when any one of these conditions are detected This interrupt is enabled by setting IER bit 2 to 1 A power up or system reset sets all LSR bits to 0 ex...

Page 15: ...Low Interrupt Modem Status Changes Read MSR Reset Low OUT1 Reset High OUT2 Reset High After a power up the isolation buffer s output is initialized high As a result the very first bit transmitted or...

Page 16: ...the FIFO drops below its trigger level When the receiver FIFO and receiver interrupts are enabled the following receiver FIFO character time out status conditions apply 1 A FIFO character time out int...

Page 17: ...oo quickly to be processed or buffered thus preventing the loss of excess data The flow control characters are stored in the XON 1 2 and XOFF 1 2 registers Two XON XOFF registers are provided because...

Page 18: ...functionality of the circuitry used on the board is also included Refer to the Block Diagram Drawing 4501 583 Interface Diagram Drawing 4501 581 and Interface Level Diagram Drawing 4501 584 as you re...

Page 19: ...nsmit the byte Two other parity formats not supported by this module are mark parity and space parity Mark parity specifies that the parity bit will always be a logical 1 space parity requires the par...

Page 20: ...ed isolated only when isolated external port power is provided to the port Optionally the port may use P1 power by programming the power and common jumpers appropriately In this mode the port is consi...

Page 21: ...o RFI No data upsets occur for field strengths up to 10V per meter at 27MHz 151MHz 460MHz per SAMA PMC 33 1 test procedures Resistance to EMI Unit has been tested with no data upsets under the influen...

Page 22: ...performance with precision analog I O applications Application Used to connect a Model 5025 552 termination panel to the AVME9630 9660 non intelligent carrier board A D connectors both have 50 pin con...

Page 23: ...r Boards Application This panel converts the high density ribbon cable connectors coming from the APC8600 carrier board Acromag cable Model 5029 900 to screw terminals for direct wired interfaces This...

Page 24: ......

Page 25: ......

Page 26: ......

Page 27: ......

Page 28: ......

Page 29: ......

Page 30: ......

Page 31: ......

Page 32: ......

Page 33: ......

Reviews: