Acromag IP511 Series User Manual Download Page 13

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

- 13 -

MCR - Modem Control Register, Ports A-D (R/W)
NO FUNCTION FOR MODEL IP511-16

The Modem Control register is normally used to control the

interface with the modem or data set.  Since the IP511 does not
implement the DTR and RTS handshake lines, this register is only
functional for Loopback Mode operations as described below, and for
enhanced functions of IP511-64 models.

A power-up or system reset sets all MCR bits to 0 (bits 5-7 are

permanently low on standard units).

Modem Control Register

MCR Bit

FUNCTION

PROGRAMMING

0

Data Terminal
Ready (DTR)

The DTR handshake signal is not
implemented on this model.

1

Request to
Send Output
Signal (RTS)

The RTS handshake signal is not
implemented on this model.

2

Out1 (Internal)

Used in internal Loopback Mode
only.  No Effect on External
Operation

3

Out2 (Internal)

Used in internal Loopback Mode
only.
0 = External Serial Channel
      Interrupt Disabled
1 = External Serial Channel
      Interrupt Enabled

4

Loop

1

0 = Loop Disabled (Normal Mode)
1 = Local Loopback Enabled

5,6,7

Not Used on
standard units

On standard units, these bits are
set to logic 0.

Extended Register Functionality (Model IP511-64 Only)

5

XON Enable

0 = Disable Any XON function
      (Standard 16C550 Mode)
1 = Enable Any XON function

6

Rx/Tx I/O Mode

Not Used on IP511 (set to 0)

7

Clock Divide

0 = Normal divide by 1 clock
      (8MHz clock baud rates apply)
1 = Divide clock by 4
      (2MHz baud rates apply)

Notes (Modem Control Register):

1.   MCR Bit 4 provides a local loopback feature for diagnostic testing of

the UART channel.  When set high, the UART serial output
(connected to the TXD driver) is set to the marking (logic 1 state),
and the UART receiver serial input is disconnected from the RxD
receiver path.  The output of the UART transmitter shift register is
looped back into the receiver shift register input.  The four modem
control inputs (CTS, DSR, DCD, & RI) are disconnected from their
receiver input paths.  The four modem control outputs (DTR, RTS,
OUT1, & OUT2) are internally connected to the four modem control
inputs (while their associated pins are forced to their high/inactive
state).  Thus, in Loopback Mode, transmitted data is immediately
received permitting the host processor to verify the transmit and
receive data paths of 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 interrupt requests or interrupt vectors are
served and interrupt pending status is only reflected internally

Note that on Model IP511-64 units, bits 5-7 are programmable only

when the EFR bit 4 is set to “1”.  The programmed values for these bits
are latched when EFR bit 4 is cleared, preventing existing software from
inadvertantly overwriting the extended functions.  A power-up or system
reset sets all MCR bits to “0”.

LSR - Line Status Register, Ports A-D (Read/Write-Restricted)

The Line Status Register (LSR) provides status indication

corresponding to the data transfer.  LSR bits 1-4 are the error
conditions that produce receiver line-status interrupts (a priority 1
interrupt in the Interrupt Identification Register).  The line status register
may be written, but this is intended for factory test and should be
considered read-only by the applications software.

Line Status Register

LSR Bit

FUNCTION

PROGRAMMING

0

Data Ready
(DR)

0 = Not Ready (reset low by CPU
      Read of RBR or FIFO)
1 = Data Ready (set high when
      character received  and trans-
      ferred into the RBR or FIFO).

1

Overrun Error
(OE)

0 = No Error
1 = Indicates that data in the RBR is
      not being read before the next
      character is transferred into the
      RBR, overwriting the previous
      character.  In the FIFO mode, it is
      set after the FIFO is filled and the
      next character is received.  The
      overrun error is detected by the
      CPU on the first LSR read after it
      happens.  The character in the
      shift register is not transferred
       into the FIFO, but is overwritten.
      This bit is reset low when the
      CPU reads the LSR.

2

Parity Error
(PE)

0 = No Error
1 = Parity Error - the received
      character does not have the
      correct parity as configured via
      LCR bits 3 & 4.  This bit is set
      high on detection of a parity error
      and reset low when the host CPU
      reads the contents of the LSR.  In
      the FIFO mode, the parity error is
      associated with a particular
      character in the FIFO (LSR Bit 2
      reflects the error when the char-
      acter is at the top of the FIFO).

3

Framing Error
(FE)

0 = No Error
1 = Framing Error - Indicates that
      the 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 FIFO mode, the framing
      error is associated with a
      particular character in the FIFO
      (LSR Bit 3 reflects the error when
      the character is at the top of the
      FIFO).

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: